Linux【5】-----编译和烧写Linux系统镜像(RK3568)

参考:讯为

1、文件系统

不同的文件系统 组成了:debian、ubuntu、buildroot、qt等系统

每个文件系统的uboot和kernel是一样的

2、源码目录介绍

目录

3、正式编译

编译脚本build.sh

帮助内容如下:

shell 复制代码
Available options:
uboot                   -build uboot
kernel                  -build kernel
modules                 -build kernel modules
rootfs                  -build rootfs (default is buildroot)
buildroot               -build buildroot rootfs
yocto                   -build yocto rootfs
debian10                -build debian10 rootfs
debian11                -build debian11 rootfs
ubuntu20                -build ubuntu20 rootfs
ubuntu22                -build ubuntu22 rootfs
recovery                -build recovery
all                     -build uboot, kernel, rootfs, recovery image
buildroot_update        -build uboot, kernel, buildroot, recovery updateimg
debian10_update         -build uboot, kernel, debian10, recovery updateimg
debian11_update         -build uboot, kernel, debian11, recovery updateimg
ubuntu20_update         -build uboot, kernel, ubuntu20, recovery updateimg
ubuntu22_update         -build uboot, kernel, ubuntu22, recovery updateimg
cleanall                -clean uboot, kernel, rootfs, recovery
firmware                -pack all the image we need to boot up system
updateimg               -pack update image
save                    -save images, patches, commands used to debug
allsave                 -build all & firmware & updateimg & save
info                    -see the current board building information

通过export 命令设置要编译的系统,

依次执行:

4、单独编译u-boot

build.sh -uboot

修改u-boot进行个性化配置:

shell 复制代码
rk356x_linux/u-boot$ export ARCH=arm64
rk356x_linux/u-boot$ make menuconfig

未完待续

相关推荐
CSCN新手听安1 分钟前
【linux】网络基础(三)TCP服务端网络版本计算器的优化,Json的使用,服务器守护进程化daemon,重谈OSI七层模型
linux·服务器·网络·c++·tcp/ip·json
普马萨特12 分钟前
GPS、WiFi、基站定位:为什么在 Agent 时代不仅不受影响,反而更重要
linux·运维·服务器
予枫的编程笔记37 分钟前
【Linux入门篇】Ubuntu和CentOS包管理不一样?apt与yum对比实操,看完再也不混淆
linux·人工智能·ubuntu·centos·linux包管理·linux新手教程·rpm离线安装
RisunJan42 分钟前
Linux命令-lpr(从命令行提交文件到打印机打印)
linux·运维·服务器
历程里程碑43 分钟前
Linux 库
java·linux·运维·服务器·数据结构·c++·算法
肆忆_44 分钟前
手搓 VM 复盘:从我的 C++ 并发 GC 到字节 PrimJS 的架构演进
操作系统
Sheep Shaun1 小时前
如何让一个进程诞生、工作、终止并等待回收?——探索Linux进程控制与Shell的诞生
linux·服务器·数据结构·c++·算法·shell·进程控制
codingWhat1 小时前
Linux 入门指南
linux
Y1rong1 小时前
linux之信号量
linux
Industio_触觉智能1 小时前
瑞芯微RK3566开发板规格书,详细参数配置,型号EVB3566-V1,基于RK3566核心板SOM3566邮票孔封装
嵌入式硬件·开发板·rk3568·rk3566·核心板·瑞芯微