Skip to contentSkip to conversation

sunxi: h616: defconfigs: enable eMMC

PATCH In review Andre Przywara 2 participants 2 messages Mar 27, 2025 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: h616: defconfigs: enable eMMC

Now that eMMC is working properly on H616 devices, it became apparent that some boards were missing the right defconfig bits to enable eMMC access.

Add the eMMC device number to the Tanix TX1 and the X96 Mate defconfig, also the eMMC boot option to the TX1. Oddly enough the X96 Mate had just this bit already.

---
 configs/tanix_tx1_defconfig | 2 ++
 configs/x96_mate_defconfig  | 1 +
 2 files changed, 3 insertions(+)
configs/tanix_tx1_defconfig +2 -0
index 28cf9513c30..00e34dc5ad9 100644
@@ -14,11 +14,13 @@ CONFIG_MACH_SUN50I_H616=y
 CONFIG_SUNXI_DRAM_H616_LPDDR3=y
 CONFIG_R_I2C_ENABLE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_SPL_I2C=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x7f
 CONFIG_SYS_I2C_SPEED=400000
+CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_AXP313_POWER=y
 CONFIG_AXP_DCDC3_VOLT=1200
 CONFIG_USB_EHCI_HCD=y
configs/x96_mate_defconfig +1 -0
index bd9b611d6f5..c0628370df9 100644
@@ -11,6 +11,7 @@ CONFIG_DRAM_SUNXI_TPR11=0xffffdddd
 CONFIG_DRAM_SUNXI_TPR12=0xfedf7557
 CONFIG_MACH_SUN50I_H616=y
 CONFIG_SUNXI_DRAM_H616_DDR3_1333=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_R_I2C_ENABLE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
Signature · 1 line
2.46.3
maintainer Reviewed-by on v1 1/1
#1 lore raw

Dne četrtek, 27. marec 2025 ob 22:21:02 Srednjeevropski standardni čas je Andre Przywara napisal(a):

Quoted 9 lines

Now that eMMC is working properly on H616 devices, it became apparent that some boards were missing the right defconfig bits to enable eMMC access.

Add the eMMC device number to the Tanix TX1 and the X96 Mate defconfig, also the eMMC boot option to the TX1. Oddly enough the X96 Mate had just this bit already.

Expected consequence of the fix :)

Best regards,
Jernej

Quoted 36 lines
---
 configs/tanix_tx1_defconfig | 2 ++
 configs/x96_mate_defconfig  | 1 +
 2 files changed, 3 insertions(+)
configs/tanix_tx1_defconfig +2 -0
index 28cf9513c30..00e34dc5ad9 100644
@@ -14,11 +14,13 @@ CONFIG_MACH_SUN50I_H616=y
 CONFIG_SUNXI_DRAM_H616_LPDDR3=y
 CONFIG_R_I2C_ENABLE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_SPL_I2C=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x7f
 CONFIG_SYS_I2C_SPEED=400000
+CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_AXP313_POWER=y
 CONFIG_AXP_DCDC3_VOLT=1200
 CONFIG_USB_EHCI_HCD=y
configs/x96_mate_defconfig +1 -0
index bd9b611d6f5..c0628370df9 100644
@@ -11,6 +11,7 @@ CONFIG_DRAM_SUNXI_TPR11=0xffffdddd
 CONFIG_DRAM_SUNXI_TPR12=0xfedf7557
 CONFIG_MACH_SUN50I_H616=y
 CONFIG_SUNXI_DRAM_H616_DDR3_1333=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_R_I2C_ENABLE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y