Buildroot using a cheat

1. Download:

https://buildroot.org/downloads/

2, into a virtual machine, the path can not contain Chinese

3, decompression

4, find the support of the development board in the configs folder name back to the home directory buildroot

make imx6ulevk_defconfig
make all

5 If you need to configure ubbot, linux, busybox:

make busybox-menuconfig //打开BusyBox配置编辑器
make linux-menuconfig  //打开Linux配置编辑器
make uboot-menuconfig //要打开配置编辑器

6, compiled

make 

7, make generates rootfs.tar format files need to be converted

cd output/images/
sudo mkdir rootfs
sudo tar xvf rootfs.tar -C ./rootfs/
cd rootfs/
sudo tar -cjf ../rootfs.tar.bz2 *

8 menuconfig or modify the spacebar will be marked with asterisks indicate enable this option

Filesystem images ---->
		 [*] tar the root filesystem  
		 		 Compression method (bzip2)  ---> 
		 		      (X) bzip2  //生成rootfs.tar.bz2 		

Guess you like

Origin blog.csdn.net/qq_16689775/article/details/90901740