blueberry-pages/src/docs/system-build.md
2023-12-21 16:55:39 +08:00

1.3 KiB
Raw Blame History

title icon order
系统构建 hammer 3

Linux Kernel

https://github.com/niuyuling/linux

U-BOOT

https://github.com/niuyuling/u-boot

其他Linux发行版

如果想在其他的Linux发行版上进行构建您需要进行以下额外的工作

选择您喜欢的Linux发行版并安装Docker version 24.0.7。 确保您的磁盘空间不少于60G,内存不少于2G。 按照Docker安装方法安装Docker。 如果选择使用官方的build构建系统请下载补丁文件blueberry.patch

apt-get -y install git wget
git clone --depth=1 --branch=main https://github.com/armbian/build
wget https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/SF/ArmDebian/blueberry.patch
cd build
git apply ../blueberry.patch # 打补丁
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm

如果使用build构建系统是官方也非官方(二次修改)

apt-get -y install git
git clone --depth=1 --branch=main https://git.aixiao.me/aixiao/build.git
cd build
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm