public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* DOC, grub and whatever is in between
@ 2002-01-21 15:14 Paolo Supino
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Supino @ 2002-01-21 15:14 UTC (permalink / raw)
  To: linux-mtd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi 

  I'm trying to activate a system that has a DOC Millenum as primary 
boot device and I want to use grub. I do the following: 
1. untar grub-0.90. 
2. patch it with the patch found in the mtd/patches directory.
3. configure it with --enable-diskonchip and --enable-tftp   
4. Build grub
5. move to mtd/grub
6. copy the newly built pre-stage2 
7. run make
8. run ../util/doc_loadbios /dev/mtd0 grub_firmware
   The output from the command is: 
Performing Flash Erase of length 8192 at offset 0
Performing Flash Erase of length 8192 at offset 8192
Performing Flash Erase of length 8192 at offset 16384
Performing Flash Erase of length 8192 at offset 24576
Performing Flash Erase of length 8192 at offset 32768
Performing Flash Erase of length 8192 at offset 40960
Performing Flash Erase of length 8192 at offset 49152
Performing Flash Erase of length 8192 at offset 57344
Performing Flash Erase of length 8192 at offset 65536
Performing Flash Erase of length 8192 at offset 73728
Performing Flash Erase of length 8192 at offset 81920
Performing Flash Erase of length 8192 at offset 90112

9. reboot the machine and get:
   DISK BOOT FAILIRE,  INSERT SYSTEM DISK AND PRESS ENTER


   Somewhere I'm doing something wrong, but I can't find where and what.
Can anyone point the obvious to me? 


PS - 1. I'm not subscribed to the mailing list (yet), so please send 
replies directly to me (mailto:paolo.supino@harmonicdata.com).
        2. I apologize before hand if the above is something at the 
the level of RTFM or at a proximity. 





TIA 



	Paolo 




	

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8TDBlTmyY/XcLbxARAjxJAKDVJU+wmZNC5odmyWiuh9GQ7VhNqACgzztA
iRXl+kxVAWYim5w05H3PmPY=
=Kh8s
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOC, grub and whatever is in between
@ 2002-01-21 21:54 ilatypov
  0 siblings, 0 replies; 3+ messages in thread
From: ilatypov @ 2002-01-21 21:54 UTC (permalink / raw)
  To: Linux MTD mailing list

Paolo,

It seems one has to find enough time and courage to copy the
Millenium-specific lines from MTD drivers' doc2000.c to GRUB's
bdev_diskonchip.c.  As far as I understand the ReadPipeInit and 
LastDataRead registers should be dealt with.

I don't have a DOC Millenium to test the changes with.

Ilguiz

On Mon, 21 Jan 2002, Paolo Supino wrote:

>   I'm trying to activate a system that has a DOC Millenum as primary
> boot device and I want to use grub. I do the following:

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DOC, grub and whatever is in between
@ 2002-01-22 13:36 Felix Frey
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Frey @ 2002-01-22 13:36 UTC (permalink / raw)
  To: paolo.supino; +Cc: linux-mtd

Paolo,

I've no experience in using grub, however, I'm running a system with a DOC 
millenium using lilo v22.1 as bootloader. It runs perfectly, you don't have 
to patch anything, not even the bios part of the DOC (use the original one 
from m-systems).
Be aware to use the latest lilo version, older ones don't support mtd.

Felix

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-22 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-22 13:36 DOC, grub and whatever is in between Felix Frey
  -- strict thread matches above, loose matches on Subject: below --
2002-01-21 21:54 ilatypov
2002-01-21 15:14 Paolo Supino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox