DiskOnChip 2000 and Millenium support in GRUB bootloader

Ilguiz Latypov ilatypov at superbt.com
Wed Feb 20 18:38:27 EST 2002


Mark,

After reading the int 19h description in Ralf Brown's interrupt list at
    http://www.ctyme.com/intr/rb-2270.htm 
I realize that the BIOS boot options (floppy drive, hard disk, CD-ROM,
network) should come to effect after BIOS calls the INT 19h handler.

At system startup the motherboard BIOS code checks for the BIOS extension
signatures in the region 0c0000h through 0e0000h and executes the
extensions if found:
    http://www.acl.lanl.gov/linuxbios/faq/archive/0059.html

I believe DoC has this signature in its "IPL" area.

Once the DoC "BIOS initialization", or "stage 1" area gets control, the
MTD DoC GRUB loader will install its own INT 19h handler.

This means that the BIOS boot drive order options will not have any effect
when DoC is present.  Once motherboard BIOS code invokes INT 19h, DoC
bootloader will load the kernel off particular filesystem placed on top of
NFTL DoC partition according to /boot/grub/menu.lst configuration file.

[I believe the interrupt number is mistyped as INT 18h in 
README_DiskOnChip, former grub/README].

Does the "Jumping to Grub" message show up during startup 
(stage1/doc_stage1.S)?  Does this message come next?
   Attempting to open /boot/grub/menu.lst on drive 0xe0, partition 0xff

If yes, enabling the DOC_DEBUG definition in stage2/shared.h might make 
sense.  If no, the stage1/doc_stage1{,b}.S code will need some work.

In either case the open source MTD drivers will have to be used later in 
the kernel.  The proprietory M-Sys drivers rely on their own boot loader 
which installs INT 13h as a disk I/O call.

Thanks for trying,

Ilguiz

On Wed, 20 Feb 2002, Mark Meade wrote:

> I'm trying to boot from the DOC ISA eval board on a PC with an AMI BIOS
> -- and I believe "boot from NETWORK" should call INT 18h.  I also tried
> booting from a floppy with the boot record modified to call int 18.  In
> either case, my PC doesn't seem to recognize the DOC at boot time.





More information about the linux-mtd mailing list