Skip to contentSkip to conversation

sunxi: Fix serial console for A10s-OLinuXino-MICRO

PATCH In review Mark Kettenis 2 participants 2 messages Dec 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Fix serial console for A10s-OLinuXino-MICRO

On this board CONFIG_CONS_INDEX needs to be 1 unlike other sun5i boards. Since this is the default, remove to bogus setting.

Fixes 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")
---
 configs/A10s-OLinuXino-M_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/A10s-OLinuXino-M_defconfig +0 -1
index 2ac68039b0..37ebeb9c85 100644
@@ -17,6 +17,5 @@ CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP152_POWER=y
-CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
Signature · 1 line
2.38.1
Reviewed-by on v1 1/1
#1 lore raw

On Sun, 11 Dec 2022 23:00:54 +0100
Mark Kettenis <[email protected]> wrote:

Hi,

Quoted 2 lines

On this board CONFIG_CONS_INDEX needs to be 1 unlike other sun5i boards. Since this is the default, remove to bogus setting.

Indeed, UART1 is not even configured in the DT, and Olimex' user manual mentions explicitly that UART0 should be used for debug.

Quoted 2 lines
Fixes 7095f8641863 ("sunxi: Convert CONS_INDEX to Kconfig")

Thanks,
Andre

Quoted 15 lines
---
 configs/A10s-OLinuXino-M_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/A10s-OLinuXino-M_defconfig +0 -1
index 2ac68039b0..37ebeb9c85 100644
@@ -17,6 +17,5 @@ CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP152_POWER=y
-CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y