[openwrt/openwrt] bcm4908: set console in the CONFIG_CMDLINE

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 21 03:25:40 EST 2021


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/095ed5e8e1efd6da509be1064c5c7c9811fa32de

commit 095ed5e8e1efd6da509be1064c5c7c9811fa32de
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Thu Jan 21 09:14:20 2021 +0100

    bcm4908: set console in the CONFIG_CMDLINE
    
    procd doesn't work with just serial specified in the DT (using chosen &
    stdout-path). It requires tty device to be explicitly specified in the
    cmdline.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 target/linux/bcm4908/config-5.4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/bcm4908/config-5.4 b/target/linux/bcm4908/config-5.4
index 9991afda15..aa2e088756 100644
--- a/target/linux/bcm4908/config-5.4
+++ b/target/linux/bcm4908/config-5.4
@@ -48,7 +48,7 @@ CONFIG_BLK_PM=y
 CONFIG_CAVIUM_TX2_ERRATUM_219=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMDLINE="earlycon=bcm63xx_uart,0xff800640"
+CONFIG_CMDLINE="earlycon=bcm63xx_uart,0xff800640 console=ttyS0,115200"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_COMMON_CLK=y
 CONFIG_CPU_RMAP=y



More information about the lede-commits mailing list