[LEDE-DEV] [PATCH v3 0/9] apm821xx: apm821xx platform and devices

Christian Lamparter chunkeey at googlemail.com
Wed Jul 20 06:44:48 PDT 2016


This series was initially posted to OpenWRT List back in March,
April 2016 for inclusion [0]. The APM821XX target will add support for:
 - Cisco Meraki MR24
 - Netgear Centria N900 WNDR4700 / WNDR4720
 - Western Digital MyBook Live and MyBook Live Duo

The SATA backports were split into separate patches as they became too
big for the mailing list (also, it's a backport, so people might want
to skip it). The driver for the tc654 will be submitted to upstream.

Information and pre-compiled images can be found in the project's
wiki [1].

[0] <https://lists.openwrt.org/pipermail/openwrt-devel/2016-April/040678.html>
[1] <https://github.com/chunkeey/apm82181-lede/wiki>
[2] <https://github.com/chunkeey/apm82181-lede/releases>

BTW: LG N1T3 and the Monoprice 4-Bay NAS have an APM82181 too.
If someone has them and is interested, please feel free to
contact us.

Changes:
v2 -> v3:
	- added extra patch which enables the booke-wdt
	  on all supported platforms via kernel config and
	  remove the old booke-wdt package.
	- consolidated wndr4700 and mr24 subtarget to a new
	  'nand' target
	- switched MR24 to use lzma compression for kernel
	  (this was necessary since the MR24 gzip kernels
	  got too big with all the stuff from the WNDR4700).
	- renamed mbl subtarget to a new 'sata' target
	- removed uPD72020x's firmware package
	- reworked uPD720202 firmware loader to work load
	  the firmware at a later time.

Chris Blake (2):
  apm821xx: add support for the apm821xx device target
  apm821xx: add support for the Cisco Meraki MR24

Christian Lamparter (7):
  ppc4xx: remove booke-wdt watchdog package
  apm821xx: dw_dmac: backport fixes and cleanups from 4.7
  apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7
  apm821xx: add support for the Western Digital MyBook Live Series
  apm821xx: tc654: add driver for Microchip TC654/TC655 PWM fan
    controllers
  apm821xx: lm90 add thermal sensor interface support for device tree
  apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

 include/target.mk                                  |    1 +
 package/kernel/linux/modules/other.mk              |   16 -
 target/linux/apm821xx/Makefile                     |   29 +
 .../linux/apm821xx/base-files/etc/board.d/01_leds  |   36 +
 .../apm821xx/base-files/etc/board.d/02_network     |   29 +
 target/linux/apm821xx/base-files/etc/diag.sh       |   45 +
 .../etc/hotplug.d/firmware/10-ath9k-eeprom         |   89 ++
 target/linux/apm821xx/base-files/etc/inittab       |    4 +
 target/linux/apm821xx/base-files/lib/apm821xx.sh   |   48 +
 .../lib/preinit/03_preinit_do_apm821xx.sh          |    9 +
 .../lib/preinit/05_set_iface_mac_apm821xx          |   14 +
 .../lib/preinit/05_set_preinit_iface_apm821xx      |    9 +
 .../apm821xx/base-files/lib/preinit/79_move_config |   13 +
 .../apm821xx/base-files/lib/upgrade/merakinand.sh  |   65 +
 .../apm821xx/base-files/lib/upgrade/platform.sh    |   89 ++
 .../apm821xx/base-files/lib/upgrade/wdbook.sh      |   36 +
 target/linux/apm821xx/config-4.4                   |  332 +++++
 target/linux/apm821xx/dts/MR24.dts                 |  433 ++++++
 target/linux/apm821xx/dts/apollo3g-duo.dts         |   18 +
 target/linux/apm821xx/dts/apollo3g.dts             |   34 +
 target/linux/apm821xx/dts/apollo3g.dtsi            |  489 +++++++
 target/linux/apm821xx/dts/wndr4700.dts             |  762 ++++++++++
 .../files/arch/powerpc/platforms/44x/wndr4700.c    |   96 ++
 target/linux/apm821xx/image/Makefile               |  245 ++++
 target/linux/apm821xx/image/mbl_boot.scr           |    6 +
 target/linux/apm821xx/image/mbl_gen_hdd_img.sh     |   27 +
 .../linux/apm821xx/image/mbl_gen_recovery_tar.sh   |   92 ++
 target/linux/apm821xx/nand/config-default          |   40 +
 target/linux/apm821xx/nand/target.mk               |    7 +
 ...to4xx-integrate-ppc4xx-rng-into-crypto4xx.patch |  507 +++++++
 .../002-powerpc_ibm_phy_add_ar8035.patch           |   62 +
 ...dd-transfer-termination-synchronization-s.patch |  143 ++
 ...ore-Introduce-new-universal-API-to-reques.patch |  345 +++++
 ...dd-transfer-termination-synchronization-s.patch |  293 ++++
 .../patches-4.4/015-dmaengine-dw-fixed.patch       | 1522 ++++++++++++++++++++
 .../linux/apm821xx/patches-4.4/020-sata-dwc.patch  | 1088 ++++++++++++++
 .../patches-4.4/030-usb-dwc2-endian-fix.patch      |   95 ++
 .../200-add-meraki-mr24-ikarem-support.patch       |   31 +
 .../201-add-amcc-apollo3g-support.patch            |   30 +
 .../202-add-netgear-wndr4700-support.patch         |   32 +
 .../300-fix-atheros-nics-on-apm82181.patch         |   51 +
 .../patches-4.4/301-fix-memory-map-wndr4700.patch  |   14 +
 .../701-powerpc_ibm_apm82181_phyclk_fix.patch      |   56 +
 .../702-powerpc_ibm_phy_add_dt_parser.patch        |  335 +++++
 .../800-usb-dwc2-add-wndr4700-otg.patch            |   48 +
 ...d-firmware-loader-for-uPD720201-and-uPD72.patch |  550 +++++++
 .../802-usb-xhci-force-msi-renesas-xhci.patch      |   57 +
 ...river-for-Microchip-TC654-TC655-PWM-fan-c.patch | 1037 +++++++++++++
 ...0-split-set-and-show-temp-as-common-codes.patch |  302 ++++
 ...12-hwmon-lm90-expose-to-thermal-fw-via-DT.patch |  151 ++
 target/linux/apm821xx/sata/config-default          |   44 +
 target/linux/apm821xx/sata/target.mk               |   13 +
 target/linux/mpc85xx/Makefile                      |    3 +-
 target/linux/mpc85xx/config-4.4                    |    1 +
 target/linux/ppc40x/config-3.18                    |    1 +
 target/linux/ppc44x/config-3.18                    |    1 +
 tools/firmware-utils/src/mkmerakifw.c              |   10 +
 57 files changed, 9917 insertions(+), 18 deletions(-)
 create mode 100644 target/linux/apm821xx/Makefile
 create mode 100755 target/linux/apm821xx/base-files/etc/board.d/01_leds
 create mode 100755 target/linux/apm821xx/base-files/etc/board.d/02_network
 create mode 100755 target/linux/apm821xx/base-files/etc/diag.sh
 create mode 100644 target/linux/apm821xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
 create mode 100644 target/linux/apm821xx/base-files/etc/inittab
 create mode 100755 target/linux/apm821xx/base-files/lib/apm821xx.sh
 create mode 100644 target/linux/apm821xx/base-files/lib/preinit/03_preinit_do_apm821xx.sh
 create mode 100644 target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx
 create mode 100644 target/linux/apm821xx/base-files/lib/preinit/05_set_preinit_iface_apm821xx
 create mode 100644 target/linux/apm821xx/base-files/lib/preinit/79_move_config
 create mode 100755 target/linux/apm821xx/base-files/lib/upgrade/merakinand.sh
 create mode 100755 target/linux/apm821xx/base-files/lib/upgrade/platform.sh
 create mode 100644 target/linux/apm821xx/base-files/lib/upgrade/wdbook.sh
 create mode 100644 target/linux/apm821xx/config-4.4
 create mode 100644 target/linux/apm821xx/dts/MR24.dts
 create mode 100644 target/linux/apm821xx/dts/apollo3g-duo.dts
 create mode 100644 target/linux/apm821xx/dts/apollo3g.dts
 create mode 100644 target/linux/apm821xx/dts/apollo3g.dtsi
 create mode 100644 target/linux/apm821xx/dts/wndr4700.dts
 create mode 100644 target/linux/apm821xx/files/arch/powerpc/platforms/44x/wndr4700.c
 create mode 100644 target/linux/apm821xx/image/Makefile
 create mode 100644 target/linux/apm821xx/image/mbl_boot.scr
 create mode 100755 target/linux/apm821xx/image/mbl_gen_hdd_img.sh
 create mode 100644 target/linux/apm821xx/image/mbl_gen_recovery_tar.sh
 create mode 100644 target/linux/apm821xx/nand/config-default
 create mode 100644 target/linux/apm821xx/nand/target.mk
 create mode 100644 target/linux/apm821xx/patches-4.4/001-crypto4xx-integrate-ppc4xx-rng-into-crypto4xx.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/002-powerpc_ibm_phy_add_ar8035.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/010-dmaengine-Add-transfer-termination-synchronization-s.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/011-dmaengine-core-Introduce-new-universal-API-to-reques.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/012-dmaengine-Add-transfer-termination-synchronization-s.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/015-dmaengine-dw-fixed.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/020-sata-dwc.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/030-usb-dwc2-endian-fix.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/200-add-meraki-mr24-ikarem-support.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/201-add-amcc-apollo3g-support.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/202-add-netgear-wndr4700-support.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/300-fix-atheros-nics-on-apm82181.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/301-fix-memory-map-wndr4700.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/701-powerpc_ibm_apm82181_phyclk_fix.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/702-powerpc_ibm_phy_add_dt_parser.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/800-usb-dwc2-add-wndr4700-otg.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/802-usb-xhci-force-msi-renesas-xhci.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/901-hwmon-add-driver-for-Microchip-TC654-TC655-PWM-fan-c.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/911-hwmon-lm90-split-set-and-show-temp-as-common-codes.patch
 create mode 100644 target/linux/apm821xx/patches-4.4/912-hwmon-lm90-expose-to-thermal-fw-via-DT.patch
 create mode 100644 target/linux/apm821xx/sata/config-default
 create mode 100644 target/linux/apm821xx/sata/target.mk

-- 
2.8.1




More information about the Lede-dev mailing list