Send tech-support questions, answers and article ideas to The Answer Gang <linux-questions-only@ssc.com>. Other mail (including questions or comments about the Gazette itself) should go to <gazette@ssc.com>. All material sent to either of these addresses will be considered for publication in the next issue. Please send answers to the original querent too, so that s/he can get the answer without waiting for the next issue.
Unanswered questions might appear here. Questions with answers--or answers only--appear in The Answer Gang, 2-Cent Tips, or here, depending on their content. There is no guarantee that questions will ever be answered, especially if not related to Linux.
Before asking a question, please check the Linux Gazette FAQ to see if it has been answered there.
I have a problem in adding a new file system in to a device called mediaEngine. It is a product of brightstareng.com There is slot for a Compact Flash. I bought a compact flash and added it, but thenit does not recognise the card. it says there isan i/o error. the mke2fs does not work properly. I am not able to mount even.
pleaese help me regarding this.
thanking you inadvance
kamalakanth
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