|
发表于 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> |
|