From owner-freebsd-arm@freebsd.org Sat Mar 17 00:54:47 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D7B4F5BB6A for ; Sat, 17 Mar 2018 00:54:47 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 503AE7D0BE; Sat, 17 Mar 2018 00:54:45 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 06f340ec; Sat, 17 Mar 2018 01:54:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=mail; bh= ZoSQmRReOA9KifFAcM/+AttC2sA=; b=In6+Bdi2UPaz5pLv1IhBR4Ar+AdyZUxe ECrGAJJKXPsV1iJ4M7cq7UnvU9oOSatOYQ8iSz+WgSDbDGYRdsq655wq4/6ImAFB vDMZwGNsZTVzbJBZ4tZtztk1wV4O5oYBPNAO4sPB0UpOOJe8VYNPHalkaMaNq624 qAopLALXL30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= mail; b=o3hnjkda7Ka3Q6JYeZetsVdSgmGqOgrai9UmTnRXNdbECeCaMstCkMQc UGdINiqo9/1fq6NalsepShNkGFsL0Ov+naeDhWQB89YHbXInEMP3hLfhedMeCEoJ k5Q4OcFTGBtuX12K5TfR0cqrd7x0Il5bIaIplP3mbHKGwE35Yb8= Received: from [192.168.128.100] (ai126173013235.46.access-internet.ne.jp [126.173.13.235]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 7bc740bc TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 17 Mar 2018 01:54:37 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Magic incantation for Pine64 UEFI/PXE boot From: Emmanuel Vadot X-Mailer: iPhone Mail (15C202) In-Reply-To: Date: Sat, 17 Mar 2018 09:54:31 +0900 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Ed Maste X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2018 00:54:47 -0000 =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 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"