On 06/27/2012 12:21 PM, Rafał Miłecki wrote: > 2012/6/27 Hauke Mehrtens <[email protected]>: >> I will try to find some time today to work on the code reading out the >> clocks of the SoC. > > Thanks. Let me try to summarize WNDR4500 support-lacking things: > > 1) Image generator > The current one isn't working. I believe I can fix that. > Workaround: use "lzma" from WNDR4500-V1.0.0.58_1.0.13_src/tools
It would be nice if you could look into this. > 2) bcma initialization > Not fully working yet, I can fix that excluding getting clock. > Workaround: hardcode clock on 0x5300 to 600MHz I will write the code for this, it is just some lines of code. > 3) NAND flash controller > I have no idea about that one. I guess lacking driver results in: >> VFS : Cannot open root device "mtdblock2" or unknown-block(0,0) >> Please append a correct "root=" boot option; here are the available >> partitions : >> 1f00 2048 mtdblock0 (driver?) >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(0,0) > am I right? > Is there any open driver available for this controller? GPL license? > Or some different? We have support for the older NAND flash controller, but this one is different. I could try to write the driver but for now the Ethernet driver has a higher priority for me. The Broadcom SDK contains code for the NAND flash controller licensed under a GPL compatible license. > 4) Driver for GBit MAC > We don't have GPL one yet. I can fix that with a proper amount of time. A permissive licensed version of this driver is included in the GPL source tar of the Asus RT-AC66U. > 5) Driver for BCM4331 > The biggest problem. We don't have specs for HT-PHY. No idea for this one yet. I hope Broadcom will add support for this chip into brcmsmac, but now it doesn't look like that. They are just in bug fixing mode for brcmsmac sine the release of brcmsmac. Mostly all of the source code running in kernel mode on the WNDR4500 except for the wireless driver is available in some GPL source packages of the router manufactures under a GPL compatible license. The package for the Asus RT-AC66U [0] contains the most recent version of the SDK I know of and Asus haven't removed many parts of the kernel code contrary to most of the other manufactures. Netgear also released a GPL source package for the WNDR4500, but I would recommend using the Asus one as it contains more code and it is of a more recent version and some licenses are changed to be GPL compatible. Hauke [0]: http://support.asus.com/Download.aspx?SLanguage=en&m=RT-AC66U&p=11&os=8 [1]: http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
