MTD+DOC2000+Grub issue

Christian Gagneraud chgans at free.fr
Tue Aug 2 16:48:03 EDT 2005


Hi all,

I'm facing issue when using grub on DOC200 with MTD on a PC104/i586 
system (apx4d from blue chip tech.).
I've read carrefully 
http://lakeshoremicro.com/diskonchip-grub-howto.html, and others docs 
and mailing list archives on the net, but i doesn't understand what's 
wrong with my system.

Before doing anything the BIOS gives the folowing message:
--
WAIT...
DOC Socket Services - Version 0.2
(C) Copyright 1992-1996, M-Systems Ltd.

TrueFFS-BIOS -- Version 3.3.9 for DiskOnChip 2000 (V4.2)
Copyright (C) M-Systems, 1992-2000

Apx-4d Solid State Disk BIOS v1.01.00
(C)1997-1998 Blue Chip Technology Ltd.

[normal behaviour follow]
--

Once i've reflashed successfully the Doc (and after lot of try and 
unsucces) with a freshly build grub (v0.94 with mtd patch), the best i 
get is:
--
WAIT...
Doc Found
Doc Found
Apx-4d Solid State Disk BIOS v1.01.00
(C)1997-1998 Blue Chip Technology Ltd.

[No grub promt, behaviour as if grub was ignored]
--

What's i've noticed, is the double "DoC Found" message, instead of a 
"DoC found" followed by a "Doc 2000".

by reading through doc_stage1.S -- as i understand --, grub "just"
copy itself at top memory, store it's address and register its INT18 
handler, and finally "lret".
It then expect to be called again by the just registered INT18, but 
that's not what append...
Instead it is call again "from the begining" and that's all!


I guess i'm doing the rigth thing, but my sytem is perhaps exotics, due 
to the second firmware?

Has anyone any clue on this?

Christian.




More information about the linux-mtd mailing list