From nobody Tue Oct 11 18:50: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 4Mn4bv5Vfsz4fBcK for ; Tue, 11 Oct 2022 18:50:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 4Mn4bv0QKNz3KTs for ; Tue, 11 Oct 2022 18:50:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665514233; bh=QxV7lJX3U6+D/iYPZIrYep1N0JxCl6F9EodSNOOP0SM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=RtZ583xzWKtqXAR52dFzmejjr30xhIIYm3jIMyne7wIQ0xGDqsMZtzWsM5nhMDnpNDv8kwI44X8WRA/Q/V4cCYoAzVJ1cSMvp0wT93lhGzxJ87qzpFuoe6Il3otM6JUBBkYphUgTPrbt9zhpD70NJPn4a6bUAxpfUmRYg1Vu6LWCsBzjXW44mCrE0dO19mXECOonSmzFkev7OwTXsD/c198A9/HU6Dsf0cdrLPvxwKSukfxJJDxICgEaKWxXEpfXBjf91ezcsrQP6tC6yFeRFaqaxtUUUPHCDstoUck/ZOK9mP3JfUIiweCsrmELKn0Onl/JSpZLSN2o9ibD1mFzSA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665514233; bh=MSr1MWEO1MZDMosM908ORKdWGKvUxWcasr3N4VjMMY8=; h=X-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9uMAI.timzKujeoP8oLW0YjR7OxdSp75gG1awLGHTWrz7ndVbyImlm85LdwK tRPA94.mlC2XZG3QbOYOGM.cPTREfl0z6mrpwtwALk7T49W4Zlz15g66StO5ZbN_w4Cyy02zyLEz 7moa3qDuBENUp6bWHVNlTxdAkz_ywkA669lFxdAuB_Ie2jd2a4YbuRklm2k_QYFsGW1MHwKyEDR0 .2WYo51j0DeUeIiY6ugPZl7FPCSNLiqMmLJAZ_1OXMcsH_PFEbZk6SL1LOUwLGK3JEm3O0aR_XMQ DZXTOIPIxf8X6YhqBR.9Bwrs6Zjle33s06.j9VCXUAmcHODHumCIKV6ViVfKGKWaTwQKNszTja9Y d_X60tQG59o9zzFJYpvIdjQOo9JBnQDucCI1oSnWqW65_PDZ7dVvrIJuiWX.8ndKJMIBOPwZUUUu b99uqRs8Z1H5kF874dCGGsHpJNxCAUMeF8HCHnqq5COO2Maqohi5ep6ukLtVOxiCrBiJl.awBAzi stz01Likja2Kkz5GR1dQLkGGyrk9bD0qTDkuXn20wBXC5bxXaKuBopVfj2Lvf7cT.bjSiYZ3BmOb PqjxOuY72Xfmq2zfrZnzCm0TiwuJKWuY9900i0ZFxNQoU_w94_iB8K6l.4DSiN3XIIM0ab7JCwyo LR8NROkMF9zlEmwgvKvy1AhB.32yF.8E2rGfRN3ZY_bO3kbS2 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Tue, 11 Oct 2022 18:50:33 +0000 Received: by hermes--production-gq1-75cfcccdb-gdnml (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9aeca3cc41f48e7d4bd26f3638d304c4; Tue, 11 Oct 2022 18:50:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: <5B631C27-E68C-4F38-96B5-B311110A8F86@yahoo.com> Date: Tue, 11 Oct 2022 11:50:29 -0700 Cc: freebsd-arm , bob prohaska Content-Transfer-Encoding: quoted-printable Message-Id: <6EF84694-7CD7-4A9F-BF9C-DFFB52F557AD@yahoo.com> References: <6B46F46A-2CAF-42C9-9A04-63567D7DB9B2@yahoo.com> <28D78C89-E195-4EF1-BB7B-E7F75060BDC7@yahoo.com> <5B631C27-E68C-4F38-96B5-B311110A8F86@yahoo.com> To: Warner Losh X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4Mn4bv0QKNz3KTs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=RtZ583xz; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.147 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)[-1.000]; 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.65.147: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 On 2022-Oct-11, at 09:20, Mark Millard wrote: > [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.] >=20 > On 2022-Oct-11, at 08:26, Mark Millard wrote: >=20 >> 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. >=20 > Turns out that I had the time. >=20 > Use of the ./boot/loader.efi from a358db560370 substituted > into the failing main snapshot based microsd card worked > fine for both contexts: >=20 > A) Just serial console. > and: > B) Serial console and HDMI console at the same time. >=20 > I also tried the oldest artifact build with the loader change > in place: >=20 > = 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 >=20 > This also worked for both (A) and (B). >=20 > 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. The date/times encoded into the file names below are those shown for base.txz . The overall artifact directory date/time is somewhat later. The -good vs. -bad suffix indicates the boot status. # ls -C1d * boot-2022-08-26-16-26-a358db560370-good boot-2022-08-27-05-12-7ed3228323ef-good boot-2022-09-12-18-30-c198adf39498-good boot-2022-09-15-01-28-145a50dcda7a-good boot-2022-09-16-14-26-b4174079576a-good boot-2022-09-16-15-45-b44869cba1b3-good boot-2022-09-16-18-02-dd2b9c296776-bad boot-2022-09-16-20-51-30cfb3c8ee3d-bad boot-2022-09-18-00-46-c3707bd3d658-bad For: boot-2022-09-16-15-45-b44869cba1b3-good boot-2022-09-16-18-02-dd2b9c296776-bad there are no armv7 artifacts available between. The range is: =E2=80=A2 git: b44869cba1b3 - main - sound: add patch for Lenovo = Legion 5 Intel Nuno Teixeira=20 =E2=80=A2 git: a705c72f2142 - main - stand: use = archsw.arch_copyin instead of i386_copyin Warner Losh=20 =E2=80=A2 git: 4c670b53a000 - main - stand: use = archsw.arch_copyin instead of direct call Warner Losh=20 =E2=80=A2 git: 8b19d28d68a3 - main - stand: Create MOD_ALIGN = macro and use it everywhere Warner Losh=20 =E2=80=A2 git: bca9c87b6104 - main - stand: Create = common/modinfo.h Warner Losh=20 =E2=80=A2 git: 5d1531d9d4e7 - main - stand: Move md_copymodules = into modinfo.c and reduce copies Warner Losh=20 =E2=80=A2 git: 2e6ed47a4609 - main - stand: Move MOD_xxx macros = from modinfo.h to .c Warner Losh=20 =E2=80=A2 git: fc352701ff3a - main - stand: collapse all copies = of *copyenv into md_copyenv Warner Losh=20 =E2=80=A2 git: e895ab3fbdc1 - main - stand: Remove dead store to = bi_kernelname Warner Losh=20 =E2=80=A2 git: d43bcf62a218 - main - stand: Stop support booting = 4.x and earlier kernels Warner Losh=20 =E2=80=A2 git: 59b1d074280d - main - i386: Mark the obsolete = fields in bootinfo with _was_ Warner Losh=20 =E2=80=A2 git: 4134f677eb39 - main - i386: Make boot loader = smaller by reducing size of bootinfo Warner Losh=20 =E2=80=A2 git: 9758dd3de1cd - main - stand: Allocate bootinfo = rather than have it be static Warner Losh=20 =E2=80=A2 git: c0ecae78abbe - main - stand/elf: Only support = swapping headers on powerpc. Warner Losh=20 =E2=80=A2 git: dd2b9c296776 - main - stand: fix mismerge Warner = Losh=20 Side note about /boot/msdos : The Oct-07 snapshot of main [so: 14] has: # ls -Tld /boot/msdos /boot/efi drwxr-xr-x 1 root wheel 16384 Jan 1 00:00:00 1980 /boot/efi lrwxr-xr-x 1 root wheel 51 Oct 7 10:36:20 2022 /boot/msdos -> = /usr/obj/usr/src/arm.armv7/release/GENERIC/boot/efi =3D=3D=3D Mark Millard marklmi at yahoo.com