|
发表于 2010-1-27 10:38:51
|
显示全部楼层
我用skyeye-1.3.0测试了一下u-boot-2009.11,可以运行。命令如下:
ksh@ksh-server:~/svn/skyeye/testsuite/branches/skyeye-testsuite-1.3.0/u-boot/at91rm9200$ cat skyeye.confarch:arm
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
uart:mod=term
#dbct:state=on
ksh@ksh-server:~/svn/skyeye/testsuite/branches/skyeye-testsuite-1.3.0/u-boot/at91rm9200$ /opt/skyeye/bin/skyeye -e /opt/testsuite/u-boot-2009.11/u-boot
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modificationor redistributions of SkyEye should note remove or modify the annoucement of SkyEye copyright.
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list.
(skyeye)start
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
In do_mach_option, mach info: name at91rm92, mach_init addr 0x7fd5f1625090
uart_mod:3, desc_in:, desc_out:, converter:
In create_uart_console
SKYEYE: use arm920t mmu ops
exec file "/opt/testsuite/u-boot-2009.11/u-boot"'s format is elf64-x86-64.
load section .text: addr = 0x21f00000 size = 0x00014964.
load section .rodata: addr = 0x21f14964 size = 0x00004964.
load section .data: addr = 0x21f192c8 size = 0x00000c64.
load section .u_boot_cmd: addr = 0x21f19f2c size = 0x00000370.
not load section .bss: addr = 0x21f1a400 size = 0x0001c410 .
not load section .debug_line: addr = 0x00000000 size = 0x00006362 .
not load section .debug_info: addr = 0x00000000 size = 0x000175f8 .
not load section .debug_abbrev: addr = 0x00000000 size = 0x00006de8 .
not load section .debug_aranges: addr = 0x00000000 size = 0x00000840 .
not load section .debug_frame: addr = 0x00000000 size = 0x000031d8 .
not load section .debug_loc: addr = 0x00000000 size = 0x0000ff95.
not load section .debug_pubnames: addr = 0x00000000 size = 0x00002902 .
not load section .debug_str: addr = 0x00000000 size = 0x00004b7c.
not load section .comment: addr = 0x00000000 size = 0x0000044a .
not load section .debug_ranges: addr = 0x00000000 size = 0x00000f60 .
In SIM_start, Set PC to the address 0x21f00000
(skyeye)run
###########################################################
在串口的输出如下:
Connecting to ksh-server:42934
U-Boot 2009.11 (Jan 27 2010 - 10:17:53)
DRAM: 32 MB
Atmel: Flash: 0 kB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
U-Boot> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
coninfo - print console devices and information
###################################################################
u-boot编译命令如下:
ksh@ksh-server:/opt/testsuite/u-boot-2009.11$ make ARCH=arm at91rm9200dk_config
ksh@ksh-server:/opt/testsuite/u-boot-2009.11$ make ARCH=arm CROSS_COMPILE=arm-linux-
####################################################
另外一个技巧就是:你运行at91rm9200的u-boot,可以先参考我们测试套件中的skyeye.conf和运行的方法比较好一些,因为测试套件中的测试用例都是我们在发布的时候经过测试的,比较可靠。
-------------
Thanks
MK
[ 本帖最后由 ksh 于 2010-1-27 10:44 编辑 ] |
|