I used mmc0 for micro SD Card, that's OK, but I use it for eMMC flash (4GB THGBMBG5D1KBAIT), error happen.
I tried u-boot-2013.01.01 (based on ti-sdk-am335x-evm-06.00.00.00) and uboot-2014.07-g7e537bf ( based on am335x-evm-sdk-src-01.00.00.00), both failed.
==================error log======================
log for u-boot-2013.01.01
U-Boot 2013.01.01 (May 07 2014 - 14:54:55)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
PHY reset timed out
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot# mmcinfo
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
Device: OMAP SD/MMC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: No
Capacity: 0 Bytes
Bus Width: 1-bit
U-Boot#
U-Boot#
U-Boot# mmc rescan
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
U-Boot#
================== error log =======================
log for uboot-2014.07-g7e537bf
U-Boot 2014.07-00107-ga6ef75a (May 21 2015 - 21:34:58)
I2C: ready
DRAM: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
*** Warning - spi_flash_probe() failed, using default environment
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
Net: <ethaddr> not set. Validating first E-fuse MAC
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
Could not get board ID.
Phy not found
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot# mmcinfo
Card did not respond to voltage select!
U-Boot# mmcinfo
Card did not respond to voltage select!
U-Boot# mmcinfo
Card did not respond to voltage select!
U-Boot# mmc rescan
Card did not respond to voltage select!
U-Boot# mmc rescan
Card did not respond to voltage select!
U-Boot#
============================ logs end ====================
1 . Does anybody know what's the problem? I used UART0 to boot system(UART0->u-boot-spl.bin->u-boot.img)
2 . Dose am3352 support MMC v5.0? Because I found that <am335x_user guide.pdf>
"MMCcommand/responsesetsasdefinedin the MMCstandardspecificationv4.3."