CUBOX snapshots working?

Ian Lepore ian at freebsd.org
Wed Sep 27 15:00:29 UTC 2017


On Wed, 2017-09-27 at 11:24 +0200, Emmanuel Vadot wrote:
> On Tue, 26 Sep 2017 16:55:28 -0600
> Ian Lepore <ian at freebsd.org> wrote:
> 
> > 
> > [...]
> > haven't worked much with the new imx6 uboot packages because for me
> > they're completely unusable because they lack support for netbooting.
> >  (If you feel tempted to say something about efi and netbooting, please
> > provide links to how-to documentation at the very least, and an example
> > that works for armv6 would be even better.)
> > 
> > -- Ian
>  Just set 'filename' to loader.efi in dhcpd.conf (if you use isc-dhcpd)
> and have it served by tftpd.
>  In U-boot :
> 
>  $ env set boot_targets=dhcp (default is different for each board but
> will look like "mmc0 dhcp usb")
>  $ env save (if you want it by default)
>  $ boot
> 
>  This will make u-boot do dhcp request, tftp load the DTB (so
> have it in your tftpd directory), loader.efi and run it.
> 

What if I don't have control over the dhcp server config, how can I
locally configure what file to load?

What if I'm running nfs, but not a tftp server?

Where does loader.efi load the kernel and modules from?  How do I
control / change that?

The configuration I prefer is that loader(8) comes from local storage
(sdcard, whatever), and it loads the kernel, the dtb, and modules, via
nfs.  I don't want uboot doing anything on the network itself.  How do
I configure that?

-- Ian


More information about the freebsd-arm mailing list