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.

Unknown command 'mmcinit' - try 'help'

Other Parts Discussed in Thread: OMAP3503

Hi,

I am working on OMAP35x evm. I am trying to boot the linux kernel from SD/MMC card.

I have copied the kernel image into SD card and set the environment variables properly.

Please see the environment variables from printenv command is given below:

OMAP3EVM # printenv
baudrate=115200
gatewayip=192.168.1.1
bootfile="uImage"
get_kernel=run onenand_kernel
get_initrd=run onenand_initrd
onenand_kernel=onenand read 0x80000000 0x280000 0x0200000
onenand_initrd=onenand read 0x81600000 0x780000 0x1000000
tftp_kernel=tftpboot 0x80000000 uImage
tftp_initrd=tftpboot 0x81600000 ramdisk.gz
bootargs_rd=mem=128M console=ttyS0,115200n8 root=/dev/ram0 initrd=0x81600000,32M ramdisk_size=32768
bootargs_fs=mem=128M console=ttyS0,115200n8 noinitrd root=/dev/mtdblock4 rw rootfstype=jffs2
bootargs_nfs=mem=128M console=ttyS0,115200n8 noinitrd rw root=/dev/nfs nfsroot=/mnt/nfs,nolock
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:on
boot_rd=run get_kernel; run get_initrd; setenv bootargs $(bootargs_rd); run addip; bootm 0x80000000
boot_fs=run get_kernel; setenv bootargs $(bootargs_fs); run addip; bootm 0x80000000
boot_nfs=run get_kernel; setenv bootargs $(bootargs_nfs); run addip; bootm 0x80000000
bootdelay=5
ethaddr=00:50:c2:7e:88:37
serverip=10.4.2.242
ipaddr=10.4.2.19
netmask=255.255.255.0
bootargs=console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.162.3.43:/home/sreddy/NFS_File_System ip=dhcp mem=128M rootwait
bootcmd=mmcinit ; fatload mmc 0:1 0x80000000 uImage ; bootm 0x80000000
stdin=serial
stdout=serial
stderr=serial

Environment size: 1309/131068 bytes

************************************ end*****

When i power on the, i am getting the following messages:

-----------------

X-Loader 1.41.0
Detected Samsung MuxOneNAND1G Flash
Starting OS Bootloader...


U-Boot 1.1.4 (Mar 11 2008 - 18:01:24)

OMAP3-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3EVM 1.0 Version + mPOP (Boot ONND)
DRAM:  128 MB
Muxed OneNAND 128MB 1.8V 16-bit (0x30)
Scanning device for bad blocks
num of blocks = 2048
In:    serial
Out:   serial
Err:   serial
Reseting CHIP... Done
LAN9x18 (0x01150002) detected.
start Auto negotiation... (take ~2sec)
Auto negotiation failed
Hit any key to stop autoboot:  0
Unknown command 'mmcinit' - try 'help'
Unknown command 'fatload' - try 'help'
## Booting image at 80000000 ...
Bad Magic Number
OMAP3EVM #
---------------------

I have tried the bootcmd by setting 'mmc init' also. But still getting the same error.

Where could be the problem? Do i need to update latest U-boot? If yes, where can i get the latest uboot version?

Please help me on this? How to resolve this issue?

-Srinivas.