在安装好交叉编译工具链后,解压UBOOT压缩文件,然后在解压文件夹下使用命令

#make forlinx_nand_ram256_config

出现报错:

/usr/local/arm/4.3.2/bin/arm-linux-gcc: line 3: exec: arm-none-linux-gnueabi-gcc: not found
Configuring for smdk6410 board which boot from NAND ram256 ...
通过查找,发现是Makefile中CROSS_COMPILE路径不对,将CROSS_COMPILE = /usr/local/arm/4.3.2/bin/arm-linux-改成CROSS_COMPILE = /usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-

即可

Logo

更多推荐