Am29LV065D woes -- ZFMicro MachZ help?

Luke luke_epsilon at
Tue Aug 14 00:08:20 EDT 2001


I am excited to get to work tomorrow and pour over the ZFMicro tech docs -
man that sounds sad.

--- Vipin Malik <vipin at> wrote:
> At 05:35 PM 8/13/2001 -0700, Luke wrote:

> Well in that case, you have on board programmable chip select's.
> There must be registers that are associated with each chip select that
> define the base physical address, the databus width, the wait
states,what type of memory is located there (read only or read/write) etc.

You think these registers are located on the ZFMicro chip somewhere,
right?  If I am understanding you correctly, I need to duplicate the
action that the bios does when setting the chip select registers.  

> You must look for these registers and program them to an address that
> you will be happy with. Of course if the flash chips are already booting
> your bios etc. you probably want to dump the contents and decode what
the base address is and just use that.

How would I go about dumping this?  

The bios seems to launch what it calls an Option Rom Extension (A Phoenix
Bios feature - maybe others too) - and the extension it launches is called
the Linux Loader Option Rom Extension.   It is this program that (I
believe) programs the chip selects to get the system booting.  When the
bios first starts it has values in the chip select (mem_cs_0) which allows
this linux loader option rom to load.

> This is exactly like the AMD SC520 processor, except I doubt that the 
> registers to program the chip selects are in the same location :)

I will look more closely at the sc520cdp.c code and hopefully I can just
tweak the appropriate addresses.  So if I create a file zfmicro.c (with
the sc520cdp.c code as a rough template) where do I put this file when
compiling the kernel?  I am new to this kind of thing too (that is messing
with kernel driver source code).

Thanks again!  I am having fun learning how this stuff works! (slowly)


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

More information about the linux-mtd mailing list