[LEDE-DEV] [PATCH v2 0/5] mvebu: add kernel 4.14 support
Hauke Mehrtens
hauke at hauke-m.de
Fri Feb 9 13:48:54 PST 2018
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
More information about the Lede-dev
mailing list