public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* RedBoot from DoC not working quite well
@ 2002-07-01 13:35 Iztok Zupet
  2002-07-01 13:41 ` Jasmine Strong
  0 siblings, 1 reply; 4+ messages in thread
From: Iztok Zupet @ 2002-07-01 13:35 UTC (permalink / raw)
  To: linux-mtd

Hi,

 I succsessfuly replaced a DoC millenium firmware with RedBoot using the GRUB 
patch as the base. After

	>>> doc_loadbios /dev/mtd0 redboot_firmware

RedBoot boots fine (int18 or int19). But after formating my DoC with 
nftl_format utility:

	>>> nftl_format /dev/mtd0 128000

which should leave all the RedBoot blocks unchanged, my RedBoot is gone.
The whole redboot_firmware size is 126280.

Can someone tell me why the RedBoot and NFTL blocks interleave, if they do. 

Thanks
iz

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

* Re: RedBoot from DoC not working quite well
  2002-07-01 13:35 RedBoot from DoC not working quite well Iztok Zupet
@ 2002-07-01 13:41 ` Jasmine Strong
  2002-07-01 14:03   ` Iztok Zupet
  0 siblings, 1 reply; 4+ messages in thread
From: Jasmine Strong @ 2002-07-01 13:41 UTC (permalink / raw)
  To: Iztok Zupet; +Cc: linux-mtd


On Mon, 1 Jul 2002, Iztok Zupet wrote:

> RedBoot boots fine (int18 or int19). But after formating my DoC with
> nftl_format utility:
>
> 	>>> nftl_format /dev/mtd0 128000
>

You can't start a format from that address.  It's not an erase block
boundary.  (Most DoC devices have 8k erase blocks.  THat means 8192 bytes,
not 8000.)

Try erasing from 131072, rather than 128000.

Jas.

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

* Re: RedBoot from DoC not working quite well
  2002-07-01 13:41 ` Jasmine Strong
@ 2002-07-01 14:03   ` Iztok Zupet
  2002-07-02 10:28     ` Iztok Zupet
  0 siblings, 1 reply; 4+ messages in thread
From: Iztok Zupet @ 2002-07-01 14:03 UTC (permalink / raw)
  To: Jasmine Strong; +Cc: linux-mtd

On Monday 01 July 2002 15:41, Jasmine Strong wrote:
> On Mon, 1 Jul 2002, Iztok Zupet wrote:
> > RedBoot boots fine (int18 or int19). But after formating my DoC with
> >
> > nftl_format utility:
> > 	>>> nftl_format /dev/mtd0 128000
>
> You can't start a format from that address.  It's not an erase block
> boundary.  (Most DoC devices have 8k erase blocks.  THat means 8192 bytes,
> not 8000.)
>
> Try erasing from 131072, rather than 128000.
>
> Jas.

 I tried but it still owerwrites or erases my RedBoot.
Size of my redboot_firmware is exactly 123.2K.

Regards
iz

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

* Re: RedBoot from DoC not working quite well
  2002-07-01 14:03   ` Iztok Zupet
@ 2002-07-02 10:28     ` Iztok Zupet
  0 siblings, 0 replies; 4+ messages in thread
From: Iztok Zupet @ 2002-07-02 10:28 UTC (permalink / raw)
  To: linux-mtd

On Monday 01 July 2002 16:03, Iztok Zupet wrote:
> On Monday 01 July 2002 15:41, Jasmine Strong wrote:
> > On Mon, 1 Jul 2002, Iztok Zupet wrote:
> > > RedBoot boots fine (int18 or int19). But after formating my DoC with
> > >
> > > nftl_format utility:
> > > 	>>> nftl_format /dev/mtd0 128000
> >
> > You can't start a format from that address.  It's not an erase block
> > boundary.  (Most DoC devices have 8k erase blocks.  THat means 8192
> > bytes, not 8000.)
> >
> > Try erasing from 131072, rather than 128000.
> >
> > Jas.
>
>  I tried but it still owerwrites or erases my RedBoot.
> Size of my redboot_firmware is exactly 123.2K.
>
> Regards
> iz
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

 It OK now . My RedBoot firware was 8K bytes too big, eg it loaded yust a 
little pass the 0x20000 in DoC.

Regards
iz

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

end of thread, other threads:[~2002-07-02 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01 13:35 RedBoot from DoC not working quite well Iztok Zupet
2002-07-01 13:41 ` Jasmine Strong
2002-07-01 14:03   ` Iztok Zupet
2002-07-02 10:28     ` Iztok Zupet

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