Re: [OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-09 Thread Florian Fainelli
Le dimanche 9 mai 2010 06:10:37, Michael Evans a écrit : Yes, that patch indeed solves my problem as well. Why isn't it in a generic (all platforms) patch area? Applied in r21408, I assume not that many models needed support for Samsung flahs parts. On Sat, May 8, 2010 at 5:13 AM,

Re: [OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-08 Thread john
could you try if trunk/target/linux/etrax/patches-2.6.32/200-samsung_flash.patch fixes your issues ? Quoting Michael J. Evans mjevans1...@gmail.com: At LEAST 8MB flash: K8D6316UBM-PI07 Samsung Electronics 64M Bit (8M x8/4M x16) Dual Bank NOR Flash Memory memory falls in to the else

Re: [OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-08 Thread Michael Evans
I can try it later tonight; ah I see, that's for a different arch. This is a generic issue why wasn't that shared with all arches? It may fix //my// issue, but shouldn't the right thing to do be to accept any chip claiming basic CFI compliance? On Sat, May 8, 2010 at 5:13 AM, j...@phrozen.org

Re: [OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-08 Thread Michael Evans
Looking at the printk my patch adds, the vendor EC (IIRC Samsung) should match, but I see '0' and '0' for major and minor chars. I think it's likely that the more specific patch will work, I'm looking in to setting up a test now. On Sat, May 8, 2010 at 10:26 AM, Michael Evans

Re: [OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-08 Thread Michael Evans
Yes, that patch indeed solves my problem as well. Why isn't it in a generic (all platforms) patch area? On Sat, May 8, 2010 at 5:13 AM, j...@phrozen.org wrote: could you try if trunk/target/linux/etrax/patches-2.6.32/200-samsung_flash.patch fixes your issues ? Quoting Michael J. Evans

[OpenWrt-Devel] [PATCH] CFI generic chip tolerance

2010-05-07 Thread Michael J. Evans
At LEAST 8MB flash: K8D6316UBM-PI07 Samsung Electronics 64M Bit (8M x8/4M x16) Dual Bank NOR Flash Memory memory falls in to the else statement. However it otherwise functions. if (extp-MajorVersion != '1' || (extp-MinorVersion '0' || extp-MinorVersion '4')) { if (cfi-mfr ==