logo
1
0
Login
feat: 添加 u-boot-tools 工具

2K0300-ABI2.0-DEV

龙芯 2K0300 新世界 ABI2.0 开发编译环境

说明

参考文档:龙芯2K300.软件uboot用户手册v0.2.pdf

  • 环境架构:x86_64
  • 操作系统:Ubuntu 22.04

预装软件包列表:

  • git wget curl unzip xz-utils
    && openssh-server vim bison flex libssl-dev libncursesw5-dev
    && make g++ cpio bc bsdmainutils file rsync bzip2 u-boot-tools

预装交叉编译工具链:

loongarch64-unknown-linux-gnu-gcc (GCC) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

编译测试:

  • buildroot 【PASS】
  • linux-6.9 【PASS】
  • u-boot-la 【PASS】

在 CNB 中使用

本仓库生成的镜像,可作为云原生开发基础镜像。例如:

$: vscode: - docker: # 指定云原生开发启动时的基础镜像为当前镜像 image: docker.cnb.cool/hex/loong/2k0300-abi2.0-dev:latest services: - vscode - docker