public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: igor.trevisan@bluewind.it
To: linux-mtd@lists.infradead.org
Subject: handling a flash split in two parts
Date: Tue, 11 Apr 2006 21:10:26 +0200	[thread overview]
Message-ID: <443C1B42.8415.2E1D42D@localhost> (raw)

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
------------------------------------------------------------------

                 reply	other threads:[~2006-04-11 19:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=443C1B42.8415.2E1D42D@localhost \
    --to=igor.trevisan@bluewind.it \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox