Hi Tathagata, in general this patch looks good and it could be accepted. I will look closely into it next weekend, I do not have time for now.
I just saw your post regarding usb: https://forum.openwrt.org/viewtopic.php?pid=148104 I have patches to add a usb driver for bcma devices: https://github.com/hauke/openwrt/tree/linux-3.2 I will try to add it to OpenWrt trunk next weekend or so, but you could try it now. Using drivers/mtd/nand/nand_base.c, if it provides some of the functions needed, it would be nice to use them. Is the WNR3500L V2.0 BCM5357 based? I saw that there are some enhancements in the NAND driver needed to get support for the BCM4706 used on the WNDR4500. If you have not seen any and I do not think there will be any SSB based device with NAND flash out there, we do not need to add support for it to ssb. A boot log with the vendor firmware and OpenWrt would be nice, also to see what other chips and cores are in that device. Hauke On 12/11/2011 05:49 PM, tathagata wrote: > Hi Hauke, > Thanks. > Netgear WNR3500Lv2 hardware uses this flash type. I tested this patch on > this particular platform. It uses BCMA based devices. I will send you > kernel .config file and boot log message if you want. > I shall look into drivers/mtd/nand/nand_base.c file and give you my > analysis. > > Can this patch be accepted ? > > Regards, > Tathagata > > On 11.12.2011 05:48, Hauke Mehrtens wrote: >> On 12/09/2011 08:16 AM, Tathagata Das wrote: >>> Hi, >>> Attached is the kernel patch to support brcm47xx NAND flash. >>> I have used latest trunk source code to create this patch. >>> >>> Regards, >>> Tathagata <[email protected]> >> >> Hi Tathagata, >> >> nice patch. >> I had a quick look over your big patch. I did not know that there is a >> third flash type used on brcm43xx Broadcom devices, on what device did >> you found it? I did a search in the source code on my hard disk and the >> WNDR4500 source code was the only containing a driver for this NAND >> chips. Is is really used on SSB and BCMA based devices? >> >> Sometimes there is "serial flash" in the header and not "NAND flash". >> When finding a SSB NAND flash it will try to initialize serial flash >> instead. Why are you using your own partition parser? Do Braodcom chips >> using NAND do something different from other chips? >> Is it possible to use drivers/mtd/nand/nand_base.c? >> >> Hauke > _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
