Date: Thu, 4 Jul 2024 13:36:38 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: "Patrick M. Hausen" <pmh@hausen.com> Cc: FreeBSD ARM List <freebsd-arm@freebsd.org> Subject: Re: Update boot partition on a Pi - necessary? How? Message-ID: <1128281839.5949.1720092998746@localhost> In-Reply-To: <6B3A59F7-92CF-4614-9501-8C7D62FF676B@hausen.com> References: <6B3A59F7-92CF-4614-9501-8C7D62FF676B@hausen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_5948_23755158.1720092998659 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: "Patrick M. Hausen" <pmh@hausen.com> Datum: donderdag, 4 juli 2024 09:02 Aan: FreeBSD ARM List <freebsd-arm@freebsd.org> Onderwerp: Update boot partition on a Pi - necessary? How? > > Hi all, > > my first release upgrade on the Pi platform - 14.0 --> 14.1. > Smooth as usual. Special thanks to ronald@ for the > smsc(4) improvements. > > Now I wonder how to do what I regularly do on amd64, > namely update either the legacy boot partition or the > EFI boot loader? > > What *are* all these files on that FAT partition, anyway? > Is there any documentation on this? > > Thanks for pointers. > > Kind regards, > Patrick > > > > Hi, Thanks :-) The files in the FAT partition are a combination of https://www.freshports.org/sysutils/rpi-firmware/ and https://www.freshports.org/sysutils/u-boot-rpi4/ But we also have https://www.freshports.org/sysutils/u-boot-rpi-arm64/ and I don't know what the difference is. You can install the rpi-firmware and u-boot-rpi4 ports/pkgs and copy the content to the FAT partition. Unfortunately I don't know an automated way to do this and if it will overwrite config files. Another solution: What I usually do is - download the https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-RPI.img.xz release file - mount it using mdconfig - backup and empty the current FAT partition - copy the content of the FAT partition from the mounted img - diff the config files with my backup. At least than I know I have all the files which were also in the release and hopefully tested by some people. A mdconfig+mount example can be found here: https://wiki.freebsd.org/arm/Raspberry%20Pi#Boot_Loader_Issues although they copy files into the image instead of the other way around. Regards, Ronald. ------=_Part_5948_23755158.1720092998659 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <html><head></head><body><br> <p><strong>Van:</strong> "Patrick M. Hausen" <pmh@hausen.com><br> <strong>Datum:</strong> donderdag, 4 juli 2024 09:02<br> <strong>Aan:</strong> FreeBSD ARM List <freebsd-arm@freebsd.org><br> <strong>Onderwerp:</strong> Update boot partition on a Pi - necessary? How?</p> <blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px"> <div class="MessageRFC822Viewer" id="P"> <div class="TextPlainViewer" id="P.P">Hi all,<br> <br> my first release upgrade on the Pi platform - 14.0 --> 14.1.<br> Smooth as usual. Special thanks to ronald@ for the<br> smsc(4) improvements.<br> <br> Now I wonder how to do what I regularly do on amd64,<br> namely update either the legacy boot partition or the<br> EFI boot loader?<br> <br> What *are* all these files on that FAT partition, anyway?<br> Is there any documentation on this?<br> <br> Thanks for pointers.<br> <br> Kind regards,<br> Patrick<br> </div> <hr></div> </blockquote> <br> <br> Hi,<br> <br> Thanks :-)<br> <br> The files in the FAT partition are a combination of<br> https://www.freshports.org/sysutils/rpi-firmware/<br> and<br> https://www.freshports.org/sysutils/u-boot-rpi4/<br> <br> But we also have https://www.freshports.org/sysutils/u-boot-rpi-arm64/ and I don't know what the difference is.<br> <br> You can install the rpi-firmware and u-boot-rpi4 ports/pkgs and copy the content to the FAT partition. Unfortunately I don't know an automated way to do this and if it will overwrite config files.<br> <br> Another solution:<br> <br> What I usually do is<br> - download the https://download.freebsd.org/releases/arm64/aarch64/ISO-IMAGES/14.1/FreeBSD-14.1-RELEASE-arm64-aarch64-RPI.img.xz release file<br> - mount it using mdconfig<br> - backup and empty the current FAT partition<br> - copy the content of the FAT partition from the mounted img<br> - diff the config files with my backup.<br> At least than I know I have all the files which were also in the release and hopefully tested by some people.<br> <br> A mdconfig+mount example can be found here: https://wiki.freebsd.org/arm/Raspberry%20Pi#Boot_Loader_Issues although they copy files into the image instead of the other way around.<br> <br> Regards,<br> Ronald.<br> </body></html> ------=_Part_5948_23755158.1720092998659--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1128281839.5949.1720092998746>