On Wed, Jul 1, 2015 at 2:38 PM, <[email protected]> wrote:
> Hello William. Thanks.
>
> > For starters, we'd need to see your uEnv.txt file. After that, while it is
> possible to troubleshoot an issue like this without a serial debug cable(
> I've done it, and it is not any fun ). You'd > have to be very meticulous,
> and know exactly how the process works completely.
>
> Serial cable is always in use :) Some uEnv and serial spew at end of post. It
> does not look like it even tries to TFTP zImage+dtb
>
>> Anyway here is a link to a guide I wrote a couple years ago:
>> http://www.embeddedhobbyist.com/2013/06/beaglebone-black-network-boot/
>
> Yep. Saw that in my travels. Very useful but a little dated.
>
> Keep in mind that zImage should now work, so everything pertaining to uImage
> needs to be changed, or ignored( in the case of mkimage ).
>
>> Just a note though . . . You *need* flash media ( sdcard / eMMC ) anyway,
>> for MLO and uboot.image . . . so I figure what does it hurt to boot the
>> kernel off flash media, and just load
>> the rootfs from NFS ? Anyway, this is what I do now days myself, so have not
>> personally bothered with TFTP boot since I wrote that guide.
>
> Yes, I certainly understand that. At the moment I'm just trying to make sure
> I've got 100% control over then environment. And it don't feel that way :)
>
> TAIA
>
> ----------------------------------------------------uEnv
> uname_r=4.1.0-bone9
> loadaddr=0x82000000
> fdtaddr=0x88000000
> rdaddr=0x88080000
^^ not needed, defined by default..
>
> initrd_high=0xffffffff
> fdt_high=0xffffffff
^^ not needed, defined by default..
> console=ttyO0,115200n8
^^ not needed, defined by default..
> ipaddr=192.168.1.111
> serverip=192.168.1.115
> gateway=192.168.1.254
> netmask=255.255.255.0
#use:
client_ip=192.168.1.111
server_ip=192.168.1.115
gateway=192.168.1.1
root_dir=/home/jevans/bone/rootfs
> bootdelay=1
> bootfile=boot/zImage
> fdtfile=boot/dtbs/4.1.0-bone9/am335x-boneblack.dtb
> rootpath=/home/jevans/bone/rootfs
>
> netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs
> rootdelay=10 nfsroot=${serverip}:${rootpath},${nfsopts} rw
> ip=${ipaddr}:${serverip}:${gateway}:${netmask}:${hostname}:eth0:off
> netboot=echo ----------BOOTING NFS----------; tftp ${loadaddr} ${bootfile};
> tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
> uenvcmd=run netboot
# drop these, client_ip defaults to^^^
To sumarize:
#--------------------------------summary, simplified uEnv.txt with uname_r-----
uname_r=4.1.0-bone9
client_ip=192.168.1.111
server_ip=192.168.1.115
gateway=192.168.1.1
root_dir=/home/jevans/bone/rootfs
#---------------------------------------------------------------------------------------------------
tftp server:
/vmlinuz-${uname_r}
/dtbs/${uname_r}/am335x-boneblack.dtb
or:
#--------------------------------summary, simplified
uEnv.txt-------------------------
client_ip=192.168.1.111
server_ip=192.168.1.115
gateway=192.168.1.1
root_dir=/home/jevans/bone/rootfs
#---------------------------------------------------------------------------------------------------
tftp server:
/zImage
/dtbs/*.dtb
Regards,
--
Robert Nelson
https://rcn-ee.com/
--
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.