QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1934|回复: 4

求助 :uboot引导at91rm9200dk不成功!!

[复制链接]
发表于 2007-11-1 16:56:49 | 显示全部楼层 |阅读模式
…………
uart_mod:0, desc_in:, desc_out:
Loaded RAM   ./u-boot
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0x21f00000  size = 0x00013ac0.
load section .glue_7: addr = 0x21f13ac0  size = 0x00000000.
load section .glue_7t: addr = 0x21f13ac0  size = 0x00000000.
load section .rodata: addr = 0x21f13ac0  size = 0x000006c4.
load section .rodata.str1.4: addr = 0x21f14184  size = 0x000030df.
load section .data: addr = 0x21f17264  size = 0x00000c04.
load section .u_boot_cmd: addr = 0x21f17e68  size = 0x000002e4.
not load section .bss: addr = 0x21f18200  size = 0x0001d204 .
not load section .debug_line: addr = 0x00000000  size = 0x00009588 .
not load section .debug_info: addr = 0x00000000  size = 0x0004e6d4 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00007287 .
not load section .debug_aranges: addr = 0x00000000  size = 0x000006a0 .
not load section .debug_frame: addr = 0x00000000  size = 0x00002d54 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0000219a .
not load section .debug_str: addr = 0x00000000  size = 0x00004840 .
not load section .comment: addr = 0x00000000  size = 0x00000372 .
not load section .debug_ranges: addr = 0x00000000  size = 0x00000250 .
start addr is set to 0x10000000 by exec file.
执行到此后面没有反应   是什么原因??
skyeye版本1.2.2


自己改的 skyeye.conf文件如下
cpu:arm920t
mach:at91rm92

#flash
mem_bank: map=M, type=RW, addr=0x10000000, size=0x00200000, file=./u-boot, boot=yes
#sdram
mem_bank: map=M, type=RW, addr=0x20000000, size=0x02000000

#IO
mem_bank: map=I, type=RW, addr=0xF0000000, size=0x10000000, file=./u-boot, boot=yes


何解???

多谢各位大侠!!
发表于 2007-11-2 10:54:28 | 显示全部楼层
Try to debug it by remote debug, and probably you can find where u-boot hangs.
回复

使用道具 举报

发表于 2007-11-2 13:23:43 | 显示全部楼层

回复 #1 beyondany 的帖子

You misunderstand bank option of SkyEye.  Why do you put u-boot to IO bank option? Another issue is you should place the filename of u-boot binary file to skyeye.conf. I use u-boot-1.2.0 and the lastest SkyEye source , that can successfully run u-boot.

Use the following command to build u-boot:
ksh@ksh:/opt/source/u-boot-1.2.0> make ARCH=arm at91rm9200dk_config
ksh@ksh:/opt/source/u-boot-1.2.0> make ARCH=arm

The content of Skyeye.conf is the following:
ksh@ksh:/opt/source/u-boot-1.2.0> cat skyeye.conf
cpu:  arm920t
mach: at91rm92
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=R, addr=0x00100000, size=0x00010000
mem_bank: map=M, type=RW, addr=0x20000000, size=0x02000000
mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
#dbct:state=on

The following is output:

ksh@ksh:/opt/source/u-boot-1.2.0> /home/ksh/cvs/skyeye/skyeye-v1/trunk/binary/skyeye -e u-boot
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name at91rm92, mach_init addr 0x8066300
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
exec file "u-boot"'s format is elf32-littlearm.
load section .text: addr = 0x21f00000  size = 0x00012ef0.
load section .glue_7: addr = 0x21f12ef0  size = 0x00000000.
load section .glue_7t: addr = 0x21f12ef0  size = 0x00000000.
load section .rodata: addr = 0x21f12ef0  size = 0x000006c4.
load section .rodata.str1.4: addr = 0x21f135b4  size = 0x000030e7.
load section .data: addr = 0x21f1669c  size = 0x00000c10.
load section .u_boot_cmd: addr = 0x21f172ac  size = 0x000002e4.
not load section .bss: addr = 0x21f17600  size = 0x0001d204 .
not load section .debug_line: addr = 0x00000000  size = 0x00005489 .
not load section .debug_info: addr = 0x00000000  size = 0x00012f88 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x00004a57 .
not load section .debug_aranges: addr = 0x00000000  size = 0x000006c0 .
not load section .debug_frame: addr = 0x00000000  size = 0x000027b4 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x00002170 .
not load section .debug_str: addr = 0x00000000  size = 0x00003f2d .
not load section .comment: addr = 0x00000000  size = 0x00000372 .
not load section .debug_ranges: addr = 0x00000000  size = 0x00000538 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0x21f00000 by exec file.


U-Boot 1.2.0 (Nov  2 2007 - 13:14:03)

DRAM:  32 MB
Atmel: Flash:  0 kB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
U-Boot>
回复

使用道具 举报

 楼主| 发表于 2007-11-2 16:51:22 | 显示全部楼层
十分感谢

我已经运行起uboot
可是到U-BOOT>提示符之后  输入没有反应
回复

使用道具 举报

发表于 2007-11-3 19:22:53 | 显示全部楼层
That is a bug of SkyEye . Now it is fixed in the source of svn repository. You can read the detail info from URL:
http://lists.gro.clinux.org/pipe ... ovember/001580.html
You also can modify SkyEye source code according to the above URL by yourself. Good Luck!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 12:35 , Processed in 0.037647 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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