From 4a66446a51c74c5573a14e1e559e4a4e1833d1d0 Mon Sep 17 00:00:00 2001 From: Abdellatif El Khlifi Date: Sat, 11 Dec 2021 10:08:29 +0000 Subject: [PATCH] arm-bsp/u-boot: corstone1000: setting the boot console output Setting stdout-path in the chosen node. Change-Id: Ie0a6b140492f0c5fc323690d2f6bc921cbe76cb3 Signed-off-by: Abdellatif El Khlifi Signed-off-by: Jon Mason --- ...-dts-setting-the-boot-console-output.patch | 33 +++++++++++++++++++ .../recipes-bsp/u-boot/u-boot_%.bbappend | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0033-corstone1000-dts-setting-the-boot-console-output.patch diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0033-corstone1000-dts-setting-the-boot-console-output.patch b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0033-corstone1000-dts-setting-the-boot-console-output.patch new file mode 100644 index 00000000..39e9a5e9 --- /dev/null +++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/0033-corstone1000-dts-setting-the-boot-console-output.patch @@ -0,0 +1,33 @@ +Upstream-Status: Pending [Not submitted to upstream yet] +Signed-off-by: Abdellatif El Khlifi + +From d26f38e9b677ddbfa4e92e250058630ecd275908 Mon Sep 17 00:00:00 2001 +From: Abdellatif El Khlifi +Date: Mon, 6 Dec 2021 14:46:06 +0000 +Subject: [PATCH] corstone1000: dts: setting the boot console output + +Setting stdout-path in the chosen node. + +Signed-off-by: Abdellatif El Khlifi +--- + arch/arm/dts/corstone1000.dtsi | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/arch/arm/dts/corstone1000.dtsi b/arch/arm/dts/corstone1000.dtsi +index 0ea3a19698..88fb1576b9 100644 +--- a/arch/arm/dts/corstone1000.dtsi ++++ b/arch/arm/dts/corstone1000.dtsi +@@ -12,7 +12,9 @@ + #address-cells = <1>; + #size-cells = <1>; + +- chosen { }; ++ chosen { ++ stdout-path = "/uart@1a510000:115200n8"; ++ }; + + cpus { + #address-cells = <1>; +-- +2.17.1 + diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend index dc54fdf5..3c73496b 100644 --- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%.bbappend @@ -44,6 +44,7 @@ SRC_URI:append:corstone1000 = " \ file://0030-arm-bsp-u-boot-corstone1000-Implement-autoboot-script.patch \ file://0031-corstone1000-change-base-address-of-kernel-in-the-fl.patch \ file://0032-arm-corstone1000-identify-which-bank-to-load-kernel.patch \ + file://0033-corstone1000-dts-setting-the-boot-console-output.patch \ " #