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

浙公网安备 33010602011771号