+ -
当前位置:首页 → 问答吧 → 【求助】内核镜像出错?

【求助】内核镜像出错?

时间:2006-09-11

来源:互联网

我编译好内核uImage,zImage, 通过超级终端下载到at91rm9200的板子上:
U-Boot 1.1.1 (Sep 9 2006 - 12:01:34)

U-Boot code: 21F00000 -> 21F156C4 BSS: -> 21F19A08
RAM Configuration:
Bank #0: 20000000 32 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0

Sunnet-Uboot> loadb 21000000

## Ready for binary (kermit) download to 0x21000000 at 115200 bps...
## Total Size = 0x00083861 = 538721 Bytes
## Start Addr = 0x21000000

Sunnet-Uboot>bootm 21000000

## Booting image at 21000000 ...
Image Name: RAMdisk
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 538656 Bytes = 526 kB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Wrong Image Type for bootm command

================================================================
不解,uImage不就是对应U-BOOT的bootm命令吗?

=========================================================================
如果用zImage的话,就似乎可以:
Sunnet-Uboot> loadb 21000000

## Ready for binary (kermit) download to 0x21000000 at 115200 bps...
## Total Size = 0x00086798 = 550808 Bytes
## Start Addr = 0x21000000

Sunnet-Uboot>go 21000000

## Starting application at 0x21000000 ...
Based upon Swansea Un
Uncompressing Linux........................................ done, booting the ke
Initializing RT netlink socket
Starting k
rnel.
Warning: bad configuration page, trying to continue
Warning: Remapping obsolet
On node 0 totalpages: 8192
zone(0): 8192 pages.
fb7: s1d13xxx fra
zone(1): 0 pages.
zone(2): 0 pages.sole: switching t
Kernel command line: mem=32M console=ttyS0,115200 initrd=0x20210000,3145728 root
fb0: s1d13xxx frame buffer device
Displ
=/dev/ram rw16Bpp
Calibrating delay loop... 29.90 BogoMIPSiver... Done
Memory: 32MB = 32MB totalitialized: 16 RAM disks o
Memory: 28000KB available (1039K cod
physmap f
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
kmod: failed to exec /sbin/modprobe -s -k cfi_cmd
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Support for command set 0001 no
CPU: Testing write buffer: pass
gen_probe: No
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4(89 1AT91 SPI driver loaded TCP
Starting mouse
at91_dataflash: Atmel AT45DB021B detected [12 bu

Flash: 16 MB
In:
RAMDISK: Couldn't find valid RAM disk image starting at 0.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCutoboot: 0
Freeing initrd memory: 3072K
Uboot>
Uboot>
Kernel panic: VFS: Unable to mount root fs on 01:00CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCls
-I- AT91F_LowLevelInit(): Debug channel initializedCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

U-Boot 1.1.1 (Sep 9 2006 - 12:01:34)

loader 1.0 (Aug 8 2003 - 12:01:

U-Boot code: 21F00000 -> 21F156C4 BSS: -> 21F19A08oad U-BOOT
CCCCCCCCCC
CCCCCC
U-Bo
RAM Configuration:ssfullyssfully
Bank #0: 20000000 32 MBBoot 1.1.1 (Sep 9 2006
Flash: 16 MB18:59)
In: serial

U
Out: serialF00000 -> 21F
Err: serial 21F19A081F19
Hit any key to stop autoboot: 0
RAM Configuration
Sunnet-Uboot> loadb 2100000020000000 32 MB0 32 MB
## Ready for binary (kermit) download to 0x21000000 at 115200 bps...serial serial
Err: serial serial
Hit any key to stop a
## Total Size = 0x00083861 = 538721 Bytesnet-Uboot> tftp 21000000 uImageSunnet-Uboot>
## Start Addr = 0x21000000uring MII initializationC
Sunnet-Uboot> bootm 21000

Memory: 28000KB available (1039K code, 209K data, 56K init)h: 16 MB
In: serial
help - print onlin
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)und in flash0
Sunnet
itest
Inode cache hash table entries: 2048 (order: 2, 16384 bytes) (kermit) download to 0x2
loadb - load binary file over se
Mount cache hash table entries: 512 (order: 0, 4096 bytes)# Total Size = 0
loop - infinite loop on address r
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) display
mm - memory modify (au
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)mtest - simple RAM test

hub.c: USB hub found
hub.c: 2 ports detected
Found AT91 i2c
AT91 SPI driver loaded
at91_dataflash: Atmel AT45DB021B detected [spi0] (270600 bytes)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 3072K
Kernel panic: VFS: Unable to mount root fs on 01:00      

作者: wqtslove   发布时间: 2006-09-11

但是zImage跑起来,并没有熟悉的linux界面,而是停在上面不动了.这是不是我没有制作文件系统的原因?也没下载文件系统进去!      

作者: wqtslove   发布时间: 2006-09-11

热门下载

更多