All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot / MX25L12805D
Date: Tue, 26 Aug 2008 06:42:00 +0200	[thread overview]
Message-ID: <200808260642.00642.sr@denx.de> (raw)
In-Reply-To: <A500C30501E962438799F732E72E427A700A88@postoffice.airmagnet.com>

On Monday 25 August 2008, Warren Blackwell wrote:
> I appreciate any response to the following query...
>
> I am developing a project which utilizes u-boot. I started from an
> Atheros source package which contains a modified u-boot for their AP83
> reference design. This reference design has an SST flash chip
> (SST39VF6401 -
> http://www.sst.com/products.xhtml/parallel_flash/39/x16/SST39VF6401).
> This all works well.

This is a "normal" parallel NOR FLASH chip with an AMD/Spasion-type command 
interface.

> My OEM partner for the project has developed a Prototype A design, which
> (in principle) is based on AP83. However, the flash chip is different.
> This design has an MXIC flash chip (MX25L12805D -
> http://www.macronix.com/QuickPlace/hq/PageLibrary4825744A00264C7F.nsf/h_
> Index/E2C69FC9EFF9292F4825744A0029FE02/?OpenDocument&PartNo=MX25L12805D)

I just downloaded the datasheet. This seems to be a serial FLASH chip. So you 
need a completely different driver for this chip. And the user interface will 
be different, since serial chips (SPI) don't support the normal memory 
commands like "mm/md".

> I am able to boot the board with this u-boot; however I can not access
> the flash chip properly. The chip is not identified or addressed
> properly.
>
> I don't have any starting source that I can find for this particular
> flash chip. I have tried modifying the #defines in flash.c to no avail.
>
> I have also tried using various source files (flash.c/h) which I was
> able to find under our u-boot source tree, as well as 3rd party
> published source code.
>
> At this stage, I'm under the impression that I need to find (or
> develop!) the u-boot flash driver files. Developing this is a bit out my
> league.

I'm afraid, but for this FLASH porting you will need to "develop" some code.

> Does anyone know of u-boot source which works for the above mentioned
> mxic flash chip?

I have no experience with serial NOR FLASH chips, so I can't tell you if this 
specific chip is supported by the U-Boot SPI FLASH driver.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-08-26  4:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.344.1219671413.2783.u-boot@lists.denx.de>
2008-08-25 17:09 ` [U-Boot] u-boot / MX25L12805D Warren Blackwell
2008-08-26  4:42   ` Stefan Roese [this message]
2008-08-26  4:46     ` Warren Blackwell

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=200808260642.00642.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.