编译uboot

 

website

home:  http://www.denx.de/wiki/U-Boot/WebHome

doc:  http://www.denx.de/wiki/U-Boot/Documentation

download:  ftp://ftp.denx.de/pub/u-boot/

 

 

1. download

download u-boot-2019.10.tar.bz2

tar -vxjf u-boot-2019.10.tar.bz2

 

 

2. build

make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- distclean

make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- imx8mq_evk_defconfig

make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- -j2

编译uboot_第1张图片

 

u-boot.bin and u-boot.img is final file

编译uboot_第2张图片

 

Note:

1) defconfig is at u-boot-2019.10/configs

2) imx8mq supports A53 and  is ARM64 architecture

 

 

3. configure

make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- menuconfig

编译uboot_第3张图片

 

 

 

 

你可能感兴趣的:(Linux,uboot)