[OpenWrt-Devel] [PATCH 0/4] Gemini forward-port to kernel v4.14

Joel Wirāmu Pauling joel at aenertia.net
Tue May 1 18:41:00 EDT 2018


I have been Eyeing your Gemni patches - any chance for support for the
Goldengate SoC found in the Almond+. Currently attempting to reuse it for a
home automation project but it's ancient kernel is terrible and even doing
basic things like vlans are horribly broken with the Securfi hacked up
NutsOS that runs on top of ancient openwrt.

-Joel

On 5 April 2018 at 08:34, Linus Walleij <linus.walleij at linaro.org> wrote:

> This patch set forward-ports Gemini to v4.14 with as good
> support as I can get.
>
> I don't know if all or any patches actually make it through
> to the devel list. They are also posted here:
>
> https://dflund.se/~triad/krad/gemini/openwrt/
>
> It would be nice if we could apply this and get a working
> modernized base for the Gemini platforms.
>
> The v4.14 is a bit patchy. With v4.16 we will be looking
> pretty neat.
>
> Linus Walleij (4):
>   firmware-utils: Add the DNS-313 image header tool
>   gemini: Forward-port to v4.14
>   gemini: Add kernel v4.14 patches
>   gemini: Delete kernel 4.4 patches
>
>  target/linux/gemini/Makefile                       |   15 +-
>  .../linux/gemini/base-files/etc/board.d/03_hdparm  |   14 +
>  .../base-files/lib/preinit/05_set_ether_mac_gemini |   25 +-
>  target/linux/gemini/config-4.14                    |  587 ++++
>  target/linux/gemini/config-4.4                     |  165 -
>  .../files/arch/arm/mach-gemini/include/mach/gmac.h |   21 -
>  .../linux/gemini/files/arch/arm/mach-gemini/pci.c  |  318 --
>  .../linux/gemini/files/drivers/ata/pata_gemini.c   |  234 --
>  .../files/drivers/net/ethernet/gemini/Kconfig      |   31 -
>  .../files/drivers/net/ethernet/gemini/Makefile     |    5 -
>  .../files/drivers/net/ethernet/gemini/sl351x.c     | 2340 -------------
>  .../files/drivers/net/ethernet/gemini/sl351x_hw.h  | 1436 --------
>  .../gemini/files/drivers/usb/host/ehci-fotg2.c     |  258 --
>  .../gemini/files/drivers/watchdog/gemini_wdt.c     |  378 --
>  target/linux/gemini/image/Makefile                 |  166 +-
>  target/linux/gemini/image/dns313-header/Makefile   |   34 +
>  .../gemini/image/dns313-header/dns313-header.c     |  239 ++
>  target/linux/gemini/image/slask.mk                 |   56 +
>  .../0001-cache-patch-from-OpenWRT.patch}           |    9 +
>  ...0002-pinctrl-gemini-Add-missing-functions.patch |   33 +
>  ...ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch |   51 +
>  ...rl-Add-skew-delay-pin-config-and-bindings.patch |   73 +
>  ...0005-pinctrl-gemini-Use-generic-DT-parser.patch |  112 +
>  ...-gemini-Implement-clock-skew-delay-config.patch |  280 ++
>  .../0007-pinctrl-gemini-Fix-GMAC-groups.patch      |  186 +
>  ...nctrl-gemini-Fix-missing-pad-descriptions.patch |   27 +
>  ...inctrl-gemini-Add-two-missing-GPIO-groups.patch |   25 +
>  ...0-pinctrl-gemini-Fix-usage-of-3512-groups.patch |   25 +
>  ...trl-gemini-Support-drive-strength-setting.patch |  198 ++
>  ...d-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch |  113 +
>  ...s-Add-basic-devicetree-for-D-Link-DNS-313.patch |  272 ++
>  ...RM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch |   27 +
>  ...0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch |   74 +
>  ...-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch |  113 +
>  ...tchdog-gemini-ftwdt010-rename-DT-bindings.patch |   88 +
>  ...gemini-ftwdt010-rename-driver-and-symbols.patch |  527 +++
>  ...watchdog-ftwdt010-Make-interrupt-optional.patch |   93 +
>  .../0020-soc-Add-SoC-driver-for-Gemini.patch       |  113 +
>  ...t-Add-DT-bindings-for-the-Gemini-ethernet.patch |  119 +
>  ...t-Add-a-driver-for-Gemini-gigabit-etherne.patch | 3661
> ++++++++++++++++++++
>  ...23-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch |   74 +
>  .../0024-net-gemini-Depend-on-HAS_IOMEM.patch      |   30 +
>  ...-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch |   36 +
>  ...r-gemini-poweroff-Avoid-spurious-poweroff.patch |   80 +
>  ...sb-host-add-DT-bindings-for-faraday-fotg2.patch |   65 +
>  ...28-usb-host-fotg2-add-device-tree-probing.patch |   61 +
>  ...usb-host-fotg2-add-silicon-clock-handling.patch |   99 +
>  ...b-host-fotg2-add-Gemini-specific-handling.patch |  131 +
>  ...RM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch |  178 +
>  .../linux/gemini/patches-4.4/050-gpio-to-irq.patch |   21 -
>  .../110-watchdog-add-gemini_wdt-driver.patch       |   29 -
>  .../111-arm-gemini-add-watchdog-device.patch       |   33 -
>  .../112-arm-gemini-register-watchdog-devices.patch |   40 -
>  .../120-net-add-gemini-gmac-driver.patch           |   20 -
>  .../121-arm-gemini-add-gmac-device.patch           |   85 -
>  .../122-arm-gemini-register-ethernet.patch         |  227 --
>  .../130-usb-ehci-add-fot2g-driver.patch            |  133 -
>  .../131-arm-gemini-add-usb-device.patch            |   77 -
>  .../patches-4.4/132-arm-gemini-register-usb.patch  |   65 -
>  .../140-arm-gemini-add-pci-support.patch           |   66 -
>  .../linux/gemini/patches-4.4/150-gemini-pata.patch |  192 -
>  target/linux/gemini/raidsonic/config-default       |    5 -
>  target/linux/gemini/raidsonic/target.mk            |   17 -
>  target/linux/gemini/wiligear/target.mk             |   10 -
>  tools/firmware-utils/Makefile                      |    1 +
>  tools/firmware-utils/src/dns313-header.c           |  239 ++
>  66 files changed, 8277 insertions(+), 6278 deletions(-)
>  create mode 100755 target/linux/gemini/base-files/etc/board.d/03_hdparm
>  create mode 100644 target/linux/gemini/config-4.14
>  delete mode 100644 target/linux/gemini/config-4.4
>  delete mode 100644 target/linux/gemini/files/
> arch/arm/mach-gemini/include/mach/gmac.h
>  delete mode 100644 target/linux/gemini/files/arch/arm/mach-gemini/pci.c
>  delete mode 100644 target/linux/gemini/files/drivers/ata/pata_gemini.c
>  delete mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/
> Kconfig
>  delete mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/
> Makefile
>  delete mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/
> sl351x.c
>  delete mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/
> sl351x_hw.h
>  delete mode 100644 target/linux/gemini/files/
> drivers/usb/host/ehci-fotg2.c
>  delete mode 100644 target/linux/gemini/files/
> drivers/watchdog/gemini_wdt.c
>  create mode 100644 target/linux/gemini/image/dns313-header/Makefile
>  create mode 100644 target/linux/gemini/image/
> dns313-header/dns313-header.c
>  create mode 100644 target/linux/gemini/image/slask.mk
>  rename target/linux/gemini/{patches-4.4/060-cache-fa.patch =>
> patches-4.14/0001-cache-patch-from-OpenWRT.patch} (79%)
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0002-pinctrl-gemini-Add-missing-functions.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0003-ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0004-pinctrl-Add-skew-delay-pin-config-and-bindings.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0005-pinctrl-gemini-Use-generic-DT-parser.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0006-pinctrl-gemini-
> Implement-clock-skew-delay-config.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0007-pinctrl-gemini-Fix-GMAC-groups.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0009-pinctrl-gemini-Add-two-missing-GPIO-groups.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0011-pinctrl-gemini-
> Support-drive-strength-setting.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0012-ARM-dts-Add-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0014-ARM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0016-ARM-dts-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0017-watchdog-gemini-
> ftwdt010-rename-DT-bindings.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0018-watchdog-gemini-
> ftwdt010-rename-driver-and-symbols.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0019-watchdog-ftwdt010-Make-interrupt-optional.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0020-soc-Add-SoC-driver-for-Gemini.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0021-net-ethernet-Add-DT-bindings-for-the-Gemini-ethernet.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0022-net-ethernet-Add-a-driver-for-Gemini-gigabit-etherne.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0023-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0024-net-gemini-Depend-on-HAS_IOMEM.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0025-ARM-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0026-power-gemini-poweroff-Avoid-spurious-poweroff.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0027-usb-host-add-DT-
> bindings-for-faraday-fotg2.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0028-usb-host-fotg2-add-device-tree-probing.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0029-usb-host-fotg2-add-silicon-clock-handling.patch
>  create mode 100644 target/linux/gemini/patches-4.
> 14/0030-usb-host-fotg2-add-Gemini-specific-handling.patch
>  create mode 100644 target/linux/gemini/patches-4.14/0031-ARM-dts-Add-the-
> FOTG210-USB-host-to-Gemini.patch
>  delete mode 100644 target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/110-watchdog-add-gemini_wdt-driver.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/111-arm-gemini-add-watchdog-device.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/112-arm-gemini-register-watchdog-devices.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/120-net-add-gemini-gmac-driver.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/121-arm-gemini-add-gmac-device.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/122-arm-gemini-register-ethernet.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/130-usb-ehci-add-fot2g-driver.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/131-arm-gemini-add-usb-device.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/132-arm-gemini-register-usb.patch
>  delete mode 100644 target/linux/gemini/patches-4.
> 4/140-arm-gemini-add-pci-support.patch
>  delete mode 100644 target/linux/gemini/patches-4.4/150-gemini-pata.patch
>  delete mode 100644 target/linux/gemini/raidsonic/config-default
>  delete mode 100644 target/linux/gemini/raidsonic/target.mk
>  delete mode 100644 target/linux/gemini/wiligear/target.mk
>  create mode 100644 tools/firmware-utils/src/dns313-header.c
>
> --
> 2.14.3
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180502/41712047/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list