From 9bcc08958b7049be61e23c49106f9344e1bed1a6 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 4 Nov 2018 18:26:28 +0100 Subject: [PATCH] oxnas: add console=ttyS0,115200 argument to bootargs Signed-off-by: Daniel Golle --- .../files/arch/arm/boot/dts/ox820-akitio-mycloud.dts | 2 +- .../arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts | 2 +- .../arch/arm/boot/dts/ox820-mitrastar-stg212.dts | 2 +- .../files/arch/arm/boot/dts/ox820-shuttle-kd20.dts | 2 +- .../010-add-console-to-pogoplogv3-bootargs.patch | 11 +++++++++++ 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 target/linux/oxnas/patches-4.14/010-add-console-to-pogoplogv3-bootargs.patch diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio-mycloud.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio-mycloud.dts index c0bf34c3f4..90ea15d400 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio-mycloud.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio-mycloud.dts @@ -10,7 +10,7 @@ compatible = "akitio,mycloud", "oxsemi,ox820"; chosen { - bootargs = "earlyprintk"; + bootargs = "earlyprintk console=ttyS0,115200"; stdout-path = "serial0:115200n8"; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts index 363fd30d20..2872d40e3d 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplug-pro.dts @@ -15,7 +15,7 @@ compatible = "cloudengines,pogoplugpro", "oxsemi,ox820"; chosen { - bootargs = "earlyprintk"; + bootargs = "earlyprintk console=ttyS0,115200"; stdout-path = "serial0:115200n8"; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts index d3a06fdab2..c1cb1ef97d 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts @@ -10,7 +10,7 @@ compatible = "mitrastar,stg-212", "oxsemi,ox820"; chosen { - bootargs = "earlyprintk"; + bootargs = "earlyprintk console=ttyS0,115200"; stdout-path = "serial0:115200n8"; }; diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts index badfa2578e..a2c522a06e 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts @@ -10,7 +10,7 @@ compatible = "shuttle,kd20", "oxsemi,ox820"; chosen { - bootargs = "earlyprintk"; + bootargs = "earlyprintk console=ttyS0,115200"; stdout-path = "serial0:115200n8"; }; diff --git a/target/linux/oxnas/patches-4.14/010-add-console-to-pogoplogv3-bootargs.patch b/target/linux/oxnas/patches-4.14/010-add-console-to-pogoplogv3-bootargs.patch new file mode 100644 index 0000000000..56e0eaf19c --- /dev/null +++ b/target/linux/oxnas/patches-4.14/010-add-console-to-pogoplogv3-bootargs.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts 2018-08-14 18:03:56.542679083 +0200 ++++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts 2018-11-04 18:19:35.154886643 +0100 +@@ -15,7 +15,7 @@ + compatible = "cloudengines,pogoplugv3", "oxsemi,ox820"; + + chosen { +- bootargs = "earlyprintk"; ++ bootargs = "earlyprintk console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + }; + -- 2.25.1