debian下为stm32f429i-discovery编译uboot

交叉编译器:arm-uclinuxeabi-2010q1

交叉编译器下载下来后解压,然后将其中bin文件夹路径加入到PATH变量中.

先下载uboot和linux源码:

git clone https://github.com/EmcraftSystems/u-boot.git
git clone https://github.com/EmcraftSystems/linux-emcraft.git

编译uboot:

cd u-boot
make stm32f429-discovery_config 
make CROSS_COMPILE=arm-uclinuxeabi-

按照《debian下使用ft232为stm32f429i-discovery烧写uboot和uImage》可以将编译好的u-boot.bin烧写到flash中,重启后可以进入uboot命令行。

但是其linux-craft源代码中却没有对stm32f429的支持,貌似stm32f429的bsp需要付费才能得到,只能先试用到这里了。

原文地址:https://www.cnblogs.com/qiaoqiao2003/p/3772559.html