Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2018 16:46:52 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Magic incantation for Pine64 UEFI/PXE boot
Message-ID:  <CAPyFy2CDx7o=7E-7UWdnSGEmrbPxstXu=1Xyk%2BKHUxmwyhxHqw@mail.gmail.com>
In-Reply-To: <ED14CBD6-54AF-4229-91BE-16274BBFBA42@bidouilliste.com>
References:  <CAPyFy2CpKUVs=50Y-NPYtDqoGhCgkPAW1CyThH_LkW6esAzMpw@mail.gmail.com> <ED14CBD6-54AF-4229-91BE-16274BBFBA42@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 March 2018 at 20:54, Emmanuel Vadot <manu@bidouilliste.com> wrote:
> From U-Boot prompt :
>
> setenv boot_targets dhcp
> (saveenv)
> boot

Thanks! Based on some IRC discussion I ended up with:
boot_targets "dhcp mmc0"
It successfully falls back to mmc0 if network boot fails (although it
takes a while and tries twice).

It first tries to interpret the downloaded file as a script, then
downloads it again and executes it as an EFI binary - I see two dhcp
invocations in bootcmd_dhcp; I suppose this is also the reason DHCP
has to fail twice before fallback to mmc0.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CDx7o=7E-7UWdnSGEmrbPxstXu=1Xyk%2BKHUxmwyhxHqw>