On Sun, Jun 15, 2014 at 08:36:33AM +0200, Rainer Dorsch wrote: > On Saturday 14 June 2014 14:48:08 Vagrant Cascadian wrote: > > On Sat, Jun 14, 2014 at 10:36:43PM +0200, Rainer Dorsch wrote: > I use your original boot.scr with an adapted bootargs: ... > Variables set as you did, but the kernel is still not booting > > CuBox-i U-Boot > printenv loadaddr fdt_addr ramdiskaddr > loadaddr=0x10800000 ... > CuBox-i U-Boot > load mmc 0:2 0x19000000 /boot/boot.scr > 702 bytes read in 95 ms (6.8 KiB/s) > CuBox-i U-Boot > source 0x19000000 My hunch is loading your bootscript to an alternate address is somehow causing an issue... instead of specifying a different address to load the script, try: load mmc 0:2 ${loadaddr} /boot/boot.scr source ${loadaddr} > Just for reference my entire environment > > CuBox-i U-Boot > printenv ... > bootcmd=run loadkernel ; run loadramdisk ; bootm ${loadaddr} ${ramdiskaddr} Looks like you're using a modifed environment, or a different u-boot build: CuBox-i U-Boot > env default -a ## Resetting to default environment CuBox-i U-Boot > printenv bootcmd bootscript loadbootscript bootcmd=mmc dev ${mmcdev}; if mmc rescan; then for prefix in ${boot_prefixes}; do setenv file_prefix ${prefix}; if run loadbootscript; then run bootscript; else run autodetectfdt; if run loadbootenv; then run importbootenv; fi; if test ${bootfile} = auto; then setenv origbootfile auto; setenv bootfile zImage; if run loadbootfile; then run loadramdisk; run mmcboot; else setenv bootfile uImage; fi; fi; if run loadbootfile; then run loadramdisk; run mmcboot; else setenv bootfile ${origbootfile}; fi; fi; done; fi; run netboot; bootscript=echo Running bootscript from mmc ...; source; loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${file_prefix}${script}; live well, vagrant
Attachment:
signature.asc
Description: Digital signature