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 this on one of his boards and he still has the following problems: 1. The ubifs is created with format version 5 which can not be read by kernel 4.9. This causes problems when doing a sysupgrade from kernel 4.14 to kernel 4.9, I already send a mail to the mailing list about this problem. 2. The PCIe controller device tree names changed from /soc/pcie- controller/ to /soc/pcie/ which makes OpenWrt add an new entry for the wifi cards on these PCIe controllers. The new name is consistent with what is used in the mainline kernel and I would like to stay with the new names and migration could be done but I do not know how. 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. 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. Hauke Mehrtens (3): 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 target/linux/mvebu/config-4.14 | 489 ++++++++++ .../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 +++ 33 files changed, 3828 insertions(+) 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 _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev