我们选择安装的Ubuntu 版本是22.04,本文中的介绍及开发均是在Ubuntu22.04上进行的。首先去Ubuntu官网获取Ubuntu22.04 64位镜像,下载“ubuntu-22.04.6-desktop-amd64.iso”这个版本
下载地址
完整编译
./build.sh
配置sdk
./build.sh bconfig
生成uboot.img,生成路径为u-boot/uboot.img
./build.sh uboot
生成boot.img,生成路径为kernel/boot.img
./build.sh kernel
生成rootfs.img,生成路径为buildroot/output/rockchip_rk3506_emmc/image/rootfs.ext2
./build.sh rootfs
使用上述路径的uboot.img boot.img rootfs.ext2 生成update.img 路径为 rockdev/update.img
./build.sh updateimg
配置linux内核
./build.sh kconfig
在弹出的图形界面中完成配置后保存退出,新配置会自动生成新的rk3506_linux_defconfig。
清除编译
./build.sh clean:kernel
./build.sh clean:rootfs
./build.sh clean:recovery
作者:SteveChen 创建时间:2025-04-11 16:46
最后编辑:SteveChen 更新时间:2025-04-12 11:25