public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* booting from DOC
@ 2003-11-24 11:09 stephen
  2003-12-01  0:08 ` Denis Dowling
  0 siblings, 1 reply; 8+ messages in thread
From: stephen @ 2003-11-24 11:09 UTC (permalink / raw)
  To: linux-mtd

Hi All,

didn't get a reply from my last post , which was me rambling on a bit too
much or my text sounds arrogant? (sorry if it does i am just a newbie)

I've been reading Karim Yaghmours book, got much further now, maybe someone
can put me straight on a couple of things? (hopefully)

first of all I managed to install grub using 'doc_loadbios' so it replaces
the DOC's SPL , then I managed to use 'nftl_format' and formatted from
memory address '98304' which isn't the size of the grub boot loader but I
assume represents '16384 + 81920' , '81920' being the last erase offset,
from here I managed to 'fdisk nftla' and created a new partition
'/dev/nftla1', I can format this partition and safely read and write data. I
compiled all the DOC files as modules, I didn't patch the kernel I decided
to use a clean '2.4.19' kernel' , I also couldn't compile the latest CVS
tools ;/ so I went back to a previous snapshot
'Mtd-snapshot-20020708.tar.bz2' , this compiled fine (mainly I couldnt
compile nftl_format and something to do with empty LIST_HEAD structures,
blktrans.h with the latest CVS). I also realised that 'grub-0.92' needed
patching so i did that and repeated the steps with 'doc_loadbios' and
realised the last erase offset was now '65536' so the boot loader is smaller
and my new partition begins at offset '81920', plus this should have
contained 'ctrlbypass' as part of the grub compiled with patch.

The grub loader boots from the DOC but stops at the grub prompt, how do I
get grub to boot my kernel image ?
in karims book it talks about building a root filesystem and
/boot/grub/menu.lst but I can't see how this can run without the modules
loaded needed by the kernel (e.g. docecc.o, doc2000.o etc) confused ;/ ...

kind regards

Stephen

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <E1AOFNr-0001Yk-QS@pentafluge.infradead.org>]
* booting from doc
@ 2001-02-12 15:51 David Hamm
  2001-02-13 12:07 ` Mendel Mobach
  0 siblings, 1 reply; 8+ messages in thread
From: David Hamm @ 2001-02-12 15:51 UTC (permalink / raw)
  To: mtd

Is anyone booting from disk on chip with LILO.  I've tried several different
methods but still can't do it.  I'm using lilo 21.6, kernel 2.4.0 with mtd
modules.  I get the following info when I "fdisk /dev/nftla"
	DiskOnChip Millennium found at address 0xD0000
	Cannot calculate an NFTL geometry to match size of 0x7cf0.
	Using C:999 H:16 S:2 (== 0x7ce0 sects) 

DINFO yields 
DiskOnChip 2000(R) found at D000:0000
 	Drive letter          : D
  	Disk size             : 15,992 Kbytes
  	SoftWare version      : 4.2
  	TrueFFS Compatibility : 3.3.2
  	FirmWare size         : 48 Kbytes 
Also Lilo won't install because it doesn't know how to handle device 5d01.

If you see anyting that might cause a problem or be different than what you are
doing please let me know.  Thanks


 ---------------------------------
David Hamm
Systems Analyst
Imaging Technologies Services Inc.
email: dhamm@itrepro.com
voice: 404-870-6663
---------------------------------


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2003-12-01 12:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-24 11:09 booting from DOC stephen
2003-12-01  0:08 ` Denis Dowling
2003-12-01 11:45   ` stephen
2003-12-01 12:34     ` stephen
     [not found] <E1AOFNr-0001Yk-QS@pentafluge.infradead.org>
2003-11-25  7:09 ` Felix Frey
2003-11-26  8:15   ` Ilguiz Latypov
  -- strict thread matches above, loose matches on Subject: below --
2001-02-12 15:51 booting from doc David Hamm
2001-02-13 12:07 ` Mendel Mobach

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