From nobody Tue Oct 11 16:20:29 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 4Mn1Gq4rckz4drjg for ; Tue, 11 Oct 2022 16:20:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 4Mn1Gp6WT4z40Dp for ; Tue, 11 Oct 2022 16:20:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665505232; bh=PIhvrfDYOD0KFE6XeC5Y9Z7UaFe1kl1k5uE+RXzFdbo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=XCTK21CjomKRXeP59dFiuozx7kKnbeQ6rsujpWlMWqBs+sdaEChfACq38Ovr2kM40Nc39Lz2y6N7sJjsZCbGuzA/KCkPoqWyvONPjVhdYLkgo4WfLHrVnT+xKDmCWO9ENuwUEwOXycYlOAEkoahBLhcSB/PifL6H0Atzkod/bbkWbZYhSsHYTb8Vf57v9pgXknmmu4oNFNSUKkUPyaTSeImq4KjDv+TGfgoQA4YyIEWfgzC5ILHK6zPPnoLqeE4uv1iAvTXVGWoRlbtuE/SOFW+RgbiZa8fvKMHByF6sDmSnFdojrBb0Zd7BI4SB95FSgwhZvgHWu519gDRek7XHng== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665505232; bh=JJX60yk18Xbw3aEzdorO2V56sWke/jkxgBCQ7Qg4oQZ=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yv82w_jV6RhNCvrDkd4wG0u8nX8rtsC2S1ADqVK_fWmxkezyCfv2Ja8PNGKF 6T30ZRI1m0O72k8hcglu7dcuif3GqKOumB4yvh9jD_XwMykwFMJ7Qi8t7CxAg.k_YZXlT6zK4Yph GKnK95YcHhY5Xi4.8KT1jyb.DvA4izUAt6OKg73DWWg9ixBrPbSyG0ucQ4isUY4sKiOdrUd9s0HH BrdD7u4BRAyKtYC.qwYLKJOkRcSVpGmt5PYa5s88YyQZvbA4nMgDQ3e7PZpxnf6BfCA9N3bGFd7H NLc2jMRV_V96Lu5QtkRE1p2t0oR49vMYh3x5bq60hlrq1Yt1j3L7C170jNtl9m2BaSfAdDEvInn2 H.QsbbV43ryu3r_FPwO4wRVfsDYU5PWT3RjSLnR8G7y5Ux7.v8TgEYg6yg2V7.CmKbBJdg8iPvvR DTnzcAjU9ZOfIqXKWfcQfi780wRDfuhVRFejgyibMPxZ.jcQ1q4RmnuxDLeePm.Ux2KuDStvPigS 3y35_vAItF5L6Hv1Ptd.NMaBRZI8IZ8Xgrb146dmjfXgel0P0QjooA37FJ9y6J3JVptfZk21mDkr GfP3NRU6RRH37EnjmyIP53dctTGeZg2ARa.3oZY8GTfcDfu7ki9jM.CLzYUlwKMyV8saOVG2IJtk gPjEyjDn0k9vfmr6iSqJkVqmL243H71GMPf2W7Wr1ACxN X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Tue, 11 Oct 2022 16:20:32 +0000 Received: by hermes--production-gq1-75cfcccdb-kcc9l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4c82b53e3d6cd902650cc5b717755ab6; Tue, 11 Oct 2022 16:20:30 +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: <28D78C89-E195-4EF1-BB7B-E7F75060BDC7@yahoo.com> Date: Tue, 11 Oct 2022 09:20:29 -0700 Cc: freebsd-arm , bob prohaska Content-Transfer-Encoding: quoted-printable Message-Id: <5B631C27-E68C-4F38-96B5-B311110A8F86@yahoo.com> References: <6B46F46A-2CAF-42C9-9A04-63567D7DB9B2@yahoo.com> <28D78C89-E195-4EF1-BB7B-E7F75060BDC7@yahoo.com> To: Warner Losh X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mn1Gp6WT4z40Dp X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=XCTK21Cj; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.82:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N [Summary: Both somewhat before and just after your ConOut commit work. I'll have to do a rough bisect with the available armv7 artifacts that are after those but before October.] On 2022-Oct-11, at 08:26, Mark Millard wrote: > On 2022-Oct-11, at 06:17, Warner Losh wrote: > . . . >> . . . >>=20 >> The change was made in late August that I'm thinking of, so if you = could find a >> snapshot from early August July that would be a useful data point: >>=20 >> commit df065f699f1ff819bb9607c44a6754275ab335ed >> Author: Warner Losh >> Date: Fri Aug 26 15:46:33 2022 -0600 >>=20 >> stand: More sensible defaults when ConOut is missing >=20 > I'll look at finding and trying some artifact build to extract a > armv7 EFI loader from. Available snapshot history does not > go back that far so far as I know. >=20 > But I may not be able to look into this immediately. >=20 > In main: >=20 > commit df065f699f1ff819bb9607c44a6754275ab335ed > Author: Warner Losh > AuthorDate: 2022-08-26 21:46:33 +0000 > Commit: Warner Losh > CommitDate: 2022-08-27 04:17:56 +0000 >=20 > It looks like the closest prior artifact is at: >=20 > = https://artifact.ci.freebsd.org/snapshot/main/a358db5603702d5de5fd75f5bd16= bbf7c0ab673f/arm/armv7/?C=3DM&O=3DD > git: a358db560370 - main - socket(2): bring documentation up tp date = Gleb Smirnoff >=20 > with date/time: 2022-Aug-26 16:26 >=20 > So I expect to use that. Turns out that I had the time. Use of the ./boot/loader.efi from a358db560370 substituted into the failing main snapshot based microsd card worked fine for both contexts: A) Just serial console. and: B) Serial console and HDMI console at the same time. I also tried the oldest artifact build with the loader change in place: = https://artifact.ci.freebsd.org/snapshot/main/7ed3228323ef4f9e3130603ea68c= 3be9c2ed50ce/arm/armv7/ git: 7ed3228323ef - main - stand: Document that boot0 uses BIOS Warner = Losh Date/time: 2022-Aug-27 05:12 This also worked for both (A) and (B). So it looks like I'll be doing a rough bisect to find a before/after pair. It might have some elapsed time to finish. >> I think this should be backed out and we should use a different = hueristic >> when we don't know. >>=20 >> If you have RPi2B v1.1 (so: armv7) access, just try to boot: >>=20 >> = FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20220930-42dc8696df5-258315.img >>=20 >> via serial console usage, no video connection present. (I >> did not try a video connection as that is not my type of >> context.) >=20 > Again: It turned out that serial+HDMI also shows the issue. >=20 > I also later reported that the snapshot with the date 20221007 > also shows the issue. You do not need to use the 20220930 one. >=20 >> . . . >> OK. That's a fairly clear set of instructions. I'll try to work that = into my >> schedule. >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com