QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1346|回复: 0

skyeye1.2.4上运行u-boot的问题请教

[复制链接]
发表于 2008-5-15 16:55:57 | 显示全部楼层 |阅读模式
cpu:  arm920t
mach: at91rm92
#mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000//下面2段合并成一段,mem_bank最大数据为8;
#mem_bank: map=M, type=R, addr=0x00100000, size=0x00010000//
mem_bank: map=M, type=RW, addr=0x00000000, size=0x02000000
#flash
mem_bank: map=M, type=RW, addr=0x10000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0x11000000, size=0x00100000, file=./u-boot.bin, boot=yes
#sdram
mem_bank: map=M, type=RW, addr=0x20000000, size=0x02000000

mem_bank: map=M, type=RW, addr=0x30000000, size=0x00500000, file=./vmlinux

mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0xc0200000, size=0x00800000, file=./initrd.img
#mem_bank: map=M, type=RW, addr=0xc0a00000, size=0x10000000

mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
#dbct:state=on

#net: base=0x40000600, size=0xff, int=16, type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=192.168.1.111
#net:state=on,mac=0:4:3:2:1:f,ethmod=tuntap,hostip=192.168.1.111
#net: type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=192.168.1.111
#define PHYS_FLASH_1            0x10000000
#define PHYS_FLASH_SIZE            0x200000  /* 2 megs main flash */
#define CFG_FLASH_BASE            PHYS_FLASH_1

#define PHYS_SDRAM 0x20000000
#define PHYS_SDRAM_SIZE 0x2000000  /* 32 megs */


运行:skyeye显示如下信息:
[root@localhost linux-2.6.20]# skyeye

**************************** 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 0x80680f0
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./u-boot.bin
Loaded RAM   ./vmlinux
Loaded RAM   ./initrd.img
start addr is set to 0x11000000 by exec file.


U-Boot 1.1.6 (May 15 2008 - 15:43:19)

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

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

根据vmlinux加载地址:0x30000000
输入:go 30000000 显示如下:
U-Boot> go 30000000
## Starting application at 0x30000000 ...


就停在这了,不知道Atmel: Flash大小为啥是0;AT91RM9200dk.h里修改sdram大小能生效;
最后为啥停在这了;
菜鸟摸了一天都没搞出来
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 10:29 , Processed in 0.033294 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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