From: Michael Trimarchi <trimarchi@gandalf.sssup.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] flash driver in u-boot
Date: Tue, 17 Oct 2006 21:41:34 +0200 [thread overview]
Message-ID: <453531EE.6090207@gandalf.sssup.it> (raw)
In-Reply-To: <198592450610161651x7b9fcf92t31abd6698c0d1e70@mail.gmail.com>
Do you have a timeout and using timer to test it?
Reeve Yang wrote:
> But cfi_flash.c doesn't work for me. It always complains "flash is
> busy" when I try to write something. However strata_flash.c works. why
> is that? By the way, is there anyway to read flash contents in u-boot? md?
>
> On 10/16/06, *Tolunay Orkun* <listmember@orkun.us
> <mailto:listmember@orkun.us>> wrote:
>
> Reeve Yang wrote:
> > I'm a little confused by flash driver selection in u-boot. My flash
> > device is intel JS28F128J3, I assume it's not CFI flash so I
> want to use
>
> Intel 28F128J3 is a CFI compliant flash chip.
>
> > strataflash.c. I added such file under my board directory, add
> it into
> > Makefile, and undef CFG_FLASH_CFI_DRIVER, but I got link error. If
>
> strataflash.c driver is a pre-cursor to common cfi_flash.c. Most
> boards
> are reworked to use the cfi_flash.c. To use strataflash.c you also had
> to define CFG_FLASH_CFI_DRIVER (as far as my memory serves). There
> is no
> reason to use a custom flash driver nowadays unless your flash is
> interfaced to the processor bus in a very unusual way (like data bus
> scrambled -- hardware design bugs)
>
> > define this macro, the compilation is ok and my flash works. My
> question
> > is, if we define this macro, which flash driver being used?
> cfi_flash.c
> > or my strataflash.c?
>
> Use cfi_flash.c
>
> Tolunay
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>------------------------------------------------------------------------
>
>_______________________________________________
>U-Boot-Users mailing list
>U-Boot-Users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
prev parent reply other threads:[~2006-10-17 19:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 22:53 [U-Boot-Users] flash driver in u-boot Reeve Yang
2006-10-16 23:40 ` Ben Warren
2006-10-16 23:42 ` Tolunay Orkun
2006-10-16 23:51 ` Reeve Yang
2006-10-17 8:10 ` Tolunay Orkun
2006-10-17 19:41 ` Michael Trimarchi [this message]
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=453531EE.6090207@gandalf.sssup.it \
--to=trimarchi@gandalf.sssup.it \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox