RE: [U-Boot-Users] Intel Strataflash in 8-bit mode

Attached is the strataflash driver I am currently using. I just added a bug fix from Derek Jones to handle the erase regions on Boot Block flash. With the 28Fxx0C3 Intel chips, there are two erase regions which are not the same size. Strataflash chips have only one erase region. I am going to merge this driver with the drivers Wolfgang already mentioned. This is for reference only, The final patch will contain modifications to all files requiring changes. Brad
-----Original Message----- From: listmember@orkun.us [mailto:listmember@orkun.us] Sent: Wednesday, January 14, 2004 1:10 PM To: Brad Kemp Cc: u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] Intel Strataflash in 8-bit mode
Hmm, interesting. I used one of the strataflash.c from one of the boards. I do not know which one right now. It did not seem to identify the flash properly. When it did not work and I took another flash.c that uses BCS, tweaked it and added flash_real_protect support myself.
I would prefer using CFI driver since it also does buffered flash writes and if manufacturer changes the flash chips in some revision it would most likely not break board support.
Which one do you recommend me to try? This is another reason why CFI drivers should be unified. When I worked with one I tought they were probably copies of the same source.
Best regards, Tolunay
That seems odd since I have it running on 2x16 in parallel
and 2x16 in
serial here. How did it fail in your setup?
-----Original Message----- From: listmember@orkun.us [mailto:listmember@orkun.us] Sent: Wednesday, January 14, 2004 11:40 AM To: Brad Kemp Cc: Stefan Roese; Wolfgang Denk; rune.raknerud@cargoscan.com; u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] Intel Strataflash in 8-bit mode
Brad,
Unfortunately, I don't have 8 bit strataflash. I can't help there.
I looked at your driver for Cogent CSB272 board intially but it does not seem to support 2x 16-bit strataflash on a 32bit bus either.
I can help you with the driver to add such support as
well. I agree a
unified flash driver that is capable of handling various
bus and port
widths is probably a good thing. Few boards if any have odd ball configurations that need a custom driver. Most newer flash are CFI compliant.
Regards, Tolunay
All the drivers are derived from my original strataflash driver. There is a problem with 8bit wide detection in the
flash_cfi_detect
routine. The work around is to hardcode the port width after
flash_cfi_detect is
called. I believe I understand the problem, but I have no access to 8bit hardware. If some one is willing to help debug the problem with 8 bit wide protection, I will take on fixing the strataflash driver
and moving it
to the drivers directory. This driver does include support for 64 bit wide flash and
access to the
write once areas. Is anyone willing and able to work with me? Brad

In message CFE1C3BDE1264C4D9E569E89B3AF8FA86C5244@grubber.seranoa.com you wrote:
Attached is the strataflash driver I am currently using.
...
This is for reference only, The final patch will contain modifications to all files requiring changes.
Friends, please STOP posting arbitrary versions of selected files without context to the list. "This is what I am using" is useless to anybody without information for which hardware it is and how it differs from the CVS code or what needs to be adapted to make it work for other boards.
Please stick to the rules: if you can make a contribution, please submit a PATCH. See the README for more information.
Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Brad Kemp
-
Wolfgang Denk