Hello Everybody,
I am trying to develop a x86 target which boots from Flash. I have
taken the BLOB bootloader (taken from LART
project based on ARM processor.) and am modifying it for X86. So far I
am able to get the Linux kernel booted. But when it
comes to the mounting of rootfile system I am stuck. ( The blob
downloads the kernel image and initrd image into RAM from
Flash/through serial line).
1. I am getting the compressed kernel image in RAM at 0x100000 through
serial line.
2. I am getting the compressed ramdisk image(initrd) in RAM at
0x400000 through serial line.
3. The kernel gets uncompressed and boots correctly till the point of
displaying the message RAMDISK: Compressed
image found at block 0. and then hangs.
4. After debugging I have found that control comes till gunzip function
inlinux/lib/inflate.c but never comes out of the function.
5. The parameters I have set at the begining of setup_arch function in
linux/arch/i386/kernel/setup.c are as follows
ORIG_ROOT_DEV = 0x0100
RAMDISK_FLAGS = 0x4000
INITRD_START = 0x400000
INITRD_SIZE = 0xd4800 (size of compressed ram disk
image)
LOADER_TYPE = 1
Has anyone faced such problem before? If so what needs to be done?
Are the values for the parameters mentioned above correct? Are they the
only information to be mentioned to the kernel for
locating and uncompressing the RAMDISK image and make it boot?
Is there any bootloader readily available for x86 platform for booting
from Flash also with serial downloading facility?
Please help
With Kind Regards,
manohar
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help