[OpenWrt-Devel] [PATCH 0/2] ath79: add support for Netgear WNDR4300

Michal Cieslakiewicz michal.cieslakiewicz at wp.pl
Fri Oct 11 05:14:46 EDT 2019


This patchset enables ath79 target for Netgear WNDR4300 (version 1).

The goal is to provide full functionality in ath79, on a par with
ar71xx target. For OpenWrt to build and operate correctly on this 
equipment, two prerequisite patches are required:
* "ath79: add AR934x NAND Flash Controller driver" - to access
  internal flash storage
* "image: add magic number option for append-uImage-fakehdr" - to
  produce correct image file accepted by uboot

Patch #1 contains usual files and modifications provided when adding
new device plus changes to makefile system as it is apparently the
first Netgear NAND-based router to be supported in ath79 tree.

Patch #2 for syspugrade is a workaround ported from ar71xx. It may
(or may not) follow sysupgrade design concept for ath79, but such
or similar solution is required for this device - otherwise upgrading
using this command fails and requires TFTP recovery to bring device
back to function.

Patch list (2):
  ath79: add support for Netgear WNDR4300
  base-files: fix sysupgrade for Netgear WNDR4300

 .../ath79/base-files/etc/board.d/01_leds      |   3 +
 .../ath79/base-files/etc/board.d/02_network   |   5 +
 .../etc/hotplug.d/firmware/10-ath9k-eeprom    |   6 +
 .../ath79/base-files/lib/upgrade/platform.sh  |   5 +
 .../ath79/dts/ar9344_netgear_wndr4300.dts     | 291 ++++++++++++++++++
 target/linux/ath79/image/Makefile             |   1 +
 target/linux/ath79/image/nand-netgear.mk      |  34 ++
 target/linux/ath79/nand/config-default        |  30 +-
 8 files changed, 373 insertions(+), 2 deletions(-)
 create mode 100644 target/linux/ath79/dts/ar9344_netgear_wndr4300.dts
 create mode 100644 target/linux/ath79/image/nand-netgear.mk

-- 
2.23.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list