Netbooting ROCK64

Emmanuel Vadot manu at bidouilliste.com
Thu Jul 12 14:26:22 UTC 2018


On Thu, 12 Jul 2018 08:07:40 -0600
Ian Lepore <ian at freebsd.org> wrote:

> On Thu, 2018-07-12 at 16:00 +0200, Emmanuel Vadot wrote:
> > > env set bootargs boot.nfsroot.server=${serverip} 
> > > boot.nfsroot.path=<PATH> comconsole_speed=${baudrate}
> > > tftpboot ${kernel_addr_r} loader.efi
> > > bootefi ${kernel_addr_r} ${fdtcontroladdr}
> > 
> >  I've never used nfs with loader like this, do you control the dhcp ?
> >  If so just set the correct rootpath in it and in uboot just do :
> >  setenv boot_targets dhcp
> >  saveenv
> 
> This is really not a good enough answer.  Many people have dhcp, not
> nearly as many have easy access to control the config of that dhcp
> server.

 Yes and it seems to work with rpi3.
 But u-boot on rpi is using 2018.03, not 2017.09 like on Rock64.
 I want to be sure that his setup is working.

> It MUST be possible to set tftp and/or nfs boot parms from some
> persisent config on the system being booted, or we just don't have a
> viable netboot solution.
> 
> Pre-efi, all you had to do for netbooting was
> 
>   setenv loaderdev net
>   setenv rootpath serverip:/path/to/rootfs
>   boot
> 
> It sure would be nice if we could maintain that level of simplicity
> with efi uboot.
> 
> -- Ian


-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the freebsd-arm mailing list