From owner-freebsd-current@freebsd.org Tue Jun 16 21:36:15 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF2A1335B57 for ; Tue, 16 Jun 2020 21:36:15 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mhMz22GZz3Wv1 for ; Tue, 16 Jun 2020 21:36:15 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-pl1-x632.google.com with SMTP id y18so9007997plr.4 for ; Tue, 16 Jun 2020 14:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h2aEvezDyamY6xo4hmgOpH8V+KJ1KNn64XIVEwPYj0A=; b=djBp//ICHOL6YGT5wZ3+sl4RXHng62+p9W906yc6XabvLsL/4ignoSsuWuM8rfCf/t Izio7IUn86375bsMWUBYLj5w/IbmuNaRFDgw+sSejWeZQkFUMzrCC9G3apdJ99QdyZmN hiz5nlmtLavgMxpuqxjCjspdM4WNR/pxgHOWOpjYU/+agPpKJWShWQfQyAtdDwJBGCO9 vzCmQDxfoqTIZOgMYxzBK1hdd6u6Z4Uh3ZAmeu9MIH5SjVHBiSrGFlq40N7D/lM4AC7v 7eH2N59lQdbhg6VmwYkqD2AisKbjGSQyigCvv5tV+K/ihHXYKGbIqMuO4d3iIqoVxWsp WLxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h2aEvezDyamY6xo4hmgOpH8V+KJ1KNn64XIVEwPYj0A=; b=l8nNGfhkgDWzLmx3TjAWCUL7Ogb9M513W7kgqF5CWtlAnvKUbS/Gqx1whsZmtFz46h j7YLmBwY44y3MEQ6NySKYRHxBOvDMsISwHo1NeBpHS3tFAMRFtEJq6tVFseoKCmINLyX AgsPhTJT8PRZuMCwNXihUHPkhwTPPFBzwh1fxZOCJ12R1NISlZdPas6WzDj4hzOvaFk7 Z7g5TsQ/bRsDqcIDcdXwGeWvlnf6yYixJhZL60OCyd3KHVaGWusbjbUbi08CJ4QXXVl9 Fk9NN/TWM9gRYrCJXxtb9XZoi4e6fZvlqeWP24puzYQ+ZYk7HqV4L0/hfHNDzXrykxM9 QyEQ== X-Gm-Message-State: AOAM530QhqIgpLpSj9/fNROXPWC0os0INdH8JP9AESnmUwUr0Rf24l1U 1YUoZwL3o9Eh9xj5wnNzoOZK+3eG8Y1SN0UnOl/2qgJpBzA= X-Google-Smtp-Source: ABdhPJzZ1t27QGDWT3Vfh5Ns7aX100n3q+EaZhy23hp8yvMNM1o+Gk7WPcRAlkq4C0l8B4wZx1pJ08WZG6DTGsWmtdc= X-Received: by 2002:a17:902:8d97:: with SMTP id v23mr3786453plo.3.1592343373830; Tue, 16 Jun 2020 14:36:13 -0700 (PDT) MIME-Version: 1.0 References: <0b38b537-9d9b-b3ae-bae3-bb5b4926bbaa@bsdio.com> In-Reply-To: <0b38b537-9d9b-b3ae-bae3-bb5b4926bbaa@bsdio.com> From: Miguel C Date: Tue, 16 Jun 2020 22:35:37 +0100 Message-ID: Subject: Re: CTF: UEFI HTTP boot support To: Rebecca Cran Cc: freebsd-current X-Rspamd-Queue-Id: 49mhMz22GZz3Wv1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=djBp//IC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of miguelmclara@gmail.com designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=miguelmclara@gmail.com X-Spamd-Result: default: False [-1.24 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.909]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.01)[-1.008]; URI_COUNT_ODD(1.00)[1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; HTTP_TO_IP(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::632:from]; NEURAL_HAM_SHORT(-0.32)[-0.321]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 21:36:16 -0000 On Tue, Jun 16, 2020 at 7:25 PM Rebecca Cran wrote: > On 6/16/20 5:17 AM, Miguel C wrote: > > > I've been trying out FreeBSD with raspberry Pi4 (4GB) and wanted to see > > what the state of HTTP BOOT is in FreeBSD, so I bumped into this! > > > > I'm curious if it should be possible to point to a img/iso directly (I > > tried to use the img.xz unpacked it and make it available on a local we= b > > server and that didn't seem to work for me) but maybe thats cause thos= e > > images miss something, so arm64 aside does that work for amd64? I.E. > using > > the bootonly.iso? > > Unfortunately HTTP boot only works as far as the kernel: UEFI fetches > loader.efi, the loader fetches and runs the kernel over HTTP -- and then > you need to use NFS to mount the filesystem (or have a local root > filesystem). > > Thanks for the reply , I can work with that for a live system still better than tftp, http+nfs should be that hard. > UEFI also has RamDisk support, but I don't think that's for remote > ISO/disk files, just local files. > > As for the ISO it does seem to work for remote ISO files, the bhyve con presentantion suggests the same and I was able to boot the ubuntu arm64 install iso using the direct link as a HTTP BOOT entry,. =EF=BF=BD>Start HTTP Boot over IPv4.... > Station IP address is 172.16.50.62 > > URI: http:/?172.16.50.106/uarm64.iso > File Size: 916357120 Bytes > Downloading...26% > But we also don't seem to have iso images for the raspberry pi, so it might not work there, this does sugget just a link to the .efi file would work: https://github.com/jljusten/tianocore/wiki/HTTP-Boot but I tired that with no succes In any case from what you're saying... for a live system I need http + nfs for rootfs. But I'm still clueless how to set that up for FreeBSD, the guide mentioned here is linux centric, what need to live on the http server side? > -- > Rebecca Cran > > >