移植u-boot-2010.12.tar.bz2版本到s3c2440过程

2014-11-24 07:54:09 · 作者: · 浏览: 2

1,tar解压


2,修改根目录下的makefile文件中的交叉编译为 arm-linux-


3,make distclean


4,make trab_bigflash_congfig


5, 修改/uboot/include/config.h,添加CONFIG_SYS_SDRAM_BASE=0等两个宏,不添加make会报错,所以根据错误添加一下


6,make all


7,make all会出错,提示找不到lstubs这个库,修改/u-boot/examples/standalone/makefile,将libstubs.o修改为libstubs.a,如果提示找不到其他库的话,按照同样的方法修改makefile.