Hi, Le 03/03/2014 10:43, Andrew Wafaa a écrit :
On 28 February 2014 10:37, Guillaume Gardet <guillaume.gardet@free.fr> wrote:
Le 27/02/2014 18:43, Andrew Wafaa a écrit :
On 27-02-2014 17:40, guillaume.gardet@free.fr wrote:
----- Andrew Wafaa <andrew@wafaa.eu> a écrit :
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. Forgot to add 'source 0x82000000' to run boot.scr script.
>> 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.
Because you are using a non patched u-boot.
I copied u-boot from openSUSE:Factory:ARM, so how come it's unpatched, where can I get the correct one? I mean your are not using your latest u-boot-omap5uevm.
Where should uEnv.txt be located? We do not use it, so I do not know.
OK, I'm not sure if it's needed or not. I know Nishanth mentioned using it, but I don't think it's vital. If your boot.scr is ok, then you do not need it.
Guillaume
Getting a little closer to getting it working but still failing. Attached is the latest log I have from booting, any ideas?
Your error: [1393545598.566144] Searching for boot device... [1393545616.599068] Failed to find boot device ! [1393545616.605305] rebootException: reboot in 120 sec... has been seen on other systems too. Maybe not related to your OMAP5. It is a Factory image, right? Could you try to build your image against 13.1, please? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org