This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MMC1 booting



Hi,

I want to boot from MMC1, when i try to boot from MMC1 it is getting struck at uboot

Following are debug messages


U-Boot SPL 2013.01.01 (May 15 2013 - 14:38:05)
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
I am in function : omap_mmc_init  line is 550
 i am before switch line is 551
in CASE1 OMAP_HSMMC2_BASE line is 559
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2013.01.01 (May 15 2013 - 14:38:05)

I2C:   ready
DRAM:  256 MiB
WARNING: Caches not enabled
Analogics: func is read_eeprom line is 116
Analogics: func is read_eeprom line is 126
Incorrect magic number (0x0) in EEPROM
Could not get board ID.
NAND:  No NAND device found!!!
0 MiB
MMC:   I am in function : omap_mmc_init  line is 550
 i am before switch line is 551
in CASE0 line is 555
I am in function : omap_mmc_init  line is 550
 i am before switch line is 551
in CASE1 OMAP_HSMMC2_BASE line is 559
OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, 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
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
Booting from nand ...

no devices available
Wrong Image Format for bootm command
ERROR: can't get kernel image!
U-Boot#


It is getting stuck at uboot, but when i issue following commands at uboot# then it is booting.

Following are the commands

 U-Boot# fatload mmc 1 0x81000000 uEnv.txt
 U-Boot# env import -t 0x81000000 $filesize
 U-Boot# boot

Following are commands in uEnv.txt file

bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait
bootcmd=mmc rescan; fatload mmc 1 0x82000000 uImage; bootm 0x82000000
uenvcmd=boot

Thanks in advance

Rajeev battu.