[LEDE-DEV] [PATCH v3 00/10] mvebu: add kernel 4.14 support

Hauke Mehrtens hauke at hauke-m.de
Sun Feb 11 14:46:08 PST 2018


This add support for kernel 4.14 to the mvebu target. My main reason to 
add kernel 4.14 support is to make it easier to also add support for the 
Marvell Armada 3700LP ARM64 SoCs especially the ESPRESSObin board. 

I tested this on my WRT1200AC board and got positive feedback form 
multiple other community members.

My current working tree for this target can be found here:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14

I am waiting for positive and negative feedback on these patches, if you 
run into a problem which you do not have with kernel 4.9 please report 
this.

I do not plan to apply the change of the default kernel at the beginning.

changes in:
v3:
 * Fix the wifi configuration migration, it is now executed before the 
   devices are detected and forms in both directions.
 * fix minor patch that does not apply any more with 4.14.18
 * add update of mwlwifi

v2:
 * refresh on current generic kernel 4.14 integration
 * create ubifs fs format version 4 also with kernel 4.14, this should 
   fix sysupgrade (downgrade) from kernel 4.14 to 4.9
 * rename the wireless driver path when upgrading

Chris Breuer (1):
  mwlwifi: Update to latest commit 20180208

Hauke Mehrtens (9):
  kernel: ubifs: create use file system format 4 by default
  mac80211: move wifi detect hotplug script to later
  mvebu: move files to files-4.9 and files-4.4 folder
  mvebu: copy config and patches from 4.9 to 4.14
  mvebu: Make kernel 4.14 patches apply
  mvebu: Migrate uci config to new PCIe path
  mwlwifi: use PKG_SOURCE_DATE instead of version
  mwlwifi: fix compile problem with kernel 4.14
  mvebu: use kernel 4.14 by default

 package/kernel/mac80211/Makefile                   |   4 +-
 package/kernel/mwlwifi/Makefile                    |   6 +-
 .../mwlwifi/patches/001-remove-vfs_write.patch     |  92 ++
 target/linux/generic/config-4.14                   |   1 +
 ...ption-to-create-UBI-FS-version-4-on-empty.patch |  63 ++
 target/linux/mvebu/Makefile                        |   2 +-
 .../etc/hotplug.d/ieee80211/00-wifi-config-migrate |  41 +
 target/linux/mvebu/config-4.14                     | 486 ++++++++++
 .../arch/arm/boot/dts/armada-385-linksys-rango.dts |   0
 .../arm/boot/dts/armada-385-linksys-shelby.dts     |   0
 .../arch/arm/boot/dts/armada-385-linksys-rango.dts |   0
 .../arm/boot/dts/armada-385-linksys-shelby.dts     |   0
 .../mvebu/patches-4.14/002-add_powertables.patch   | 770 ++++++++++++++++
 .../mvebu/patches-4.14/003-add_switch_nodes.patch  |  40 +
 .../004-add_sata_disk_activity_trigger.patch       |  39 +
 .../mvebu/patches-4.14/100-find_active_root.patch  |  60 ++
 .../mvebu/patches-4.14/102-revert_i2c_delay.patch  |  15 +
 .../103-remove-nand-driver-bug.patch               |   0
 .../104-linksys_mamba_disable_keep_config.patch    |  10 +
 .../110-pxa3xxx_revert_irq_thread.patch            |  69 ++
 .../205-armada-385-rd-mtd-partitions.patch         |   0
 .../206-ARM-mvebu-385-ap-Add-partitions.patch      |   0
 .../patches-4.14/210-clearfog_switch_node.patch    |  21 +
 .../300-mvneta-tx-queue-workaround.patch           |  35 +
 ...bu-indicate-failure-to-enter-deeper-sleep.patch |  40 +
 .../401-pci-mvebu-time-out-reset-on-link-up.patch  |  60 ++
 .../402-sfp-display-SFP-module-information.patch   | 290 ++++++
 .../403-net-mvneta-convert-to-phylink.patch        | 979 +++++++++++++++++++++
 .../404-net-mvneta-hack-fix-phy_interface.patch    |  28 +
 ...disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch |  56 ++
 ...-mvneta-add-module-EEPROM-reading-support.patch |  44 +
 ...y-fixed-phy-remove-fixed_phy_update_state.patch |  80 ++
 ...dule-eeprom-ethtool-access-into-netdev-co.patch | 181 ++++
 ...409-sfp-use-netdev-sfp_bus-for-start-stop.patch |  34 +
 ...-allow-marvell-10G-phy-support-to-use-SFP.patch | 131 +++
 .../patches-4.14/411-sfp-add-sfp-compatible.patch  |  24 +
 ...-armada388-clearfog-emmc-on-clearfog-base.patch |  87 ++
 ...ada388-clearfog-increase-speed-of-i2c0-to.patch |  42 +
 ...armada388-clearfog-add-SFP-module-support.patch |  81 ++
 ...dts-armada388-clearfog-document-MPP-usage.patch | 124 +++
 40 files changed, 4029 insertions(+), 6 deletions(-)
 create mode 100644 package/kernel/mwlwifi/patches/001-remove-vfs_write.patch
 create mode 100644 target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch
 create mode 100644 target/linux/mvebu/base-files/etc/hotplug.d/ieee80211/00-wifi-config-migrate
 create mode 100644 target/linux/mvebu/config-4.14
 copy target/linux/mvebu/{files => files-4.4}/arch/arm/boot/dts/armada-385-linksys-rango.dts (100%)
 copy target/linux/mvebu/{files => files-4.4}/arch/arm/boot/dts/armada-385-linksys-shelby.dts (100%)
 rename target/linux/mvebu/{files => files-4.9}/arch/arm/boot/dts/armada-385-linksys-rango.dts (100%)
 rename target/linux/mvebu/{files => files-4.9}/arch/arm/boot/dts/armada-385-linksys-shelby.dts (100%)
 create mode 100644 target/linux/mvebu/patches-4.14/002-add_powertables.patch
 create mode 100644 target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
 create mode 100644 target/linux/mvebu/patches-4.14/004-add_sata_disk_activity_trigger.patch
 create mode 100644 target/linux/mvebu/patches-4.14/100-find_active_root.patch
 create mode 100644 target/linux/mvebu/patches-4.14/102-revert_i2c_delay.patch
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/103-remove-nand-driver-bug.patch (100%)
 create mode 100644 target/linux/mvebu/patches-4.14/104-linksys_mamba_disable_keep_config.patch
 create mode 100644 target/linux/mvebu/patches-4.14/110-pxa3xxx_revert_irq_thread.patch
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/205-armada-385-rd-mtd-partitions.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/206-ARM-mvebu-385-ap-Add-partitions.patch (100%)
 create mode 100644 target/linux/mvebu/patches-4.14/210-clearfog_switch_node.patch
 create mode 100644 target/linux/mvebu/patches-4.14/300-mvneta-tx-queue-workaround.patch
 create mode 100644 target/linux/mvebu/patches-4.14/400-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch
 create mode 100644 target/linux/mvebu/patches-4.14/401-pci-mvebu-time-out-reset-on-link-up.patch
 create mode 100644 target/linux/mvebu/patches-4.14/402-sfp-display-SFP-module-information.patch
 create mode 100644 target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch
 create mode 100644 target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch
 create mode 100644 target/linux/mvebu/patches-4.14/405-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch
 create mode 100644 target/linux/mvebu/patches-4.14/406-net-mvneta-add-module-EEPROM-reading-support.patch
 create mode 100644 target/linux/mvebu/patches-4.14/407-phy-fixed-phy-remove-fixed_phy_update_state.patch
 create mode 100644 target/linux/mvebu/patches-4.14/408-sfp-move-module-eeprom-ethtool-access-into-netdev-co.patch
 create mode 100644 target/linux/mvebu/patches-4.14/409-sfp-use-netdev-sfp_bus-for-start-stop.patch
 create mode 100644 target/linux/mvebu/patches-4.14/410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch
 create mode 100644 target/linux/mvebu/patches-4.14/411-sfp-add-sfp-compatible.patch
 create mode 100644 target/linux/mvebu/patches-4.14/412-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch
 create mode 100644 target/linux/mvebu/patches-4.14/413-ARM-dts-armada388-clearfog-increase-speed-of-i2c0-to.patch
 create mode 100644 target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
 create mode 100644 target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch

-- 
2.11.0




More information about the Lede-dev mailing list