|
发表于 2020-8-5 10:55:59
只看该作者
沙发
修改下输入串口,改为 M1:
diff --git a/arch/arm/mach-rockchip/px30/px30.c b/arch/arm/mach-rockchip/px30/px30.c
index 61ddf63e3e..f11eea4dd7 100644
--- a/arch/arm/mach-rockchip/px30/px30.c
+++ b/arch/arm/mach-rockchip/px30/px30.c
@@ -185,7 +185,7 @@ void board_debug_uart_init(void)
/* Set channel C as UART2 input */
rk_clrsetreg(&grf->iofunc_con0,
CON_IOMUX_UART2SEL_MASK,
- CON_IOMUX_UART2SEL_M0 << CON_IOMUX_UART2SEL_SHIFT);
+ CON_IOMUX_UART2SEL_M1 << CON_IOMUX_UART2SEL_SHIFT);
#endif
}
添加等待延时:
diff --git a/configs/evb-px30_defconfig b/configs/evb-px30_defconfig
index f2ed54a4fd..a59d6861a1 100644
--- a/configs/evb-px30_defconfig
+++ b/configs/evb-px30_defconfig
@@ -17,7 +17,7 @@ CONFIG_TPL_SYS_MALLOC_F_LEN=0x600
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_SPL_LOAD_FIT=y
-CONFIG_BOOTDELAY=0
+CONFIG_BOOTDELAY=3
|
|