public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Doc_loadbios fails?  Docboot?
@ 2004-12-20 12:47 Carlos, John J USAATC
  2004-12-20 13:35 ` Dan Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos, John J USAATC @ 2004-12-20 12:47 UTC (permalink / raw)
  To: linux-mtd

I am trying to get Grub to load/work on a DOC2000 128Mbyte MD2202-D128x ver
5.1.2 dip.  This is one of the newer ones using INFTL technology.  The
doc_loadbios fails.  Nand_erase fails with error attempt to erase bad block
at page 0x00000000 ioctl(MEMERASE) Input/output error.  How can I get past
this error?  Has the doc_loadbios worked on these devices before?  Any
advice?  Should I just try to use docboot?  When using docboot I guess
everything must be built into the kernel since initrd image is not supported
(as the readme says it isn't).

Thanks,
John

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

* Re: Doc_loadbios fails?  Docboot?
  2004-12-20 12:47 Doc_loadbios fails? Docboot? Carlos, John J USAATC
@ 2004-12-20 13:35 ` Dan Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Brown @ 2004-12-20 13:35 UTC (permalink / raw)
  To: Carlos, John J USAATC; +Cc: linux-mtd

Carlos, John J USAATC wrote:
> Should I just try to use docboot?  When using docboot I guess
> everything must be built into the kernel since initrd image is not supported
> (as the readme says it isn't).

Adding initrd support would be fairly easy... I'll try to put together a 
patch over the next few days, if you have a need for it.

	-Dan Brown

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

* Re: Doc_loadbios fails?  Docboot?
       [not found] <EFF9A3506F74924AB5CC77BDC66E793518139B@atcml01.atc.army.mil>
@ 2004-12-20 19:57 ` Dan Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Brown @ 2004-12-20 19:57 UTC (permalink / raw)
  To: Carlos, John J USAATC; +Cc: linux-mtd@lists.infradead.org

I'm CC'ing the list on this since other people may benefit.

Carlos, John J USAATC wrote:

>Dan,
>
>  Maybe you can answer some questions for me.  I use dformat to create the
>BDK and BDTL partitions.  The BDK is 2 Meg and the BDTL the remainder.  My
>/proc/mtd shows just one entry mtd0.  
>
This sounds like the problem.  My guess is that you did not compile MTD 
partition support into your kernel.  If partition support is not 
available, I think only one device (mtd0) gets created, which is not 
what you want.  See if you can verify that this kernel config option is 
turned on.

>I then try to follow your guide lines
>for docboot.  I use mtd0 in the nand_eraseall and the nandwrite function.  I
>write the doc_spl and then reboot (init18 hook).  I can't boot from the doc.
>I have lilo on a floppy and when I direct lilo (on a floppy) to boot from my
>hard drive the inftla chip is gone/messed up and the driver doesn't see an
>inftla1.
>
>  Could you tell my why this might be?
>  
>
Since you did a nand_eraseall/nandwrite to mtd0, you erased your 
*entire* device, and then wrote docboot to the beginning.  Not what you 
intended at all :)

Let me know if you have any success.  If this works for you, I should 
update the docboot instructions to tell people they need partition support.

    -Dan

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

end of thread, other threads:[~2004-12-20 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 12:47 Doc_loadbios fails? Docboot? Carlos, John J USAATC
2004-12-20 13:35 ` Dan Brown
     [not found] <EFF9A3506F74924AB5CC77BDC66E793518139B@atcml01.atc.army.mil>
2004-12-20 19:57 ` Dan Brown

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