Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 09:54:31 +0900
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Magic incantation for Pine64 UEFI/PXE boot
Message-ID:  <ED14CBD6-54AF-4229-91BE-16274BBFBA42@bidouilliste.com>
In-Reply-To: <CAPyFy2CpKUVs=50Y-NPYtDqoGhCgkPAW1CyThH_LkW6esAzMpw@mail.gmail.com>
References:  <CAPyFy2CpKUVs=50Y-NPYtDqoGhCgkPAW1CyThH_LkW6esAzMpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=46rom U-Boot prompt :

setenv boot_targets dhcp
(saveenv)
boot

And if you don=E2=80=99t have anything bootable on the sdcard u-boot will tr=
y sd, usb then dhcp iirc

--=20
Emmanuel Vadot

> Le 17 mars 2018 =C3=A0 06:40, Ed Maste <emaste@freebsd.org> a =C3=A9crit :=

>=20
> This seems to be somewhat under-documented, so for anyone else trying
> to PXE boot a Pine64: after some trial and error I found "dhcp"
> followed by "bootefi ${fileaddr} ${fdtcontroladdr}" works.
>=20
> I used the most recent FreeBSD SD-card image (to provide U-boot), and
> used standard configuration on the PXE boot host.
>=20
> =3D> dhcp
> BOOTP broadcast 1
> DHCP client bound to address 10.0.0.101 (4 ms)
> Using ethernet@01c30000 device
> TFTP from server 10.0.0.1; our IP address is 10.0.0.101
> Filename 'arm64/boot/loader.efi'.
> Load address: 0x42000000
> Loading: *^H####################################
>         840.8 KiB/s
> done
> Bytes transferred =3D 517120 (7e400 hex)
> =3D> bootefi ${fileaddr} ${fdtcontroladdr}
> ## Starting EFI application at 42000000 ...
> ...
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED14CBD6-54AF-4229-91BE-16274BBFBA42>