From owner-freebsd-arm@freebsd.org Thu Apr 30 01:45:37 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 DB1312C92F4 for ; Thu, 30 Apr 2020 01:45:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49CJ9r3Pwnz45BX for ; Thu, 30 Apr 2020 01:45:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: w1qQZFEVM1nBGdFXX5jFRJmPWamXuF_QH6aSQc4idRfNIE_0._GzsQM4mTAwYo1 4RAC43w68KpD_446xe_XaUiZzO3N6CsYRUFAZ_EnhmFwn1X8J_0GgSse7wpc2dDYAiqIeztAk0gM JEhFcWDH9IRWd3TFmzgEH4MPI4wXkC.RKeqVMlOzVH_IRlxSOZe4iirIEEGB._i9ibMPT2HUSb_7 bz8RXq3Kp11p1RDMPD3hRDnHBHHSetpGz4cfd9nfs73pwcOJLjRfYPv3iRvO8GRlVP826pqcWK8l L1ahbaMehe6GPBN3sx8nBHktTmS6sRitw1ze5gaQZGuPerqqX9K7DQQZhBRs0niwReoZu8JZJBR5 gj6S6Rs5lA57BxSAzrtHOZCQSHKG.99efOX3cUcv2PiG0osdZ18JeL8WfulNLqDarPg8Q5CDx2dU YNuw0WJzN414iNEo6LsUkXSFtkvQVPyq9cOeE_DSxbZa4msgpy6py4EY7Bh7pGE7DF.7X9kTqLSo D8fxWPxddYdstOcLIICevbYP.ZLlgzeI_uFSJId0g0reTaay7Ujc5i4py843cekDwbBHqReWvts. xYVA4dQjeK_EVAQ8oI56S2JmLi5.B1WvkEv8Y0JAVLnQliQrPhmMdygHsdby8AlPLE03vobGuuWO 817yX4VdYAf9I71J0l8Pj8Yv3jd.LW.ykEgoWZSnVi.xBRuZlyp5XL8JlmiUzRYZ2oD_N.nl6Azj V0YqjYl0nv3bXaAyFyxbck6XOq8wUa9O9o_.jCP4MRPhdcf6YzwPA2x6FAvqMT.GmK_oubxR0HiA ISI5SSW4VNKnL1aUp_0cu4BTgqa6U2i1xIIo6CL94fos1dLUnJJK_taojNmgzo9p7UwVfyJCR..7 MRJvMgm0nre6pZXQgenGia4XxP0kLJ6JGhXxIxXAyuUrDQVqtuAAeeY_mh0wBCoNtckGrZYcAUcp 1EqeN8wO8LKcFRsCvhLol_e6L5yjpqZz3l_EWf7_doyD_iTZOWMJSDScb2KxKE_W8KaZf.IPfXc3 e03rMypWxGeeZqoAEpXU5ZHW8_KT3kkRfk5gGUI2HfCLpI_ZaU.VKaGXYv9VHOgbbFiG7pgKH7EU .qj0ucuylw5b4s28ZggwZRGi4lz3kZ1_btf_8lT93qcLKHS6KsEu2xOToNIsqQ1iBCiK6boB6glt PI._Zow5voVZqH5rRevfUWhYsuYUQbfj9VEPY7MxAT3nrRuQxewWvqQlrUKP1VCUvq3ICVFVA26K Z0O0I4RvWOQOaQfLLM4iWWZHHWm6pJFtXQZPSEnLMUi0TvnXzUb9Sl8bdZYrszdXHxKhz24ZApa. 05Q6v_IHM4biga6t0ZM8fy6DQsbOPqcO1EVHVjzDjztFOXnAWRpTyIibzW5T_r9v56ykIyBDeNAg hFygpNsq09AsMQbcqTNtd6wSpsuBH5woOrRmvV_zjTBxfx3MrdcdZ_jJcO_mM Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Thu, 30 Apr 2020 01:45:35 +0000 Received: by smtp432.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5d1d00c621680efad5d1aa746d02d3d9; Thu, 30 Apr 2020 01:45:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Trouble booting the April 23 snapshot for rpi3 From: Mark Millard In-Reply-To: <20200430001150.GA94067@www.zefox.net> Date: Wed, 29 Apr 2020 18:45:30 -0700 Cc: Glen Barber , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200428195759.GA7169@www.zefox.net> <46FAA17D-6104-4DAC-A0AA-63ED4DDD72DC@yahoo.com> <20200428201722.GI9584@FreeBSD.org> <20200428214013.GB7169@www.zefox.net> <20200430001150.GA94067@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49CJ9r3Pwnz45BX X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-2.77), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[206.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[206.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2020 01:45:37 -0000 On 2020-Apr-29, at 17:11, bob prohaska 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)