]> git.baikalelectronics.ru Git - uboot.git/commitdiff
board: starqltechn: enable serial console
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 27 Dec 2022 19:47:08 +0000 (22:47 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 20:39:07 +0000 (15:39 -0500)
It was temporary disabled due to problem with boot.
Issue was fixed in
commit 33ac18e05d9f ("uart: sdm845: Fix debug UART pinmux")

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
configs/starqltechn_defconfig
include/configs/sdm845.h

index 7955076d613f03f0691fa4ab7b5154cca2be6f54..7a64f2a7a088c8b557a318f222c715a88306d653 100644 (file)
@@ -20,14 +20,14 @@ CONFIG_SYS_PBSIZE=532
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_BMP=y
 # CONFIG_NET is not set
-# CONFIG_DM_STDIO is not set
 CONFIG_CLK=y
 CONFIG_MSM_GPIO=y
 CONFIG_QCOM_PMIC_GPIO=y
 CONFIG_PINCTRL=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_QCOM=y
-# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
+CONFIG_REQUIRE_SERIAL_CONSOLE=y
+CONFIG_MSM_GENI_SERIAL=y
 CONFIG_SPMI_MSM=y
 CONFIG_VIDEO=y
 CONFIG_SYS_WHITE_ON_BLACK=y
index 9a4fe530a20b731d0a0b6d04a0385dbd2f124df0..2211751b540f06f9c4a8a6e0cbbd84b30b30102c 100644 (file)
@@ -16,8 +16,9 @@
 #define CFG_EXTRA_ENV_SETTINGS \
        "bootm_size=0x4000000\0"        \
        "bootm_low=0x80000000\0"        \
-       "stdout=vidconsole\0"   \
-       "stderr=vidconsole\0"   \
+       "stdin=serial\0"        \
+       "stdout=serial,vidconsole\0"    \
+       "stderr=serial,vidconsole\0"    \
        "preboot=source $prevbl_initrd_start_addr:prebootscript\0" \
        "bootcmd=source $prevbl_initrd_start_addr:bootscript\0"