Skip to contentSkip to conversation

mapping of boot loader offset

DISCUSSION Stephan Linke 1 participant 1 message Apr 12, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
Quoted 57 lines

-----Original Message-----
From: Stephan Linke [mailto:[email protected]]
Sent: Donnerstag, 11. April 2002 18:50
To: Tino Keitel
Cc: Linux-Mtd-Admin <---------- :o) oops
Subject: RE: mapping of boot loader offset

Hi!

You may probably fix it by using the mapping file for your mtd driver. I mean the stuff placed in drivers/mtd/maps.

Here you have the chance to manipulate the addresses of the flash access. You have to call the real access function of the actual flash driver. So you could simply check the offset of the access and if its above the "magic" address of your boot loader you could add an additional offset. That's it. I didn't do that yet and I think it's not the basic intantion of that mapping files. (I think they should be used to split up flash areas, not to connect them.) But I think it could work.

Maybe someone else has an "official" idea ;-). If not...

Regards, Stephan

Quoted 8 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Tino Keitel
Sent: Donnerstag, 11. April 2002 16:30
To: [email protected]
Subject: mapping of boot loader offset

Quoted 7 lines

Hi folks,

I wonder what to do if a processor looks for its BIOS/loader at a specified
address that is somewhere in the middle of a flash chip. The same chip will
contain one JFFS2. The boot loader area will have to be mapped

out of the

Quoted 15 lines

file system. Is there already something that MTD can do for me?

Regards,
Tino

Signature · 8 lines
[email protected]
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/