public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* BSE MediaEngine - booting from flash problems
@ 2002-01-22 15:10 Gad Hayisraeli
  2002-01-22 16:53 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Gad Hayisraeli @ 2002-01-22 15:10 UTC (permalink / raw)
  To: Linux-mtd List

i'm using mediaEngine with bank0 of 4 mb, and bank 1 of 16 mb flash.
kernel: 2.4.17-rmk2-bse patch to support mediaEngine.
but when the kernel boots(nfs boot), i see it recognizes only the
first flash bank.
what shall i do in order to recognize also the second ?
(i tried to alter sa1100-flash.c partitions but no use.)

Gad

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

* Re: BSE MediaEngine - booting from flash problems
  2002-01-22 15:10 BSE MediaEngine - booting from flash problems Gad Hayisraeli
@ 2002-01-22 16:53 ` David Woodhouse
  2002-01-22 17:32   ` Gad Hayisraeli
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2002-01-22 16:53 UTC (permalink / raw)
  To: Gad Hayisraeli; +Cc: Linux-mtd List

gad@syete.co.il said:
> i'm using mediaEngine with bank0 of 4 mb, and bank 1 of 16 mb flash.
> kernel: 2.4.17-rmk2-bse patch to support mediaEngine. but when the
> kernel boots(nfs boot), i see it recognizes only the first flash bank.
> what shall i do in order to recognize also the second ? (i tried to
> alter sa1100-flash.c partitions but no use.)

You probably need to add another 'map' driver for the second bank, then 
probe and register the flash device(s) in that separately. 

--
dwmw2

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

* Re: BSE MediaEngine - booting from flash problems
  2002-01-22 16:53 ` David Woodhouse
@ 2002-01-22 17:32   ` Gad Hayisraeli
  2002-01-22 17:34     ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Gad Hayisraeli @ 2002-01-22 17:32 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Linux-mtd List

could you please add more details , and examples ?
i never did this map before ...

Gad
----- Original Message ----- 
From: "David Woodhouse" <dwmw2@infradead.org>
To: "Gad Hayisraeli" <gad@syete.co.il>
Cc: "Linux-mtd List" <linux-mtd@lists.infradead.org>
Sent: Tuesday, January 22, 2002 6:53 PM
Subject: Re: BSE MediaEngine - booting from flash problems 


> 
> gad@syete.co.il said:
> > i'm using mediaEngine with bank0 of 4 mb, and bank 1 of 16 mb flash.
> > kernel: 2.4.17-rmk2-bse patch to support mediaEngine. but when the
> > kernel boots(nfs boot), i see it recognizes only the first flash bank.
> > what shall i do in order to recognize also the second ? (i tried to
> > alter sa1100-flash.c partitions but no use.)
> 
> You probably need to add another 'map' driver for the second bank, then 
> probe and register the flash device(s) in that separately. 
> 
> --
> dwmw2
> 
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

* Re: BSE MediaEngine - booting from flash problems
  2002-01-22 17:32   ` Gad Hayisraeli
@ 2002-01-22 17:34     ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2002-01-22 17:34 UTC (permalink / raw)
  To: Gad Hayisraeli; +Cc: Linux-mtd List

gad@syete.co.il said:
> could you please add more details , and examples ? i never did this
> map before ...

drivers/mtd/maps/*.c

The Ocelot one, for example, probes and registers two ranges.

--
dwmw2

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-22 15:10 BSE MediaEngine - booting from flash problems Gad Hayisraeli
2002-01-22 16:53 ` David Woodhouse
2002-01-22 17:32   ` Gad Hayisraeli
2002-01-22 17:34     ` David Woodhouse

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