LS1046A eMMC support in uboot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1046A eMMC support in uboot

Jump to solution
905 Views
__OTL__
Contributor III

Hi

On my customized LS1046A board, eMMC can't be recognized by u-boot.

the RCW is

Reset Configuration Word (RCW):
00000000: 0c0d0010 12000000 00000000 00000000
00000010: 10405577 40a00006 40000000 c1000000
00000020: 00200000 00000000 00000000 0003affe
00000030: 20004504 04201102 00000096 00000001

the u-boot config is 

CONFIG_DM=y
CONFIG_DM_MMC=y
CONFIG_FSL_ESDHC=y
Is there any other thing need to be done?
 
 
I probed the SDHC_CMD  and found that
once I typed the "mmcinfo" command
only one idle command (0x00) is sent by the host.
(yellow: SDHC_CMD  Green: SDHC_DATA0  Blue:SDHC_CLK)
 
SDHC_idle_noCMD1_20221109_204010.png
 
 
__OTL___0-1667995301594.png
Refered to the JEDEC Standard
For the card identification mode the host shall send the correct Access mode in CMD1 argument
after the idle state, but on my board there is no CMD1 command be sent.
I wonder if this is the problem.
 
I am not quite familiar with eMMC, could you give me some advices?
 
0 Kudos
Reply
1 Solution
894 Views
yipingwang
NXP TechSupport
NXP TechSupport

In RCW, please configure RCW[EVDD_VSEL] as 0 and configure RCW[IIC2_EXT] as 0.

View solution in original post

0 Kudos
Reply
3 Replies
895 Views
yipingwang
NXP TechSupport
NXP TechSupport

In RCW, please configure RCW[EVDD_VSEL] as 0 and configure RCW[IIC2_EXT] as 0.

0 Kudos
Reply
888 Views
__OTL__
Contributor III

Thanks,

I forgot set EVDD_VSEL to 0

This solved my problem

(IIC2_EXT=0 is not neccessary in my case)

0 Kudos
Reply
904 Views
__OTL__
Contributor III

SDHC_CMD, SDHC_DATA[0:3] are pulled up to EVDD (1.8V) by 10kΩ

The other SDHC pins are configured as GPIO by RCW

0 Kudos
Reply