From nobody Fri Nov 25 23:18:34 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 4NJrQv06Fgz4hjXH for ; Fri, 25 Nov 2022 23:19:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-21.consmr.mail.gq1.yahoo.com (sonic305-21.consmr.mail.gq1.yahoo.com [98.137.64.84]) (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 4NJrQs5rLPz3kgN for ; Fri, 25 Nov 2022 23:19:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=cKPngNY4; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669418319; bh=9lraywGoE+gb7NyHj1FC2by4qny/6XJy8Yz9GfiR4Lg=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=cKPngNY4dStuCuJxsLUniono3Ipx61JfdAhwiae5RuNhCKy2TeNBS5D7uKcQtHEeIVHVWmXIq/kpf6qyXjZQtWDwKnYCrB8AWVbTAGZ7WvpXIA7TOtwZbzKwfwisgCUqXIIb72INi5UafnetZP6dQuCXJwLCxNu2i1z0zIb+SI1S6V4z4aiAedMZ8F0g4vP0ox9zh81oceFq5fJN92huCyrwWdZbnwFK0IxrFdf7z1FczWDOtZw8mTeZuoNefYovk7UVUjUy6W4qTPGUCOkFyXG9S60zKLl6ZW0fl/w/+ExBYi86BSHooHXG9M9Hb5woCsHh4iVbzK4llxCNGfIpjQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669418319; bh=o9Pkn+0wFfyyr/e35LJ1Ux+eM0kJzvlUZ8loxt69ow6=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=HbE/puShxAGWruIjmSQs/dNQhdnt5GJXy2bq+eR7Xue6f3cx9KfXmBjMvWvYliSSucH93PDLiT8Ukx6SQqPDfJUjYFbHXPh22W5EEVBMGFZleSymtpa5+Vl23Ul8bGJIqPwv+LhJ81PX55HHh6gIx5uIqv2/zU1lKUjUGH33Bo2NadqfwsoH2cSsHfQsWRAUydoM7YokBdRHACPOIM4LZWr5vRlIBCV38z4VMSKvBans6uCrisvFrI9q/S/4EX4fvi96zYToDkl8BayYj2oUFfZBTdg/7xPj0J7zaQX8hVplHq7vcvaki1v5DXrBUpYMCnNF/T7rZbBNURvXrbfnSA== X-YMail-OSG: J_M2DMAVM1kHrfvCxmtVu6fDqe9l_A9OdUE8Rigu4odvX_YlqRBOT8R0rImVJe6 KxD.uPxaWBu2f3STYhaCNrc_bfhVcnhVw47cTxpqw7AWuEdNkCchw.qCrWPk3vuMoQ4dPkAFham4 ri8QHe1Vghlq5sGJjN4gwTxCPr9Nu07SszuFEhvjD3k1xHtfrHnTSUgQJfL6LXrYbYiAXTq3SgtV bTkz_puoTdYV9U1BIG53LKkVDYe4IJa379vQkVLGwL0gHr6om9rGxbyCyNoZecwgqIANKiFghZTo BtCXrMuRLW1KoMDzUKidMgLom9FvmhhLKetFiNPS6_ReumA1Ga_Iienwa3Dr_j5gwOgj_vkS7IyA svyDuh1PLzeCkyWekNe1SMXw7.ROKwcRh1Eev35usw2UAggi96tJ1bEgNUXgx3ErYeyLQxDN6lhX McU.Kj_6d14RU0jgtNFBXvLIa0k4tzBE9OUgQKPfdyGliE26wzpoKyxvujrxHwj.gV7jFMwhGemB ci6WTE90WJntUg.yZCuKYF7L5gDAl17xC5Bff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4RtDkRDMD4.qxd4oZykf0JiT1TvavfOP2G WEdMzvnuNILIETOh6EbULFJHRjPVl1ozotMkRkfLJjC3QSDTYqbNwNQ4P5vnXCvHP9oJF1Gz2kyD athHa8bikP27YVzV3znss5bx6oUy2rmFsYcgv.rHeLG5IUnDDdCT_Tv.xjg2pKFhZmrw_p7eG7fL 3IfRkSoYxMXYSh2KadxUJPS1ReGCQqmoZ6_pRcMdH2QQU0cra3TPjKiPdyP.U0Nil0uAKM7fWtty cErJSGR8QMh0rTHGr28NV.MM8VFx1NUTrsX3s10JA_5gjTAecrK3BhOLxvVVaFJh14BltNy0FBHy XbuBX19V73TVc1hfj4ZATGU5qsIJzvfnf.T2yiFzaQldATCvHMiHxaDGdv8fe5lg5uHPa5B_jwy9 k0_DQRHsomNZgrtwddwbd_VcRz972exkLkLqccXW9ttdjWx8dJDsw5p.rL_IAs4FgTe0.4GWDHHF qYp9JZH_T9ZDDqHPSZyBirJMsLJVOPjyTrPY8opDATmlEBGjWAC2rghIUHjBPM.rRqKXTvgrprVa yj0Ro49.xxf8QkFZvfZjKtHrcxa9S3SfYxAaLdNZOFOUryFklaihpmt7SBsWwJZHLjrHbL9skXrN ScuMsgZvvUYp528ALNkj6t7inXPnqy3DgL6ZNZQD2FQbQ4S1Ut0YA8vV_oxOxdQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Fri, 25 Nov 2022 23:18:39 +0000 Received: by hermes--production-bf1-5878955b5f-n7x8p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5d8c1cdda37ca393576ca51d9e67048f; Fri, 25 Nov 2022 23:18:37 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=utf-8 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 11.5 \(3445.9.7\)) Subject: FYI: Example RPi4B 8GiByte "B0T" (3 GiByte limitation) vs. 8 GiByte "C0T" device tree differences Message-Id: <4B293977-1D57-42AD-8031-5821A2E0698C@yahoo.com> Date: Fri, 25 Nov 2022 15:18:34 -0800 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.9.7) References: <4B293977-1D57-42AD-8031-5821A2E0698C.ref@yahoo.com> X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.86)[-0.860]; NEURAL_HAM_SHORT(-0.73)[-0.726]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.84:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.84:from] X-Rspamd-Queue-Id: 4NJrQs5rLPz3kgN X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I=E2=80=99ve now got access to a RPi4B with a =E2=80=9CC0T=E2=80=9D = part, an 8 GiByte one. It is a Rev 1.5 as well, the only such that I=E2=80=99ve access to. (There are such = things as Rev 1.4 =E2=80=9CC0T=E2=80=9D RPi4B=E2=80=99s as I understand.) Showing various differences vs. the = old Rev 1.4 8 GiByte RPi4B: - model =3D "Raspberry Pi 4 Model B Rev 1.4"; + model =3D "Raspberry Pi 4 Model B Rev 1.5=E2=80=9D; . . . system { - linux,serial =3D <0x10000000 REDACTED>; - linux,revision =3D <0x00d03114>; + linux,serial =3D <0x10000000 REDACTED>; + linux,revision =3D <0x00d03115>; }; . . . emmc2bus { compatible =3D "simple-bus"; #address-cells =3D <0x00000002>; #size-cells =3D <0x00000001>; ranges =3D <0x00000000 0x7e000000 0x00000000 0xfe000000 = 0x01800000>; - dma-ranges =3D <0x00000000 0xc0000000 0x00000000 = 0x00000000 0x40000000>; + dma-ranges =3D <0x00000000 0x00000000 0x00000000 = 0x00000000 0xfc000000>; . . . pcie@7d500000 { - compatible =3D "brcm,bcm2711-pcie"; + compatible =3D "brcm,bcm2711-pcie", = "brcm,bcm7445-pcie"; . . . - dma-ranges =3D <0x02000000 0x00000004 0x00000000 = 0x00000000 0x00000000 0x00000000 0xc0000000>; + dma-ranges =3D <0x02000000 0x00000004 0x00000000 = 0x00000000 0x00000000 0x00000002 0x00000000>; . . . I ignored ethernet addresses, serial numbers, and the like. I had updated the RPi4B's to have the same EEPROM image = defaults/critical vintage in order to make things more comparable (2022-Apr content = vintage). For reference: bootloader { version =3D = "507b2360eb46af23c05844b289dc5ae4ecfc3cca"; capabilities =3D <0x0000007f>; - update-timestamp =3D <0x6381074a>; + update-timestamp =3D <0x6380a03c>; build-timestamp =3D <0x6267c85c>; }; Notes: I get the information via a sequence that involves booting and looking at the likes of the text: Using DTB provided by EFI at 0x7ef0000. (FYI: prior to the 1st boot this area is not filled in. So a reboot is = involved in preparing it for availability at U-Boot time. It survives.) After that I "shutdown -r now=E2=80=9D and stop it in U-Boot and use (in = this case): U-Boot> fdt addr 0x7ef0000 U-Boot> fdt print / { . . . I record the serial console=E2=80=99s output for later reference. Doing this for both RPi4B types, allows me to use diff like utilities. As I understand, this sequence is showing the device tree as it was = given to the FreeBSD kernel, not some earlier stage. (The RPi* firmware makes adjustments before handing information over to U-Boot. U-Boot might do similarly before handling information over to the FreeBSD loader. That loader might before handing the above over to the kernel.) =3D=3D=3D Mark Millard marklmi at yahoo.com=