[LEDE-DEV] [PATCH 0/5] add support for D-Link DAP-2695 rev. A1

Stijn Tintel stijn at linux-ipv6.be
Sun Sep 11 09:12:30 PDT 2016


This patch series adds support for D-Link DAP-2695 rev. A1.

Both the factory and the sysupgrade can be used to flash the device from
the bootloader. When flashing via the web interface of the stock
firmware, only the factory image can be used.

With the stock firmware, this device is only usable as a dumb AP. With
LEDE, it is configured as a router by default. The LAN1(PoE) port is
configured as the LAN port, the LAN2 port is configured as the WAN port.

The only thing that doesn't work, is the 5GHz LED, as it does not seem
to be connected to any of the SoC's GPIOs.

The WRGG naming comes from the D-Link GPL code. The mkwrggimg utility
also works for the D-Link DAP-2553. For more info, see
https://forum.openwrt.org/viewtopic.php?id=52048

Stijn Tintel (5):
  firmware-utils: mkwrggimg: new tool for D-Link DAP-2695
  kernel: mtdsplit: add support for WRGG images
  mtd: add fixwrgg command
  ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum
  ar71xx: add support for D-Link DAP-2695 rev. A1

 package/boot/uboot-envtools/files/ar71xx           |   1 +
 package/system/mtd/src/Makefile                    |   3 +-
 package/system/mtd/src/mtd.c                       |  28 +-
 package/system/mtd/src/mtd.h                       |   1 +
 package/system/mtd/src/wrgg.c                      | 189 ++++++++++++++
 package/system/mtd/src/wrgg.h                      |  20 ++
 target/linux/ar71xx/base-files/etc/board.d/01_leds |   5 +
 .../linux/ar71xx/base-files/etc/board.d/02_network |   5 +
 .../etc/hotplug.d/firmware/11-ath10k-caldata       |   4 +
 .../base-files/etc/uci-defaults/09_fix-checksum    |  28 ++
 .../base-files/etc/uci-defaults/09_fix-trx-header  |  19 --
 target/linux/ar71xx/base-files/lib/ar71xx.sh       |   3 +
 .../ar71xx/base-files/lib/upgrade/platform.sh      |  13 +
 target/linux/ar71xx/config-4.4                     |   2 +
 .../ar71xx/files/arch/mips/ath79/Kconfig.openwrt   |   9 +
 target/linux/ar71xx/files/arch/mips/ath79/Makefile |   1 +
 .../files/arch/mips/ath79/mach-dap-2695-a1.c       | 191 ++++++++++++++
 .../linux/ar71xx/files/arch/mips/ath79/machtypes.h |   1 +
 target/linux/ar71xx/image/generic.mk               |  38 +++
 target/linux/generic/config-3.18                   |   1 +
 target/linux/generic/config-4.1                    |   1 +
 target/linux/generic/config-4.4                    |   1 +
 .../generic/files/drivers/mtd/mtdsplit/Kconfig     |   5 +
 .../generic/files/drivers/mtd/mtdsplit/Makefile    |   1 +
 .../files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c     | 109 ++++++++
 tools/firmware-utils/Makefile                      |   1 +
 tools/firmware-utils/src/mkwrggimg.c               | 282 +++++++++++++++++++++
 27 files changed, 940 insertions(+), 22 deletions(-)
 create mode 100644 package/system/mtd/src/wrgg.c
 create mode 100644 package/system/mtd/src/wrgg.h
 create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum
 delete mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-trx-header
 create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dap-2695-a1.c
 create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c
 create mode 100644 tools/firmware-utils/src/mkwrggimg.c

-- 
2.7.3




More information about the Lede-dev mailing list