From owner-freebsd-arm@freebsd.org Mon Mar 16 18:24:29 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 EDC8B26C227 for ; Mon, 16 Mar 2020 18:24:29 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-55.consmr.mail.gq1.yahoo.com (sonic307-55.consmr.mail.gq1.yahoo.com [98.137.64.31]) (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 48h4T80dn0z4KZF for ; Mon, 16 Mar 2020 18:24:27 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: NE70s60VM1mRfttJovzClhnkxurpOQtPBi3m48XmDt6XRpcgghC578Gv0AU9HWC jKjt.eGPRNen6yMzb0b3QQgs9MJsnIWp5sBn20zXoxruUooprSG5ZeWQssFofOwWv08M6yEIJGRy m7cTr459NyD7PI5I8x24S5uChwzL_gkS0qEGXyFkz3AMte6DLGgQllakz5AhqxrOsOedzdBCJbsi 6E_JklIVuk8XfCt6uxKtEc7WxfRaDrD.iNZVIuj2fgH5oGtLaOSU1sy7gcB5yY5BLLqG_pIxpXPu OPbWo_itlcWeDFB3X5Nvu.UHodnf.Zu68dT2pLl2ogqIkNKaHmuPRYfyIhjfu4m0T6nLM54hcZMR oGUe3qgc0RejgL7l2s2FnIUuGYz7ie1_F.kXOM6TtEd9GgGiyQoI6zc76Xs_9ZhI3gDpgQ4xSSsB 00AC1jtfi6P317mnBC3f_oQAchjAGzaSJaKfkpaYXYnCKqKYy0Obn5h.9_Abk4emqEPmdiOVMoEe p6..tnyaZsniikFWUgIRgPeH3w8t9lHdMRuPHAqFp_X4Iz.VWT0razILKOUAAYlpu.zz53SmbM9y CJBiYiD1khTKA4v7uv4DCf90Y.66ZWq9fksh6dslO6eGXuxyRxViaPpDFt8nOdwJU4MB4.JRmcQy T7VRbw8X6hlmxb._Y5m1YB9kWnOWLVaJrGgFQZ5zxl.cyz4efOOw5Nom2rQWCdt867gDbgVNPBIt x6K60rN84.M7F5lcWs6bjDHWf.aK5IO71GguN4pKtpFUgWpgSCAcNBS2aBo6gFmCxVqIc4nxYSW1 Gq9lxDZWMO_DpSIrtF550oVj22wisMRZl9gkSmTijvZAnXbHHQAj1DM9wTR1IMHe8Hn_1Ypukl9u z.d8YbP5sT1H0NqVYpml21SAIQVwuGNmzdtlTSTDiAmUvei1JpokDLzhVRGPYXWrJ4rjohu7blr6 eIXhnEFlUT480i0sLJ8I9yql9fHRekiKR.M4dZcKYhRHesWl6k5l2GFmg4ttNCzBCqmF9hruoUWv X6y3Er0P_gLGK.rnvmkVouBc7eUnnY3UvQ8DW9j3HLYMo58fTX1UY6E2PDiiu.2cosmiJAJrO0Cl kVzZzrI06.SRGXJTJZtHWrYuhaEc2XSngmPQeFj64xx.mpxAOCPnkg4zD72WSV8SCKF4quv12ebR cfHx_sQqsK5bVB6hWnGNjTtXpNh7iZ36rn40GX5Frww0oE9HlOjw6.rj3fV4p5TohqTkf6YyE5qk hMud3HxfGUbd7JwbrCKZe8TEvoCxG1VZzTOvzD_t62HVfcQahxj1BWauMlz78_DotBS6yaZwkoe8 L1BPBKK1yXGB76nfp0PpDaBh8hSoRYKAVrY1oYlXldyz9KtAsZuRrgQ776jVyIzgyUdENL8f7P7I HId5LtVUU.NgzAzNid.usF2cP6bS46tQqlbZXCqhuLK.VJRZhwTW3j8k- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Mon, 16 Mar 2020 18:24:25 +0000 Received: by smtp410.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 73759eac30ba884b1865599a6dfc321b; Mon, 16 Mar 2020 18:24:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Panic on Rpi3 at r358976 From: Mark Millard In-Reply-To: Date: Mon, 16 Mar 2020 11:24:21 -0700 Cc: bob prohaska , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <4010D0B6-A82A-4946-8433-15EA3688822E@yahoo.com> References: <20200315041203.GA55605@www.zefox.net> <90DE70B3-F3A5-4EFE-832C-7C412744D974@yahoo.com> <5A11699F-7EDD-4541-82C0-62993C95EE72@yahoo.com> To: Kyle Evans X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48h4T80dn0z4KZF X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.49 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RBL_MAILSPIKE_BAD(1.00)[31.64.137.98.rep.mailspike.net : 127.0.0.12]; DMARC_POLICY_ALLOW(0.00)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; 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)[]; R_DKIM_ALLOW(0.00)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (4.43), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.99)[0.993,0]; BAD_REP_POLICIES(0.10)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.998,0]; RCVD_IN_DNSWL_NONE(0.00)[31.64.137.98.list.dnswl.org : 127.0.5.0]; 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: Mon, 16 Mar 2020 18:24:30 -0000 On 2020-Mar-16, at 07:17, Kyle Evans wrote: > On Sun, Mar 15, 2020 at 11:11 PM Mark Millard wrote: >> >> >> . . . >> >> I applied the patch and rebuilt and substituted >> the new u-boot.bin for my hacked one. The context >> is head -r358510 that was booting with my hack >> okay. (I'll soon be updating to -r358966 .) >> >> The result did not go well. Using boot -v >> indicates that the 2nd page is not protected on >> the RPi4: >> >> [... snip ...] > > Indeed- my apologies. In the config fragment, it should read > CONFIG_RPI_EFI_NR_SPIN_PAGES=2 rather than > CONFIG_RPI_EFI_NR_SPIN_PAGES="2" (note the lack of quotes in the > correct version) -- apparently I hadn't transcribed that properly when > I was porting it from my initially tested patch to u-boot. RPi4 head -r358966 context: I removed the extra quotes ("), rebuilt, installed, copied the u-boot.bin into place on the RPi4's microsd card, booted with it, and logged in. For reference from boot -v : Type Physical Virtual #Pages Attr Reserved 000000000000 0 00000002 WB . . . Physical memory chunk(s): 0x00002000 - 0x39f48fff, 927 MB ( 237383 pages) . . . Excluded memory regions: 0x00000000 - 0x00001fff, 0 MB ( 2 pages) NoAlloc . . . module firmware already present! Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: read 4096 bytes from preloaded cache random: unblocking device. VIMAGE (virtualized network stack) enabled ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 . . . psci0: on ofwbus0 psci0: PSCI version 0.2 compatible . . . Release APs...done . . . CPU 1: ARM Cortex-A72 r0p3 affinity: 1 CPU 2: ARM Cortex-A72 r0p3 affinity: 2 CPU 3: ARM Cortex-A72 r0p3 affinity: 3 . . . === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)