All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] u-boot / MX25L12805D
       [not found] <mailman.344.1219671413.2783.u-boot@lists.denx.de>
@ 2008-08-25 17:09 ` Warren Blackwell
  2008-08-26  4:42   ` Stefan Roese
  0 siblings, 1 reply; 3+ messages in thread
From: Warren Blackwell @ 2008-08-25 17:09 UTC (permalink / raw)
  To: u-boot

Hello,

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. 
 
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 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. 

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

Thanks for your time. 


Regards,

Warren Blackwell, AirMagnet, Inc.
wblackwell at airmagnet.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] u-boot / MX25L12805D
  2008-08-25 17:09 ` [U-Boot] u-boot / MX25L12805D Warren Blackwell
@ 2008-08-26  4:42   ` Stefan Roese
  2008-08-26  4:46     ` Warren Blackwell
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-08-26  4:42 UTC (permalink / raw)
  To: u-boot

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
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] u-boot / MX25L12805D
  2008-08-26  4:42   ` Stefan Roese
@ 2008-08-26  4:46     ` Warren Blackwell
  0 siblings, 0 replies; 3+ messages in thread
From: Warren Blackwell @ 2008-08-26  4:46 UTC (permalink / raw)
  To: u-boot

Thank you Sir. Turns out I had a build config issue and u-boot supports this chip wholly. 
 
I appreciate your response all the same!
 
-WB

________________________________

From: Stefan Roese [mailto:sr at denx.de]
Sent: Mon 8/25/2008 9:42 PM
To: u-boot at lists.denx.de
Cc: Warren Blackwell
Subject: Re: [U-Boot] u-boot / MX25L12805D



> 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
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-26  4:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2008-08-26  4:46     ` Warren Blackwell

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.