I changed bootargs to:

setenv bootargs 'console=ttyO0,115200n8 quiet root=/dev/nfs 
nfsroot=162.218.156.29:/tftpboot/root/one rw 
ip=192.168.0.2:162.218.156.29:192.168.0.1:255.255.255.0:one:eth0:off'

the salient difference being 'rw' after nfsroot and adding /tftpboot to the 
path and it's booting now, although the fsck check fails:

INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
findfs: unable to resolve 'UUID=44c824c2-262c-4b4f-8d31-c9b5aec1eed2'
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
findfs: unable to resolve 'UUID=44c824c2-262c-4b4f-8d31-c9b5aec1eed2'
[ ok ] Activating swap...done.
Usage: mountpoint [-q] [-d] [-x] path
[....] Checking root file system...fsck from util-linux 2.20.1
fsck.ext4: No such device or address while trying to open /run/rootdev
Possibly non-existent or swap device?
fsck died with exit status 8
failed (code 8).
[....] An automatic file system check (fsck) of the root filesystem failed. 
A manual fsck must be performed, then the system restarted. The fsck should 
be performed in maintenance mo[FAILth the root filesystem mounted in read-only 
mode. ... failed!
[....] The root filesystem is currently mounted in read-only mode. A 
maintenance shell will now be started. After performing system maintenance, 
press CONTROL-D to terminate the main[warnce shell and restart the system. 
... (warning).
Give root password for maintenance
(or type Control-D to continue):

When you say say drop initrd, you mean?:

tftp 0x81600000 /boot/one/initrd.img-3.8.13-bone70

When I don't load that bootz gives me a corrupt image error.  I probably 
don't understand the bootz command, I've been looking for documention on it 
and haven't found any.  I tried 

bootz 0x80300000 0x815f0000

To load the zImage and the ftd.  But I'm not sure what bootz expects. 

I also saw this parameter, and wondered if I should point it at systemd:

rdinit=<executable file>

  To specify which file contains the program that starts system
  initialization, administrators can use this command line parameter.
  The default value of this parameter is "/init".  If the specified
  file exists and the kernel can execute it, root filesystem related
  kernel command line parameters, including `nfsroot=', are ignored.


Thanks for the help.


On Friday, July 17, 2015 at 3:52:50 PM UTC-7, RobertCNelson wrote:
>
> On Fri, Jul 17, 2015 at 5:32 PM, Sherman Boyd <[email protected] 
> <javascript:>> wrote: 
> > Hello.  I'm working on getting the BBB booting over network, for our CI 
> > testbench.  I've got it booting the kernel over tftp: 
> > 
> > setenv autoload no 
> > setenv bootdelay 2 
> > setenv ipaddr 192.168.0.2 
> > setenv gatewayip 192.168.0.1 
> > setenv netmask 255.255.255.0 
> > setenv serverip 162.x.x.x 
> > 
> > tftp 0x80300000 /boot/one/vmlinuz-3.8.13-bone70 
> > tftp 0x81600000 /boot/one/initrd.img-3.8.13-bone70 
> > setenv initrd_size ${filesize} 
> > tftp 0x815f0000 /boot/one/am335x-boneblack.dtb 
> > setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs 
> > nfsroot=162.x.x.x:/root/one 
> > ip=192.168.0.2:162.x.x.x:192.168.0.1:255.255.255.0:one:eth0:off quiet 
> > init=/lib/systemd/systemd' 
> > bootz 0x80300000 0x81600000:${initrd_size} 0x815f0000 
> > 
> > but connecting to the NFS root filesystem times out: 
>
> Drop the initrd & init=/lib/systemd/systemd... 
>
> 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.

Reply via email to