Date: Wed, 29 Apr 2020 18:45:30 -0700 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: Glen Barber <gjb@freebsd.org>, freebsd-arm@freebsd.org Subject: Re: Trouble booting the April 23 snapshot for rpi3 Message-ID: <A5CE4F0C-BFEF-4A0F-91C1-C87A96C8E950@yahoo.com> In-Reply-To: <20200430001150.GA94067@www.zefox.net> References: <20200428195759.GA7169@www.zefox.net> <46FAA17D-6104-4DAC-A0AA-63ED4DDD72DC@yahoo.com> <20200428201722.GI9584@FreeBSD.org> <20200428214013.GB7169@www.zefox.net> <A05B3023-8C29-45BE-8820-DC11B3B6917C@yahoo.com> <20200430001150.GA94067@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Apr-29, at 17:11, bob prohaska <fbsd at www.zefox.net> wrote: > On Tue, Apr 28, 2020 at 09:10:58PM -0700, Mark Millard wrote: >> >> So, unless the snapshot process built these from more recent >> source, the snapshot would not have Kyle's changes and the >> old problems would exist. > > Is it certain Kyle's patches made it into -current? The change was not to FreeBSD at all (any vintage). The change was only to the ports: sysutils/u-boot-rpi[34] so that the result would have a sufficient number of pages indicated reserved (in the right place). In turn the kernel automatically avoids using those pages. Snapshot builds for the like of RPi3 and RPi4 (and others) have more than just FreeBSD in the image: one or more ports contribute material as well. It is a separate question which vintage of the ports are used to make snapshots. /[ports]/head/sysutils/u-boot-rpi3 reports -r528547 as being the update for RPi3's (I also show the more recent update log entries): Revision 532703 - Directory Listing Modified Thu Apr 23 18:46:43 2020 UTC (6 days, 6 hours ago) by manu sysutils/u-boot: Update to 2020.04 While here use python3 for it as it now works. Two slave ports have been marked broken : u-boot-pandaboard and u-boot-duovero Both of those boards have ~0 users in FreeBSD so if you are one of those raise your hand. Revision 528547 - Directory Listing Modified Mon Mar 16 21:32:55 2020 UTC (6 weeks, 2 days ago) by kevans sysutils/u-boot-rpi{3,4}: Add patch to fix PSCI stub reservation For the traditional spin table setup, only the lowest page needs to be reserved. However, our PSCI stubs are slightly bigger and occupy a little over one page. These patches, already sent upstream, allow a variable number of initial pages to be reserved for the SMP stubs. We then set the values for these in our fragment to '2' to reserve the first and second page. Approved by: koobs (mentor) Approved by: manu (uboot, maintainer) MFH: 2020Q1 Differential Revision: https://reviews.freebsd.org/D24085 /[ports]/head/sysutils/u-boot-rpi4 reports -r528547 as being the update for RPi4's (I also show the more recent update log entries): Revision 532958 - Directory Listing Modified Sat Apr 25 15:55:08 2020 UTC (4 days, 9 hours ago) by manu u-boot-rpi4: Remove patches that are present upstream in 2020.04 Reported by: Mark Millard Revision 532703 - Directory Listing Modified Thu Apr 23 18:46:43 2020 UTC (6 days, 6 hours ago) by manu sysutils/u-boot: Update to 2020.04 While here use python3 for it as it now works. Two slave ports have been marked broken : u-boot-pandaboard and u-boot-duovero Both of those boards have ~0 users in FreeBSD so if you are one of those raise your hand. Revision 528547 - Directory Listing Modified Mon Mar 16 21:32:55 2020 UTC (6 weeks, 2 days ago) by kevans sysutils/u-boot-rpi{3,4}: Add patch to fix PSCI stub reservation For the traditional spin table setup, only the lowest page needs to be reserved. However, our PSCI stubs are slightly bigger and occupy a little over one page. These patches, already sent upstream, allow a variable number of initial pages to be reserved for the SMP stubs. We then set the values for these in our fragment to '2' to reserve the first and second page. Approved by: koobs (mentor) Approved by: manu (uboot, maintainer) MFH: 2020Q1 Differential Revision: https://reviews.freebsd.org/D24085 === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5CE4F0C-BFEF-4A0F-91C1-C87A96C8E950>