From nobody Mon Jul 17 17:14:57 2023 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 4R4TH66xk8z4nHTH for ; Mon, 17 Jul 2023 17:15:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-24.consmr.mail.gq1.yahoo.com (sonic304-24.consmr.mail.gq1.yahoo.com [98.137.68.205]) (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 4R4TH64brZz4SLG for ; Mon, 17 Jul 2023 17:15:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689614112; bh=goBop5IXU09GnCm2zhePQgTzPuNX9gXALrCdpWBf1K0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HbFn5jb+E6rj2gpPTW8yUA08d7POVbW4/4CGUTifgY8B8JBwFuIgGfAFt7V6s6mUOPk9tAaZxqJoNBQWHBEy0I2XoDvjpQ/izxGR1RebrH3QfiDfI0/eLn4HgEGcG+Vifn+t6N0TA0cAKgWYcc7qvj8iAIE5rTeWoT9TbK5ftWi99Otsb4r3X3U3oion37cilbdmTBXvXwcEmBFwwZUjGGLuwWSBt1sO8Ggy92mw6lHbm4N+Jt/3Zsvpv6L8L7mY9rtJ2KvubMMV9ZRt00GaiuXiqj/46CT7OO9NMIu6DrU8MkgUqzezh1EUFwUT9kHzXUHFtOxMzPb6uSY2MP+sTg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689614112; bh=aT/tDMC9HdsSjGrkahJ+qc5D80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GWYA9dk.WRS5tXdKalaFrZrFtAqzrwhHqsFVNqYlxjq_dbmDC50H9u8uGJgTwke0Bx.qE Gp3DWwD3SccUJzagwAK6umDafc8.8bx9OCS4QIuIy007R2EGhKAgE8L3F0dHiuzdKlhd.Dmete8a m870iONOgNKzDi3guO_Zk.jlnLDqAbP0P8Fi3m1zWxR6ZZvnu9TWsxGtAEGukoRgzrlhPWPDkGT4 J_fqMp5v9Fqw6pf1lYqpgNho3cl3EBFdnTivgas0z.SSDjkA1j7W4YKnlhaf0dTFHKjpq9ewa1rq 6eMuoxCdUjTpU4UNizq_wkVZJja8yYAveDAQIew6O8ptqhvXhwRUE36YzD3xqcy3N1dti2V1QHV2 AgKNwXq045lg3exEp1VblKieyG0qmKvQmi6qTOwIvJBvNxx9Y9kAEu2ke3IIUghcepCvPu.Xyz51 DJzrX8ZFydptW0fC7os5ye5SwlGv1S0T0RAW8uixd5leGDweFCBBwejmqMmud8UypHQgYhNSe2v5 10aEJnvXRzWgfgMXUK7ieonc5x7G9gKa5EJz3FkDK_Q9bg0zQtDdEYtSeGMO4x2ZzRQByk1kMCNi z X-Sonic-MF: X-Sonic-ID: b16a9524-b14a-44b7-8468-eadc038aaa2f Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Mon, 17 Jul 2023 17:15:12 +0000 Received: by hermes--production-gq1-5748b5bccb-w7vn4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 86caacdf526d9021b76957619aae86c1; Mon, 17 Jul 2023 17:15:08 +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 \(3731.600.7\)) Subject: Re: Supermicro R12SPD Ampere Altra - No valid device tree blob found From: Mark Millard In-Reply-To: Date: Mon, 17 Jul 2023 10:14:57 -0700 Cc: FreeBSD ARM List Content-Transfer-Encoding: quoted-printable Message-Id: References: To: John X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4R4TH64brZz4SLG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jul 17, 2023, at 09:37, John wrote: > Hi Folks, >=20 > I have a new Supermicro system: >=20 > Supermicro R12SPD BIOS Date:04/26/2023 Rev:1.1a > CPU : Ampere(R) Altra(R) Max Processor >=20 > Booting from the latest media (spot checking older > media makes no difference): >=20 > Boot Media: = FreeBSD-14.0-CURRENT-arm64-aarch64-20230713-510fd8313800-264135-disc1.iso >=20 > Fails here: >=20 > Loading kernel... > /boot/kernel/kernel text=3D0x2a8 text=3D0x8ff810 text=3D0x29b324 = data=3D0x153cc8 data=3D0x0+0x2c3000 0x8+0x155628+0x8+0x17e504| > Loading configured modules... > can't find '/etc/hostid' > can't find '/boot/entropy' > No valid device tree blob found! > WARNING! Trying to fire up the kernel, but no device tree blob found! > EFI framebuffer information: > addr, size 0x10000000, 0x300000 > dimensions 1024 x 768 > stride 1024 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >=20 >=20 > If I break into the loader, the fdt command shows the > same error message. >=20 > OK fdt ls > No device tree blob found! >=20 > OK=20 >=20 > A verbose boot shows no additional information. >=20 > I've poked around in the source and don't see an obvious > fix for this. Web searches have also not provided any > obvious solutions. >=20 > Any ideas? Thoughts? UEFI/ACPI booting does not have a "device tree blob" to find but FreeBSD's UEFI laoder still puts out the "No valid device tree blob found!". I see this on all the UEFI/ACPI booting systems that I have access to --and they all boot fine, aarch64 system and the amd64 system. I expect that your boot context is UEFI/ACPI and that the message has mislead you about what to look for relative to booting. But I could be wrong and the system could be trying to boot via fdt. That is one of the problems with the way this messaging is handled. On the HoneyComb (16 Cortex-A72's), for example, there is the FreeBSD loader's configuration command: OK configuration NumberOfTableEntries=3D12 76b6bdfa-2acd-4462-9e3f-cb58c969d937 at 0xfad05b18 fc1bcdb0-7d31-49aa-936a-a4600d9dd083 at 0xfaabfd98 DXE Table at 0xfacea6b0 HOB List Table at 0xfaabd018 MemoryTypeInformation at 0xfacea338 Debug Image Info Table at 0xfad038d8 a4ee0728-e5d7-4ac5-b21e-658ed857e834 at 0xfaccea98 ACPI 2.0 Table at 0xef890018 SMBIOS3 Table at 0xfacb0000 dcfa911d-26eb-469f-a220-38b7dc461220 at 0xee5cb018 HII database at 0xee550018 HII config routing at 0xee530018 For this context, it indicates a UEFI/ACPI boot: note the "ACPI 2.0 Table at". FDT booting would refer to such instead. So you likely can check if you are UEFI/ACPI booting vs. FDT booting. It is technically possible to have an environment that could list both. I've no experience with booting such a system or other knowledge of how FreeBSD handles such. =3D=3D=3D Mark Millard marklmi at yahoo.com