From nobody Thu Mar 23 00:21:34 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PhmHR0H2Wz40GkJ for ; Thu, 23 Mar 2023 00:21:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PhmHQ4y6Zz42sc for ; Thu, 23 Mar 2023 00:21:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679530912; bh=twNFWEPfwGTyz/Rk9G7ObSpOjqxCbXskGzql8crLDJ4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=KYEQKvcELQXH0OqzqdnntO2cIhnm1v4+G4b3MTnE7rxDqSxuBJqq5T5C2UpPjUnfMLP5qInN1ezDc3VWEWB3Bb/KDhu5SDlEX2Y47sY5qI/d7Ir0qiaR3Y4v70H+RcgqfoTCApIZQw99bVLNZtZu+fWwsveMZRLCK1i+SrkKsumS1y68V33fQf8OKe/GTON85NOyyURCi/n8dpNLR0hkqsu+vm8sxoT64+gvGG5AHtRqHn9LiXbfNyzEg3xbBKbYwVaUwnA4jvxSmTQEEGW01JkHh2+2wg+C5lf45NKQm5mdD3e99YEUrE1AuFa1vniu/psUo/+8UEreHBNjZZDocQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679530912; bh=N+f75RKnMiAS25BxXomBbAy96noILw/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g57Qoo2iJgteLf_IUDBgfJLSW7WQsW2sVjUx0P8mTgHJjhu9IlQfoUl89aJV16ae _kWkm2SPffFdLLnnd46Cn.sieS7XtQsL1CFYluQjGEHco4M8DniA10qFsROzpdWowBrZbp_vr27Y iNJE8jRALym3Wkl5UdfTqVX6cuyXB1GVvrGO.A9n9vI7efkUThSgcAJXNCQg1WNVNK7J6WcBhMWx dcJPS00NfcanNU5EgZg_Hfa8NjNiQvdq.KUBz6pU4XSBbQshdv9n.W7cwHwp29WpQZX1yjfdezaZ AriJJ6a9ySakR6Pze0lhfMvr7m_0SkVDobgJ5oEy4xlYsVCNOURzMsDuEmWyk3bY3VeLmqNUqwoV CdujpPN00QC7Ujf_Z_wPHbvNEcTXnC3qrYVTtUUk2FBz3y4MKd0TDnOSeyeYuOvkuOBW35oBFm11 X.xenhEOOKCOiljPdO1il40Z8TWVLh_MQTTPmy2x_OClBWeEdmi8UGyvxWc5f6mU42eHwvqx1Ju7 Lkq7kM2fZX29FTFkgiE1HSI.OB.xg_RKSjQWqPVGDrg.mFserfgw4AGnisX37YTaYs4hMhfzOlpK c X-Sonic-MF: X-Sonic-ID: d33ffd17-4005-430e-9e00-a564fa3bde36 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 23 Mar 2023 00:21:52 +0000 Received: by hermes--production-bf1-777648578f-286lr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 14bfd560fe9521bcd7a59ea9d3148cc2; Thu, 23 Mar 2023 00:21:47 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: FYI: upcoming 13.2-RELEASE vs. 8 GiByte RPi4B's based on U-Boot 2023.01 recently in use, given UEFI style booting From: Mark Millard In-Reply-To: Date: Wed, 22 Mar 2023 17:21:34 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6F23BAB6-079B-444B-A689-230BCDB0A1E5@yahoo.com> References: <2B3378B0-A506-4A90-80D4-734AAA5EE774.ref@yahoo.com> <2B3378B0-A506-4A90-80D4-734AAA5EE774@yahoo.com> To: void X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4PhmHQ4y6Zz42sc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mar 22, 2023, at 16:35, void wrote: > On Wed, Mar 22, 2023 at 10:48:59AM -0700, Mark Millard wrote: >=20 >> It is not the RPi* firmware vintage that drives the >> 8 GiByte related boot failure: it is just 2023.01 of >> U-Boot. >>=20 >> So only the u-boot.bin needs to be replaced, nothing >> else. >=20 > I wasn't aware of the detail, and not knowledgeable enough of the = issue > so my "remedy" was a simplistic "the stuff in this msdos partition > worked, the other didn't" :D and thats why I replaced everything with > the exception of efi/* >=20 > I transferred the files on the msdos partition of the running 13.1-p6 > system to the msdos partition of the main-n261544-cee09bda03c8 image, > wrote the image to usb then booted to it, then ran bsdinstall to = install > it to external usb3 hd (zfs), tried to boot *that* and failed (it = still wouldn't boot from the hd because the installer still doesn't = populate the msdos partition of the hd with the full contents of the = msdos bit of the install medium). So booted back to the usb key again, = plugged in > the hd after it fully booted, mounted the msdos partition of the hd = onto > /mnt and copied all of /boot/msdos/* to it *except* /boot/msdos/efi. > Powered down, booted directly to the hd. >=20 > So now this rpi4 now has 13.1-p6 vintage msdos bits running = main-n261544-cee09bda03c8. The RPi* firmware FreeBSD uses dates back to 2021-03-05 when 1.20210303 was checked in. It has been a long time since that update. To my knowledge, each 13.1-RELEASE-p? still uses the exact same RPi* firmware as 13.1-RELEASE : only FreeBSD material is updated by -p? updates. So the U-Boot also has not been been updated in any 13.1-RELEASE-p? as far as I know. Similarly for armstub8-gic.bin and armstub8.bin (which are distinct from RPi* firmware and from u-Boot, despite how FreeBSD bundles them). Snapshots and 13.2-??? are another matter for U-Boot. >=20 >> But there are RPi* firmware vintage issues around: >> main [so: 14] and stable/13 have had the FreeBSD kernel >> fixed to allow recent RPi* firmware to boot. >=20 > what was fixed in the kernel? (I forgot to mention the recent reboot issue and its fix, as well.) Using main (which happended first): The kernel crash for modern RPi* firmware (the basic problem has existed since the beginning but was exposed by .dtb file changes in more modern firmware): Fri, 24 Feb 2023 . . . =E2=80=A2 git: 9873b1716970 - main - bcm_dma: attach at an earlier = bus pass Mitchell Horne=20 =E2=80=A2 git: 07ccf71451d7 - main - bcm_dma: don't dereference NULL = softc Mitchell Horne The reboot issue fix (only an issue for main [so: 14]): Wed, 15 Mar 2023 . . . =E2=80=A2 git: 8937bd37d07c - main - arm64: limit EFI excluded = regions to physical memory types Mitchell Horne >> But releng/13.2 and before do not have that fix and so >> can not have RPi* firmware much more recent than is now >> FreeBBSD-standard ( sysutils/rpi-firmware ). This likely >> means that sysutils/rpi-firmware will be frozen until >> releng/13.3 (so: about another year). >=20 > I try not to mess with the firmware if I can help it. >=20 >> Note: I do not use freebsd-update to upgrade systems. But >> I've expect it to only do FreeBSD material, not RPi* >> firmware or U-Boot, just like bsd-install does not deal >> with any non-FreeBSD aspects of things. >=20 > that's what my expectation is too. The reason to use freebsd-update = was > to have a stable reference system. =3D=3D=3D Mark Millard marklmi at yahoo.com