public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] PXA250 ramdisk in flash
@ 2003-03-18 14:25 Neil Campbell
  2003-03-18 15:53 ` Kyle Harris
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Campbell @ 2003-03-18 14:25 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] PXA250 ramdisk in flash
  2003-03-18 14:25 [U-Boot-Users] PXA250 ramdisk in flash Neil Campbell
@ 2003-03-18 15:53 ` Kyle Harris
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Harris @ 2003-03-18 15:53 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-18 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-18 14:25 [U-Boot-Users] PXA250 ramdisk in flash Neil Campbell
2003-03-18 15:53 ` Kyle Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox