mvebu: fix broken console on WRT32X (venom)
authorMichael Gray <michael.gray@lantisproject.com>
Tue, 29 May 2018 09:43:48 +0000 (19:43 +1000)
committerJohn Crispin <john@phrozen.org>
Fri, 1 Jun 2018 19:03:27 +0000 (21:03 +0200)
commit0037b1348015386adaf42f113b4282d60346d2b6
tree7d7f3dcffdef30455525115979b9a1dbf67b59fe
parentdd49c62611f822d69a799cf823f174f114120c2a
mvebu: fix broken console on WRT32X (venom)

The console bootarg is being corrupted on boot, causing various issues
including broken sysupgrade.
Utilising the bootargs mangle patch from other targets, hardcode the console
arguments and fetch the rootfs from the bootloader.

Kernel command line: console=ttyS0,115200 root=/dev/mtdblock8

Bootloader command line (ignored): console= root=/dev/mtdblock8

Please cherry pick to 18.06 too

Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
(cherry picked from commit 4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41)
target/linux/mvebu/config-4.14
target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts
target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch [new file with mode: 0644]