bcm4908: set console in the CONFIG_CMDLINE
authorRafał Miłecki <rafal@milecki.pl>
Thu, 21 Jan 2021 08:14:20 +0000 (09:14 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 21 Jan 2021 08:18:31 +0000 (09:18 +0100)
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@milecki.pl>
target/linux/bcm4908/config-5.4

index 9991afda15237b42a489a13bcfec465f0a61452a..aa2e0887569c4884ec1c86630e962b95a073f061 100644 (file)
@@ -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