mbox series

[LEDE-DEV,v2,0/5] mvebu: add kernel 4.14 support

Message ID 20180121175308.15585-1-hauke@hauke-m.de
Headers show
Series mvebu: add kernel 4.14 support | expand

Message

Hauke Mehrtens Jan. 21, 2018, 5:53 p.m. UTC
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 do not have any of the currently supported boards so I can not runtime 
test this myself, Lucian Cristian already tested an older version of
these patches on one of his boards.

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
This tree also contains the code needed for the ESPRESSObin, but we 
still have some problems with the image creation, the bootloader boots 
by default the kernel + dtb from a ext4 file system on a SD card and 
also uses this partition as root file system.
Tomasz Maciej Nowak is working on the image generation for the 
ESPRESSObin board.

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.

changes in:
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


Hauke Mehrtens (5):
  kernel: ubifs: create use file system format 4 by default
  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

 target/linux/generic/config-4.14                   |   1 +
 ...ption-to-create-UBI-FS-version-4-on-empty.patch |  63 ++
 .../base-files/etc/uci-defaults/05-migrate-wifi    |  23 +
 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 | 130 +++
 .../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 +++
 36 files changed, 3912 insertions(+)
 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/uci-defaults/05-migrate-wifi
 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

Comments

Hauke Mehrtens Jan. 21, 2018, 5:53 p.m. UTC | #1
This is in preparation for the 4.14 port, this is just coping all the
files to make it easier to see the differences between kernel 4.9 and
kernel 4.14.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 target/linux/mvebu/{config-4.9 => config-4.14}                            | 0
 .../linux/mvebu/{patches-4.4 => patches-4.14}/002-add_powertables.patch   | 0
 .../linux/mvebu/{patches-4.9 => patches-4.14}/003-add_switch_nodes.patch  | 0
 .../004-add_sata_disk_activity_trigger.patch                              | 0
 target/linux/mvebu/{patches-4.9 => patches-4.14}/010-build_new_dtbs.patch | 0
 .../linux/mvebu/{patches-4.9 => patches-4.14}/100-find_active_root.patch  | 0
 .../linux/mvebu/{patches-4.9 => patches-4.14}/102-revert_i2c_delay.patch  | 0
 .../mvebu/{patches-4.9 => patches-4.14}/103-remove-nand-driver-bug.patch  | 0
 .../104-linksys_mamba_disable_keep_config.patch                           | 0
 .../{patches-4.9 => patches-4.14}/106-enable-bm-on-linksys-devices.patch  | 0
 .../{patches-4.9 => patches-4.14}/110-pxa3xxx_revert_irq_thread.patch     | 0
 .../{patches-4.9 => patches-4.14}/120-net-mvneta-add-BQL-support.patch    | 0
 .../{patches-4.9 => patches-4.14}/130-irqchip-armada-xp-backport.patch    | 0
 .../200-gpio_mvebu_add_limited_pwm_support.patch                          | 0
 .../201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch        | 0
 .../202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch                   | 0
 .../203-arm_mvebu_enable_pwm_in_defconfig.patch                           | 0
 .../204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch            | 0
 .../{patches-4.9 => patches-4.14}/205-armada-385-rd-mtd-partitions.patch  | 0
 .../206-ARM-mvebu-385-ap-Add-partitions.patch                             | 0
 .../mvebu/{patches-4.9 => patches-4.14}/210-clearfog_switch_node.patch    | 0
 .../220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch           | 0
 .../{patches-4.9 => patches-4.14}/300-mvneta-tx-queue-workaround.patch    | 0
 .../400-phy-provide-a-hook-for-link-up-link-down-events.patch             | 0
 .../401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch                | 0
 .../402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch        | 0
 .../403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch         | 0
 .../404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch        | 0
 .../405-net-phy-allow-EEE-with-SGMII-interface-modes.patch                | 0
 .../406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch        | 0
 .../407-net-phy-add-802.3-clause-45-support-to-phylib.patch               | 0
 .../408-net-phy-hook-up-clause-45-autonegotiation-restart.patch           | 0
 .../409-net-phy-don-t-double-read-clause-45-status-register.patch         | 0
 .../410-net-phy-allow-settings-table-to-support-more-than-32.patch        | 0
 .../411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch        | 0
 .../412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch        | 0
 .../413-phy-export-phy_start_machine-for-phylink.patch                    | 0
 .../mvebu/{patches-4.9 => patches-4.14}/414-phy-add-I2C-mdio-bus.patch    | 0
 .../415-phylink-add-phylink-infrastructure.patch                          | 0
 .../416-phylink-add-hooks-for-SFP-support.patch                           | 0
 .../417-sfp-add-phylink-based-SFP-module-support.patch                    | 0
 .../418-sfp-display-SFP-module-information.patch                          | 0
 .../{patches-4.9 => patches-4.14}/419-net-mvneta-convert-to-phylink.patch | 0
 .../420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch        | 0
 .../421-phylink-add-ethtool-nway_reset-support.patch                      | 0
 .../422-net-mvneta-add-nway_reset-support.patch                           | 0
 .../423-phylink-add-flow-control-support.patch                            | 0
 .../424-net-mvneta-add-flow-control-support-via-phylink.patch             | 0
 .../425-net-mvneta-enable-flow-control-for-PHY-connections.patch          | 0
 .../426-net-mvneta-enable-flow-control-for-fixed-connections.patch        | 0
 .../mvebu/{patches-4.9 => patches-4.14}/427-phylink-add-EEE-support.patch | 0
 .../{patches-4.9 => patches-4.14}/428-net-mvneta-add-EEE-support.patch    | 0
 .../429-phylink-add-module-EEPROM-support.patch                           | 0
 .../430-net-mvneta-add-module-EEPROM-reading-support.patch                | 0
 .../431-sfp-phylink-hook-up-eeprom-functions.patch                        | 0
 .../432-phy-marvell-88E1512-add-flow-control-support.patch                | 0
 .../433-phy-marvell-88E1111-add-flow-control-support.patch                | 0
 .../434-phy-marvell-88E1540-add-flow-control-support.patch                | 0
 .../436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch          | 0
 .../437-phylink-ensure-link-drops-are-reported.patch                      | 0
 .../linux/mvebu/{patches-4.9 => patches-4.14}/450-reprobe_sfp_phy.patch   | 0
 .../{patches-4.9 => patches-4.14}/470-ClearFog-renamed-upstream.patch     | 0
 .../471-add-ClearFog-Base-device-tree-files.patch                         | 0
 .../472-armada-solidrun-microsom-backport-improvements.patch              | 0
 .../473-fix-marvell-phy-initialization-issues.patch                       | 0
 65 files changed, 0 insertions(+), 0 deletions(-)
 copy target/linux/mvebu/{config-4.9 => config-4.14} (100%)
 copy target/linux/mvebu/{patches-4.4 => patches-4.14}/002-add_powertables.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/003-add_switch_nodes.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/004-add_sata_disk_activity_trigger.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/010-build_new_dtbs.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/100-find_active_root.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/102-revert_i2c_delay.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/103-remove-nand-driver-bug.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/104-linksys_mamba_disable_keep_config.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/106-enable-bm-on-linksys-devices.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/110-pxa3xxx_revert_irq_thread.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/120-net-mvneta-add-BQL-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/130-irqchip-armada-xp-backport.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/200-gpio_mvebu_add_limited_pwm_support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/203-arm_mvebu_enable_pwm_in_defconfig.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch (100%)
 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%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/210-clearfog_switch_node.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/300-mvneta-tx-queue-workaround.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/400-phy-provide-a-hook-for-link-up-link-down-events.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/407-net-phy-add-802.3-clause-45-support-to-phylib.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/409-net-phy-don-t-double-read-clause-45-status-register.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/410-net-phy-allow-settings-table-to-support-more-than-32.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/413-phy-export-phy_start_machine-for-phylink.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/414-phy-add-I2C-mdio-bus.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/415-phylink-add-phylink-infrastructure.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/416-phylink-add-hooks-for-SFP-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/417-sfp-add-phylink-based-SFP-module-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/418-sfp-display-SFP-module-information.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/419-net-mvneta-convert-to-phylink.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/421-phylink-add-ethtool-nway_reset-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/422-net-mvneta-add-nway_reset-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/423-phylink-add-flow-control-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/424-net-mvneta-add-flow-control-support-via-phylink.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/425-net-mvneta-enable-flow-control-for-PHY-connections.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/426-net-mvneta-enable-flow-control-for-fixed-connections.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/427-phylink-add-EEE-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/428-net-mvneta-add-EEE-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/429-phylink-add-module-EEPROM-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/430-net-mvneta-add-module-EEPROM-reading-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/431-sfp-phylink-hook-up-eeprom-functions.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/432-phy-marvell-88E1512-add-flow-control-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/433-phy-marvell-88E1111-add-flow-control-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/434-phy-marvell-88E1540-add-flow-control-support.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/437-phylink-ensure-link-drops-are-reported.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/450-reprobe_sfp_phy.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/470-ClearFog-renamed-upstream.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/471-add-ClearFog-Base-device-tree-files.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/472-armada-solidrun-microsom-backport-improvements.patch (100%)
 copy target/linux/mvebu/{patches-4.9 => patches-4.14}/473-fix-marvell-phy-initialization-issues.patch (100%)

diff --git a/target/linux/mvebu/config-4.9 b/target/linux/mvebu/config-4.14
similarity index 100%
copy from target/linux/mvebu/config-4.9
copy to target/linux/mvebu/config-4.14
diff --git a/target/linux/mvebu/patches-4.4/002-add_powertables.patch b/target/linux/mvebu/patches-4.14/002-add_powertables.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.4/002-add_powertables.patch
copy to target/linux/mvebu/patches-4.14/002-add_powertables.patch
diff --git a/target/linux/mvebu/patches-4.9/003-add_switch_nodes.patch b/target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/003-add_switch_nodes.patch
copy to target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch
diff --git a/target/linux/mvebu/patches-4.9/004-add_sata_disk_activity_trigger.patch b/target/linux/mvebu/patches-4.14/004-add_sata_disk_activity_trigger.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/004-add_sata_disk_activity_trigger.patch
copy to target/linux/mvebu/patches-4.14/004-add_sata_disk_activity_trigger.patch
diff --git a/target/linux/mvebu/patches-4.9/010-build_new_dtbs.patch b/target/linux/mvebu/patches-4.14/010-build_new_dtbs.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/010-build_new_dtbs.patch
copy to target/linux/mvebu/patches-4.14/010-build_new_dtbs.patch
diff --git a/target/linux/mvebu/patches-4.9/100-find_active_root.patch b/target/linux/mvebu/patches-4.14/100-find_active_root.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/100-find_active_root.patch
copy to target/linux/mvebu/patches-4.14/100-find_active_root.patch
diff --git a/target/linux/mvebu/patches-4.9/102-revert_i2c_delay.patch b/target/linux/mvebu/patches-4.14/102-revert_i2c_delay.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/102-revert_i2c_delay.patch
copy to target/linux/mvebu/patches-4.14/102-revert_i2c_delay.patch
diff --git a/target/linux/mvebu/patches-4.9/103-remove-nand-driver-bug.patch b/target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/103-remove-nand-driver-bug.patch
copy to target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch
diff --git a/target/linux/mvebu/patches-4.9/104-linksys_mamba_disable_keep_config.patch b/target/linux/mvebu/patches-4.14/104-linksys_mamba_disable_keep_config.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/104-linksys_mamba_disable_keep_config.patch
copy to target/linux/mvebu/patches-4.14/104-linksys_mamba_disable_keep_config.patch
diff --git a/target/linux/mvebu/patches-4.9/106-enable-bm-on-linksys-devices.patch b/target/linux/mvebu/patches-4.14/106-enable-bm-on-linksys-devices.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/106-enable-bm-on-linksys-devices.patch
copy to target/linux/mvebu/patches-4.14/106-enable-bm-on-linksys-devices.patch
diff --git a/target/linux/mvebu/patches-4.9/110-pxa3xxx_revert_irq_thread.patch b/target/linux/mvebu/patches-4.14/110-pxa3xxx_revert_irq_thread.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/110-pxa3xxx_revert_irq_thread.patch
copy to target/linux/mvebu/patches-4.14/110-pxa3xxx_revert_irq_thread.patch
diff --git a/target/linux/mvebu/patches-4.9/120-net-mvneta-add-BQL-support.patch b/target/linux/mvebu/patches-4.14/120-net-mvneta-add-BQL-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/120-net-mvneta-add-BQL-support.patch
copy to target/linux/mvebu/patches-4.14/120-net-mvneta-add-BQL-support.patch
diff --git a/target/linux/mvebu/patches-4.9/130-irqchip-armada-xp-backport.patch b/target/linux/mvebu/patches-4.14/130-irqchip-armada-xp-backport.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/130-irqchip-armada-xp-backport.patch
copy to target/linux/mvebu/patches-4.14/130-irqchip-armada-xp-backport.patch
diff --git a/target/linux/mvebu/patches-4.9/200-gpio_mvebu_add_limited_pwm_support.patch b/target/linux/mvebu/patches-4.14/200-gpio_mvebu_add_limited_pwm_support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/200-gpio_mvebu_add_limited_pwm_support.patch
copy to target/linux/mvebu/patches-4.14/200-gpio_mvebu_add_limited_pwm_support.patch
diff --git a/target/linux/mvebu/patches-4.9/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch b/target/linux/mvebu/patches-4.14/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch
copy to target/linux/mvebu/patches-4.14/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch
diff --git a/target/linux/mvebu/patches-4.9/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch b/target/linux/mvebu/patches-4.14/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch
copy to target/linux/mvebu/patches-4.14/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch
diff --git a/target/linux/mvebu/patches-4.9/203-arm_mvebu_enable_pwm_in_defconfig.patch b/target/linux/mvebu/patches-4.14/203-arm_mvebu_enable_pwm_in_defconfig.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/203-arm_mvebu_enable_pwm_in_defconfig.patch
copy to target/linux/mvebu/patches-4.14/203-arm_mvebu_enable_pwm_in_defconfig.patch
diff --git a/target/linux/mvebu/patches-4.9/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch b/target/linux/mvebu/patches-4.14/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch
copy to target/linux/mvebu/patches-4.14/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch
diff --git a/target/linux/mvebu/patches-4.9/205-armada-385-rd-mtd-partitions.patch b/target/linux/mvebu/patches-4.14/205-armada-385-rd-mtd-partitions.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/205-armada-385-rd-mtd-partitions.patch
copy to target/linux/mvebu/patches-4.14/205-armada-385-rd-mtd-partitions.patch
diff --git a/target/linux/mvebu/patches-4.9/206-ARM-mvebu-385-ap-Add-partitions.patch b/target/linux/mvebu/patches-4.14/206-ARM-mvebu-385-ap-Add-partitions.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/206-ARM-mvebu-385-ap-Add-partitions.patch
copy to target/linux/mvebu/patches-4.14/206-ARM-mvebu-385-ap-Add-partitions.patch
diff --git a/target/linux/mvebu/patches-4.9/210-clearfog_switch_node.patch b/target/linux/mvebu/patches-4.14/210-clearfog_switch_node.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/210-clearfog_switch_node.patch
copy to target/linux/mvebu/patches-4.14/210-clearfog_switch_node.patch
diff --git a/target/linux/mvebu/patches-4.9/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch b/target/linux/mvebu/patches-4.14/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
copy to target/linux/mvebu/patches-4.14/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
diff --git a/target/linux/mvebu/patches-4.9/300-mvneta-tx-queue-workaround.patch b/target/linux/mvebu/patches-4.14/300-mvneta-tx-queue-workaround.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/300-mvneta-tx-queue-workaround.patch
copy to target/linux/mvebu/patches-4.14/300-mvneta-tx-queue-workaround.patch
diff --git a/target/linux/mvebu/patches-4.9/400-phy-provide-a-hook-for-link-up-link-down-events.patch b/target/linux/mvebu/patches-4.14/400-phy-provide-a-hook-for-link-up-link-down-events.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/400-phy-provide-a-hook-for-link-up-link-down-events.patch
copy to target/linux/mvebu/patches-4.14/400-phy-provide-a-hook-for-link-up-link-down-events.patch
diff --git a/target/linux/mvebu/patches-4.9/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch b/target/linux/mvebu/patches-4.14/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch
copy to target/linux/mvebu/patches-4.14/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch
diff --git a/target/linux/mvebu/patches-4.9/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch b/target/linux/mvebu/patches-4.14/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch
copy to target/linux/mvebu/patches-4.14/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch
diff --git a/target/linux/mvebu/patches-4.9/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch b/target/linux/mvebu/patches-4.14/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch
copy to target/linux/mvebu/patches-4.14/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch
diff --git a/target/linux/mvebu/patches-4.9/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch b/target/linux/mvebu/patches-4.14/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch
copy to target/linux/mvebu/patches-4.14/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch
diff --git a/target/linux/mvebu/patches-4.9/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch b/target/linux/mvebu/patches-4.14/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch
copy to target/linux/mvebu/patches-4.14/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch
diff --git a/target/linux/mvebu/patches-4.9/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch b/target/linux/mvebu/patches-4.14/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch
copy to target/linux/mvebu/patches-4.14/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch
diff --git a/target/linux/mvebu/patches-4.9/407-net-phy-add-802.3-clause-45-support-to-phylib.patch b/target/linux/mvebu/patches-4.14/407-net-phy-add-802.3-clause-45-support-to-phylib.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/407-net-phy-add-802.3-clause-45-support-to-phylib.patch
copy to target/linux/mvebu/patches-4.14/407-net-phy-add-802.3-clause-45-support-to-phylib.patch
diff --git a/target/linux/mvebu/patches-4.9/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch b/target/linux/mvebu/patches-4.14/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch
copy to target/linux/mvebu/patches-4.14/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch
diff --git a/target/linux/mvebu/patches-4.9/409-net-phy-don-t-double-read-clause-45-status-register.patch b/target/linux/mvebu/patches-4.14/409-net-phy-don-t-double-read-clause-45-status-register.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/409-net-phy-don-t-double-read-clause-45-status-register.patch
copy to target/linux/mvebu/patches-4.14/409-net-phy-don-t-double-read-clause-45-status-register.patch
diff --git a/target/linux/mvebu/patches-4.9/410-net-phy-allow-settings-table-to-support-more-than-32.patch b/target/linux/mvebu/patches-4.14/410-net-phy-allow-settings-table-to-support-more-than-32.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/410-net-phy-allow-settings-table-to-support-more-than-32.patch
copy to target/linux/mvebu/patches-4.14/410-net-phy-allow-settings-table-to-support-more-than-32.patch
diff --git a/target/linux/mvebu/patches-4.9/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch b/target/linux/mvebu/patches-4.14/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch
copy to target/linux/mvebu/patches-4.14/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch
diff --git a/target/linux/mvebu/patches-4.9/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch b/target/linux/mvebu/patches-4.14/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch
copy to target/linux/mvebu/patches-4.14/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch
diff --git a/target/linux/mvebu/patches-4.9/413-phy-export-phy_start_machine-for-phylink.patch b/target/linux/mvebu/patches-4.14/413-phy-export-phy_start_machine-for-phylink.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/413-phy-export-phy_start_machine-for-phylink.patch
copy to target/linux/mvebu/patches-4.14/413-phy-export-phy_start_machine-for-phylink.patch
diff --git a/target/linux/mvebu/patches-4.9/414-phy-add-I2C-mdio-bus.patch b/target/linux/mvebu/patches-4.14/414-phy-add-I2C-mdio-bus.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/414-phy-add-I2C-mdio-bus.patch
copy to target/linux/mvebu/patches-4.14/414-phy-add-I2C-mdio-bus.patch
diff --git a/target/linux/mvebu/patches-4.9/415-phylink-add-phylink-infrastructure.patch b/target/linux/mvebu/patches-4.14/415-phylink-add-phylink-infrastructure.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/415-phylink-add-phylink-infrastructure.patch
copy to target/linux/mvebu/patches-4.14/415-phylink-add-phylink-infrastructure.patch
diff --git a/target/linux/mvebu/patches-4.9/416-phylink-add-hooks-for-SFP-support.patch b/target/linux/mvebu/patches-4.14/416-phylink-add-hooks-for-SFP-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/416-phylink-add-hooks-for-SFP-support.patch
copy to target/linux/mvebu/patches-4.14/416-phylink-add-hooks-for-SFP-support.patch
diff --git a/target/linux/mvebu/patches-4.9/417-sfp-add-phylink-based-SFP-module-support.patch b/target/linux/mvebu/patches-4.14/417-sfp-add-phylink-based-SFP-module-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/417-sfp-add-phylink-based-SFP-module-support.patch
copy to target/linux/mvebu/patches-4.14/417-sfp-add-phylink-based-SFP-module-support.patch
diff --git a/target/linux/mvebu/patches-4.9/418-sfp-display-SFP-module-information.patch b/target/linux/mvebu/patches-4.14/418-sfp-display-SFP-module-information.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/418-sfp-display-SFP-module-information.patch
copy to target/linux/mvebu/patches-4.14/418-sfp-display-SFP-module-information.patch
diff --git a/target/linux/mvebu/patches-4.9/419-net-mvneta-convert-to-phylink.patch b/target/linux/mvebu/patches-4.14/419-net-mvneta-convert-to-phylink.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/419-net-mvneta-convert-to-phylink.patch
copy to target/linux/mvebu/patches-4.14/419-net-mvneta-convert-to-phylink.patch
diff --git a/target/linux/mvebu/patches-4.9/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch b/target/linux/mvebu/patches-4.14/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch
copy to target/linux/mvebu/patches-4.14/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch
diff --git a/target/linux/mvebu/patches-4.9/421-phylink-add-ethtool-nway_reset-support.patch b/target/linux/mvebu/patches-4.14/421-phylink-add-ethtool-nway_reset-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/421-phylink-add-ethtool-nway_reset-support.patch
copy to target/linux/mvebu/patches-4.14/421-phylink-add-ethtool-nway_reset-support.patch
diff --git a/target/linux/mvebu/patches-4.9/422-net-mvneta-add-nway_reset-support.patch b/target/linux/mvebu/patches-4.14/422-net-mvneta-add-nway_reset-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/422-net-mvneta-add-nway_reset-support.patch
copy to target/linux/mvebu/patches-4.14/422-net-mvneta-add-nway_reset-support.patch
diff --git a/target/linux/mvebu/patches-4.9/423-phylink-add-flow-control-support.patch b/target/linux/mvebu/patches-4.14/423-phylink-add-flow-control-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/423-phylink-add-flow-control-support.patch
copy to target/linux/mvebu/patches-4.14/423-phylink-add-flow-control-support.patch
diff --git a/target/linux/mvebu/patches-4.9/424-net-mvneta-add-flow-control-support-via-phylink.patch b/target/linux/mvebu/patches-4.14/424-net-mvneta-add-flow-control-support-via-phylink.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/424-net-mvneta-add-flow-control-support-via-phylink.patch
copy to target/linux/mvebu/patches-4.14/424-net-mvneta-add-flow-control-support-via-phylink.patch
diff --git a/target/linux/mvebu/patches-4.9/425-net-mvneta-enable-flow-control-for-PHY-connections.patch b/target/linux/mvebu/patches-4.14/425-net-mvneta-enable-flow-control-for-PHY-connections.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/425-net-mvneta-enable-flow-control-for-PHY-connections.patch
copy to target/linux/mvebu/patches-4.14/425-net-mvneta-enable-flow-control-for-PHY-connections.patch
diff --git a/target/linux/mvebu/patches-4.9/426-net-mvneta-enable-flow-control-for-fixed-connections.patch b/target/linux/mvebu/patches-4.14/426-net-mvneta-enable-flow-control-for-fixed-connections.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/426-net-mvneta-enable-flow-control-for-fixed-connections.patch
copy to target/linux/mvebu/patches-4.14/426-net-mvneta-enable-flow-control-for-fixed-connections.patch
diff --git a/target/linux/mvebu/patches-4.9/427-phylink-add-EEE-support.patch b/target/linux/mvebu/patches-4.14/427-phylink-add-EEE-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/427-phylink-add-EEE-support.patch
copy to target/linux/mvebu/patches-4.14/427-phylink-add-EEE-support.patch
diff --git a/target/linux/mvebu/patches-4.9/428-net-mvneta-add-EEE-support.patch b/target/linux/mvebu/patches-4.14/428-net-mvneta-add-EEE-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/428-net-mvneta-add-EEE-support.patch
copy to target/linux/mvebu/patches-4.14/428-net-mvneta-add-EEE-support.patch
diff --git a/target/linux/mvebu/patches-4.9/429-phylink-add-module-EEPROM-support.patch b/target/linux/mvebu/patches-4.14/429-phylink-add-module-EEPROM-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/429-phylink-add-module-EEPROM-support.patch
copy to target/linux/mvebu/patches-4.14/429-phylink-add-module-EEPROM-support.patch
diff --git a/target/linux/mvebu/patches-4.9/430-net-mvneta-add-module-EEPROM-reading-support.patch b/target/linux/mvebu/patches-4.14/430-net-mvneta-add-module-EEPROM-reading-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/430-net-mvneta-add-module-EEPROM-reading-support.patch
copy to target/linux/mvebu/patches-4.14/430-net-mvneta-add-module-EEPROM-reading-support.patch
diff --git a/target/linux/mvebu/patches-4.9/431-sfp-phylink-hook-up-eeprom-functions.patch b/target/linux/mvebu/patches-4.14/431-sfp-phylink-hook-up-eeprom-functions.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/431-sfp-phylink-hook-up-eeprom-functions.patch
copy to target/linux/mvebu/patches-4.14/431-sfp-phylink-hook-up-eeprom-functions.patch
diff --git a/target/linux/mvebu/patches-4.9/432-phy-marvell-88E1512-add-flow-control-support.patch b/target/linux/mvebu/patches-4.14/432-phy-marvell-88E1512-add-flow-control-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/432-phy-marvell-88E1512-add-flow-control-support.patch
copy to target/linux/mvebu/patches-4.14/432-phy-marvell-88E1512-add-flow-control-support.patch
diff --git a/target/linux/mvebu/patches-4.9/433-phy-marvell-88E1111-add-flow-control-support.patch b/target/linux/mvebu/patches-4.14/433-phy-marvell-88E1111-add-flow-control-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/433-phy-marvell-88E1111-add-flow-control-support.patch
copy to target/linux/mvebu/patches-4.14/433-phy-marvell-88E1111-add-flow-control-support.patch
diff --git a/target/linux/mvebu/patches-4.9/434-phy-marvell-88E1540-add-flow-control-support.patch b/target/linux/mvebu/patches-4.14/434-phy-marvell-88E1540-add-flow-control-support.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/434-phy-marvell-88E1540-add-flow-control-support.patch
copy to target/linux/mvebu/patches-4.14/434-phy-marvell-88E1540-add-flow-control-support.patch
diff --git a/target/linux/mvebu/patches-4.9/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch b/target/linux/mvebu/patches-4.14/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch
copy to target/linux/mvebu/patches-4.14/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch
diff --git a/target/linux/mvebu/patches-4.9/437-phylink-ensure-link-drops-are-reported.patch b/target/linux/mvebu/patches-4.14/437-phylink-ensure-link-drops-are-reported.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/437-phylink-ensure-link-drops-are-reported.patch
copy to target/linux/mvebu/patches-4.14/437-phylink-ensure-link-drops-are-reported.patch
diff --git a/target/linux/mvebu/patches-4.9/450-reprobe_sfp_phy.patch b/target/linux/mvebu/patches-4.14/450-reprobe_sfp_phy.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/450-reprobe_sfp_phy.patch
copy to target/linux/mvebu/patches-4.14/450-reprobe_sfp_phy.patch
diff --git a/target/linux/mvebu/patches-4.9/470-ClearFog-renamed-upstream.patch b/target/linux/mvebu/patches-4.14/470-ClearFog-renamed-upstream.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/470-ClearFog-renamed-upstream.patch
copy to target/linux/mvebu/patches-4.14/470-ClearFog-renamed-upstream.patch
diff --git a/target/linux/mvebu/patches-4.9/471-add-ClearFog-Base-device-tree-files.patch b/target/linux/mvebu/patches-4.14/471-add-ClearFog-Base-device-tree-files.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/471-add-ClearFog-Base-device-tree-files.patch
copy to target/linux/mvebu/patches-4.14/471-add-ClearFog-Base-device-tree-files.patch
diff --git a/target/linux/mvebu/patches-4.9/472-armada-solidrun-microsom-backport-improvements.patch b/target/linux/mvebu/patches-4.14/472-armada-solidrun-microsom-backport-improvements.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/472-armada-solidrun-microsom-backport-improvements.patch
copy to target/linux/mvebu/patches-4.14/472-armada-solidrun-microsom-backport-improvements.patch
diff --git a/target/linux/mvebu/patches-4.9/473-fix-marvell-phy-initialization-issues.patch b/target/linux/mvebu/patches-4.14/473-fix-marvell-phy-initialization-issues.patch
similarity index 100%
copy from target/linux/mvebu/patches-4.9/473-fix-marvell-phy-initialization-issues.patch
copy to target/linux/mvebu/patches-4.14/473-fix-marvell-phy-initialization-issues.patch
Hannu Nyman Jan. 21, 2018, 6:14 p.m. UTC | #2
Hauke Mehrtens kirjoitti 21.1.2018 klo 19:53:
> 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 wonder if 4.14 adds support for the Winbond flash chips that apparently at 
least the newest WRT3200ACM routers use?

Some users with new WRT3200ACM routers have had trouble installing 
Openwrt/LEDE (or older Linksys OEM firmware) to them.

Discussion e.g. at

https://forum.lede-project.org/t/wrt3200acm-wont-accept-firmware/10814

https://forum.lede-project.org/t/wrt3200acm-unable-to-flash-lede-successfully/10096
Lucian Cristian Feb. 8, 2018, 11:27 p.m. UTC | #3
On 21.01.2018 19:53, Hauke Mehrtens wrote:
> 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 do not have any of the currently supported boards so I can not runtime
> test this myself, Lucian Cristian already tested an older version of
> these patches on one of his boards.
>
> 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
> This tree also contains the code needed for the ESPRESSObin, but we
> still have some problems with the image creation, the bootloader boots
> by default the kernel + dtb from a ext4 file system on a SD card and
> also uses this partition as root file system.
> Tomasz Maciej Nowak is working on the image generation for the
> ESPRESSObin board.
>
> 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.
>
> changes in:
> 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
>
>
> Hauke Mehrtens (5):
>    kernel: ubifs: create use file system format 4 by default
>    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
>
>   target/linux/generic/config-4.14                   |   1 +
>   ...ption-to-create-UBI-FS-version-4-on-empty.patch |  63 ++
>   .../base-files/etc/uci-defaults/05-migrate-wifi    |  23 +
>   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 | 130 +++
>   .../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 +++
>   36 files changed, 3912 insertions(+)
>   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/uci-defaults/05-migrate-wifi
>   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
>
latest update 4.14.18 fails with

Applying 
../target/linux/mvebu/patches-4.14/410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch 
using plaintext:
patching file drivers/net/phy/marvell10g.c
Hunk #1 FAILED at 15.

until now no problems on 4.14

Regards !
Hauke Mehrtens Feb. 9, 2018, 9:48 p.m. UTC | #4
On 02/09/2018 12:27 AM, Lucian Cristian wrote:
> On 21.01.2018 19:53, Hauke Mehrtens wrote:
>> 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 do not have any of the currently supported boards so I can not runtime
>> test this myself, Lucian Cristian already tested an older version of
>> these patches on one of his boards.
>>
>> 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
>>
>> This tree also contains the code needed for the ESPRESSObin, but we
>> still have some problems with the image creation, the bootloader boots
>> by default the kernel + dtb from a ext4 file system on a SD card and
>> also uses this partition as root file system.
>> Tomasz Maciej Nowak is working on the image generation for the
>> ESPRESSObin board.
>>
>> 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.
>>
>> changes in:
>> 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
>>
>>
>> Hauke Mehrtens (5):
>>    kernel: ubifs: create use file system format 4 by default
>>    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
>>
>>   target/linux/generic/config-4.14                   |   1 +
>>   ...ption-to-create-UBI-FS-version-4-on-empty.patch |  63 ++
>>   .../base-files/etc/uci-defaults/05-migrate-wifi    |  23 +
>>   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 | 130 +++
>>   .../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 +++
>>   36 files changed, 3912 insertions(+)
>>   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/uci-defaults/05-migrate-wifi
>>   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
>>
>>
> latest update 4.14.18 fails with
> 
> Applying
> ../target/linux/mvebu/patches-4.14/410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch
> using plaintext:
> patching file drivers/net/phy/marvell10g.c
> Hunk #1 FAILED at 15.

This is fixed now in my branch now, see:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14

Hauke
Hauke Mehrtens Feb. 9, 2018, 9:52 p.m. UTC | #5
On 01/21/2018 06:53 PM, Hauke Mehrtens wrote:
> 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 do not have any of the currently supported boards so I can not runtime 
> test this myself, Lucian Cristian already tested an older version of
> these patches on one of his boards.
> 
> 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
> This tree also contains the code needed for the ESPRESSObin, but we 
> still have some problems with the image creation, the bootloader boots 
> by default the kernel + dtb from a ext4 file system on a SD card and 
> also uses this partition as root file system.
> Tomasz Maciej Nowak is working on the image generation for the 
> ESPRESSObin board.
> 
> 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.
> 
> changes in:
> 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
> 
> 
> Hauke Mehrtens (5):
>   kernel: ubifs: create use file system format 4 by default
>   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
> 

I haven't heard of any problems, expected that one patch does not apply
any more with kernel 4.14.18, which is fixed now.

I will merge this on Sunday if I do not get any negative feedback.

You can find my tree here:
https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14

Hauke
Rosen Penev Feb. 9, 2018, 10:57 p.m. UTC | #6
On Fri, Feb 9, 2018 at 1:52 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
> On 01/21/2018 06:53 PM, Hauke Mehrtens wrote:
>> 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 do not have any of the currently supported boards so I can not runtime
>> test this myself, Lucian Cristian already tested an older version of
>> these patches on one of his boards.
>>
>> 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
>> This tree also contains the code needed for the ESPRESSObin, but we
>> still have some problems with the image creation, the bootloader boots
>> by default the kernel + dtb from a ext4 file system on a SD card and
>> also uses this partition as root file system.
>> Tomasz Maciej Nowak is working on the image generation for the
>> ESPRESSObin board.
>>
>> 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.
>>
>> changes in:
>> 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
>>
>>
>> Hauke Mehrtens (5):
>>   kernel: ubifs: create use file system format 4 by default
>>   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
>>
>
> I haven't heard of any problems, expected that one patch does not apply
> any more with kernel 4.14.18, which is fixed now.
>
> I will merge this on Sunday if I do not get any negative feedback.
>
> You can find my tree here:
> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14
i just pulled your staging tree and decided to compile firmware for my
Turris Omnia.

CONFIG_TRACE_EVAL_MAP_FILE makes the kernel fail. It needs to be
defined somewhere.

>
> Hauke
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
Rosen Penev Feb. 9, 2018, 10:58 p.m. UTC | #7
On Fri, Feb 9, 2018 at 2:57 PM, Rosen Penev <rosenp@gmail.com> wrote:
> On Fri, Feb 9, 2018 at 1:52 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>> On 01/21/2018 06:53 PM, Hauke Mehrtens wrote:
>>> 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 do not have any of the currently supported boards so I can not runtime
>>> test this myself, Lucian Cristian already tested an older version of
>>> these patches on one of his boards.
>>>
>>> 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
>>> This tree also contains the code needed for the ESPRESSObin, but we
>>> still have some problems with the image creation, the bootloader boots
>>> by default the kernel + dtb from a ext4 file system on a SD card and
>>> also uses this partition as root file system.
>>> Tomasz Maciej Nowak is working on the image generation for the
>>> ESPRESSObin board.
>>>
>>> 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.
>>>
>>> changes in:
>>> 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
>>>
>>>
>>> Hauke Mehrtens (5):
>>>   kernel: ubifs: create use file system format 4 by default
>>>   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
>>>
>>
>> I haven't heard of any problems, expected that one patch does not apply
>> any more with kernel 4.14.18, which is fixed now.
>>
>> I will merge this on Sunday if I do not get any negative feedback.
>>
>> You can find my tree here:
>> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14
> i just pulled your staging tree and decided to compile firmware for my
> Turris Omnia.
>
> CONFIG_TRACE_EVAL_MAP_FILE makes the kernel fail. It needs to be
> defined somewhere.
Sorry it makes the compile fail. I have not tested it running yet.
>
>>
>> Hauke
>>
>> _______________________________________________
>> Lede-dev mailing list
>> Lede-dev@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/lede-dev
Hauke Mehrtens Feb. 9, 2018, 11 p.m. UTC | #8
On 02/09/2018 11:57 PM, Rosen Penev wrote:
> On Fri, Feb 9, 2018 at 1:52 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>> On 01/21/2018 06:53 PM, Hauke Mehrtens wrote:
>>> 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 do not have any of the currently supported boards so I can not runtime
>>> test this myself, Lucian Cristian already tested an older version of
>>> these patches on one of his boards.
>>>
>>> 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
>>> This tree also contains the code needed for the ESPRESSObin, but we
>>> still have some problems with the image creation, the bootloader boots
>>> by default the kernel + dtb from a ext4 file system on a SD card and
>>> also uses this partition as root file system.
>>> Tomasz Maciej Nowak is working on the image generation for the
>>> ESPRESSObin board.
>>>
>>> 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.
>>>
>>> changes in:
>>> 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
>>>
>>>
>>> Hauke Mehrtens (5):
>>>   kernel: ubifs: create use file system format 4 by default
>>>   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
>>>
>>
>> I haven't heard of any problems, expected that one patch does not apply
>> any more with kernel 4.14.18, which is fixed now.
>>
>> I will merge this on Sunday if I do not get any negative feedback.
>>
>> You can find my tree here:
>> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14
> i just pulled your staging tree and decided to compile firmware for my
> Turris Omnia.
> 
> CONFIG_TRACE_EVAL_MAP_FILE makes the kernel fail. It needs to be
> defined somewhere.

Can you please send me the output of ./scripts/diffconfig.sh please.

Hauke
Lucian Cristian Feb. 10, 2018, 2:50 a.m. UTC | #9
On 09.02.2018 23:48, Hauke Mehrtens wrote:
> On 02/09/2018 12:27 AM, Lucian Cristian wrote:
>> On 21.01.2018 19:53, Hauke Mehrtens wrote:
>>> 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 do not have any of the currently supported boards so I can not runtime
>>> test this myself, Lucian Cristian already tested an older version of
>>> these patches on one of his boards.
>>>
>>> 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
>>>
>>> This tree also contains the code needed for the ESPRESSObin, but we
>>> still have some problems with the image creation, the bootloader boots
>>> by default the kernel + dtb from a ext4 file system on a SD card and
>>> also uses this partition as root file system.
>>> Tomasz Maciej Nowak is working on the image generation for the
>>> ESPRESSObin board.
>>>
>>> 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.
>>>
>>> changes in:
>>> 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
>>>
>>>
>>> Hauke Mehrtens (5):
>>>     kernel: ubifs: create use file system format 4 by default
>>>     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
>>>
>>>    target/linux/generic/config-4.14                   |   1 +
>>>    ...ption-to-create-UBI-FS-version-4-on-empty.patch |  63 ++
>>>    .../base-files/etc/uci-defaults/05-migrate-wifi    |  23 +
>>>    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 | 130 +++
>>>    .../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 +++
>>>    36 files changed, 3912 insertions(+)
>>>    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/uci-defaults/05-migrate-wifi
>>>    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
>>>
>>>
>> latest update 4.14.18 fails with
>>
>> Applying
>> ../target/linux/mvebu/patches-4.14/410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch
>> using plaintext:
>> patching file drivers/net/phy/marvell10g.c
>> Hunk #1 FAILED at 15.
> This is fixed now in my branch now, see:
> https://git.openwrt.org/?p=openwrt/staging/hauke.git;a=shortlog;h=refs/heads/mvebu-4.14
>
> Hauke
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev

I fixed it by myself, but I wanted you to know, for sure is good to be 
merged!

  uname -a
Linux wrt 4.14.18 #0 SMP Thu Feb 8 18:04:38 2018 armv7l GNU/Linux
root@wrt:~# uptime
  04:48:12 up 1 day,  2:58,  load average: 0.00, 0.00, 0.00

Regards!