gemini: add 4.14 support
authorRoman Yeryomin <roman@advem.lv>
Sun, 29 Apr 2018 14:38:07 +0000 (17:38 +0300)
committerJohn Crispin <john@phrozen.org>
Sat, 5 May 2018 04:57:00 +0000 (06:57 +0200)
commit4f74957584cd50786d1d33a3f26867b06a58510f
treeb89da58c3fadff9b15a3d4595927d3fbdf2704ff
parent55c9aa27be0f70d886276b93084002f18d980904
gemini: add 4.14 support

This adds the patches to get fairly complete Gemini support
using kernel v4.14. It is mainly a backport of patches from
kernel v4.16 with omissions of things like graphics that require
substantial changes and will be better handled once we move
to the v4.16 kernel proper.
On top of this are some WIP patches for USB support.

Tested on Raidsonic NAS4220B and D-link DNS-313.

ChangeLog v4->v5:
- Fix ethernet single gmac usecase
- Fix USB reset (patch from Hans)
- Fix Raidsonic ethernet skew delay
- Fix kernel config (bridge, squashfs, jffs2, usb)
- Disable second usb port on Raidsonic board until fotg210_hcd is fixed

ChangeLog v3->v4:
- Make sure to use tabs rather than spaces in base-files.
- Use the dns313 image tool from the firmware-utils.
- Break out the addition of the v4.14 patches and the removal
  of the v4.4 patches to separate (big) patches.

ChangeLog v2->v3:
- Update the kernel config as indicated by Hauke Martens:
- Regenerate again after rebasing using kernel_oldconfig
  dropping a few optimization settings that are now generic
- Drop CFG80211 stuff (module)
- Drop CIFS stuff (module)
- Drop MAC80211 (module)
- Drop wireless drivers (module)
- Enabled OverlayFS
- Added proper DNS-313 boot image generation with the special
  file header tool.
- Disable CMA in the kernel
- Enable LZMA compression of the kernel
- Consequently name the nas4220b images nas4220b
- Update preinit MAC detection script to handle also DNS-313
- Add board.d/03_hdparm to set the disk to spin down after
  1 minute by default, if we have the hdparm tool installed

ChangeLog v1->v2:
- Processed config through kernel_oldconfig
- Processed patches through make target/linux/{clean,refresh} V=99

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
38 files changed:
target/linux/gemini/config-4.14 [new file with mode: 0644]
target/linux/gemini/patches-4.14/0001-cache-patch-from-OpenWRT.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0003-ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0004-pinctrl-Add-skew-delay-pin-config-and-bindings.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0005-pinctrl-gemini-Use-generic-DT-parser.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0006-pinctrl-gemini-Implement-clock-skew-delay-config.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0007-pinctrl-gemini-Fix-GMAC-groups.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0009-pinctrl-gemini-Add-two-missing-GPIO-groups.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0011-pinctrl-gemini-Support-drive-strength-setting.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0012-ARM-dts-Add-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0014-ARM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0016-ARM-dts-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0017-watchdog-gemini-ftwdt010-rename-DT-bindings.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0018-watchdog-gemini-ftwdt010-rename-driver-and-symbols.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0019-watchdog-ftwdt010-Make-interrupt-optional.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0020-soc-Add-SoC-driver-for-Gemini.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0021-net-ethernet-Add-DT-bindings-for-the-Gemini-ethernet.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0022-net-ethernet-Add-a-driver-for-Gemini-gigabit-etherne.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0023-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0024-net-gemini-Depend-on-HAS_IOMEM.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0025-ARM-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0026-power-gemini-poweroff-Avoid-spurious-poweroff.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0027-usb-host-add-DT-bindings-for-faraday-fotg2.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0028-usb-host-fotg2-add-device-tree-probing.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0029-usb-host-fotg2-add-silicon-clock-handling.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0030-usb-host-fotg2-add-Gemini-specific-handling.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0031-ARM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0032-usb-host-fotg2-restart-hcd-after-port-reset.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0900-arm-dts-gemini-add-openwrt-partitions-for-nas4220b.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0901-arm-dts-gemini-fix-ethernet-for-nas4220b.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0902-arm-dts-gemini-add-second-ata-for-nas4220b.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0903-arm-dts-gemini-disable-usb-port-1-until-fixed.patch [new file with mode: 0644]
target/linux/gemini/patches-4.14/0904-net-cortina-fix-uninitialized-struct-member-usage.patch [new file with mode: 0644]