From nobody Wed May 18 01:09:55 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 80CD11B30F7C for ; Wed, 18 May 2022 01:10:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (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 4L2vzg4DYMz3QsW for ; Wed, 18 May 2022 01:10:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652836200; bh=Afo98XKgOI5Eqhdl4cpJvYQzvFDoD3oRAqeITFr2RLA=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=Une6Fo090h+DOX1bVkk+/6o1y4m9oQk16KmaX4RC3gIQdPjn1fSz86LxGReny11KCSyqTOWFcq73kdoJK48bgB+F0BW2NmMSpsA6qb5NKeLewfudnk5r8A1nl4rbzvI94fPN6NeDUVJjmA3slvyGHEgLuMXi2kVZZfpO3AwkLqDT+KcnC+vGSSMxC1L6vJHcAHP3Q32DQi2VQQY0JEWfgb9LyqsKGpe0F6anYKaw5yrdWjqUpZDm+gT2fvyhdZaX9MXTfHTJPoYfMW2Y0+7NYzJ0DGibpdrDwZK7CrqnpWICW6zdoziL7HxplTx98WvRZ+NcE6pWsrZRrdSBDudV7A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652836200; bh=fRmuLXX1iIqlNaBjV7v7zUyn0P1o54K8nNm8gOLqGOv=; h=X-Sonic-MF:From:Subject:Date:To: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xpec5LXIIRyKiwP3 GSGh4UMmKp5EAIW8se0TCEdLQDjuXy4o2zuuDxUClJNGJfjwEeeBfapDIx1KSEe9w0Ny2_G1WUgK 4PqHDSe98eR5cYSuhrIJBmbZf0T6GlNHB25RrX.D57MerztZhuuOo52SNvoA3KTYCeHXveQPoRj1 Wh.G2RG6dd.vsXuZrakSfTajz_U3glF7iOaB0jHWOmE1uF_9KnCm68Xhz_rWQtfCTfNYX5IcnSvC NUHIWRGO6zEWnKh1c6VWUH3tWosoFZ0EnODIBXGLHVN2Jd8IWl6O2rfgHur1wrYdreZB6LloxYcK Zjs8e536cr2Gw6BaCxGwGoBUYfLDU1bJiRgePBHtvr9arP_FiskYYucx6ZsHyP.pSlpvTcmv2pU5 hLbneL6vbQDiuI3HG1y0ZKAkukK_eYFaszjlTG6ZvRMQR.jZ3Wm1UKXP2z.s1JhcpTpM6M0AWphG XZY_24nsIopu_hDnMFEtGbiQoqMvc.KLLFv7ymtRC6JEv7Rd6yTGzrU17omMLlS9l7eWC5hxq8YB GPzwvx_v3RK9m8g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Wed, 18 May 2022 01:10:00 +0000 Received: by hermes--canary-production-gq1-555f44848f-xk4hw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d17d19b173d5ba25319be4433eeb44b2; Wed, 18 May 2022 01:09:56 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 14.0 \(3654.120.0.1.13\)) Subject: main's recent loader.efi broken in an example aarch64 update context Message-Id: <04B81938-102C-457D-A22F-5489ED42507D@yahoo.com> Date: Tue, 17 May 2022 18:09:55 -0700 Cc: Warner Losh , Dimitry Andric To: Free BSD X-Mailer: Apple Mail (2.3654.120.0.1.13) References: <04B81938-102C-457D-A22F-5489ED42507D.ref@yahoo.com> X-Rspamd-Queue-Id: 4L2vzg4DYMz3QsW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Une6Fo09; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[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/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.99)[0.994]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.206:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.206:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N [I've cc'd some folks that recently committed onto main's stand/ or did the llvm14 toolchain merge. I've no clue what makes the difference.] Note: the MACCHIATObin Double Shot has a EDK2 based UEFI/ACPI context for how it is set up to boot. In trying to update a MACCHIATObin Double Shot to a main vintage with llvm14 I got boot attempts that look like the below at the tail of its visible activity (serial console): QUOTE Loading kernel... /boot/kernel/kernel text=3D0x2a8 text=3D0x91b040 text=3D0x216434 = data=3D0x1b8128 data=3D0x 0+0x2ae000 0x8+0x130980+0x8+0x157b86 Loading configured modules... /boot/kernel/cryptodev.ko text=3D0x16c3 text=3D0x27a0 data=3D0x628+0x10 = 0x8+0xcd8+0x8+ 0x96c /boot/kernel/zfs.ko text=3D0xa81a0 text=3D0x209310 data=3D0x26a88+0xba46c = 0x8+0x32a78+ 0x8+0x2c37e /etc/hostid size=3D0x25 /boot/entropy size=3D0x1000 No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! EFI framebuffer information: addr, size 0x0, 0x0 dimensions 0 x 0 stride 0 masks 0x00000000, 0x00000000, 0x00000000, 0x00000000 Synchronous Exception at 0x00000000B460F554 END QUOTE Part of the update was updating the loader.efi copies: # ls -Tldt /mnt/efi/*/* -r-xr-xr-x 1 root wheel 1204828 May 14 18:53:16 2022 = /mnt/efi/boot/bootaa64.efi -r-xr-xr-x 1 root wheel 1204828 May 14 18:53:16 2022 = /mnt/efi/freebsd/loader.efi I had to revert to copies of a prior loader.efi vintage that I had around to copy in order to boot the otherwise updated USB3 drive. Nothing else had to change. Copied from: CA72_Mbin_ZFS aarch64 1400057 1400057 # ls -Tldt /boot/efi/efi/*/* -rwxr-xr-x 1 root wheel 1287580 Apr 28 21:46:46 2022 = /boot/efi/efi/boot/bootaa64.efi -rwxr-xr-x 1 root wheel 1287580 Apr 28 21:46:46 2022 = /boot/efi/efi/freebsd/loader.efi =3D=3D=3D Mark Millard marklmi at yahoo.com