I mean, I know of at least one person who has tested this on Debian, ARCH, Busybox( custom ) and all three of those worked. Ubuntu, Fedora, and Angstrom all ***did not work***. I am personally only interested in Debian at this moment. So this is all the testing I have done.
I have been hearing that Angstrom has some sort of bootup issue that makes network boot hard, or not possible. However, knowing what I do know about Linux in general, I would think that perhaps the kernel is not configured for NFS network boot by default. As various NFS features, including NFS network boot *MUST* be enabled in the kernel - *AND* these modules *MUST* be compiled statically into the kernel(e.g. compiling as modules [m] instead of <*> will not work). Anyway, I am not an expert when it comes to Angstrom, this would just be my own first guess. I am fairly sure that the initial step ( uboot ) should work, but am guessing that loading the rootfs would be where the problem lies. On Fri, Oct 4, 2013 at 7:13 AM, robert.berger <[email protected]>wrote: > > > On Wednesday, October 2, 2013 6:02:22 PM UTC+3, [email protected] wrote: >> >> How can I setup TFTP server for the Beaglebone Black? >> > > I have BB white and this is my uEnv.txt where I load kernel+fdt from tftp > and rootfs from nfs: > > hostname=a335bone > > kernel_addr_r=0x80200000 > expand_bootfile=setenv bootfile ${hostname}/uImage > > fdt_addr_r=0x80F80000 > expand_fdtfile=setenv fdtfile ${hostname}/am335x-bone.dtb > > ipaddr=192.168.42.11 > serverip=192.168.42.1 > gatewayip=192.168.42.1 > netmask=255.255.255.0 > netdev=eth0 > > # --> uImage from tftp > kernel_netload=tftp ${kernel_addr_r} ${bootfile} > # <-- uImage from tftp > > # --> fdt from tftp > fdt_netload=tftp ${fdt_addr_r} ${fdtfile} > # <-- fdt from tftp > > # --> uImage + fdt from tftp > netload=run kernel_netload fdt_netload > # <-- uImage + fdt from tftp > > # --> generic bootargs > bootargs=console=ttyO0,115200n8 > # <-- generic bootargs > > # --> rootfs from mmcblk0p2 > #mmcroot=/dev/mmcblk0p2 ro > #mmcrootfstype=ext4 rootwait > #mmc_to_bootargs=setenv bootargs ${bootargs} root=${mmcroot} > rootfstype=${mmcrootfstype} > # > #mmcboot=echo Booting from mmc...; run mmc_to_bootargs > # > # --> generic > #compose_default=run expand_bootfile; echo bootfile: ${bootfile}; run > expand_fdtfile; echo fdtfile: ${fdtfile}; ping ${serverip} > # <-- generic > # > #compose_mmcboot=run mmcboot > # > #uenvcmd=run compose_default; run netload; run compose_mmcboot; printe > bootargs; bootm ${kernel_addr_r} - ${fdt_addr_r} > # <-- rootfs from mmcblk0p2 > > # --> rootfs from nfs > nfsroot=/opt/eldk-5.3/armv7a/rootfs-sato-sdk > ips_to_bootargs=setenv bootargs ${bootargs} > ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off > nfs_to_bootargs=setenv bootargs ${bootargs} > nfsroot=${serverip}:${nfsroot},v3,tcp > default_to_bootargs=setenv bootargs ${bootargs} noinitrd nohlt panic=1 > compose_bootargs=run ips_to_bootargs; run nfs_to_bootargs; run > default_to_bootargs > nfsboot=echo Booting from nfs...; run compose_bootargs > > # --> generic > compose_default=run expand_bootfile; echo bootfile: ${bootfile}; run > expand_fdtfile; echo fdtfile: ${fdtfile}; ping ${serverip} > # <-- generic > > compose_nfsboot=run nfsboot > > uenvcmd=run compose_default; run netload; run compose_nfsboot; printe > bootargs; bootm ${kernel_addr_r} - ${fdt_addr_r} > # <-- rootfs from nfs > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
