From owner-freebsd-arm@freebsd.org Wed Nov 11 22:15:46 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 5E0594678F4 for ; Wed, 11 Nov 2020 22:15:46 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 4CWfFF2JfZz3sh6 for ; Wed, 11 Nov 2020 22:15:44 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 213E05C0218 for ; Wed, 11 Nov 2020 17:15:40 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 11 Nov 2020 17:15:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=VG1hkpU4MCrPH2ZlaIU5uzBBuuM fzozlnjSvQKrTMv8=; b=Lg6ZHCW/qcrq8oVA+ktBzvwZDPzOItm7xUArlDcSVm6 YEjnc+ri4r3E8pmLugstIC5/0gWpKRRf+6kYdiPQV29qKbTHHvoC5cCTBuXsXdR3 NwHTkGkWI8JnO2p94XJCd6uq3OELUvI7yhO9fKO9AvkJSK7X610XgUKsdV2IvdK+ J+7cINVn9mZ7nf7ZNqyLQPUset11/5CQmEXL9woJ4FM0jYI3+SCt7ZkRhn0sC4Q0 PT2J9hVw8yBGBHPASne7lNXQJjeHUgxTurHyV9QuZTd4wrdNYvejtzpYyDDyaWjJ me/N8rCQrAMRUBwqbf18y3fBWZLlntWhwqqayY7yHCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=VG1hkp U4MCrPH2ZlaIU5uzBBuuMfzozlnjSvQKrTMv8=; b=bNr5RIgnqvbenorfSMNV5D j3pltdVMCUrce56AEPlkbat83BozrN8v9acuUKSyjEOSDRT4Pu5WPHy4Zk6MzJnU 37XMo+ahE0PszccoZVIrR1RLu9ZW3SjVgnPj4yx2G1Jo0mx7Aj6rmk81aNeHfWle 96nQCRy2tqDh98Hv4IT3rp0vrBG0pHZqgC6QcSH35YPiLe+j/aI9gkBL5zhEkbWs LBJD4Zx6pje5vnsQWFiAC8BsvZ7xsiF34A3Q5N7y4Q4QCWFOXcA7wlbfrqXVoEqK XEzn1p0dZwJM9U6sL7Axtp5V5OKX12aN6k/nIdcyzziT74PrJp88bF8gWFyzanxA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvtddgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpefffffgtefhjeelhffhueeujeefhf fggeehheffgeegudfggfdtfedujeejgfetjeenucffohhmrghinhepfhhrvggvsghsugdr ohhrghdpshhouhhrtggvfhhorhhgvgdrnhgvthdpghhithhhuhgsrdgtohhmnecukfhppe ekvddrjedtrdeluddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 662A0328005A for ; Wed, 11 Nov 2020 17:15:39 -0500 (EST) Date: Wed, 11 Nov 2020 22:15:10 +0000 From: tech-lists To: freebsd-arm@freebsd.org Subject: Re: latest method for freebsd on raspberry pi 4 (8GB) Message-ID: <20201111221510.GB76342@bastion.zyxst.net> Mail-Followup-To: freebsd-arm@freebsd.org References: <20201111174248.GA76342@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <20201111174248.GA76342@bastion.zyxst.net> X-Rspamd-Queue-Id: 4CWfFF2JfZz3sh6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm1 header.b=Lg6ZHCW/; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=bNr5RIgn; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.25 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.25:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.994]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.25:from]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm1,messagingengine.com:s=fm1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.111.4.25:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2020 22:15:46 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 11, 2020 at 05:42:21PM +0000, tech-lists wrote: [snipped] managed to get it booted again like this. Thought I'd post in case anyone g= ot where I was and couldn't work out what to do at first. Some file locations have changed between this time and last and inbetween those times I ran raspabian-64bit on it, and upgraded the firmware. What follows below allows the rpi4 to boot as of today, from the micro sdcard. I tried writing the modified image to a 32GB usb key but it would not boot. 1. get latest -current snapshot for rpi3. I got https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CUR= RENT-arm64-aarch64-RPI3-20201105-ef87bd449eb.img.xz (I don't know if 12.2-release or -stable would work) 2. unxz the file 3. mdconfig -f the file and mount the msdos part 4. cd into the mount 5. wget https://sourceforge.net/projects/rpi4uboot202010-fbsdonly-klaus/fil= es/u-boot.bin/download -O u-boot.bin 6. fetch https://github.com/raspberrypi/firmware/raw/master/boot/fixup4.dat 7. fetch https://github.com/raspberrypi/firmware/raw/master/boot/start4.elf 8. cd .. 9. sync 10. umount the msdos part 11. mdconfig -d -u 0 12. put the card in the pi and boot --=20 J. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl+sYoEACgkQs8o7QhFz NAU1ww//XHCIjnX6hfFNV4tQaY7I2S+idgLGRMsUdpKnygBzLNS1ZnPuHa5FGZ5u 7rHa/y9Nm8jm5yp3SQ5frU7VEkpX1jQVzw2m3fDUdpV8fkzqcaZedwX8Gad/YTba 1n4V2h41y7MoH2sXpUKhnbkXsi4H/B0goY3utHSaepE6FIlTb5O2pbrI50nX7xgM 73qzldlk6smC6dZi11TEvvgvbDAabbtQpQt/AnXwK1JSUi4V/oqhxVukxxoufBDs 1NBZsfE7pD5TK3zdagqbPGP2oZ9L0osOp3JbWQaWnaGA5G0U1vL+semfKf0J07Rx SEPhEupc9D0t28bl+DzQic7lfoGeH1/Sr7Zc+XK6sIw8GgvPl6ZO3YCAVPw5OuuA 8QgagCK1Cv1HFBBZ2J5/bX6GdQxovTU/G3hH0VoxpjzrsPSMI5VW3A57NLWTUmwf 3sIpLnih+4Y7NOktuEmTl7d4a2uTgyWsP6ab2yOzL9PM6sSwyGfWnRSEdtf0/Ga2 Hnm8Yr2xAFgeiWAMf2dChJgJLnriaRKpimpeP5zwr5dpW0gfbmMgsLRyqutRgLmH JChqnu7EczD51UG79IgT0CupHVc0Y71FSBSJR00316PtitrTr+wRYkiXTvNjnFam 6XjKm25UU0YSBEfhNpZRpHISEYJYyzkyPUT1kC1d66/tQqiBJuM= =xMVc -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--