From nobody Tue Jul 05 14:14:00 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 DE09A1CF9EAF for ; Tue, 5 Jul 2022 14:14:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-54.consmr.mail.gq1.yahoo.com (sonic316-54.consmr.mail.gq1.yahoo.com [98.137.69.30]) (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 4Lcl6D3LgYz3l3V for ; Tue, 5 Jul 2022 14:14:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657030444; bh=IXiRmnl+CBZ52u+1G5YptslFNrmbdIY4De45rMfMnkI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=BPCnilKSZikB9SwYflZOuup9T+H88m0XMUfxrWMusuiOCmjmSCr0IQTyuXuUGCtaY8FAg7fUmIKULIWUlpOuDp1YHTdFv4YgeZiVY7fk+a0n/2V5IAiINHm7MUjYZTNnaXPx4fK+kXNBTTbioGp8daeMq1dscDjJyIR3o0CtWkAB2kSQl65njxxCKoZyv9myXxNCQea3S7LdwkQFTx3JV3OGPtIiAfYE382r7gsRnkO5KBMUNzN6ELYZVbuBF9GbIXexoRNvpbpq1x7ADm2UC6huS55WVz6Ra6VuCg8xDa/ZDOUz6nx+egyCyszvEMik8PRObeWLnTiJUekyBG6RsQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657030444; bh=NVIfcH8Hu0J32e9KA/cYMW7qQXFmzXalxR8gTWeGtZZ=; h=X-Sonic-MF:Sub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j9qrwUnR0dITdhpqnW8f_IwAlzx19zWalbL5C82CFPnJZ2p I9oG9uzPYHCEja9xYYc4eZN0NhdZp1clAvOkKSEPQIPuy486xGaUinsT7_fyLVhuUblbE17hlsA. Brmrzaj_ukYOizW1QBztnl25k9NEkQyUqr9NIEpXKl.IUt9f99lHJ2EsjtNxTqzdJ3LK.P0Z.eE7 eL6kdta2BVa1gPjdIyA6SlolVVgNbyTXVrKK3zfYXz2BZmEWUfOpzKXA2Lfi6PRp4cUs54rZSEaF i8YpzSnZ7GRlQSmBz62fHcdBHlSnBEmbUJTCLH5qv02Umc1gWwK1aiVk2bY6blDrjsWRbUP5LBe9 D9dfeZ2AkFY6SuQ3HYUXYDRNPHKYdQM1Y.bnnkwROlCwYFL7MfaUg8AkYQ7VoC3MUkgGhRNikKHD 7AwyYdy6xPUb_lY4972BrtCRmOlzG2m_.fdP4PaUXIC6jbNBh1i3stBqclvuMH6pXuxb7ztMqFpJ XawUpaER7geIvBr.SxFbfT_G2rX1KBVBwVLTJEw_RN1eo1pD.NEaLyaxK3o2EqGiWZdNTZXYuAAe r X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Tue, 5 Jul 2022 14:14:04 +0000 Received: by hermes--production-ne1-7864dcfd54-hwfdm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b861fb5ea1c897f2f971d958ca681f14; Tue, 05 Jul 2022 14:14:02 +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 14.0 \(3654.120.0.1.13\)) Subject: Re: Failed to execute custom kernels which where build on a RPi 4 operated by 13.1-RELEASE From: Mark Millard In-Reply-To: Date: Tue, 5 Jul 2022 07:14:00 -0700 Cc: "Dr. Rolf Jansen" , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: <0A80CA1D-A3B7-4565-A059-B55FF05DE51B@yahoo.com> <531137B1-0501-47AE-BC2F-62F57067356B@yahoo.com> To: John Kennedy X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4Lcl6D3LgYz3l3V X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=BPCnilKS; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.30 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.30:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(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]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-5, at 05:47, John Kennedy wrote: > On Mon, Jul 04, 2022 at 11:41:37PM -0700, Mark Millard wrote: >> Note: I do my own builds, installs, and configuration >> experiments. Do not expect my example outputs below to >> necessarily match those for official builds. >> >> For reference from my root-on-UFS aarch64 environment that boots >> via U-Boot (not via EDK2 UEFI/ACPI): > > Gah. There is so much more out there than RPI4 now for arm64 I didn't > stop to wonder if bsdinstall set it up right. I just reformatted > /boot/efi and slapped the uboot stuff in there because that was the way > the SDcard image was set up. I left it as /boot/efi (vs /boot/msdos). > >> # sysctl hw.fdt # Likely a RPi* specific sysctl name? >> hw.fdt.serial-number: REPLACED >> hw.fdt.compatible: raspberrypi,4-model-b brcm,bcm2711 >> hw.fdt.model: Raspberry Pi 4 Model B Rev 1.4 > > # sysctl hw.fdt > hw.fdt.serial-number: > hw.fdt.compatible: raspberrypi,4-model-b brcm,bcm2711 > hw.fdt.model: Raspberry Pi 4 Model B Rev 1.5 > > Aha, that is what I was looking for. Wasn't even seeing that with > hw-probe, and I wasn't going to interrupt the 12-hour llvm13 compile to > reboot and see what I could with uboot yet. I checked, and for EDK2 UEFI/ACPI the "sysctl -a" output does not report such information under any name. The sysctl hw.fdt output is empty for that type of boot context, for example. > There is this guy, Mark Millard, who writes these really good mailing > list emails that makes me paranoid about uboot version mismatches. :D > > I haven't even looked at the EEPROM firmware stuff. Rev 1.5 RPi*'s do not have many valid "default" EEPROM content alternatives yet: most are too old to be appropriate. > Reading the list, > it's all been such potential foot-cannon fodder seeing some people's > issues I just knew it would be a potential problem, but happily it just > worked as I would have hoped. > >> I boot a RaspiOS64 microsd card for the related activity. > > Yeah, I haven't been doing that. > === Mark Millard marklmi at yahoo.com