If you look into Nicolas patch for SA110 Eval board, you can learn more by
yourself,
Let me forward this to you,
Thanks,
Gaixia
Well, this is how I did it...
1. (In boot loader) copy the compressed kernel from FLASH to RAM at 0x8000
2. Copy the compressed ramdisk image to RAM at 0x800000
3. Set up the following kernel parameters in param_struct:
root_dev = 0x0100
root_flags = FLAG_RDLOAD
initrd_start = 0xc0800000 /* NB virtual address */
initrd_size = 2188926 /* size of compressed image in bytes
*/
4. Jump to 0x8000
This works, but it isn't very clever in the way it enough RAM for the
compressed ramdisk is available at a fixed address and wont be overwritten
by the initialising kernel.
I don't know how best to improve this. I'd like to add a routine to
arch/arm/kernel/setup.c to copy the ramdisk image from FLASH to RAM if
initrd_start is a FLASH address, but I don't know if that would be the
right thing to do.
Suggestions?
Paul Robertson
LocSoft Limited
"The key to your embedded solutions"
www.locsoft.com
Phone +44 (0) 1793 432557
Fax +44 (0) 1793 432727
ByungGi Baek wrote:
> I want to mount root file system using ramdisk.
> described by a 21143 SYM PHY (4) block
> VFS: Cannot open root device "" or
> 00:00
> Please append a correct "root=" boot
> option
> Kernel panic: VFS: Unable to mount root fs on 00:
> -----------
>
> Thank you.
>
> ByungGi Baek.
>
> ---------------------------------------
>
>
> Geocrawler.com - The Knowledge Archive
_____________________________________________
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++ Please use [EMAIL PROTECTED] for ++
++ kernel-related discussions. ++