1. 下载并解压u-boot-2012.10
1.1 下载:u-boot-2012.10.tar.bz2
1.2 解压:tar -xvf u-boot-2012.10.tar.bz2
1.3 目录结构
2. 移植步骤
2.1 建立tiny6410单板
2.1.1 将u-boot-2012.10/board/samsung目录下的smdk6400文件夹复制一份重命名为tiny6410
u-boot-2012.10/board/samsung
[wf@localhost samsung]$ ls
common origen smdk5250 smdkc100 trats
goni smdk2410 smdk6400 smdkv310 universal_c210
[wf@localhost samsung]$ cp -a smdk6400 tiny6410
[wf@localhost samsung]$ ls
common origen smdk5250 smdkc100 tiny6410 universal_c210
goni smdk2410 smdk6400 smdkv310 trats
2.1.2 将tiny6410文件夹下的smdk6400.c和smdk6400_nand_spl.c分别重命名为tiny6410.c和tiny6410_nand_spl.c
u-boot-2012.10/board/samsung/tiny6410
[wf@localhost tiny6410]$ ls
config.mk Makefile smdk6400_nand_spl.c
lowlevel_init.S smdk6400.c u-boot-nand.lds
[wf@localhost tiny6410]$ mv smdk6400.c tiny6410.c
[wf@localhost tiny6410]$ mv smdk6400_nand_spl.c tiny6410_nand_spl.c
[wf@localhost tiny6410]$ ls
config.mk Makefile tiny6410_nand_spl.c
lowlevel_init.S tiny6410.c u-boot-nand.lds
2.1.3 将Makefile中的smdk6400改为tiny6410
u-boot-2012.10/board/samsung/tiny6410/Makefile
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
COBJS-y := tiny6410.o
SOBJS := lowlevel_init.o
2.1.4 将u-boot-2012.10/nand_spl/board/samsung文件夹下的smdk6400文件夹复制一份重命名为tiny6410
u-boot-2012.10/nand_spl/board/samsung
[