|
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大小能生效;
最后为啥停在这了;
菜鸟摸了一天都没搞出来
|
|