On 03/12/2012 08:31 AM, Tathagata Das wrote: > Hi Hauke, > That code works on my device as well. Attached is the updated kernel patch > to support brcm47xx BCMA NAND flash. > > Regards, > Tatha > > -----Original Message----- > From: Hauke Mehrtens [mailto:ha...@hauke-m.de] > Sent: 10 March 2012 05:01 > To: Tathagata Das > Cc: 'OpenWrt Development List'; 'Florian Fainelli' > Subject: Re: [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA > NAND flash > > Hi Tatha, > > sorry for answering so late I am currently very busy. > > If I set CONFIG_BCMA_SFLASH=y and CONFIG_BCMA_NFLASH=y in the kernel > config, which I want to do for the default image in OpenWrt the image > will not work on by device with serial flash any more because > bus->drv_cc.flash_type will contain BCMA_NFLASH and not BCMA_SFLASH. The > patch in the mail I linked does not work as is with the current version > of your patch but you should be able to modify it. ;-) > The code in the linked mail should be able to detect nand flash at > runtime. Without this modification it does not work on my device, which > uses serial flash, but I do not know if it works on your device with > nand flash. >
Hi Tatha, the patch was finally added with some small modifications in commit r30943. Could you please try if current trunk is working on your device. Hauke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel