Dear TI Community,
One of our products is an embedded system that uses an AM335x processor with two MMC devices.
Everything on the system works correctly except getting u-boot to correctly boot off of the eMMC device on MMC1.
I have no issues booting off of MMC0 which has an SD card. The boot config is 11100 set to try MMC1, then MMC0 but I change it to boot to MMC0. I edited the SD card kernel with board-am335xevm.c and I am able to see and access the MMC1 eMMC device while I am booted on the SD card. I can create partitions, read/write data and I copied MLO, u-boot and uImage. When I then remove the SD card and power cycle the device it does find the boot partition on the eMMC and try to load u-boot but fails to proceed. Here is the output:
U-Boot SPL 2013.01.01 (Apr 16 2014 - 11:53:24)
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
OMAP SD/MMC: 0
spl: fat register err - -1
### ERROR ### Please RESET the board ###
I have tried changing the settings in the u-boot config file include/configs/am335x_evm.h
mmcroot=/dev/mmcblk0p2 to mmcroot=/dev/mmcblk1p2
mmcdev=0 to mmcdev=1
but it has not helped. I have tried both 0 and 1. I also tried changing the section
/* USB Device Firmware Update support */ to match these but with no luck.
I am using Sitara SDK 6 as I could not get the kernel to work correctly from SDK 7 on the SD card.
Some more details: we are using:
U7,V7,R8,T8,U8,V8,R9,T9 for MMC1 DAT0-7 MUX2 and
U9,V9 for MMC1 CLK MUX0 MMC CMD MUX0
and V17 GPIO1_27 is being used for MMC1 Reset (nothing special just has to be low)
and the eMMC chip we are using is Micron 2G MTFC2GMDEA
Does using MUX0 and MUX2 for MMC1 have any potential problems?
Also, I understand one can customize the pinmux for the kernel build, but does this also apply in any way to u-boot?
Any help or a point in the right direction is much appreciated. Thank you for your time!
Regards,
Anthony