Discussion:
Latest OpenWRT on Gemini v4.14
(too old to reply)
Linus Walleij
2018-02-26 20:28:04 UTC
Permalink
Hi,

I have a forward-port hack-ish thing for Gemini,
this 500K patch on top of openwrt HEAD:

https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch

It's ... big ... and just kills off the old v4.4 kernel support.

And I can't test it on the Raidsonic aka IcyBox
aka NAS4220B which is an important target.

But it's something!

It generates the image for it, maybe you can try it out
and see if it works for you.

I think it should be straight forward to apply.

It uses the "new style" of build rules, at least a bit, until
I got to the custom sysupgrade format etc.

The D-Link images are not really complete but the rootfs
works.

NB: IF YOU'RE GONNA USE THIS, USE GCC 7.3.0 TO
BUILD. The 5.5 toolchain doesn't work.

Is there a way to require the 7.3.x toolchain?

Here is the start of the patch:

From ac5b5377c71a474e7bd7a323980cb70cbed33e26 Mon Sep 17 00:00:00 2001
From: Linus Walleij <***@linaro.org>
Date: Wed, 21 Feb 2018 20:52:35 +0100
Subject: [PATCH] gemini: Forward-port to v4.14

This forward-ports the Gemini OpenWRT by taking all the device
tree patches from v4.16-rc2 and backporting on top of v4.14.

The TVE200 graphics are excluded but these were never used by
OpenWRT before. We will fix that when we get there.

On top of this are some WIP patches for USB support.

The Raidsonic image generation was hacked up without any chance
of testing on an actual device.

Signed-off-by: Linus Walleij <***@linaro.org>
---
target/linux/gemini/Makefile | 15 +-
target/linux/gemini/config-4.14 | 3391 ++++++++++++++++++
target/linux/gemini/config-4.4 | 165 -
.../files/arch/arm/mach-gemini/include/mach/gmac.h | 21 -
.../linux/gemini/files/arch/arm/mach-gemini/pci.c | 318 --
.../linux/gemini/files/drivers/ata/pata_gemini.c | 234 --
.../files/drivers/net/ethernet/gemini/Kconfig | 31 -
.../files/drivers/net/ethernet/gemini/Makefile | 5 -
.../files/drivers/net/ethernet/gemini/sl351x.c | 2340 -------------
.../files/drivers/net/ethernet/gemini/sl351x_hw.h | 1436 --------
.../gemini/files/drivers/usb/host/ehci-fotg2.c | 258 --
.../gemini/files/drivers/watchdog/gemini_wdt.c | 378 --
target/linux/gemini/image/Makefile | 138 +-
target/linux/gemini/image/slask.mk | 56 +
.../0001-cache-patch-from-OpenWRT.patch} | 14 +
...0002-pinctrl-gemini-Add-missing-functions.patch | 38 +
...ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch | 56 +
...rl-Add-skew-delay-pin-config-and-bindings.patch | 82 +
...0005-pinctrl-gemini-Use-generic-DT-parser.patch | 119 +
...-gemini-Implement-clock-skew-delay-config.patch | 287 ++
.../0007-pinctrl-gemini-Fix-GMAC-groups.patch | 191 +
...nctrl-gemini-Fix-missing-pad-descriptions.patch | 32 +
...inctrl-gemini-Add-two-missing-GPIO-groups.patch | 30 +
...0-pinctrl-gemini-Fix-usage-of-3512-groups.patch | 30 +
...trl-gemini-Support-drive-strength-setting.patch | 205 ++
...d-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch | 124 +
...s-Add-basic-devicetree-for-D-Link-DNS-313.patch | 280 ++
...RM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch | 32 +
...0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch | 81 +
...-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch | 118 +
...tchdog-gemini-ftwdt010-rename-DT-bindings.patch | 80 +
...gemini-ftwdt010-rename-driver-and-symbols.patch | 328 ++
...watchdog-ftwdt010-Make-interrupt-optional.patch | 98 +
.../0020-soc-Add-SoC-driver-for-Gemini.patch | 124 +
...t-Add-DT-bindings-for-the-Gemini-ethernet.patch | 125 +
...t-Add-a-driver-for-Gemini-gigabit-etherne.patch | 3682 ++++++++++++++++++++
...23-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch | 79 +
.../0024-net-gemini-Depend-on-HAS_IOMEM.patch | 35 +
...-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch | 41 +
...r-gemini-poweroff-Avoid-spurious-poweroff.patch | 85 +
...sb-host-add-DT-bindings-for-faraday-fotg2.patch | 71 +
...28-usb-host-fotg2-add-device-tree-probing.patch | 66 +
...usb-host-fotg2-add-silicon-clock-handling.patch | 106 +
...b-host-fotg2-add-Gemini-specific-handling.patch | 138 +
...RM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch | 193 +
.../linux/gemini/patches-4.4/050-gpio-to-irq.patch | 21 -
.../110-watchdog-add-gemini_wdt-driver.patch | 29 -
.../111-arm-gemini-add-watchdog-device.patch | 33 -
.../112-arm-gemini-register-watchdog-devices.patch | 40 -
.../120-net-add-gemini-gmac-driver.patch | 20 -
.../121-arm-gemini-add-gmac-device.patch | 85 -
.../122-arm-gemini-register-ethernet.patch | 227 --
.../130-usb-ehci-add-fot2g-driver.patch | 133 -
.../131-arm-gemini-add-usb-device.patch | 77 -
.../patches-4.4/132-arm-gemini-register-usb.patch | 65 -
.../140-arm-gemini-add-pci-support.patch | 66 -
.../linux/gemini/patches-4.4/150-gemini-pata.patch | 192 -
target/linux/gemini/raidsonic/config-default | 5 -
target/linux/gemini/raidsonic/target.mk | 17 -
target/linux/gemini/wiligear/target.mk | 10 -
60 files changed, 10503 insertions(+), 6273 deletions(-)
create mode 100644 target/linux/gemini/config-4.14
delete mode 100644 target/linux/gemini/config-4.4
delete mode 100644
target/linux/gemini/files/arch/arm/mach-gemini/include/mach/gmac.h
delete mode 100644 target/linux/gemini/files/arch/arm/mach-gemini/pci.c
delete mode 100644 target/linux/gemini/files/drivers/ata/pata_gemini.c
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/Kconfig
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/Makefile
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x.c
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x_hw.h
delete mode 100644 target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
delete mode 100644 target/linux/gemini/files/drivers/watchdog/gemini_wdt.c
create mode 100644 target/linux/gemini/image/slask.mk
rename target/linux/gemini/{patches-4.4/060-cache-fa.patch =>
patches-4.14/0001-cache-patch-from-OpenWRT.patch} (73%)
create mode 100644
target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch
create mode 100644
target/linux/gemini/patches-4.14/0003-ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch
create mode 100644
target/linux/gemini/patches-4.14/0004-pinctrl-Add-skew-delay-pin-config-and-bindings.patch
create mode 100644
target/linux/gemini/patches-4.14/0005-pinctrl-gemini-Use-generic-DT-parser.patch
create mode 100644
target/linux/gemini/patches-4.14/0006-pinctrl-gemini-Implement-clock-skew-delay-config.patch
create mode 100644
target/linux/gemini/patches-4.14/0007-pinctrl-gemini-Fix-GMAC-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch
create mode 100644
target/linux/gemini/patches-4.14/0009-pinctrl-gemini-Add-two-missing-GPIO-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0011-pinctrl-gemini-Support-drive-strength-setting.patch
create mode 100644
target/linux/gemini/patches-4.14/0012-ARM-dts-Add-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch
create mode 100644
target/linux/gemini/patches-4.14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch
create mode 100644
target/linux/gemini/patches-4.14/0014-ARM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch
create mode 100644
target/linux/gemini/patches-4.14/0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch
create mode 100644
target/linux/gemini/patches-4.14/0016-ARM-dts-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch
create mode 100644
target/linux/gemini/patches-4.14/0017-watchdog-gemini-ftwdt010-rename-DT-bindings.patch
create mode 100644
target/linux/gemini/patches-4.14/0018-watchdog-gemini-ftwdt010-rename-driver-and-symbols.patch
create mode 100644
target/linux/gemini/patches-4.14/0019-watchdog-ftwdt010-Make-interrupt-optional.patch
create mode 100644
target/linux/gemini/patches-4.14/0020-soc-Add-SoC-driver-for-Gemini.patch
create mode 100644
target/linux/gemini/patches-4.14/0021-net-ethernet-Add-DT-bindings-for-the-Gemini-ethernet.patch
create mode 100644
target/linux/gemini/patches-4.14/0022-net-ethernet-Add-a-driver-for-Gemini-gigabit-etherne.patch
create mode 100644
target/linux/gemini/patches-4.14/0023-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch
create mode 100644
target/linux/gemini/patches-4.14/0024-net-gemini-Depend-on-HAS_IOMEM.patch
create mode 100644
target/linux/gemini/patches-4.14/0025-ARM-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch
create mode 100644
target/linux/gemini/patches-4.14/0026-power-gemini-poweroff-Avoid-spurious-poweroff.patch
create mode 100644
target/linux/gemini/patches-4.14/0027-usb-host-add-DT-bindings-for-faraday-fotg2.patch
create mode 100644
target/linux/gemini/patches-4.14/0028-usb-host-fotg2-add-device-tree-probing.patch
create mode 100644
target/linux/gemini/patches-4.14/0029-usb-host-fotg2-add-silicon-clock-handling.patch
create mode 100644
target/linux/gemini/patches-4.14/0030-usb-host-fotg2-add-Gemini-specific-handling.patch
create mode 100644
target/linux/gemini/patches-4.14/0031-ARM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch
delete mode 100644 target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
delete mode 100644
target/linux/gemini/patches-4.4/110-watchdog-add-gemini_wdt-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/112-arm-gemini-register-watchdog-devices.patch
delete mode 100644
target/linux/gemini/patches-4.4/120-net-add-gemini-gmac-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/121-arm-gemini-add-gmac-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/122-arm-gemini-register-ethernet.patch
delete mode 100644
target/linux/gemini/patches-4.4/130-usb-ehci-add-fot2g-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/131-arm-gemini-add-usb-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/132-arm-gemini-register-usb.patch
delete mode 100644
target/linux/gemini/patches-4.4/140-arm-gemini-add-pci-support.patch
delete mode 100644 target/linux/gemini/patches-4.4/150-gemini-pata.patch
delete mode 100644 target/linux/gemini/raidsonic/config-default
delete mode 100644 target/linux/gemini/raidsonic/target.mk
delete mode 100644 target/linux/gemini/wiligear/target.mk
(...)

Yours,
Linus Walleij
Hauke Mehrtens
2018-02-27 15:46:16 UTC
Permalink
Hi Linus,
[adding lede-dev]

Nice work, for this patch and especially for upstreaming the code into
mainline Linux.
Post by Linus Walleij
Hi,
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
It's ... big ... and just kills off the old v4.4 kernel support.
Are most of the patches for kernel 4.14 already in mainline or on its
wait into the mainline kernel?

Someone said he wanted to look into the gemini target as it was still on
kernel 4.4 and therefore on the list of targets which are getting removed.

Can you please run "make kernel_oldconfig" to remove the unneeded
configuration options for the config-4.14 file.

And the also "make target/linux/{clean,refresh} V=99" to make the
patches cleanly apply.
Post by Linus Walleij
And I can't test it on the Raidsonic aka IcyBox
aka NAS4220B which is an important target.
Could someone with devices supported by this target please test this and
report back if it is working or if there are any regressions.
Post by Linus Walleij
But it's something!
It generates the image for it, maybe you can try it out
and see if it works for you.
I think it should be straight forward to apply.
It uses the "new style" of build rules, at least a bit, until
I got to the custom sysupgrade format etc.
The D-Link images are not really complete but the rootfs
works.
NB: IF YOU'RE GONNA USE THIS, USE GCC 7.3.0 TO
BUILD. The 5.5 toolchain doesn't work.
Is there a way to require the 7.3.x toolchain?
We want to use the same toolchain for all targets and a GCC bug on mips
was just fixed 2 days ago in upstream GCC.
I do not know if we will use gcc 7.X for the next release as this should
happen soon.

What is the problem with gcc 5? I know that recent U-Boot versions do
not support it any more, mostly because the binary gets too big.
Post by Linus Walleij
From ac5b5377c71a474e7bd7a323980cb70cbed33e26 Mon Sep 17 00:00:00 2001
Date: Wed, 21 Feb 2018 20:52:35 +0100
Subject: [PATCH] gemini: Forward-port to v4.14
This forward-ports the Gemini OpenWRT by taking all the device
tree patches from v4.16-rc2 and backporting on top of v4.14.
The TVE200 graphics are excluded but these were never used by
OpenWRT before. We will fix that when we get there.
On top of this are some WIP patches for USB support.
The Raidsonic image generation was hacked up without any chance
of testing on an actual device.
---
target/linux/gemini/Makefile | 15 +-
target/linux/gemini/config-4.14 | 3391 ++++++++++++++++++
target/linux/gemini/config-4.4 | 165 -
.../files/arch/arm/mach-gemini/include/mach/gmac.h | 21 -
.../linux/gemini/files/arch/arm/mach-gemini/pci.c | 318 --
.../linux/gemini/files/drivers/ata/pata_gemini.c | 234 --
.../files/drivers/net/ethernet/gemini/Kconfig | 31 -
.../files/drivers/net/ethernet/gemini/Makefile | 5 -
.../files/drivers/net/ethernet/gemini/sl351x.c | 2340 -------------
.../files/drivers/net/ethernet/gemini/sl351x_hw.h | 1436 --------
.../gemini/files/drivers/usb/host/ehci-fotg2.c | 258 --
.../gemini/files/drivers/watchdog/gemini_wdt.c | 378 --
target/linux/gemini/image/Makefile | 138 +-
target/linux/gemini/image/slask.mk | 56 +
.../0001-cache-patch-from-OpenWRT.patch} | 14 +
...0002-pinctrl-gemini-Add-missing-functions.patch | 38 +
...ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch | 56 +
...rl-Add-skew-delay-pin-config-and-bindings.patch | 82 +
...0005-pinctrl-gemini-Use-generic-DT-parser.patch | 119 +
...-gemini-Implement-clock-skew-delay-config.patch | 287 ++
.../0007-pinctrl-gemini-Fix-GMAC-groups.patch | 191 +
...nctrl-gemini-Fix-missing-pad-descriptions.patch | 32 +
...inctrl-gemini-Add-two-missing-GPIO-groups.patch | 30 +
...0-pinctrl-gemini-Fix-usage-of-3512-groups.patch | 30 +
...trl-gemini-Support-drive-strength-setting.patch | 205 ++
...d-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch | 124 +
...s-Add-basic-devicetree-for-D-Link-DNS-313.patch | 280 ++
...RM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch | 32 +
...0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch | 81 +
...-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch | 118 +
...tchdog-gemini-ftwdt010-rename-DT-bindings.patch | 80 +
...gemini-ftwdt010-rename-driver-and-symbols.patch | 328 ++
...watchdog-ftwdt010-Make-interrupt-optional.patch | 98 +
.../0020-soc-Add-SoC-driver-for-Gemini.patch | 124 +
...t-Add-DT-bindings-for-the-Gemini-ethernet.patch | 125 +
...t-Add-a-driver-for-Gemini-gigabit-etherne.patch | 3682 ++++++++++++++++++++
...23-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch | 79 +
.../0024-net-gemini-Depend-on-HAS_IOMEM.patch | 35 +
...-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch | 41 +
...r-gemini-poweroff-Avoid-spurious-poweroff.patch | 85 +
...sb-host-add-DT-bindings-for-faraday-fotg2.patch | 71 +
...28-usb-host-fotg2-add-device-tree-probing.patch | 66 +
...usb-host-fotg2-add-silicon-clock-handling.patch | 106 +
...b-host-fotg2-add-Gemini-specific-handling.patch | 138 +
...RM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch | 193 +
.../linux/gemini/patches-4.4/050-gpio-to-irq.patch | 21 -
.../110-watchdog-add-gemini_wdt-driver.patch | 29 -
.../111-arm-gemini-add-watchdog-device.patch | 33 -
.../112-arm-gemini-register-watchdog-devices.patch | 40 -
.../120-net-add-gemini-gmac-driver.patch | 20 -
.../121-arm-gemini-add-gmac-device.patch | 85 -
.../122-arm-gemini-register-ethernet.patch | 227 --
.../130-usb-ehci-add-fot2g-driver.patch | 133 -
.../131-arm-gemini-add-usb-device.patch | 77 -
.../patches-4.4/132-arm-gemini-register-usb.patch | 65 -
.../140-arm-gemini-add-pci-support.patch | 66 -
.../linux/gemini/patches-4.4/150-gemini-pata.patch | 192 -
target/linux/gemini/raidsonic/config-default | 5 -
target/linux/gemini/raidsonic/target.mk | 17 -
target/linux/gemini/wiligear/target.mk | 10 -
60 files changed, 10503 insertions(+), 6273 deletions(-)
create mode 100644 target/linux/gemini/config-4.14
delete mode 100644 target/linux/gemini/config-4.4
delete mode 100644
target/linux/gemini/files/arch/arm/mach-gemini/include/mach/gmac.h
delete mode 100644 target/linux/gemini/files/arch/arm/mach-gemini/pci.c
delete mode 100644 target/linux/gemini/files/drivers/ata/pata_gemini.c
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/Kconfig
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/Makefile
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x.c
delete mode 100644
target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x_hw.h
delete mode 100644 target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
delete mode 100644 target/linux/gemini/files/drivers/watchdog/gemini_wdt.c
create mode 100644 target/linux/gemini/image/slask.mk
rename target/linux/gemini/{patches-4.4/060-cache-fa.patch =>
patches-4.14/0001-cache-patch-from-OpenWRT.patch} (73%)
create mode 100644
target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch
create mode 100644
target/linux/gemini/patches-4.14/0003-ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch
create mode 100644
target/linux/gemini/patches-4.14/0004-pinctrl-Add-skew-delay-pin-config-and-bindings.patch
create mode 100644
target/linux/gemini/patches-4.14/0005-pinctrl-gemini-Use-generic-DT-parser.patch
create mode 100644
target/linux/gemini/patches-4.14/0006-pinctrl-gemini-Implement-clock-skew-delay-config.patch
create mode 100644
target/linux/gemini/patches-4.14/0007-pinctrl-gemini-Fix-GMAC-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch
create mode 100644
target/linux/gemini/patches-4.14/0009-pinctrl-gemini-Add-two-missing-GPIO-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch
create mode 100644
target/linux/gemini/patches-4.14/0011-pinctrl-gemini-Support-drive-strength-setting.patch
create mode 100644
target/linux/gemini/patches-4.14/0012-ARM-dts-Add-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch
create mode 100644
target/linux/gemini/patches-4.14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch
create mode 100644
target/linux/gemini/patches-4.14/0014-ARM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch
create mode 100644
target/linux/gemini/patches-4.14/0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch
create mode 100644
target/linux/gemini/patches-4.14/0016-ARM-dts-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch
create mode 100644
target/linux/gemini/patches-4.14/0017-watchdog-gemini-ftwdt010-rename-DT-bindings.patch
create mode 100644
target/linux/gemini/patches-4.14/0018-watchdog-gemini-ftwdt010-rename-driver-and-symbols.patch
create mode 100644
target/linux/gemini/patches-4.14/0019-watchdog-ftwdt010-Make-interrupt-optional.patch
create mode 100644
target/linux/gemini/patches-4.14/0020-soc-Add-SoC-driver-for-Gemini.patch
create mode 100644
target/linux/gemini/patches-4.14/0021-net-ethernet-Add-DT-bindings-for-the-Gemini-ethernet.patch
create mode 100644
target/linux/gemini/patches-4.14/0022-net-ethernet-Add-a-driver-for-Gemini-gigabit-etherne.patch
create mode 100644
target/linux/gemini/patches-4.14/0023-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch
create mode 100644
target/linux/gemini/patches-4.14/0024-net-gemini-Depend-on-HAS_IOMEM.patch
create mode 100644
target/linux/gemini/patches-4.14/0025-ARM-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch
create mode 100644
target/linux/gemini/patches-4.14/0026-power-gemini-poweroff-Avoid-spurious-poweroff.patch
create mode 100644
target/linux/gemini/patches-4.14/0027-usb-host-add-DT-bindings-for-faraday-fotg2.patch
create mode 100644
target/linux/gemini/patches-4.14/0028-usb-host-fotg2-add-device-tree-probing.patch
create mode 100644
target/linux/gemini/patches-4.14/0029-usb-host-fotg2-add-silicon-clock-handling.patch
create mode 100644
target/linux/gemini/patches-4.14/0030-usb-host-fotg2-add-Gemini-specific-handling.patch
create mode 100644
target/linux/gemini/patches-4.14/0031-ARM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch
delete mode 100644 target/linux/gemini/patches-4.4/050-gpio-to-irq.patch
delete mode 100644
target/linux/gemini/patches-4.4/110-watchdog-add-gemini_wdt-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/112-arm-gemini-register-watchdog-devices.patch
delete mode 100644
target/linux/gemini/patches-4.4/120-net-add-gemini-gmac-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/121-arm-gemini-add-gmac-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/122-arm-gemini-register-ethernet.patch
delete mode 100644
target/linux/gemini/patches-4.4/130-usb-ehci-add-fot2g-driver.patch
delete mode 100644
target/linux/gemini/patches-4.4/131-arm-gemini-add-usb-device.patch
delete mode 100644
target/linux/gemini/patches-4.4/132-arm-gemini-register-usb.patch
delete mode 100644
target/linux/gemini/patches-4.4/140-arm-gemini-add-pci-support.patch
delete mode 100644 target/linux/gemini/patches-4.4/150-gemini-pata.patch
delete mode 100644 target/linux/gemini/raidsonic/config-default
delete mode 100644 target/linux/gemini/raidsonic/target.mk
delete mode 100644 target/linux/gemini/wiligear/target.mk
(...)
Yours,
Linus Walleij
Hauke
Hans Ulli Kroll
2018-02-27 17:23:23 UTC
Permalink
Hi Hauke
Post by Hauke Mehrtens
Hi Linus,
[adding lede-dev]
Nice work, for this patch and especially for upstreaming the code into
mainline Linux.
Post by Linus Walleij
Hi,
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
It's ... big ... and just kills off the old v4.4 kernel support.
Are most of the patches for kernel 4.14 already in mainline or on its
wait into the mainline kernel?
looking at the diffstat most of the patches are in mainline.
The MAC driver is from upcoming v4.16 kernel.
The only thing is missing is the "fix" for the USB driver.

The controller is a USB2 OTG device and we need (mostly) on gemini only
the hcd part. The udc/gadget driver is also mainline.
The missing part is only the otg device driver to bind this all together,
but this is should be a showstopper for to gemini port on OpenWRT.

And for the otg driver itself, I'm currently orking on this issue ...
Post by Hauke Mehrtens
Someone said he wanted to look into the gemini target as it was still on
kernel 4.4 and therefore on the list of targets which are getting removed.
Can you please run "make kernel_oldconfig" to remove the unneeded
configuration options for the config-4.14 file.
And the also "make target/linux/{clean,refresh} V=99" to make the
patches cleanly apply.
Post by Linus Walleij
And I can't test it on the Raidsonic aka IcyBox
aka NAS4220B which is an important target.
For NAS4220 it's on my to do list ...
Post by Hauke Mehrtens
Could someone with devices supported by this target please test this and
report back if it is working or if there are any regressions.
Post by Linus Walleij
But it's something!
It generates the image for it, maybe you can try it out
and see if it works for you.
I think it should be straight forward to apply.
It uses the "new style" of build rules, at least a bit, until
I got to the custom sysupgrade format etc.
The D-Link images are not really complete but the rootfs
works.
NB: IF YOU'RE GONNA USE THIS, USE GCC 7.3.0 TO
BUILD. The 5.5 toolchain doesn't work.
Is there a way to require the 7.3.x toolchain?
We want to use the same toolchain for all targets and a GCC bug on mips
was just fixed 2 days ago in upstream GCC.
I do not know if we will use gcc 7.X for the next release as this should
happen soon.
Hans Ulli Kroll
Linus Walleij
2018-02-27 21:45:33 UTC
Permalink
Post by Hauke Mehrtens
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
It's ... big ... and just kills off the old v4.4 kernel support.
Are most of the patches for kernel 4.14 already in mainline or on its
wait into the mainline kernel?
They are all taken directly from the v4.15 and v4.16(-rc3) upstream
except for the last few patches that add USB support, which are
hackish and may need some mods from Hans Ulli Kroll.
Post by Hauke Mehrtens
Someone said he wanted to look into the gemini target as it was still on
kernel 4.4 and therefore on the list of targets which are getting removed.
Can you please run "make kernel_oldconfig" to remove the unneeded
configuration options for the config-4.14 file.
I think it is fairly standard ... I first tried using
arch/arm/configs/gemini_defconfig from the upstream kernel
but OpenWRT didn't like/expect that, so I instead took the
unaltered .config from the build tree, but that is essentially
what comes out of the gemini_defconfig from upstream.

(Well I have a pending patch to the defconfig that the
ARM maintainers seem to have forgot, but more or less.)
Post by Hauke Mehrtens
And the also "make target/linux/{clean,refresh} V=99" to make the
patches cleanly apply.
I tested this and it looks clean.

They were all generated by cherry-picking Gemini development
on top of a clean v4.14 from upstream so it is as clean as it
gets.
Post by Hauke Mehrtens
Post by Linus Walleij
And I can't test it on the Raidsonic aka IcyBox
aka NAS4220B which is an important target.
Could someone with devices supported by this target please test this and
report back if it is working or if there are any regressions.
Agreed!
Post by Hauke Mehrtens
Post by Linus Walleij
NB: IF YOU'RE GONNA USE THIS, USE GCC 7.3.0 TO
BUILD. The 5.5 toolchain doesn't work.
Is there a way to require the 7.3.x toolchain?
We want to use the same toolchain for all targets and a GCC bug on mips
was just fixed 2 days ago in upstream GCC.
I do not know if we will use gcc 7.X for the next release as this should
happen soon.
What is the problem with gcc 5? I know that recent U-Boot versions do
not support it any more, mostly because the binary gets too big.
I have no clue what is wrong here, but the binaries get corrupt
for Busybox. procd and a few others build and run fine.
Took me ages to figure out that just rebuilding the whole
thing with the 7.3.0 compiler made the problem go away...

Yours,
Linus Walleij
Felix Fietkau
2018-02-28 08:21:53 UTC
Permalink
Post by Linus Walleij
Post by Hauke Mehrtens
Someone said he wanted to look into the gemini target as it was still on
kernel 4.4 and therefore on the list of targets which are getting removed.
Can you please run "make kernel_oldconfig" to remove the unneeded
configuration options for the config-4.14 file.
I think it is fairly standard ... I first tried using
arch/arm/configs/gemini_defconfig from the upstream kernel
but OpenWRT didn't like/expect that, so I instead took the
unaltered .config from the build tree, but that is essentially
what comes out of the gemini_defconfig from upstream.
In OpenWrt, we don't keep full kernel configurations in our target
config-* files. We have a generic config template, and the target config
file is supposed to contain only changes to the generic config template.
Merging and splitting is automated and scripted.
If you run make kernel_oldconfig, it will copy the config to the kernel
build dir, run make oldconfig in the kernel tree, then split the config
again and keep only the target specific bits.

The next step is then to go through the generated file by hand and throw
out any lines that change things relative to the OpenWrt default that
shouldn't really be changed for the target.

This keeps our target config files maintainable and makes it easy for us
to change defaults for all targets as well.

- Felix
Linus Walleij
2018-03-01 12:49:42 UTC
Permalink
Post by Felix Fietkau
In OpenWrt, we don't keep full kernel configurations in our target
config-* files. We have a generic config template, and the target config
file is supposed to contain only changes to the generic config template.
Merging and splitting is automated and scripted.
If you run make kernel_oldconfig, it will copy the config to the kernel
build dir, run make oldconfig in the kernel tree, then split the config
again and keep only the target specific bits.
The next step is then to go through the generated file by hand and throw
out any lines that change things relative to the OpenWrt default that
shouldn't really be changed for the target.
I see! OK I'm onto it.
Post by Felix Fietkau
This keeps our target config files maintainable and makes it easy for us
to change defaults for all targets as well.
OK no problem, I'll update the (big) patch.

Yours,
Linus Walleij
Hauke Mehrtens
2018-02-28 13:58:39 UTC
Permalink
Post by Linus Walleij
Post by Hauke Mehrtens
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
It's ... big ... and just kills off the old v4.4 kernel support.
Are most of the patches for kernel 4.14 already in mainline or on its
wait into the mainline kernel?
They are all taken directly from the v4.15 and v4.16(-rc3) upstream
except for the last few patches that add USB support, which are
hackish and may need some mods from Hans Ulli Kroll.
Good to hear that, so less patches we have to maintain. ;-)

Backporting patches from mainline kernel or adding patches into upstream
kernel is not mandatory but appreciated as this results in less
maintenance work for us.
Post by Linus Walleij
Post by Hauke Mehrtens
Someone said he wanted to look into the gemini target as it was still on
kernel 4.4 and therefore on the list of targets which are getting removed.
Can you please run "make kernel_oldconfig" to remove the unneeded
configuration options for the config-4.14 file.
I think it is fairly standard ... I first tried using
arch/arm/configs/gemini_defconfig from the upstream kernel
but OpenWRT didn't like/expect that, so I instead took the
unaltered .config from the build tree, but that is essentially
what comes out of the gemini_defconfig from upstream.
(Well I have a pending patch to the defconfig that the
ARM maintainers seem to have forgot, but more or less.)
Felix already commended on this one.
Post by Linus Walleij
Post by Hauke Mehrtens
And the also "make target/linux/{clean,refresh} V=99" to make the
patches cleanly apply.
I tested this and it looks clean.
They were all generated by cherry-picking Gemini development
on top of a clean v4.14 from upstream so it is as clean as it
gets.
"make target/linux/{clean,refresh} V=99" just converts the patches into
the "standard" format used for the patches in OpenWrt, when for example
someone updates the kernel 4.14.X to the next minor version this will be
run over all the patches for all targets. To decrease the number of
unrelated changes just run "make target/linux/{clean,refresh} V=99" now
once, it should still be possible to git am the patches and so on.
Post by Linus Walleij
Post by Hauke Mehrtens
Post by Linus Walleij
And I can't test it on the Raidsonic aka IcyBox
aka NAS4220B which is an important target.
Could someone with devices supported by this target please test this and
report back if it is working or if there are any regressions.
Agreed!
Post by Hauke Mehrtens
Post by Linus Walleij
NB: IF YOU'RE GONNA USE THIS, USE GCC 7.3.0 TO
BUILD. The 5.5 toolchain doesn't work.
Is there a way to require the 7.3.x toolchain?
We want to use the same toolchain for all targets and a GCC bug on mips
was just fixed 2 days ago in upstream GCC.
I do not know if we will use gcc 7.X for the next release as this should
happen soon.
What is the problem with gcc 5? I know that recent U-Boot versions do
not support it any more, mostly because the binary gets too big.
I have no clue what is wrong here, but the binaries get corrupt
for Busybox. procd and a few others build and run fine.
Took me ages to figure out that just rebuilding the whole
thing with the 7.3.0 compiler made the problem go away...
Ok this is a strange problem.

Hauke
Linus Walleij
2018-03-01 12:51:26 UTC
Permalink
Post by Hauke Mehrtens
Post by Linus Walleij
Post by Hauke Mehrtens
And the also "make target/linux/{clean,refresh} V=99" to make the
patches cleanly apply.
I tested this and it looks clean.
They were all generated by cherry-picking Gemini development
on top of a clean v4.14 from upstream so it is as clean as it
gets.
"make target/linux/{clean,refresh} V=99" just converts the patches into
the "standard" format used for the patches in OpenWrt, when for example
someone updates the kernel 4.14.X to the next minor version this will be
run over all the patches for all targets. To decrease the number of
unrelated changes just run "make target/linux/{clean,refresh} V=99" now
once, it should still be possible to git am the patches and so on.
Yeah I noticed now :)

OK updated the patches too.

Yours,
Linus Walleij
Linus Walleij
2018-03-01 21:58:20 UTC
Permalink
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
I updated this big patch with the changes requested:

- Processed config through kernel_oldconfig
- Processed patches through
make target/linux/{clean,refresh} V=99

Yours,
Linus Walleij
Hans Ulli Kroll
2018-03-03 09:00:54 UTC
Permalink
Hi Linus
Post by Linus Walleij
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
- Processed config through kernel_oldconfig
- Processed patches through
make target/linux/{clean,refresh} V=99
Yours,
Linus Walleij
Some update form the IB5220 side, on top of your latest patch series from
thursday.

I've disabled Contiguous Memory Allocator, I think we didn't need this
Also I switched to LZMA for kernel compression due some size restrictions
in the bootloader for the kenrel image, this is max. 3MiB

The kernel cmdline is modified to use the generated in flash rootfs and
some small naming issue for the image files is also fixed

The device boots but there is some problem with syscon register which
controls vbus on fotg, I do investigate.

Greetings
Hans-Ulli



---
diff --git a/target/linux/gemini/config-4.14
b/target/linux/gemini/config-4.14 index ca68878965..ee90483eff 100644 ---
a/target/linux/gemini/config-4.14 +++ b/target/linux/gemini/config-4.14 @@
-84,7 +84,7 @@ CONFIG_CIFS_DEBUG=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_CLKSRC_MMIO=y
CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMA=y
+# CONFIG_CMA is not set
CONFIG_CMA_AREAS=7
# CONFIG_CMA_DEBUGFS is not set
CONFIG_CMDLINE="console=ttyS0,19200n8 root=/dev/sda4 rw rootwait"
@@ -366,7 +366,8 @@ CONFIG_IR_XMP_DECODER=y
CONFIG_JBD2=y
# CONFIG_JFFS2_FS is not set
CONFIG_KALLSYMS=y
-CONFIG_KERNEL_GZIP=y
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
CONFIG_KEXEC=y
CONFIG_KEXEC_CORE=y
diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 3cff783fa1..8960f82af6 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -15,10 +15,10 @@ define Build/raidsonic-images
dd if=$(IMAGE_ROOTFS) of=$(BIN_DIR)/hddapp.tgz bs=6144k count=1 seek=1
cp $(IMAGE_KERNEL) $(BIN_DIR)/zImage
cp ./ImageInfo-ib4220 $(BIN_DIR)/ImageInfo
- (cd $(BIN_DIR); tar -czf $(IMG_PREFIX)-sysupgrade-ib4220.tar.gz ImageInfo zImage rd.gz hddapp.tgz)
- mv $(BIN_DIR)/rd.gz $(BIN_DIR)/$(IMG_PREFIX)-nas4220-rd.gz
- mv $(BIN_DIR)/hddapp.tgz $(BIN_DIR)/$(IMG_PREFIX)-nas4220-hddapp.tgz
- mv $(BIN_DIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-nas4220-zImage
+ (cd $(BIN_DIR); tar -czf $(IMG_PREFIX)-sysupgrade-ib4220b.tar.gz ImageInfo zImage rd.gz hddapp.tgz)
+ mv $(BIN_DIR)/rd.gz $(BIN_DIR)/$(IMG_PREFIX)-nas4220b-rd.gz
+ mv $(BIN_DIR)/hddapp.tgz $(BIN_DIR)/$(IMG_PREFIX)-nas4220b-hddapp.tgz
+ mv $(BIN_DIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-nas4220b-zImage
rm -f $(BIN_DIR)/ImageInfo
endef

@@ -67,9 +67,11 @@ define Device/dlink-dns-313
endef
TARGET_DEVICES += dlink-dns-313

+NAS4420B_CMDLINE:=-console=ttyS0,19200n8 root=/dev/mtd2 rw rootwait
define Device/nas4220b
DEVICE_TITLE := Raidsonic NAS IB-4220-B
IMAGES += raidsonic-image
+ CMDLINE := $(NAS4420B_CMDLINE)
IMAGE/raidsonic-image := raidsonic-images
endef
TARGET_DEVICES += nas4220b
--
2.16.2
Hauke Mehrtens
2018-03-04 13:50:35 UTC
Permalink
Post by Linus Walleij
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
- Processed config through kernel_oldconfig
- Processed patches through
make target/linux/{clean,refresh} V=99
Yours,
Linus Walleij
new file mode 100644
index 000000000000..ca6887896585
--- /dev/null
+++ b/target/linux/gemini/config-4.14
@@ -0,0 +1,641 @@
+CONFIG_ALIGNMENT_TRAP=y
+CONFIG_AMBA_PL08X=y
+CONFIG_ARCH_CLOCKSOURCE_DATA=y
+CONFIG_ARCH_GEMINI=y
+CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
+CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
+CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
+CONFIG_ARCH_HAS_RESET_CONTROLLER=y
+CONFIG_ARCH_HAS_SET_MEMORY=y
+CONFIG_ARCH_HAS_SG_CHAIN=y
+CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
+CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
+CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
+CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
+# CONFIG_ARCH_MOXART is not set
+CONFIG_ARCH_MULTIPLATFORM=y
+# CONFIG_ARCH_MULTI_CPU_AUTO is not set
+CONFIG_ARCH_MULTI_V4=y
+# CONFIG_ARCH_MULTI_V4T is not set
+CONFIG_ARCH_MULTI_V4_V5=y
+# CONFIG_ARCH_MULTI_V5 is not set
+CONFIG_ARCH_NR_GPIO=0
+CONFIG_ARCH_OPTIONAL_KERNEL_RWX=y
+# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
+CONFIG_ARCH_SUPPORTS_UPROBES=y
+CONFIG_ARCH_USE_BUILTIN_BSWAP=y
+CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
+# CONFIG_ARCH_WANTS_THP_SWAP is not set
+CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
+CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
+CONFIG_ARM=y
+CONFIG_ARM_AMBA=y
+CONFIG_ARM_APPENDED_DTB=y
+# CONFIG_ARM_ATAG_DTB_COMPAT is not set
+CONFIG_ARM_HAS_SG_CHAIN=y
+CONFIG_ARM_L1_CACHE_SHIFT=5
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+# CONFIG_ARM_SMMU is not set
+# CONFIG_ARM_SP805_WATCHDOG is not set
+CONFIG_ARM_UNWIND=y
+CONFIG_ATA=y
+CONFIG_ATAGS=y
+CONFIG_ATA_VERBOSE_ERROR=y
+CONFIG_AUTO_ZRELADDR=y
+CONFIG_BINFMT_MISC=y
+# CONFIG_BLK_CGROUP is not set
+CONFIG_BLK_DEBUG_FS=y
+CONFIG_BLK_DEV_BSG=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=16384
+CONFIG_BLK_DEV_SD=y
+CONFIG_BLK_MQ_PCI=y
+CONFIG_BLK_SCSI_REQUEST=y
+CONFIG_BOUNCE=y
+# CONFIG_BPF_SYSCALL is not set
+# CONFIG_BRIDGE is not set
+CONFIG_BSD_PROCESS_ACCT=y
+# CONFIG_CACHE_L2X0 is not set
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
This is the default since some days now and not needed here any more.
Post by Linus Walleij
+CONFIG_CFG80211=y
+CONFIG_CFG80211_CRDA_SUPPORT=y
+# CONFIG_CFG80211_DEBUGFS is not set
+CONFIG_CFG80211_DEFAULT_PS=y
+# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
+# CONFIG_CFG80211_INTERNAL_REGDB is not set
+CONFIG_CFG80211_WEXT=y
cfg80211 is provided by backprots, please remove it here
Post by Linus Walleij
+CONFIG_CGROUPS=y
+# CONFIG_CGROUP_CPUACCT is not set
+# CONFIG_CGROUP_DEVICE is not set
+# CONFIG_CGROUP_FREEZER is not set
+# CONFIG_CGROUP_NET_CLASSID is not set
+# CONFIG_CGROUP_PIDS is not set
+# CONFIG_CGROUP_SCHED is not set
+CONFIG_CIFS=y
+CONFIG_CIFS_DEBUG=y
+# CONFIG_CIFS_DEBUG_DUMP_KEYS is not set
+# CONFIG_CIFS_SMB311 is not set
+# CONFIG_CIFS_STATS is not set
Please remove CIFS here, it is provided by a module.
Post by Linus Walleij
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_CLKSRC_MMIO=y
+CONFIG_CLONE_BACKWARDS=y
+CONFIG_CMA=y
+CONFIG_CMA_AREAS=7
+# CONFIG_CMA_DEBUGFS is not set
+CONFIG_CMDLINE="console=ttyS0,19200n8 root=/dev/sda4 rw rootwait"
+CONFIG_CMDLINE_FORCE=y
+CONFIG_COMMON_CLK=y
+CONFIG_COMMON_CLK_GEMINI=y
+CONFIG_COMPACTION=y
+CONFIG_COMPAT_BRK=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_COREDUMP=y
+CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
+CONFIG_CPU_32v4=y
+CONFIG_CPU_ABRT_EV4=y
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_CPU_CACHE_FA=y
+CONFIG_CPU_CACHE_VIVT=y
+CONFIG_CPU_COPY_FA=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
+CONFIG_CPU_FA526=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+CONFIG_CPU_NO_EFFICIENT_FFS=y
+CONFIG_CPU_PABRT_LEGACY=y
+CONFIG_CPU_TLB_FA=y
+CONFIG_CPU_USE_DOMAINS=y
+CONFIG_CRASH_CORE=y
+CONFIG_CRC16=y
+# CONFIG_CRC32_SARWATE is not set
+CONFIG_CRC32_SLICEBY8=y
+CONFIG_CRC_CCITT=y
+CONFIG_CRC_ITU_T=y
+CONFIG_CROSS_MEMORY_ATTACH=y
+CONFIG_CRYPTO_AEAD=y
+CONFIG_CRYPTO_AEAD2=y
+CONFIG_CRYPTO_CCM=y
+CONFIG_CRYPTO_CMAC=y
+CONFIG_CRYPTO_CRC32C=y
+CONFIG_CRYPTO_CTR=y
+CONFIG_CRYPTO_DES=y
+CONFIG_CRYPTO_DRBG=y
+CONFIG_CRYPTO_DRBG_HMAC=y
+CONFIG_CRYPTO_DRBG_MENU=y
+CONFIG_CRYPTO_ECB=y
+CONFIG_CRYPTO_ECHAINIV=y
+CONFIG_CRYPTO_GCM=y
+CONFIG_CRYPTO_GF128MUL=y
+CONFIG_CRYPTO_GHASH=y
+CONFIG_CRYPTO_HASH=y
+CONFIG_CRYPTO_HASH2=y
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_HW=y
+CONFIG_CRYPTO_JITTERENTROPY=y
+CONFIG_CRYPTO_MANAGER=y
+CONFIG_CRYPTO_MANAGER2=y
+CONFIG_CRYPTO_MD4=y
+CONFIG_CRYPTO_MD5=y
+CONFIG_CRYPTO_NULL=y
+CONFIG_CRYPTO_NULL2=y
+CONFIG_CRYPTO_RNG=y
+CONFIG_CRYPTO_RNG2=y
+CONFIG_CRYPTO_RNG_DEFAULT=y
+CONFIG_CRYPTO_SEQIV=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_WORKQUEUE=y
+CONFIG_DEBUG_BUGVERBOSE=y
+# CONFIG_DEBUG_KERNEL is not set
+CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_UART_8250 is not set
+# CONFIG_DEBUG_USER is not set
+CONFIG_DECOMPRESS_BZIP2=y
+CONFIG_DECOMPRESS_GZIP=y
+CONFIG_DECOMPRESS_LZ4=y
+CONFIG_DECOMPRESS_LZMA=y
+CONFIG_DECOMPRESS_LZO=y
+CONFIG_DECOMPRESS_XZ=y
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_DEVMEM=y
+CONFIG_DEVTMPFS=y
+CONFIG_DMADEVICES=y
+CONFIG_DMATEST=y
+# CONFIG_DMA_CMA is not set
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_ENGINE_RAID=y
+# CONFIG_DMA_NOOP_OPS is not set
+CONFIG_DMA_OF=y
+CONFIG_DMA_SHARED_BUFFER=y
+CONFIG_DMA_VIRTUAL_CHANNELS=y
+# CONFIG_DMA_VIRT_OPS is not set
+CONFIG_DRM=y
+CONFIG_DRM_BRIDGE=y
+CONFIG_DRM_FBDEV_EMULATION=y
+CONFIG_DRM_FBDEV_OVERALLOC=100
+CONFIG_DRM_KMS_FB_HELPER=y
+CONFIG_DRM_KMS_HELPER=y
+# CONFIG_DRM_LIB_RANDOM is not set
+CONFIG_DRM_PANEL=y
+CONFIG_DRM_PANEL_BRIDGE=y
+CONFIG_DST_CACHE=y
+CONFIG_DTC=y
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_EDAC_ATOMIC_SCRUB=y
+CONFIG_EDAC_SUPPORT=y
+CONFIG_EEPROM_93CX6=y
+CONFIG_ELF_CORE=y
+# CONFIG_EMBEDDED is not set
+# CONFIG_ENABLE_WARN_DEPRECATED is not set
+# CONFIG_EXPERT is not set
+CONFIG_EXPORTFS=y
+CONFIG_EXT4_FS=y
+CONFIG_FARADAY_FTINTC010=y
+CONFIG_FAT_FS=y
+CONFIG_FB=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CMDLINE=y
+CONFIG_FB_DEFERRED_IO=y
+# CONFIG_FB_PROVIDE_GET_FB_UNMAPPED_AREA is not set
+CONFIG_FB_SYS_COPYAREA=y
+CONFIG_FB_SYS_FILLRECT=y
+CONFIG_FB_SYS_FOPS=y
+CONFIG_FB_SYS_IMAGEBLIT=y
+CONFIG_FHANDLE=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_FIXED_PHY=y
+CONFIG_FIX_EARLYCON_MEM=y
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x16=y
+CONFIG_FONT_8x8=y
+CONFIG_FONT_SUPPORT=y
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_FPE_NWFPE is not set
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+CONFIG_FS_MBCACHE=y
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FTTMR010_TIMER=y
+CONFIG_FTWDT010_WATCHDOG=y
+CONFIG_FUTEX_PI=y
+# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
+CONFIG_GEMINI_ETHERNET=y
+CONFIG_GENERIC_ALLOCATOR=y
+CONFIG_GENERIC_ATOMIC64=y
+CONFIG_GENERIC_BUG=y
+CONFIG_GENERIC_CLOCKEVENTS=y
+CONFIG_GENERIC_CPU_AUTOPROBE=y
+CONFIG_GENERIC_EARLY_IOREMAP=y
+CONFIG_GENERIC_IDLE_POLL_SETUP=y
+CONFIG_GENERIC_IO=y
+CONFIG_GENERIC_IRQ_SHOW=y
+CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
+CONFIG_GENERIC_PCI_IOMAP=y
+CONFIG_GENERIC_PINCONF=y
+CONFIG_GENERIC_SCHED_CLOCK=y
+CONFIG_GENERIC_SMP_IDLE_THREAD=y
+CONFIG_GENERIC_STRNCPY_FROM_USER=y
+CONFIG_GENERIC_STRNLEN_USER=y
+CONFIG_GLOB=y
+CONFIG_GPIOLIB=y
+CONFIG_GPIOLIB_IRQCHIP=y
+CONFIG_GPIO_FTGPIO010=y
+CONFIG_GPIO_GENERIC=y
+CONFIG_GRO_CELLS=y
+CONFIG_HANDLE_DOMAIN_IRQ=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_HAS_DMA=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_IOPORT_MAP=y
+# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
+# CONFIG_HAVE_ARCH_BITREVERSE is not set
+CONFIG_HAVE_ARCH_JUMP_LABEL=y
+CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_HAVE_ARCH_PFN_VALID=y
+CONFIG_HAVE_ARCH_TRACEHOOK=y
+# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
+CONFIG_HAVE_CC_STACKPROTECTOR=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_CLK_PREPARE=y
+CONFIG_HAVE_CONTEXT_TRACKING=y
+CONFIG_HAVE_C_RECORDMCOUNT=y
+CONFIG_HAVE_DEBUG_KMEMLEAK=y
+CONFIG_HAVE_DMA_API_DEBUG=y
+CONFIG_HAVE_DMA_CONTIGUOUS=y
+CONFIG_HAVE_DYNAMIC_FTRACE=y
+CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
+CONFIG_HAVE_EBPF_JIT=y
+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
+CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_HAVE_IDE=y
+CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
+CONFIG_HAVE_MEMBLOCK=y
+CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
+CONFIG_HAVE_NET_DSA=y
+CONFIG_HAVE_OPROFILE=y
+CONFIG_HAVE_OPTPROBES=y
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_HAVE_PERF_REGS=y
+CONFIG_HAVE_PERF_USER_STACK_DUMP=y
+CONFIG_HAVE_PROC_CPU=y
+CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
+CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
+CONFIG_HAVE_UID16=y
+CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
+CONFIG_HDMI=y
+CONFIG_HID=y
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GENERIC=y
+CONFIG_HID_ITE=y
+CONFIG_HID_KENSINGTON=y
+CONFIG_HID_LOGITECH=y
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HIGHMEM=y
+CONFIG_HIGHPTE=y
+CONFIG_HWMON=y
+CONFIG_HW_CONSOLE=y
+CONFIG_HZ_FIXED=0
+CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_COMPAT=y
+CONFIG_I2C_GPIO=y
+CONFIG_I2C_HELPER_AUTO=y
+CONFIG_INET6_XFRM_MODE_BEET=y
+CONFIG_INET6_XFRM_MODE_TRANSPORT=y
+CONFIG_INET6_XFRM_MODE_TUNNEL=y
+CONFIG_INET_DIAG=y
+# CONFIG_INET_DIAG_DESTROY is not set
+# CONFIG_INET_RAW_DIAG is not set
+CONFIG_INET_TCP_DIAG=y
+CONFIG_INET_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+# CONFIG_INITRAMFS_FORCE is not set
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_INPUT=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_INPUT_LEDS=y
+# CONFIG_INPUT_MISC is not set
+CONFIG_IOMMU_HELPER=y
+# CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set
+# CONFIG_IOMMU_IO_PGTABLE_LPAE is not set
+CONFIG_IOMMU_SUPPORT=y
+CONFIG_IOSCHED_CFQ=y
+CONFIG_IPC_NS=y
+CONFIG_IPV6=y
+CONFIG_IPV6_SIT=y
+# CONFIG_IP_ADVANCED_ROUTER is not set
+# CONFIG_IP_MULTICAST is not set
+CONFIG_IRQCHIP=y
+CONFIG_IRQ_DOMAIN=y
+CONFIG_IRQ_FORCED_THREADING=y
+CONFIG_IRQ_WORK=y
+CONFIG_IR_JVC_DECODER=y
+CONFIG_IR_MCE_KBD_DECODER=y
+CONFIG_IR_NEC_DECODER=y
+CONFIG_IR_RC5_DECODER=y
+CONFIG_IR_RC6_DECODER=y
+CONFIG_IR_SANYO_DECODER=y
+CONFIG_IR_SHARP_DECODER=y
+CONFIG_IR_SONY_DECODER=y
+CONFIG_IR_XMP_DECODER=y
+# CONFIG_ISDN is not set
+CONFIG_JBD2=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_KALLSYMS=y
+CONFIG_KERNEL_GZIP=y
+# CONFIG_KERNEL_XZ is not set
+CONFIG_KEXEC=y
+CONFIG_KEXEC_CORE=y
+CONFIG_KEYBOARD_ATKBD=y
+CONFIG_KEYBOARD_DLINK_DIR685=y
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_LDM_DEBUG is not set
+CONFIG_LDM_PARTITION=y
+# CONFIG_LEDS_BRIGHTNESS_HW_CHANGED is not set
+CONFIG_LEDS_GPIO=y
+# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
+CONFIG_LEDS_TRIGGER_DISK=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+# CONFIG_LEDS_TRIGGER_TIMER is not set
+CONFIG_LIBFDT=y
+# CONFIG_LIRC is not set
+CONFIG_LOGO=y
+CONFIG_LOGO_LINUX_CLUT224=y
+CONFIG_LOGO_LINUX_MONO=y
+CONFIG_LOGO_LINUX_VGA16=y
+CONFIG_LZ4_DECOMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_MAC80211=y
+# CONFIG_MAC80211_DEBUGFS is not set
+# CONFIG_MAC80211_DEBUG_MENU is not set
+CONFIG_MAC80211_HAS_RC=y
+# CONFIG_MAC80211_HWSIM is not set
+# CONFIG_MAC80211_LEDS is not set
+# CONFIG_MAC80211_MESH is not set
+CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
+CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
+CONFIG_MAC80211_RC_MINSTREL=y
+CONFIG_MAC80211_RC_MINSTREL_HT=y
+# CONFIG_MAC80211_RC_MINSTREL_VHT is not set
mac80211 is provided by backports, please remove it here.
Post by Linus Walleij
+CONFIG_MANDATORY_FILE_LOCKING=y
+CONFIG_MDIO_BITBANG=y
+CONFIG_MDIO_BUS=y
+CONFIG_MDIO_DEVICE=y
+CONFIG_MDIO_GPIO=y
+# CONFIG_MEMCG is not set
+CONFIG_MEMORY_ISOLATION=y
+CONFIG_MFD_SYSCON=y
+CONFIG_MIGHT_HAVE_PCI=y
+CONFIG_MIGRATION=y
+CONFIG_MODULES_USE_ELF_REL=y
+# CONFIG_MODULE_UNLOAD is not set
+CONFIG_MQ_IOSCHED_DEADLINE=y
+CONFIG_MQ_IOSCHED_KYBER=y
+CONFIG_MTD_CFI_STAA=y
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF_GEMINI=y
+CONFIG_MULTI_IRQ_HANDLER=y
+CONFIG_NAMESPACES=y
+CONFIG_NEED_DMA_MAP_STATE=y
+CONFIG_NEED_KUSER_HELPERS=y
+CONFIG_NEED_PER_CPU_KM=y
+# CONFIG_NET_CLS_CGROUP is not set
+CONFIG_NET_DSA=y
+# CONFIG_NET_DSA_SMSC_LAN9303_I2C is not set
+CONFIG_NET_IP_TUNNEL=y
+CONFIG_NET_NS=y
+CONFIG_NET_PACKET_ENGINE=y
+CONFIG_NET_SWITCHDEV=y
+# CONFIG_NET_VENDOR_AURORA is not set
+CONFIG_NET_VENDOR_CORTINA=y
The CONFIG_NET_VENDOR* settings are handled by the generic config.
Post by Linus Walleij
+# CONFIG_NL80211_TESTMODE is not set
+CONFIG_NLS=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NO_BOOTMEM=y
+CONFIG_NO_HZ_COMMON=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_NVMEM=y
+CONFIG_OABI_COMPAT=y
+CONFIG_OF=y
+CONFIG_OF_ADDRESS=y
+CONFIG_OF_ADDRESS_PCI=y
+CONFIG_OF_EARLY_FLATTREE=y
+CONFIG_OF_FLATTREE=y
+CONFIG_OF_GPIO=y
+CONFIG_OF_IRQ=y
+CONFIG_OF_MDIO=y
+CONFIG_OF_NET=y
+CONFIG_OF_PCI=y
+CONFIG_OF_PCI_IRQ=y
+CONFIG_OF_RESERVED_MEM=y
+CONFIG_OLD_SIGACTION=y
+CONFIG_OLD_SIGSUSPEND3=y
+# CONFIG_OVERLAY_FS is not set
overlayfs is probably needed for some images.
Post by Linus Walleij
+# CONFIG_PACKET is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PANIC_ON_OOPS is not set
+CONFIG_PANIC_ON_OOPS_VALUE=0
+CONFIG_PANIC_TIMEOUT=0
+CONFIG_PATA_FTIDE010=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+CONFIG_PCI_DOMAINS_GENERIC=y
+CONFIG_PCI_FTPCI100=y
+CONFIG_PERF_USE_VMALLOC=y
+CONFIG_PGTABLE_LEVELS=2
+CONFIG_PHYLIB=y
+CONFIG_PID_NS=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_GEMINI=y
+# CONFIG_PINCTRL_SINGLE is not set
+CONFIG_PM=y
+CONFIG_PM_CLK=y
+# CONFIG_PM_DEBUG is not set
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_GEMINI_POWEROFF=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_PREEMPT=y
+CONFIG_PREEMPT_COUNT=y
+# CONFIG_PREEMPT_NONE is not set
+CONFIG_PREEMPT_RCU=y
+CONFIG_PROC_PAGE_MONITOR=y
+# CONFIG_QTNFMAC_PEARL_PCIE is not set
+CONFIG_RATIONAL=y
+CONFIG_RCU_CPU_STALL_TIMEOUT=21
+# CONFIG_RCU_EXPERT is not set
+CONFIG_RCU_NEED_SEGCBLIST=y
+CONFIG_RCU_STALL_COMMON=y
+CONFIG_RC_CORE=y
+CONFIG_RC_DECODERS=y
+# CONFIG_RC_DEVICES is not set
+CONFIG_RC_MAP=y
+CONFIG_RD_BZIP2=y
+CONFIG_RD_GZIP=y
+CONFIG_RD_LZ4=y
+CONFIG_RD_LZMA=y
+CONFIG_RD_LZO=y
+CONFIG_RD_XZ=y
+CONFIG_REALTEK_PHY=y
+CONFIG_REGMAP=y
+CONFIG_REGMAP_I2C=y
+CONFIG_REGMAP_MMIO=y
+CONFIG_REGMAP_SPI=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_RELAY=y
+CONFIG_RESET_CONTROLLER=y
+CONFIG_ROMFS_BACKED_BY_BLOCK=y
+# CONFIG_ROMFS_BACKED_BY_BOTH is not set
+# CONFIG_ROMFS_BACKED_BY_MTD is not set
+CONFIG_ROMFS_FS=y
+CONFIG_ROMFS_ON_BLOCK=y
+# CONFIG_RT2400PCI is not set
+# CONFIG_RT2500PCI is not set
+# CONFIG_RT2500USB is not set
+CONFIG_RT2800PCI=y
+CONFIG_RT2800PCI_RT3290=y
+CONFIG_RT2800PCI_RT33XX=y
+CONFIG_RT2800PCI_RT35XX=y
+CONFIG_RT2800PCI_RT53XX=y
+# CONFIG_RT2800USB is not set
+CONFIG_RT2800_LIB=y
+CONFIG_RT2800_LIB_MMIO=y
+CONFIG_RT2X00=y
+# CONFIG_RT2X00_DEBUG is not set
+CONFIG_RT2X00_LIB=y
+CONFIG_RT2X00_LIB_CRYPTO=y
+CONFIG_RT2X00_LIB_FIRMWARE=y
+CONFIG_RT2X00_LIB_LEDS=y
+CONFIG_RT2X00_LIB_MMIO=y
+CONFIG_RT2X00_LIB_PCI=y
+CONFIG_RT61PCI=y
+# CONFIG_RT73USB is not set
Please remove wifi drivers here.
Post by Linus Walleij
+CONFIG_RTC_CLASS=y
+# CONFIG_RTC_DRV_CMOS is not set
+CONFIG_RTC_DRV_FTRTC010=y
+CONFIG_RTC_I2C_AND_SPI=y
+CONFIG_RTC_NVMEM=y
+CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+CONFIG_SATA_GEMINI=y
+CONFIG_SATA_PMP=y
+# CONFIG_SCHED_INFO is not set
+CONFIG_SCSI=y
+# CONFIG_SCSI_LOWLEVEL is not set
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_SENSORS_GPIO_FAN=y
+CONFIG_SENSORS_LM75=y
+CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
+CONFIG_SERIAL_8250_EXAR=y
+CONFIG_SERIAL_8250_FSL=y
+CONFIG_SERIAL_8250_NR_UARTS=1
+CONFIG_SERIAL_8250_PCI=y
+CONFIG_SERIAL_8250_RUNTIME_UARTS=1
+# CONFIG_SERIAL_AMBA_PL011 is not set
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIO=y
+CONFIG_SERIO_LIBPS2=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SG_POOL=y
+CONFIG_SLUB_DEBUG=y
+CONFIG_SOCK_DIAG=y
+CONFIG_SPARSE_IRQ=y
+CONFIG_SPI=y
+CONFIG_SPI_BITBANG=y
+CONFIG_SPI_GPIO=y
+CONFIG_SPI_MASTER=y
+CONFIG_SPLIT_PTLOCK_CPUS=999999
+# CONFIG_SQUASHFS is not set
+CONFIG_SRCU=y
+# CONFIG_STAGING is not set
+# CONFIG_STRICT_KERNEL_RWX is not set
+# CONFIG_STRICT_MODULE_RWX is not set
+# CONFIG_STRIP_ASM_SYMS is not set
+CONFIG_SWIOTLB=y
+CONFIG_SWPHY=y
+CONFIG_SYNC_FILE=y
+# CONFIG_SYN_COOKIES is not set
+CONFIG_SYSFS_SYSCALL=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_TASKS_RCU=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_THERMAL=y
+CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
+CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
+CONFIG_THERMAL_GOV_STEP_WISE=y
+CONFIG_THERMAL_HWMON=y
+CONFIG_THERMAL_OF=y
+CONFIG_THIN_ARCHIVES=y
+CONFIG_TICK_CPU_ACCOUNTING=y
+CONFIG_TIMER_OF=y
+CONFIG_TIMER_PROBE=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_TREE_SRCU=y
+CONFIG_TUN=y
+CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
+CONFIG_UNINLINE_SPIN_UNLOCK=y
+CONFIG_USB=y
+CONFIG_USB_COMMON=y
+CONFIG_USB_EHCI_HCD=y
+# CONFIG_USB_EHCI_HCD_PLATFORM is not set
+CONFIG_USB_EHCI_PCI=y
+# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
+CONFIG_USB_FOTG210_HCD=y
+CONFIG_USB_HID=y
+CONFIG_USB_MON=y
+CONFIG_USB_PCI=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_UHCI_HCD=y
+# CONFIG_USERIO is not set
+CONFIG_USER_NS=y
+CONFIG_USE_OF=y
+CONFIG_UTS_NS=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_VFAT_FS=y
+CONFIG_VGA_ARB=y
+CONFIG_VGA_ARB_MAX_GPUS=16
+# CONFIG_VLAN_8021Q is not set
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_VT=y
+CONFIG_VT_CONSOLE=y
+CONFIG_VT_HW_CONSOLE_BINDING=y
+CONFIG_WATCHDOG_CORE=y
+CONFIG_WLAN_VENDOR_QUANTENNA=y
+CONFIG_WLAN_VENDOR_RALINK=y
+# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_BCJ=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_SPARC=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZLIB_INFLATE=y
Linus Walleij
2018-03-06 22:43:15 UTC
Permalink
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
I have updated the patch after Hans Ulli Kroll and Hauke Merthens
feedback and uploaded the result at the same URL.

Even if we do not include this in the next release it would be good
to work on these changes for the next to the next release I think,
the build changes etc seem to work fine. I suspect it already works
better than the old patches.

Yours,
Linus Walleij
Hauke Mehrtens
2018-03-13 21:52:40 UTC
Permalink
Post by Linus Walleij
Post by Linus Walleij
I have a forward-port hack-ish thing for Gemini,
https://dflund.se/~triad/krad/gemini/0001-gemini-Forward-port-to-v4.14.patch
I have updated the patch after Hans Ulli Kroll and Hauke Merthens
feedback and uploaded the result at the same URL.
Even if we do not include this in the next release it would be good
to work on these changes for the next to the next release I think,
the build changes etc seem to work fine. I suspect it already works
better than the old patches.
Yours,
Linus Walleij
Hi Linus,

We updated to GCC 7 as default compiler now, so this problems should be
solved.

I saw this dns313-header.c tool, this should better be added to
tools/firmware-utils/src/ which already provides tools for other
firmware header formats.

This "Copyright (C) 2009-2018 OpenWrt.org" is not really valid as
OpenWrt.org is no legal entity, please just leave it there if it already
exists and add your own if needed.

You changed the indention for the files in base-files form tabs to
spaces, please use tabs.

Could you send this for review as a full patch to the mailling list, or
if it is too big remove the patches you backported from the mainline
kernel for the review part, I trust the upstream kernel developers that
they reviewed this better than I can do it.

Hauke
Linus Walleij
2018-03-19 04:01:59 UTC
Permalink
Post by Hauke Mehrtens
We updated to GCC 7 as default compiler now, so this problems should be
solved.
Great! Thanks.
Post by Hauke Mehrtens
I saw this dns313-header.c tool, this should better be added to
tools/firmware-utils/src/ which already provides tools for other
firmware header formats.
This "Copyright (C) 2009-2018 OpenWrt.org" is not really valid as
OpenWrt.org is no legal entity, please just leave it there if it already
exists and add your own if needed.
You changed the indention for the files in base-files form tabs to
spaces, please use tabs.
OK I will fix this.
Post by Hauke Mehrtens
Could you send this for review as a full patch to the mailling list, or
if it is too big remove the patches you backported from the mainline
kernel for the review part, I trust the upstream kernel developers that
they reviewed this better than I can do it.
Yeah I will try to split it up in some reasonable way.

Yours,
Linus Walleij

Loading...