Hai I'm sekra
I'm developing the custom board from the beagleboard xm.I develop 5 boards.In the uboot i modified the u-boot environments using the function setenv.
Using setenv,i set the bootcmd parameter as " setenv bootcmd mmc rescan; run loaduimage; run mmcboot" as i setenv.In the 5 boards i used the above bootloader but 1 board doesn't bootsup after uboot.That board alone shows " Bad kernel image so doesn't shows /boot/uImage"it stops at uboot,doesn't boot the kernel image but other four boards were done.
In the printenv ,it works when type as run loaduimage.it gets boot up and load the kernel. run loaduimagefat doesn't boot.
What is the reason?what is the difference between loaduimage and loaduimagefat?
Printenv Below for my board::::
*************************************************************************************************************************************************
omap_beagleboardXM# pri
baudrate=115200
beaglerev=xMA
bootargs=console=ttyO2,115200n8 mpurate=auto buddy=none camera=none vram=12M omapfb.mode=dvi:1024x600MR-32@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
bootcmd=mmc rescan; run loaduimage; run mmcboot
bootdelay=5
bootenv=uEnv.txt
bootfile=uImage.beagle
buddy=none
camera=none
console=ttyO2,115200n8
defaultdisplay=dvi
dieid#=69f400029ff80000015499740700b019
dvimode=1024x600MR-32@60
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/uImage
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} uImage
mmcargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext3 rootwait
mpurate=auto
nandargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} camera=${camera} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run mmcargs; bootm ${kloadaddr}
nandroot=/dev/mtdblock4 rw
nandrootfstype=jffs2
ramargs=setenv bootargs console=${console} ${optargs} mpurate=${mpurate} buddy=${buddy} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${kloadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=0x81000000,64M
ramrootfstype=ext2
rdaddr=0x81000000
silent=1
usbethaddr=de:ad:be:ef
usbtty=cdc_acm
vram=12M
Environment size: 2022/131068 bytes
*********************************************************************************************************************************************************
Thanks in advance