Date: Thu, 12 Jul 2018 16:26:19 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: Ian Lepore <ian@freebsd.org> Cc: Greg V <greg@unrelenting.technology>, freebsd-arm@freebsd.org Subject: Re: Netbooting ROCK64 Message-ID: <20180712162619.c2946e4ec262319e0c0ebb7b@bidouilliste.com> In-Reply-To: <1531404460.66719.26.camel@freebsd.org> References: <1531333209.1596.0@hraggstad.unrelenting.technology> <20180712120405.a16a2733473400e899f34d2f@bidouilliste.com> <1531392570.1456.0@hraggstad.unrelenting.technology> <20180712160051.ab6447bad4d97395552c3a5d@bidouilliste.com> <1531404460.66719.26.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jul 2018 08:07:40 -0600 Ian Lepore <ian@freebsd.org> wrote: > On Thu, 2018-07-12 at 16:00 +0200, Emmanuel Vadot wrote: > > > env set bootargs boot.nfsroot.server=3D${serverip}=A0 > > > boot.nfsroot.path=3D<PATH> comconsole_speed=3D${baudrate} > > > tftpboot ${kernel_addr_r} loader.efi > > > bootefi ${kernel_addr_r} ${fdtcontroladdr} > >=20 > > =A0I've never used nfs with loader like this, do you control the dhcp ? > > =A0If so just set the correct rootpath in it and in uboot just do : > > =A0setenv boot_targets dhcp > > =A0saveenv >=20 > This is really not a good enough answer. =A0Many 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. >=20 > Pre-efi, all you had to do for netbooting was >=20 > =A0 setenv loaderdev net > =A0 setenv rootpath serverip:/path/to/rootfs > =A0 boot >=20 > It sure would be nice if we could maintain that level of simplicity > with efi uboot. >=20 > -- Ian --=20 Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180712162619.c2946e4ec262319e0c0ebb7b>