From nobody Tue Oct 11 03:59:59 2022 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 4MmhrT5Blyz4dlpv for ; Tue, 11 Oct 2022 04:00:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 4MmhrS3xJQz3vqD for ; Tue, 11 Oct 2022 04:00:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665460807; bh=yjr2QSj52MuUX5jo5Os/alxWevDMi03DeDU9HqGecAc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=l5Ry1vj9G7p4CjEqx7JMEK9ovAtlRGBUEiaxD6Z8+ISKgTGOJz6lnwNxSeOduq0+kfEeAxe/SdURXAM2Dy6FwwvaiCBkhH0CKuw/MULgwtRUrui8kOehzzKoN+mdKLahtzkDfcd1xNY4OONpATQ1v+mBDXoh4/zcrGQqOiUeapeOO2QjQB1YX7204Q9VDV4U9Bq+YdXDpCG690bVm4KXqng9gp6AyJakjNuewuRlrBjBp5U3xM8ETL66e6YymEZ4dgHLk0RQU3js029VAsdizGYWVk49t9G0NwItt3LFAqwOw7pNk1IAd4+uunJ9ddNJrNbQQqwZ/DYJmutQOEBQxQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665460807; bh=GPZxtjNZPBh6848oJM/7oqWDtJgtqAIcH0FWdsmeTp4=; h=X-S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9bMKfgXH2GrlHMWgYFjvFT ganmw7fWWvPWCyhwfZR19MR_it_JRBOHI96bYePvN4hNxx32se5bTCbBm6jKBMyUmKvulAqhTdxL hk58EDWszwiLj_zdB37qyhpPKXIf8.97tUwYjAdQrMTlchCTctFqWiat2t0NMF2U_AJ68nyX7c6H RT09WbGS9cOW.SQqC8AlObvFpYUkpvRNeCmoFnLtgDz518GG90spcy2j7EhrgmziPG9WRKt8ZrUJ N2ypef4KpVTff.0awcd39tfBJVyZpy_YZiTj_2uX0mkBZB3LAK6dagTOGwXCWawgJJOGxef9Jn60 SOXpZG3XVCD3lgqayVr.DQORoMKULj2wWVdaymN0HgRDcabZGLrMRTMEuVW_dYeixGRryvvHxMyx yTyfywq5.bHo_s6k.F4zoYHAcpaIHiEcFGbmcl4EPsUrRHFaKSBdRd8qTgWj0M.wSUZXL3gSvJw8 08YhuDZzQdXCwIckqUy8WYVO9xGBpe1.NxnHN9Gtijg7dglo1jhSyrwP3vCzvDWvvYqOLfuoy1wF CiBw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Tue, 11 Oct 2022 04:00:07 +0000 Received: by hermes--production-ne1-5db649d989-tklgr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e237eb7b47da96b0bcc3cddf8c826d84; Tue, 11 Oct 2022 04:00:01 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 \(3696.120.41.1.1\)) Subject: Re: FYI: FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20220930-42dc8696df5-258315.img is broken for RPi2 v1.1 (so: armv7) From: Mark Millard In-Reply-To: <6B46F46A-2CAF-42C9-9A04-63567D7DB9B2@yahoo.com> Date: Mon, 10 Oct 2022 20:59:59 -0700 Cc: bob prohaska , Warner Losh Content-Transfer-Encoding: 7bit Message-Id: References: <6B46F46A-2CAF-42C9-9A04-63567D7DB9B2@yahoo.com> To: freebsd-arm X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MmhrS3xJQz3vqD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=l5Ry1vj9; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.39 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.894]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.148:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.148:from] X-ThisMailContainsUnwantedMimeParts: N [Summary: it looks to be FreeBSD main's EFI loader that is at issue for armv7 RPi2B v1.1 booting not working.] On 2022-Oct-10, at 20:04, Mark Millard wrote: > I put: > > FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20220930-42dc8696df5-258315.img > > on a microsd card via dd and tried to boot a RPi2 v1.1. it > hung up after: > > Using DTB provided by EFI at 0x7ef6000. > Kernel entry at 0x36a00200... > Kernel args: (null) > > (A "-" might show in the next line.) > > So I tried: > > FreeBSD-13.1-STABLE-arm-armv7-GENERICSD-20221007-d497b97e902-252653.img > > on the microsd card instead. It worked just fine. (Thus the > RPi2B v1.1 is not broken.) > > I did this experiment because recent testing for other > reasons of somewhat older main vintages that I'd built > also showed such failures. This test shows official > builds also have the problem. > > I've no clue how long this issue has been around. It > been a very long time since the RPi2B v1.1 had been > powered on. > > > Note: The arm-armv7-GENERICSD images include the RPi2B > v1.1 related RPi* firmware and u-boot, in addition to > an installed FreeBSD EFI loader and a kernel and a > world. Historically it was supposed to just work for > RPi2B v1.1's. I mounted the main [so: 14] media to /mnt and copied /mnt/EFI/BOOT/bootarm.efi to /boot/msdos/EFI/BOOT/bootarm.efi . The result makes the 13.1-STABLE media fail in the same sort of manor as 14-CURRENT did. So I tried an experiment going in the other direction: copying 13.1-STABLE's EFI/BOOT/bootarm.efi into a main [so: 14] context that had been failing to boot. It then boots fine. main's armv7 EFI/BOOT/bootarm.efi is broken, at least for RPi2B v1.1 systems. === Mark Millard marklmi at yahoo.com