补充资料,修正格式。

Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
rick.chan 2024-07-02 10:18:33 +08:00
parent eb59520fcc
commit db87b5ff03
2 changed files with 14 additions and 1 deletions

View File

@ -101,10 +101,19 @@ source envsetup.sh rockchip_rk3566
./build.sh ./build.sh
# 部分编译:编译 u-boot # 部分编译:编译 u-boot
./build.sh uboot ./build.sh uboot
# 部分编译:配置 kernel
cd kernel
make ARCH=arm64 firefly_linux_defconfig menuconfig
make ARCH=arm64 savedefconfig
mv defconfig arch/arm64/configs/firefly_linux_defconfig
cd ..
# 部分编译:编译 kernel # 部分编译:编译 kernel
./build.sh kernel ./build.sh kernel
# 部分编译:编译 recovery # 部分编译:编译 recovery
./build.sh recovery ./build.sh recovery
# 部分编译:配置 Buildroot
make menuconfig
make savedefconfig
# 部分编译:编译 Buildroot 根文件系统 # 部分编译:编译 Buildroot 根文件系统
# 注:确保作为普通用户编译 Buildroot 根文件系统,避免不必要的错误。 # 注:确保作为普通用户编译 Buildroot 根文件系统,避免不必要的错误。
./build.sh buildroot ./build.sh buildroot
@ -113,6 +122,10 @@ source envsetup.sh rockchip_rk3566
./mkfirmware.sh ./mkfirmware.sh
# 打包固件:生成 update image完整固件会保存到 rockdev/pack/ 目录 # 打包固件:生成 update image完整固件会保存到 rockdev/pack/ 目录
./build.sh updateimg ./build.sh updateimg
# 生成 buildroot sdksdk 工具链路径在 buildroot/output/rockchip_rk3566/host
cd buildroot
make sdk
cd ..
``` ```
## 5. 系统配置 ## 5. 系统配置

View File

@ -72,7 +72,7 @@ rsync -arzHlgopP --exclude exec <src> <dest>
rsync -arzHlgopP --exclude /exec <src> <dest> rsync -arzHlgopP --exclude /exec <src> <dest>
# 只排除 <src>/subdir/exec 文件/文件夹 # 只排除 <src>/subdir/exec 文件/文件夹
rsync -arzHlgopP --exclude /subdir/exec <src> <dest> rsync -arzHlgopP --exclude /subdir/exec <src> <dest>
`` ```
同步后删除源文件,相当于移动文件操作(不影响目录): 同步后删除源文件,相当于移动文件操作(不影响目录):