[U-Boot-Users] ARM: initial ramdisk

llandre r&d2 at dave-tech.it
Tue Jul 20 09:54:01 CEST 2004


I have a doubt about initial ramdisk placement.
I'm working with Cogent CSB336. The 8MB Flash starts at 0x1000:0000. The 
initial
cramfs ramdisk image was generated as follows:
mkimage -n 'RAM disk' -A arm -O linux -T ramdisk -C none -a 9000000 -e 
9000000 -d initrd.cramfs initrd.cramfs.u-boot
The image has been stored at 0x1020:0000. I expect that U-Boot, before 
launching the kernel, copies the cramfs image
from 0x1020:0000 to 0x0900:0000 but it does not. When the kernel boots, it 
can not mount the cramfs image because
it is placed outside the RAM boundaries:

Uncompressing Linux..................................................... 
done, booting the kern
el.
Linux version 2.6.7-imx3 (llandre at LinuxServer) (gcc version 3.3.2) #2 Thu 
Jul 15 18:43:28 CEST
2004
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
...
Machine: Cogent CSB336
initrd (0x10200040 - 0x105a6040) extends beyond physical memory - disabling 
initrd
Memory policy: ECC disabled, Data cache writeback
...
Kernel command line: root=/dev/ram rw 
ip=192.168.0.85:192.168.0.23::255.255.255.0:CSB336:eth0:o
ff panic=1 console=ttySMX0,115200
PID hash table entries: 256 (order 8: 2048 bytes)
Memory: 32MB = 32MB total
Memory: 30744KB available (1428K code, 185K data, 56K init)
Calibrating delay loop... 75.16 BogoMIPS
...
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Using deadline io scheduler
...
Kernel panic: VFS: Unable to mount root fs on ram0
  <0>Rebooting in 1 seconds..



Am I missing something?


Regards,

llandre

DAVE Electronics System House - R&D Department
www.dave-tech.it 





More information about the U-Boot mailing list