Skip to contentSkip to conversation

BSE MediaEngine - booting from flash problems

DISCUSSION Gad Hayisraeli 2 participants 4 messages Jan 22, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 5 lines · [email protected] 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

#2 lore raw

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

Gad
----- Original Message -----
From: "David Woodhouse" <[email protected]>
To: "Gad Hayisraeli" <[email protected]>
Cc: "Linux-mtd List" <[email protected]>
Sent: Tuesday, January 22, 2002 6:53 PM
Subject: Re: BSE MediaEngine - booting from flash problems

Quoted 19 lines
Quoted 5 lines · [email protected] 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/

#3 lore raw
Quoted 2 lines · [email protected] 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