Instead of providing a console= bootarg, provide the stdout-path property. Complement this with adding the earlycon bootarg, so early console output is available.
Co-developed-by: INAGAKI Hiroshi <[email protected]> Signed-off-by: INAGAKI Hiroshi <[email protected]> Signed-off-by: Sander Vanheule <[email protected]> --- target/linux/realtek/dts-5.10/rtl838x.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/linux/realtek/dts-5.10/rtl838x.dtsi b/target/linux/realtek/dts-5.10/rtl838x.dtsi index 835fc4a8f8c3..f7b497978ae8 100644 --- a/target/linux/realtek/dts-5.10/rtl838x.dtsi +++ b/target/linux/realtek/dts-5.10/rtl838x.dtsi @@ -65,8 +65,13 @@ }; }; + aliases { + serial0 = &uart0; + }; + chosen { - bootargs = "console=ttyS0,115200"; + stdout-path = "serial0:115200n8"; + bootargs = "earlycon"; }; cpu_clk: cpu_clk { -- 2.33.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
