On 27-02-2014 15:16, guillaume.gardet@free.fr wrote:
Output from print command: # print arch=arm baudrate=115200 board=omap5_uevm board_name=omap5_uevm bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; setenv mmcroot /dev/mmcblk0p2 rw; run mmcboot; bootdelay=1 bootdir=/boot bootfile=zImage bootpart=0:2 bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr} console=ttyO2,115200n8 cpu=armv7 fdt_high=0xffffffff fdtaddr=0x80F80000 fdtfile=undefined findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize} loadaddr=0x80200000 loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}; loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile} mmcargs=setenv bootargs console=${console} ${optargs} vram=${vram} root=${mmcroot} rootfstype=${mmcrootfstype} mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run loadfdt; echo Booting from mmc${mmcdev} ...; run mmcargs; bootz ${loadaddr} - ${fdtaddr}; fi;fi; mmcdev=0 mmcroot=/dev/mmcblk1p2 rw mmcrootfstype=ext4 rootwait partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs} rdaddr=0x81000000 scsidevs=0 soc=omap5 stderr=serial stdin=serial stdout=serial usbethaddr=02:21:03:5f:0e:70 usbtty=cdc_acm vendor=ti ver=U-Boot 2014.01 (Feb 25 2014 - 21:55:07) vram=16M
Environment size: 1904/131067 bytes
You still have an old image. I mean your image does not include all your patches for u-boot.
Try to type: mmc dev 1 (or mmc dev 0) mmc rescan load mmc 0:1 0x82000000 boot.scr
It should load your boot.scr script.
It seems to load the boot.scr without error, but still fails to boot.
Maybe try also 'run loadbootscript' command.
This results in ** Unrecognized filesystem type **
Look at your loadbootscript var: loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
I guess your boot partition is EXT2, 3 or 4, not FAT?
I'm somewhat confused. I can't see why it is getting fatload, everything I can see says either ext2 as the filesystem type and loadscript=load. Why fatload is getting there I just don't know. Where should uEnv.txt be located? Thanks, Andy
Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org