* [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash?
@ 2007-10-18 12:32 Joseph
2007-10-18 14:00 ` Ben Warren
0 siblings, 1 reply; 3+ messages in thread
From: Joseph @ 2007-10-18 12:32 UTC (permalink / raw)
To: u-boot
Hi,
I am new to U-Boot.
[Yes... I have been reading the documentation, albeit slowly. There is
much to learn.]
I need to modify include/flash.h to support Spansion S29JL064H flash
memory
http://www.spansion.com/products/S29JL064H.html
A search through previous postings to this list did not reveal
appropriate values for
* Device ID
* Internal FLASH identification code
[Do I need one or the other or both?]
This chip may be a the replacement for an earlier AMD chip, 29DL640D. I
am not sure.
Suggestions?
-Joseph
--
joseph_sacco [at] comcast [dot] net
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash?
2007-10-18 12:32 [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash? Joseph
@ 2007-10-18 14:00 ` Ben Warren
0 siblings, 0 replies; 3+ messages in thread
From: Ben Warren @ 2007-10-18 14:00 UTC (permalink / raw)
To: u-boot
Hi Joseph,
Joseph E. Sacco, Ph.D. wrote:
> Hi,
>
> I am new to U-Boot.
> [Yes... I have been reading the documentation, albeit slowly. There is
> much to learn.]
>
> I need to modify include/flash.h to support Spansion S29JL064H flash
> memory
>
> http://www.spansion.com/products/S29JL064H.html
>
>
> A search through previous postings to this list did not reveal
> appropriate values for
>
> * Device ID
>
> * Internal FLASH identification code
>
> [Do I need one or the other or both?]
>
This chip is CFI compliant. CFI stands for 'Common Flash Interface', and
means that software can learn the chip's topology via a standard query
method. In short, you shouldn't need to do anything with flash.h, all
you need to do is specify in your board's /include/configs/*.h file that
your board uses CFI. Lots of other boards use it, so look through the
source to figure out the exact syntax.
regards,
Ben
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash?
@ 2007-10-19 1:47 Joseph Sacco
0 siblings, 0 replies; 3+ messages in thread
From: Joseph Sacco @ 2007-10-19 1:47 UTC (permalink / raw)
To: u-boot
On Thu, 2007-10-18 at 10:00 -0400, Ben Warren wrote:
> Hi Joseph,
>
> Joseph E. Sacco, Ph.D. wrote:
> > Hi,
> >
> > I am new to U-Boot.
> > [Yes... I have been reading the documentation, albeit slowly. There is
> > much to learn.]
> >
> > I need to modify include/flash.h to support Spansion S29JL064H flash
> > memory
> >
> > http://www.spansion.com/products/S29JL064H.html
> >
> >
> > A search through previous postings to this list did not reveal
> > appropriate values for
> >
> > * Device ID
> >
> > * Internal FLASH identification code
> >
> > [Do I need one or the other or both?]
> >
> This chip is CFI compliant. CFI stands for 'Common Flash Interface', and
> means that software can learn the chip's topology via a standard query
> method. In short, you shouldn't need to do anything with flash.h, all
> you need to do is specify in your board's /include/configs/*.h file that
> your board uses CFI. Lots of other boards use it, so look through the
> source to figure out the exact syntax.
>
> regards,
> Ben
===========================================================================
Ben,
Thanks for responding. I will poke through the source to find the
corrrect syntax, which is a great way to learn about u-boot. A simple
grep for CFI offers up some perspective candidates to explore.
FWIW... I am working on a board with
* (1) MPC8270
* (2) 16MB SDRAM [32MB: 4M x 64]
* (2) 8 MB flash chips [16MB: 4M x 32]
* (1) LXT972A PHY [connected to FCC1]
I "inherited" an implementation of u-boot for this board based upon a
pre-release, CVS version of u-boot-1.0.2. This implementation hacked
the existing files for the MPC8260ADS board rather than creating a new
board type. Some of the generic u-boot files were also hacked to support
the specific processor version and flash type.
I am slowly working through each hack in an attempt to understand what
was done and why. My goal is to define a new board type and then port
the results to u-boot-1.2.0. Creating a new board type within the
existing code base was a simple matter of renaming some files and
tweaking a few others. Porting the results to u-boot-1.2.0 will be more
challenging. The Fun begins...
Be well,
-Joseph
--
drjesacco [at] gmail [dot] com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071018/4d0611b1/attachment.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-19 1:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 12:32 [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash? Joseph
2007-10-18 14:00 ` Ben Warren
-- strict thread matches above, loose matches on Subject: below --
2007-10-19 1:47 Joseph Sacco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox