From mboxrd@z Thu Jan 1 00:00:00 1970 From: nyet at mrv.com Date: Wed, 14 Jan 2004 10:38:20 -0800 Subject: [U-Boot-Users] Intel Strataflash in 8-bit mode In-Reply-To: <30499.216.110.51.8.1074103797.squirrel@www.orkun.us> References: <30499.216.110.51.8.1074103797.squirrel@www.orkun.us> Message-ID: <20040114183820.GA7643@mrv.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de enclosed is one from my fads based board; it supports 1x8, 2x8, 4x8, 1x16 and 2x16 (but 4x8 and 2x8 are untested) i know this isn't a real patch, just an example of what we do here. On Wed, Jan 14, 2004 at 12:09:57PM -0600, listmember at orkun.us wrote: > 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 at orkun.us [mailto:listmember at orkun.us] > >> Sent: Wednesday, January 14, 2004 11:40 AM > >> To: Brad Kemp > >> Cc: Stefan Roese; Wolfgang Denk; rune.raknerud at cargoscan.com; > >> u-boot-users at 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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users -- Nye Liu nliu at mrv.com (818) 772-6235x248 (818) 772-0576 fax "Who would be stupid enough to quote a fictitious character?" -- Don Quixote -------------- next part -------------- A non-text attachment was scrubbed... Name: flash.tar.gz Type: application/octet-stream Size: 12794 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20040114/71230e80/attachment.obj