* handling a flash split in two parts
@ 2006-04-11 19:10 igor.trevisan
0 siblings, 0 replies; only message in thread
From: igor.trevisan @ 2006-04-11 19:10 UTC (permalink / raw)
To: linux-mtd
Hi all!
I've a very particular problem:
I've a board that,for reasons that are too long to be explained,
has a 4MB flash chip that is not mapped in a contiguos way.
Physically the microcontroller can see:
2Mbytes of flash -- 2MB of "jump" -- other 2MBytes of flash
I modified the mmu map in the file
arch/arm/mach-mx1ads/mm.c
(I've a custom board with Freescale iMX1)
and this should make things work but it's not so.
With the emulator I can see the memory as if it was
contiguous, but when mounting my Root File System
flash partition, the system look at the wronk address.
It seems that it looks at the physical addresses instead of the virtual
one fixed with the MMU map.
Is it possible?
If so, how can I solve this?
I tried some workarounds but with no luck!
Any suggestion is very appreciated.
If more details are needed, please tell em and forgive me if
I missed them!
Thanks a lot in advance,
Igor.
--
--- BlueWind
--- Embedded Systems Design
--- Borgo Pieve 55c interno c
--- 31033 Castelfranco V.to (TV)
--- Tel.: +39 0423 723431 Fax.: +39 0423 744738
--- mailto: igor.trevisan@bluewind.it
--- http://www.bluewind.it
------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-11 19:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-11 19:10 handling a flash split in two parts igor.trevisan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox