Booting from a DiskOnChip2000
Hi
I use a DiskOnChip 2000 and an Allwell Settopbox. I compiled the 2.4.18 Linuxkernel with the MTD drivers.
Mounting the DOC into the /mnt directory is no problem but now I've tried to install lilo on the DOC. I used a patched lilo version 21 from M-System. If I run lilo I get the message: Sorry don't know how to handle device 0x5d01.
Bye
Tom
Content Security by MailMarshal
Thomas,
I believe lilo can talk to devices by means of BIOS calls. If I understand correctly, the M-Systems patch to lilo adds the mapping of the /dev/ftla (?) root device name to the appropriate BIOS disk number.
I infer from your description that you haven't made a complete choice between using the M-System's Linux driver and the MTD doc2000.c driver.
If you are going for M-System's driver, I think you may need to specify the correct device name (/dev/ftla ?) as a root device (and optionally as a boot device) in /etc/lilo.conf.
Then the lilo command should be able to write down the block numbers of the kernel image it needs to load at system startup.
If you are going for the MTD doc2000.c driver which doesn't attempt to emulate age old real mode BIOS API, then the bootloader will have to access the content of the NFTL layer by using a bootstrap driver similar to the kernel doc2000.c module.
The MTD CVS repository contains the patch to the GRUB bootloader which performs the above bootstrap access. As a bonus, the GRUB bootloader doesn't require any block numbers list to find the kernel image as it has the bootstrap drivers for the most of filesystems as well.
The latest DOC 2000 / Millennium patch is in CVS directory
mtd/patches/grub-2002-02-19-doc.patch
You may need to download the source code of GRUB off its own CVS repository at
http://savannah.gnu.org/projects/grub/
The copy of the DOC 2000 / Millennium patch can also be found in the Patch Area of the GRUB project.
Ilguiz
Quoted 2 lines · Thomas Preisig
I used a patched lilo version 21 from M-System. If I run lilo I get the
message: Sorry don't know how to handle device0x5d01.
Quoted 8 lines · Thomas Preisig
Hi
I use a DiskOnChip 2000 and an Allwell Settopbox. I compiled the 2.4.18 Linuxkernel with the MTD drivers.
Mounting the DOC into the /mnt directory is no problem but now I've tried to install lilo on the DOC. I used a patched lilo version 21 from M-System. If I run lilo I get the message: Sorry don't know how to handle device0x5d01.
use grub from CVS, works great. I have fsys_cramfs if anyone is interested, I sent it to the grub people a while back, but haven't got any replies