[U-Boot-Users] ramdisk mount problem smdk2410(s3c2410)...

Yeonsik Jeong ysjeong at mail.skhu.ac.kr
Fri Sep 5 15:11:57 CEST 2003


I am using u-boot-0.4.0 + linux-2.4.18-rmk7-swl8 + self-made ramdisk on smdk2410(s3c2410 cpu) board.

Kernel is being successfully uncompressed and booted, but ramdisk isn't mounted.
My ramdisk is tested well on the same board and kernel without u-boot.
Ramdisk seems not to be loaded before uncompressing the kernel.

The address where the kernel is being performed is 0x30f00000 and ramdisk's is at 0x30800000.

System logs are as follows.



SMDK2410 # bootm 30100000 30200000

## Booting image at 30100000 ...
   Image Name:   2.4.18-rmk7-swl8 for SMDK2410
   Created:      2003-09-05   9:22:00 UTC
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    630413 Bytes = 615.6 kB
   Load Address: 30f00000
   Entry Point:  30f00000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

## Loading Ramdisk Image at 30200000 ...
   Image Name:   Ramdisk Image for ARM
   Created:      2003-09-05  12:02:05 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1993960 Bytes =  1.9 MB
   Load Address: 30800000
   Entry Point:  30800000
   Verifying Checksum ... OK
   => There is no "Loading Ramdisk ... OK" message... 
Starting kernel ...

⊂Uncompressing Linux............................................. done, booting the kernel.
Linux version 2.4.18-rmk7-swl8 (root at adam.skhu.ac.kr) (gcc version 2.95.3 20010315 (release)) #1 2003. 09. 05. (금) 18:06:47 KST

CPU: SAMSUNG S3C2410(Arm920T)sid(wb) revision 0
Warning: bad configuration page, trying to continue
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 console=ttyS0
Console: colour dummy device 80x30
Calibrating delay loop... 101.37 BogoMIPS
Memory: 64MB = 64MB total
Memory: 52684KB available (1169K code, 304K data, 68K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
l3 S3C2410 Adapter Initialized 
ttyS0 at MEM 0xe0000000 (irq = 52) is a S3C2410
ttyS1 at MEM 0xe0004000 (irq = 55) is a S3C2410
Console: switching to colour frame buffer device 30x40
Loading keyboard on irq 1  
pty: 256 Unix98 ptys configured
Loading S3C2410 Touch Screen Driver          
Installing S3C2410 RTC 
S3C Real Time Clock driver v1.00
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: cs8900 rev J found at 0xf0000300 
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 37, programmed I/O, MAC 00:00:00:00:00:00
loop: loaded (max 8 devices)
S3C2410 UDA1341 / IIS  initialized
No NAND device found!!!
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xd9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
mice: PS/2 mouse device common for all mice
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 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 10240K
cramfs: wrong magic
JFFS: Trying to mount a non-mtd device.
Kernel panic: VFS: Unable to mount root fs on 01:00


Yeonsik Jeong, Ph.D.
Assistant Professor
Division of Computer & Information Science
SungKongHoe University
1-1 Hang-Dong, Kuro-Gu, Seoul, 152-716 KOREA

Tel: +82-2-2610-4726
Fax: +82-2-2610-4390
HP: +82-11-9940-2862
Email: ysjeong at mail.skhu.ac.kr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20030905/35d99773/attachment.htm 

More information about the U-Boot mailing list