buildroot工具,可以构建交叉编译工具链、根文件系统、uboot 以及 Linux 内 核镜像,这里以野火的imx6ull为例用来构建文件系统
Buildroot 官网 https://buildroot.org/
1、下载安装buildroot
git clone https://github.com/Embedfire/ebf_6ull_buildroot.git
这里是下载的野火配置好的buildroot
2、安装依赖包
sudo apt-get install -y sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio python unzip rsync file bc wget g+±multilib
sudo apt-get install -y python-matplotlib python-numpy
3、配置和修改
进入目录 make imx6ull_ebf_pico_defconfig
make menuconfig
然后做自己的修改
4、编译
make graph-build
5、烧写
用生成的文件系统替换烧写工具里面的烧写进去就可以了