Help! AMD Config Advice

Jörn Engel joern at
Thu Jan 9 12:26:26 EST 2003

On Thu, 9 January 2003 11:46:13 -0500, Frank R Callaghan wrote:
> Subject: Help! AMD Config Advice
> Is there no solution to this question ?
> am I asking the wronge group ?
> is it so stupid it does not deserve a responce ?

It had the correct subject to be ignored. ;)

> I am looking to use an AMD flash chip on my pc104 card
> to store some non-volatile data, the chip is a 2MB part  AMD29F016,
> the BIOS is in the top 128KB of the first mega-byte(do not want to
>  overwrite).
> After setting up the kernel with MDT I get
> cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00200000 00010000 "Physically mapped flash"
> ok but I only need the second 1MB - is there some way to 
> prevent the first meg being mapped/used ?

Maybe, but you have already tried the obvious. And it is a very odd
request, that you have too _much_ storage. 

My first guess is that physmap calls up the cfi probing. cfi tells the
kernel about a 2MiB-Chip and that is what the kernel uses. Whether
this is correct behaviour or not, I don't want to decide.

> also I'm looking to use jffs2 as the file system - maybe I can partion it
> to only use the second meg ???

This would be the easiest. Easiest is to copy physmap.c and hardcode
the partitioning, as is already done dozens of time. Not pretty, but


"Security vulnerabilities are here to stay."
-- Scott Culp, Manager of the Microsoft Security Response Center, 2001

More information about the linux-mtd mailing list