主题 : u-boot移植到2440上的问题,求救 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 6682
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
综合积分: 4 分
注册时间: 2009-06-11
最后登录: 2009-06-12
楼主  发表于: 2009-06-11 17:20

 u-boot移植到2440上的问题,求救

1、下载 u-boot-1.3.4.tar.bz2 结压
2、修改:Makefile
mini2440_config    :    unconfig
    @$(MKCONFIG) $(@:_config=) arm arm920t mini2440 xiedwang s3c24x0
3、设置编译器CROSS_COMPILE=*******
4、cd board
mkdir tekkamanninja  xiedwang /mini2440
cp -arf sbc2410x/*  xiedwang /mini2440/
cd xiedwang /mini2440/
mv sbc2410x.c mini2440.c
5、修改Makefile  COBJS := mini2440.o flash.o
6、cp include/configs/sbc2410x.h include/configs/mini2440.h
最后make mini2440_config
Configuring for mini2440 board...
make
编译成功!大小是97K,我用JTAG烧到板子上(开关置nor flash),重新上电启动,超级终端没任何反应。但烧上光盘自带的u-boot.bin就可以用。
请高手指点,谢谢了。

*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-06-14 14:57
AXD和GDB不是用来观赏的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."