Booting from a DiskOnChip2000
ilatypov at superbt.com
Wed Apr 24 15:30:49 EDT 2002
Sorry if I misunderstood you, but you installed the lilo bootloader into
DiskOnChip. As you found, lilo needs BIOS disk number to talk to the
device. The same is true for GRUB as the latter doesn't have the IDE
drivers built in.
The M-System's DiskOnChip is shipped with the BIOS driver programmed into
the flash memory. The driver gets activated during BIOS initialization.
The M-System's lilo usage model assumes that BIOS will attempt to load the
lilo image in the same way as BIOS would load the master boot sector off
the hard disk.
The above startup scheme is possible because the M-System's drivers are
already hooked to the BIOS INT 13h disk access call when BIOS wants to
load the first sector off the bootable medium.
So your attempt to load the kernel off DiskOnChip with lilo may succeed as
long as you keep the M-System's boot area of the flash chip intact. I
think the problem with lilo you mentioned is due to different default BIOS
disk number/geometry specified by you and the configuration of the
M-System's driver. You may need to consult M-System's documentation paper
on its MS-DOS-based formatting software.
Once the Linux kernel is started, accessing a filesystem installed on top
of NFTL layer can be possible by means of the M-System's Linux driver
*and* by the MTD doc2000.c/nftl.c drivers *but* not by both.
On Wed, 24 Apr 2002, John Sutton wrote:
More information about the linux-mtd