Skip to contentSkip to conversation

PXA250 ramdisk in flash

U-Boot-Users Neil Campbell 2 participants 2 messages Mar 18, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I have a lubbock(dbpxa250) board which I'd like to boot from flash. I've burned the kernel image and ramdisk image into flash and try to boot as follows:

=> setenv bootargs root=/dev/ram0 console=ttyS0,115200 => bootm 280000 500000

both images are verified ok and kernel starts but eventually falls over when trying to mount root fs.

Kernel command line: root=/dev/ram0 console=ttys0,115200 RAMDISK driver initialised:

  Kernel panic: VFS: Unable to mount root fs on 01:00

I found the setup_initrd_tag and setup_ramdisk_tag functions which pass the ramdisk info to the kernel but the latter of these if commented out with a #ifdef 0. Just wondered if anyone has u-boot running ok with flashed ramdisk on the lubbock board? Or am I doing something wrong in the above steps?

Thanks,

Neil

#1 lore raw
Quoted 14 lines · Neil Campbell

Hi,

I have a lubbock(dbpxa250) board which I'd like to boot from flash. I've burned the kernel image and ramdisk image into flash and try to boot as follows:

=> setenv bootargs root=/dev/ram0 console=ttyS0,115200 => bootm 280000 500000

both images are verified ok and kernel starts but eventually falls over when trying to mount root fs.

Kernel command line: root=/dev/ram0 console=ttys0,115200 RAMDISK driver initialised:

Quoted 7 lines
  Kernel panic: VFS: Unable to mount root fs on 01:00

I found the setup_initrd_tag and setup_ramdisk_tag functions which pass the ramdisk info to the kernel but the latter of these if commented out with a #ifdef 0. Just wondered if anyone has u-boot running ok with flashed ramdisk on the lubbock board? Or am I doing something wrong in the above steps?

I had this working with ARMboot, but have been booting cramfs for some time now. I just tried with u-boot and fail to mount a valid ramdisk. So, it probably is a problem with u-boot passing tags correctly. I'll try to take a closer as soon as I get a chance.

Kyle.