From owner-freebsd-arm@freebsd.org Tue Aug 4 14:27:08 2020 Return-Path: Delivered-To: freebsd-arm@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 2B7923753EF for ; Tue, 4 Aug 2020 14:27:08 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BLcXC18Dbz4PjW for ; Tue, 4 Aug 2020 14:27:06 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1k2xuC-0004Tg-Df; Tue, 04 Aug 2020 16:27:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=In-Reply-To:Message-ID:From:Content-Transfer-Encoding:MIME-Version: Date:References:Subject:To:Content-Type:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PDT+EAJTjY612WyY/gCgo8ioBHkehxa8RdmfVWTnMTM=; b=SqSqbiblvme8FIxPzHy9YlT/7f MXrfyF3NKp+W05++T1ySME/L75V21+QlOvd5IkjqjawaaxUF3d7vX4+DbSaMpYdUckhIrA+6iKBtt 5G2HrZ06hmxg0Vu3aCVn44QSFDnwd3nQu/+4Rlrw9d/sJ8+hPpwP33hM5TEVAxBbbBtw=; Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-arm@freebsd.org, "Denis Polygalov" Subject: Re: FreeBSD network boot on Raspberry Pi 4 References: <90f6021a-1be8-8d2e-2e58-6647edb9e101@gmail.com> Date: Tue, 04 Aug 2020 16:27:02 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <90f6021a-1be8-8d2e-2e58-6647edb9e101@gmail.com> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.4 X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: a9e4b997d6a751f3e45cb47a3c2b1d2c X-Rspamd-Queue-Id: 4BLcXC18Dbz4PjW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=SqSqbibl; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[195.190.28.88:from]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; NEURAL_HAM_LONG(-1.02)[-1.020]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; NEURAL_HAM_SHORT(-0.85)[-0.851]; FREEMAIL_TO(0.00)[freebsd.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 14:27:08 -0000 On Tue, 04 Aug 2020 15:57:29 +0200, Denis Polygalov wrote: > Hi, > > I'm trying to boot FreeBSD 12.1-RELEASE over network > on Raspberry Pi 4 Model B. > Well, the '12.1-RELEASE' doesn't matter here because > seems like loader.efi cannot find and load kernel yet. Other people know more details than I do. But... RPI4 is very new. All development to get it up and running is in 13-CURRENT. You can try a snapshot build. More information can be found here: https://wiki.freebsd.org/arm/Raspberry%20Pi Latest snapshot can be found here: https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/13.0/ Regards, Ronald. > > I'm using RPi4 UEFI v 1.17: > https://github.com/pftf/RPi4/releases/tag/v1.17 > > and here is what I see on a serial console: > > ESC (setup), F1 (shell), ENTER (boot).. > >>Start PXE over IPv4. > Station IP address is 192.168.10.201 > > Server IP address is 192.168.10.10 > NBP filename is boot/loader.efi > NBP filesize is 610056 Bytes > Downloading NBP file... > > NBP file downloaded successfully. > Consoles: EFI console > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.70 > EFI Firmware: https://github.com/pftf/RPi4 (rev 1.00) > Console: efi (0) > Load Path: > (few minutes time delay here) > bootp: no reply > No response for RARP request > net_open: RARP failed > bootp: no reply > > Seems like the loader.efi is get executed but not all > necessary parameters are passed to it... > > The host machine I'm using for testing is designated for > network boot of various ARM based boards and I'm quite > sure tftpd/dhcpd/nfsd configuration is correct. > Here is relevant output of Nanopi-NEO2 board > network boot performed on the same host machine: > > ... skipped ... > ## Starting EFI application at 40080000 ... > Consoles: EFI console > Reading loader env vars from /efi/freebsd/loader.env > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.70 > EFI Firmware: Das U-Boot (rev 8217.1024) > Console: efi (0) > Load Path: /dtb\allwinner\sun50i-h5-nanopi- > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(0201579f3216,0x1) > Setting currdev to net0: > net0: cannot set rx. filters (status=3) > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.local > Autoboot in 8 seconds, hit [Enter] to boot or any other key to stop > Loading kernel... > /boot/kernel/kernel text=0x93a61c data=0x1914c8+0x84ab1c > syms=[0x8+0x138810+0x8+0x124a28] > Loading configured modules... > ... skipped ... > > is there anything I can do in order to get my RPi 4 booted over network? > > Best Regards, > Denis. > > > > > > _______________________________________________ > 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"