[U-Boot-Users] PXA250 ramdisk in flash

Kyle Harris kharris at nexus-tech.net
Tue Mar 18 16:53:34 CET 2003


On Tuesday 18 March 2003 09:25 am, Neil Campbell wrote:

> 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?

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.




More information about the U-Boot mailing list