Netbooting ROCK64

Ian Lepore ian at freebsd.org
Thu Jul 12 14:07:52 UTC 2018


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.

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


More information about the freebsd-arm mailing list