[LEDE-DEV] [PATCH v2 8/8] apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

Christian Lamparter chunkeey at googlemail.com
Thu Jul 14 13:40:23 PDT 2016


On Thursday, July 14, 2016 6:44:17 PM CEST Felix Fietkau wrote:
> On 2016-07-13 21:23, Christian Lamparter wrote:
> > From: Christian Lamparter <chunkeey at googlemail.com>
> > 
> > This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720
> > 
> > hardware highlights:
> > 
> > CPU:	AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
> > 	Security support, Boot ROM Location NAND wo/ECC 2k page (8 bits)
> > 	32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip Memory
> > Board:	AMCC APM82181 Evaluation Board, PCIE0/SATA1, 1*USB OTG
> > DRAM:	256 MB (ECC not enabled, 500 Mb/s, 32-bit, CL3)
> > NAND:	128 MiB (SLC, erase size: 128 KiB, page size: 2048, OOB size: 64)
> > ETH:	Atheros AR8327N Gigabit Switch (4 x LAN, 1 x WAN)
> > USB:	2 x 3.0 (Renesas uPD720202K8-711-BAA-A)
[...]
> > --- /dev/null
> > +++ b/package/firmware/uPD72020x-firmware/Makefile
> > @@ -0,0 +1,45 @@
> > +include $(TOPDIR)/rules.mk
> > +
> > +PKG_NAME:=uPD72020x-firmware
> > +PKG_RELEASE:=1
> > +
> > +RENESAS_FW:=USB3-201-202-FW-20120615
> > +RENESAS_FW_FILE:=$(RENESAS_FW).zip
> > +
> > +PKG_SOURCE:=$(PKG_NAME)-$(PKG_RELEASE).tar.gz
> > +PKG_SOURCE_PROTO:=git
> > +PKG_SOURCE_URL:=https://github.com/chunkeey/renesas-fw
> > +PKG_SOURCE_VERSION:=f64132a3bca64b47994fce140c69e2b432751162
> > +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_RELEASE)
> > +
> > +PKG_FLAGS:=nonshared
> > +
> > +include $(INCLUDE_DIR)/package.mk
> > +
> > +define Package/uPD72020x-firmware
> > +  SECTION:=firmware
> > +  CATEGORY:=Firmware
> > +  TITLE:=Renesas uPD720201 and uPD720202 firmware
> > +endef
> > +
> > +define Package/uPD72020x-firmware/description
> > +  Firmware for the Renesas USB3.0 Host Controllers uPD720201 and uPD720202.
> > +endef
> What's the license of this firmware? Is it redistributable?
You could say: At the moment, it shares the same license as
package/firmware/b43legacy-firmware.

I've contacted Renesas a while ago, I'm still waiting for a reply. It's
not that unlikely that it could show up in linux-firmware.git with the
same licence as the rcar-platform, but this hasn't happen yet.

The downloaded firmware.zip from renesas itself doesn't have a licence
file. There is a license floating around on the PP2U's directory together
with the release notes however: 
<http://www.adapter.co.jp/Download/PP2U/License.txt>

"[...] With respect to this Software GNU General Public License(“GPL”)shall apply.
YOU may, therefore, copy, modify and re-distribute the Software in accordance
with the GPL.
Please see here to obtain the conditions of GPL.
	http://www.fsf.org/licensing/licenses/gpl.html

[...]"

But this could very well be for something else entirely. 
As they made various serial rom flashers for this and a
modified kernel driver for the early adopters.

I've also looked in Netgears's GPL Sources for the WNDR4700. 
The archive Netgear provides includes the crucial K2013080.mem file
(located: WNDR4700-V1.0.0.52_gpl_src/target/linux/wndr4700/renesas).
But without any matching licence file.



More information about the Lede-dev mailing list