From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Harris Date: Tue, 18 Mar 2003 10:53:34 -0500 Subject: [U-Boot-Users] PXA250 ramdisk in flash In-Reply-To: <3E772C44.11076.5C8522F3@localhost> References: <3E772C44.11076.5C8522F3@localhost> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.