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:01:03 +0000 (21:01 +0200)
commit4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41
tree79da3a83079b221e4257f19779e857e1917f9e4f
parentdcc34574efba524cf75608c3b61bfa579bfb8aa4
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>
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]