uboot的elf可以执行但是uboot.bin不能执行
我使用的是skyeye 1.2.5来模拟at91rm9200dk的板子uboot用的是1.3.3
呵呵,两个都是比较新的板子
skyeye.conf配置的应该没有问题
因为使用老版本的uboot1.1.5是可以模拟的
但是编译了uboot 1.3.3后只能是skeye -e uboot这样来运行elf版本的
uboot.bin执行了后就一直no bank found了非常的不理解
我uboot都用的默认的配置啊,就是直接make at91rm9200_config然后编译的
咋解决呢?或者咋调试个方法能调出来? 问问题的话,最好能够把你自己的详细步骤贴一下。
ksh@server:/opt/source/u-boot-1.2.0> make CROSS_COMPILE=arm-linux- at91rm9200dk_config
ksh@server:/opt/source/u-boot-1.2.0> make CROSS_COMPILE=arm-linux-
ksh@server:/opt/source/u-boot-1.2.0> cat skyeye_at91rm.conf
cpu:arm920t
mach: at91rm92
mem_bank: map=M, type=RW, addr=0x0, size=0x010000
mem_bank: map=M, type=RW, addr=0x20000000, size=0x01f00000
mem_bank: map=M, type=RW, addr=0x21f00000, size=0x00100000, file=./u-boot.bin, boot=yes
mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
#dbct:state=on
ksh@server:/opt/source/u-boot-1.2.0> /home/ksh/cvs/skyeye/skyeye-v1/branches/skyeye-1.2.4/binary/skyeye -c skyeye_at91rm.conf
**************************** WARNING **********************************
If you want to run ELF image, you should use -e option to indicate
your elf-format image filename. Or you only want to run binary image,
you need to set the filename of the image and its entry in skyeye.conf.
***********************************************************************
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name at91rm92, mach_init addr 0x4148d0
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM ./u-boot.bin
start addr is set to 0x21f00000 by exec file.
SKYEYE:Error in mem_read_word, no bank found, NumInstrs 297211, mem_read_word addr = 1000e000 no bank
U-Boot 1.2.0 (Jun 17 2008 - 20:12:18)
DRAM:32 MB
Atmel: Flash:0 kB
In at91rm92_io_read_word, io error, addr=0xfffe0004
In at91rm92_io_read_word, io error, addr=0xfffe0004
In at91rm92_io_read_word, io error, addr=0xfffa0010
In at91rm92_io_read_word, io error, addr=0xfffe0010
In at91rm92_io_read_word, io error, addr=0xfffe0004
In at91rm92_io_read_word, io error, addr=0xfffe0004
In at91rm92_io_read_word, io error, addr=0xfffa0010
In at91rm92_io_read_word, io error, addr=0xfffe0010
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
U-Boot> help
? - alias for 'help'
base - print or set address offset
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
cp - memory copy
crc32 - checksum calculation
dhcp - invoke DHCP client to obtain IP/boot params
echo - echo args to console
erase - erase FLASH memory
flinfo- print FLASH memory information
go - start application at address 'addr'
help - print online help
imls - list all images found in flash
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv- set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
U-Boot>
[ 本帖最后由 ksh 于 2008-6-17 20:57 编辑 ]
回复 #2 ksh 的帖子
谢谢!我按照你的方法弄好了
页:
[1]