Other Parts Discussed in Thread: DM3730
This is a TDM3730 board. I can get the U-Boot ENV from a FAT partition on SD / MMC parition 0:0 when using U-Boot v2018.05. This boots well.
Now I am trying to port to U-Boot v2020.07. The problem is that I am getting "omap_hsmmc_send_cmd : timeout: No status update" error instead!
I have used an old patch to ensure the MUX values are as they should be: patchwork.ozlabs.org/.../
Also I have enabled U-Boot debug and added some extra printf() calls for reference.
All the MMC configs match the old 2018.05 MMC configs.
Please see below logs.
Could you give me some ideas please as I have run out of ideas?
== ==
0 0
- -1 0 'pinmux@30'
- found
======================== MMC CREATE...
======================== OMAP MMC INIT...
======================== MMC CREATE...
= OMAP MMC INIT WAS GOOD
OMAP SD/MMC: 0, OMAP SD/MMC: 1
initcall: 8001a4b9 (relocated to 9ff754b9)
fdtdec_get_config_int: load-environment
Loading Environment from FAT...
env_fat_load(): 0:0
******************************************************************************************
get_desc()
mmc_get_dev()
0 0
- 0 -1 'i2c@48070000'
- 1 -1 'i2c@48072000'
- 2 -1 'i2c@48060000'
- not found
1 0
- 0 -1 'i2c@48070000'
- found
OF: ** translation for device i2c@48070000 **
OF: bus is default (na=1, ns=1) on ocp@68000000
OF: parent bus is default (na=1, ns=1) on
OF: no ranges, 1:1 translation
OF: with offset: 1208418304
OF: reached root node
ofnode_read_u32_index: clock-frequency: 0x61a80 (400000)
0 0
- 0 -1 'i2c@48070000'
- 1 -1 'i2c@48072000'
- 2 -1 'i2c@48060000'
- not found
0 0
- -1 0 'pinmux@30'
- found
ofnode_read_u32_index: u-boot,i2c-transaction-bytes: (not found)
i2c_pre_probe: I2C bus: i2c@48070000 max transaction bytes: 0
omap24_i2c_findpsc: speed [kHz]: 400 psc: 0x9 sscl: 0x9 ssch: 0x3
ofnode_read_u32_index: clock-frequency: 0x61a80 (400000)
omap24_i2c_findpsc: speed [kHz]: 400 psc: 0x9 sscl: 0x9 ssch: 0x3
i2c_get_chip_for_busnum: bus='i2c@48070000', address 4b, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 4b: not found
i2c_bind_driver: device_bind_driver: ret=0
0 -1
0 0
- -1 -1 'generic_4b'
- not found
i2c_bind_driver: device_probe: ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x4b, len=0x2
0 0
- 0 0 'i2c@48070000'
- found
i2c_get_chip_for_busnum: bus='i2c@48070000', address 4b, ret=0
i2c_get_chip: Searching bus 'i2c@48070000' for address 4b: found, ret=0
i2c_xfer: 1 messages
i2c_xfer: chip=0x4b, len=0x2
clock is disabled (0Hz)
mmc_init_stream: timedout waiting for cc!
clock is enabled (400000Hz)
omap_hsmmc_send_cmd : timeout: No status update
mmc_init: -110, time 2248
MMC INIT FAILED!
get_dev_hwpart: No device for iface 'mmc', dev 0
** Bad device mmc 0 **
****************************************************************************************
Using default environment
... ... ...
Loading Environment from NAND... Scanning device for bad blocks