This adds basic linux 4.1 support to the lantiq target. It is booting without any oops'es and ethernet is working fine.
The PTM/ATM driver and the lantiq ifxos driver had to be patched to be compatible with linux 4.1. Those patches were compile-tested only (on 3.18 and 4.1). A bootlog can be found here: https://paste.kde.org/pffvzpzdv Martin Blumenstingl (3): Add support for linux 4.1 lantiq: Make ltq-ifxos compile with kernel 4.1 lantiq: Make ATM and PTM drivers compatible with kernel 4.1 package/kernel/lantiq/ltq-atm/src/ltq_atm.c | 4 + .../lantiq/ltq-ifxos/patches/100-compat.patch | 119 +- .../kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c | 4 + .../kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c | 4 + target/linux/lantiq/config-4.1 | 163 + .../0001-MIPS-lantiq-add-pcie-driver.patch | 5540 ++++++++++++++++++++ .../0002-MIPS-lantiq-dtb-image-hack.patch | 31 + .../0004-MIPS-lantiq-add-atm-hack.patch | 500 ++ .../0007-MIPS-lantiq-add-basic-tffs-driver.patch | 111 + .../0008-MIPS-lantiq-backport-old-timer-code.patch | 1028 ++++ .../0012-pinctrl-lantiq-fix-up-pinmux.patch | 79 + ...0013-MTD-lantiq-xway-fix-invalid-operator.patch | 24 + ...xway-the-latched-command-should-be-persis.patch | 44 + .../0015-MTD-lantiq-xway-remove-endless-loop.patch | 41 + ...xway-add-missing-write_buf-and-read_buf-t.patch | 55 + .../0017-MTD-xway-fix-nand-locking.patch | 89 + .../0018-MTD-nand-lots-of-xrx200-fixes.patch | 125 + ...MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch | 25 + ...MTD-m25p80-allow-loading-mtd-name-from-OF.patch | 44 + ...023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch | 271 + ...024-NET-lantiq-adds-PHY11G-firmware-blobs.patch | 364 ++ .../0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 3339 ++++++++++++ .../patches-4.1/0026-NET-multi-phy-support.patch | 53 + .../0028-NET-lantiq-various-etop-fixes.patch | 907 ++++ .../0030-GPIO-add-named-gpio-exports.patch | 166 + ...2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch | 1034 ++++ .../0032-USB-fix-roothub-for-IFXHCD.patch | 31 + .../0033-SPI-MIPS-lantiq-adds-spi-xway.patch | 1020 ++++ ...ompile-when-reset-RESET_CONTROLLER-is-not.patch | 45 + ...-lantiq-wifi-and-ethernet-eeprom-handling.patch | 614 +++ .../0036-owrt-generic-dtb-image-hack.patch | 32 + .../patches-4.1/0038-MIPS-lantiq-fpi-on-ar9.patch | 21 + .../0039-MIPS-lantiq-initialize-usb-on-boot.patch | 96 + .../0040-USB-DWC2-enable-usb-power-gpio.patch | 35 + .../patches-4.1/0041-USB-DWC2-add-ltq-params.patch | 45 + .../0042-USB-DWC2-big-endian-support.patch | 3156 +++++++++++ .../0043-gpio-stp-xway-fix-phy-mask.patch | 23 + .../0100-lantiq-xrx200-enable-remove-crc.patch | 25 + .../linux/lantiq/patches-4.1/0101-mtd-split.patch | 192 + .../patches-4.1/0150-lantiq-pinctrl-xway.patch | 15 + .../0151-lantiq-ifxmips_pcie-use-of.patch | 51 + .../0160-owrt-lantiq-multiple-flash.patch | 217 + ...D-cfi-cmdset-0001-disable-buffered-writes.patch | 11 + 43 files changed, 19771 insertions(+), 22 deletions(-) create mode 100644 target/linux/lantiq/config-4.1 create mode 100644 target/linux/lantiq/patches-4.1/0001-MIPS-lantiq-add-pcie-driver.patch create mode 100644 target/linux/lantiq/patches-4.1/0002-MIPS-lantiq-dtb-image-hack.patch create mode 100644 target/linux/lantiq/patches-4.1/0004-MIPS-lantiq-add-atm-hack.patch create mode 100644 target/linux/lantiq/patches-4.1/0007-MIPS-lantiq-add-basic-tffs-driver.patch create mode 100644 target/linux/lantiq/patches-4.1/0008-MIPS-lantiq-backport-old-timer-code.patch create mode 100644 target/linux/lantiq/patches-4.1/0012-pinctrl-lantiq-fix-up-pinmux.patch create mode 100644 target/linux/lantiq/patches-4.1/0013-MTD-lantiq-xway-fix-invalid-operator.patch create mode 100644 target/linux/lantiq/patches-4.1/0014-MTD-lantiq-xway-the-latched-command-should-be-persis.patch create mode 100644 target/linux/lantiq/patches-4.1/0015-MTD-lantiq-xway-remove-endless-loop.patch create mode 100644 target/linux/lantiq/patches-4.1/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch create mode 100644 target/linux/lantiq/patches-4.1/0017-MTD-xway-fix-nand-locking.patch create mode 100644 target/linux/lantiq/patches-4.1/0018-MTD-nand-lots-of-xrx200-fixes.patch create mode 100644 target/linux/lantiq/patches-4.1/0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch create mode 100644 target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch create mode 100644 target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch create mode 100644 target/linux/lantiq/patches-4.1/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch create mode 100644 target/linux/lantiq/patches-4.1/0025-NET-MIPS-lantiq-adds-xrx200-net.patch create mode 100644 target/linux/lantiq/patches-4.1/0026-NET-multi-phy-support.patch create mode 100644 target/linux/lantiq/patches-4.1/0028-NET-lantiq-various-etop-fixes.patch create mode 100644 target/linux/lantiq/patches-4.1/0030-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch create mode 100644 target/linux/lantiq/patches-4.1/0032-USB-fix-roothub-for-IFXHCD.patch create mode 100644 target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch create mode 100644 target/linux/lantiq/patches-4.1/0034-reset-Fix-compile-when-reset-RESET_CONTROLLER-is-not.patch create mode 100644 target/linux/lantiq/patches-4.1/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch create mode 100644 target/linux/lantiq/patches-4.1/0036-owrt-generic-dtb-image-hack.patch create mode 100644 target/linux/lantiq/patches-4.1/0038-MIPS-lantiq-fpi-on-ar9.patch create mode 100644 target/linux/lantiq/patches-4.1/0039-MIPS-lantiq-initialize-usb-on-boot.patch create mode 100644 target/linux/lantiq/patches-4.1/0040-USB-DWC2-enable-usb-power-gpio.patch create mode 100644 target/linux/lantiq/patches-4.1/0041-USB-DWC2-add-ltq-params.patch create mode 100644 target/linux/lantiq/patches-4.1/0042-USB-DWC2-big-endian-support.patch create mode 100644 target/linux/lantiq/patches-4.1/0043-gpio-stp-xway-fix-phy-mask.patch create mode 100644 target/linux/lantiq/patches-4.1/0100-lantiq-xrx200-enable-remove-crc.patch create mode 100644 target/linux/lantiq/patches-4.1/0101-mtd-split.patch create mode 100644 target/linux/lantiq/patches-4.1/0150-lantiq-pinctrl-xway.patch create mode 100644 target/linux/lantiq/patches-4.1/0151-lantiq-ifxmips_pcie-use-of.patch create mode 100644 target/linux/lantiq/patches-4.1/0160-owrt-lantiq-multiple-flash.patch create mode 100644 target/linux/lantiq/patches-4.1/0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch -- 2.4.4 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
