編譯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

 

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

 

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

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章