public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Luke <luke_epsilon@yahoo.com>
To: Vipin Malik <vipin@embeddedlinuxworks.com>,
	linux-mtd@lists.infradead.org
Subject: Re: Am29LV065D woes -- ZFMicro MachZ help?
Date: Mon, 13 Aug 2001 21:08:20 -0700 (PDT)	[thread overview]
Message-ID: <20010814040820.37578.qmail@web13607.mail.yahoo.com> (raw)
In-Reply-To: <5.1.0.14.0.20010813212346.00a6e8d0@mail.spewey.com>

Howdy,

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

--- Vipin Malik <vipin@embeddedlinuxworks.com> 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)

Later,
Luke

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

  reply	other threads:[~2001-08-14  4:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-11  4:34 Am29LV065D woes??? Luke
2001-08-12 14:06 ` Vipin Malik
2001-08-14  0:35   ` Am29LV065D woes -- ZFMicro MachZ help? Luke
2001-08-14  2:30     ` Vipin Malik
2001-08-14  4:08       ` Luke [this message]
2001-08-23  6:08         ` ZFMicro MachZ success with the Am29LV065D Luke
2001-08-23 10:33           ` Vipin Malik
2001-08-23 14:54             ` Luke
2001-08-23 15:00               ` Vipin Malik
2001-08-23 19:41                 ` ZFMicro MachZ modification of physmap.c Luke
2001-08-23 21:36                   ` Vipin Malik
2001-08-14  3:10     ` Am29LV065D woes -- ZFMicro MachZ help? Changwoo Ryu

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=20010814040820.37578.qmail@web13607.mail.yahoo.com \
    --to=luke_epsilon@yahoo.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vipin@embeddedlinuxworks.com \
    /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