On Sunday, September 6, 2015 at 11:31:26 PM UTC+2, RobertCNelson wrote:
>
> On Sun, Sep 6, 2015 at 4:23 PM, Patrick Mulder <[email protected] 
> <javascript:>> wrote: 
> > 
> > 
> > On Sunday, September 6, 2015 at 7:49:29 PM UTC+2, RobertCNelson wrote: 
> >> 
>
> Have you built/installed u-boot with this patch? 
>
>
> https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
>  
>
>
Hmm.. ok, interesting.
I now got the boot working by copying ML0 and u-boot.img from the a Debian 
flasher image.

Then, I set uname_r in uEnv.txt as follows:

##These are needed to be compliant with Angstrom's 2013.06.20 u-boot.

loadaddr=0x82000000
fdtaddr=0x88000000
rdaddr=0x88080000

initrd_high=0xffffffff
fdt_high=0xffffffff

##These are needed to be compliant with Debian 2014-05-14 u-boot.
uname_r=3.8.13-bone74

loadximage=load mmc 0:2 ${loadaddr} /boot/vmlinuz-${uname_r}
loadxfdt=load mmc 0:2 ${fdtaddr} /boot/dtbs/${uname_r}/${fdtfile}
loadxrd=load mmc 0:2 ${rdaddr} /boot/initrd.img-${uname_r}; setenv rdsize 
${filesize}
loaduEnvtxt=load mmc 0:2 ${loadaddr} /boot/uEnv.txt ; env import -t 
${loadaddr} ${filesize};
check_dtb=if test -n ${dtb}; then setenv fdtfile ${dtb};fi;
loadall=run loaduEnvtxt; run check_dtb; run loadximage; run loadxrd; run 
loadxfdt;

mmcargs=setenv bootargs console=tty0 console=${console} ${optargs} 
${cape_disable} ${cape_enable} root=/dev/mmcblk0p2 
rootfstype=${mmcrootfstype} ${cmdline}

uenvcmd=run loadall; run mmcargs; bootz ${loadaddr} ${rdaddr}:${rdsize} 
${fdtaddr};

The network from rootfs is giving an error, but the rest looks good.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to