beyondany 发表于 2007-11-1 16:56:49

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

…………
uart_mod:0, desc_in:, desc_out:
Loaded RAM   ./u-boot
exec file "u-boot"'s format is elf32-little.
load section .text: addr = 0x21f00000size = 0x00013ac0.
load section .glue_7: addr = 0x21f13ac0size = 0x00000000.
load section .glue_7t: addr = 0x21f13ac0size = 0x00000000.
load section .rodata: addr = 0x21f13ac0size = 0x000006c4.
load section .rodata.str1.4: addr = 0x21f14184size = 0x000030df.
load section .data: addr = 0x21f17264size = 0x00000c04.
load section .u_boot_cmd: addr = 0x21f17e68size = 0x000002e4.
not load section .bss: addr = 0x21f18200size = 0x0001d204 .
not load section .debug_line: addr = 0x00000000size = 0x00009588 .
not load section .debug_info: addr = 0x00000000size = 0x0004e6d4 .
not load section .debug_abbrev: addr = 0x00000000size = 0x00007287 .
not load section .debug_aranges: addr = 0x00000000size = 0x000006a0 .
not load section .debug_frame: addr = 0x00000000size = 0x00002d54 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0000219a .
not load section .debug_str: addr = 0x00000000size = 0x00004840 .
not load section .comment: addr = 0x00000000size = 0x00000372 .
not load section .debug_ranges: addr = 0x00000000size = 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


何解???

多谢各位大侠!!

ksh 发表于 2007-11-2 10:54:28

Try to debug it by remote debug, and probably you can find where u-boot hangs.

ksh 发表于 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 = 0x21f00000size = 0x00012ef0.
load section .glue_7: addr = 0x21f12ef0size = 0x00000000.
load section .glue_7t: addr = 0x21f12ef0size = 0x00000000.
load section .rodata: addr = 0x21f12ef0size = 0x000006c4.
load section .rodata.str1.4: addr = 0x21f135b4size = 0x000030e7.
load section .data: addr = 0x21f1669csize = 0x00000c10.
load section .u_boot_cmd: addr = 0x21f172acsize = 0x000002e4.
not load section .bss: addr = 0x21f17600size = 0x0001d204 .
not load section .debug_line: addr = 0x00000000size = 0x00005489 .
not load section .debug_info: addr = 0x00000000size = 0x00012f88 .
not load section .debug_abbrev: addr = 0x00000000size = 0x00004a57 .
not load section .debug_aranges: addr = 0x00000000size = 0x000006c0 .
not load section .debug_frame: addr = 0x00000000size = 0x000027b4 .
not load section .debug_pubnames: addr = 0x00000000size = 0x00002170 .
not load section .debug_str: addr = 0x00000000size = 0x00003f2d .
not load section .comment: addr = 0x00000000size = 0x00000372 .
not load section .debug_ranges: addr = 0x00000000size = 0x00000538 .
call ARMul_InitSymTable,kernel filename is u-boot.
start addr is set to 0x21f00000 by exec file.


U-Boot 1.2.0 (Nov2 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>

beyondany 发表于 2007-11-2 16:51:22

十分感谢

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

ksh 发表于 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/pipermail/skyeye-developer/2007-November/001580.html
You also can modify SkyEye source code according to the above URL by yourself. Good Luck!
页: [1]
查看完整版本: 求助 :uboot引导at91rm9200dk不成功!!