uboot 编译

https://docs.u-boot.org/en/latest/build/source.html

https://docs.u-boot.org/en/latest/board/emulation/qemu-arm.html

 

解决办法:
##命令 export CROSS_COMPILE=arm-none-eabi-

export ARCH=armv7  CROSS_COMPILE=arm-linux-gnueabi-

make distclean

然后 make xxx_defconfig,

重新 make

 

运行:

qemu-system-arm -machine virt -nographic -bios u-boot.bin
posted @ 2024-08-27 21:58  微笑的''80  阅读(9)  评论(0)    收藏  举报