QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1364|回复: 0

请教在2410上移植u-boot!

[复制链接]
发表于 2005-7-20 15:01:03 | 显示全部楼层 |阅读模式
请大侠帮忙,想学习移植u-boot
从网上下载了1。1。2版,redhat9。0,编译环境为toolchains的,make没通过。

[root@localhost u-boot-1.1.2]# make smdk2410_config
Configuring for smdk2410 board...
[root@localhost u-boot-1.1.2]# make
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/tools'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/tools'
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/examples'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/examples'
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/post'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/post'
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/post/cpu'
make[1]: `.depend' is up to date.
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/post/cpu'
make -C tools all
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/tools'
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F
80000 -DUSE_HOSTCC -O -c mkimage.c
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F
80000 -DUSE_HOSTCC -O -c crc32.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -o mkimage mkimage.o crc32.o
strip mkimage
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F
80000 -DUSE_HOSTCC -O -c envcrc.c
gcc -g -idirafter ../include -DTEXT_BASE=0x33F80000 -DUSE_HOS
TCC -c environment.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o
gcc -g -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F
80000 -DUSE_HOSTCC -O -c gen_eth_addr.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x33F800
00 -DUSE_HOSTCC -O -o bmp_logo bmp_logo.o
strip bmp_logo
./bmp_logo logos/denx.bmp >/zj/u-boot/u-boot-1.1.2/include/bmp
_logo.h
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/tools'
make -C examples all
make[1]: Entering directory `/zj/u-boot/u-boot-1.1.2/examples'
armv4l-unknown-linux-gcc -g -Os -fno-strict-aliasing -fno-
common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__
-DTEXT_BASE=0x33F80000 -I/zj/u-boot/u-boot-1.1.2/include -fno
-builtin -ffreestanding -nostdinc -isystem /opt/host/armv4l/li
b/gcc-lib/armv4l-unknown-linux/2.95.2/include -pipe -DCONFIG_
ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes
-c -o stubs.o stubs.c
armv4l-unknown-linux-ar crv libstubs.a stubs.o
a - stubs.o
armv4l-unknown-linux-gcc -g -Os -fno-strict-aliasing -fno-
common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__
-DTEXT_BASE=0x33F80000 -I/zj/u-boot/u-boot-1.1.2/include -fno
-builtin -ffreestanding -nostdinc -isystem /opt/host/armv4l/li
b/gcc-lib/armv4l-unknown-linux/2.95.2/include -pipe -DCONFIG_
ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshor t-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/zj/u-boot/u-boot-1.1.2/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/host/armv4l/lib/gcc-lib/armv4l-unknown -linux/2.95.2/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -I.. -Bstatic -T /zj/u-boot/u-boot-1.1.2/board/sm dk2410/u-boot.lds -Ttext 0x33F80000 hello_world.c -o hello _world
/opt/host/armv4l/armv4l-unknown-linux/bin/ld: cannot open cpu/ arm920t/start.o: ?????????
collect2: ld returned 1 exit status
armv4l-unknown-linux-gcc: file path prefix `static' never used
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/zj/u-boot/u-boot-1.1.2/examples'
make: *** [examples] Error 2



是start。o文件不存在造成的呢,还是ld问题的呢?不知从何下手,请大侠指点,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 02:03 , Processed in 0.050438 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表