Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 2020 21:28:26 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Emmanuel Vadot <manu@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r364053 - head/release/arm64
Message-ID:  <D40F9FC9-6C50-472B-9460-AFB1BF831F71@yahoo.com>
References:  <D40F9FC9-6C50-472B-9460-AFB1BF831F71.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Author: manu
> Date: Sat Aug  8 16:56:20 2020
> New Revision: 364053
> URL:=20
> https://svnweb.freebsd.org/changeset/base/364053
>=20
>=20
> Log:
>   release: RPI3: Add the RPI2 DTB
>  =20
>   The RPI2 v1.2 is using the same SoC as the RPI3 so it can boot this =
image
>   but needs the RPI2 dtb.
>  =20
>   MFC after:	3 days
>=20
> Modified:
>   head/release/arm64/RPI3.conf
>=20
> Modified: head/release/arm64/RPI3.conf
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/release/arm64/RPI3.conf	Sat Aug  8 16:41:28 2020	=
(r364052)
> +++ head/release/arm64/RPI3.conf	Sat Aug  8 16:56:20 2020	=
(r364053)
> @@ -4,7 +4,7 @@
>  #
> =20
>  DTB_DIR=3D"/usr/local/share/rpi-firmware"
> -DTB=3D"bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb =
bcm2711-rpi-4-b.dtb"
> +DTB=3D"bcm2709-rpi-2-b.dtb bcm2710-rpi-3-b.dtb =
bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb"
>  EMBEDDED_TARGET_ARCH=3D"aarch64"
>  EMBEDDED_TARGET=3D"arm64"
>  EMBEDDEDBUILD=3D1

When I look at the likes of:

https://github.com/raspberrypi/firmware/tree/master/boot

I see two *-rpi-2-b.dtb links on the page, each referencing
one of:

=
https://github.com/raspberrypi/firmware/blob/master/boot/bcm2709-rpi-2-b.d=
tb
=
https://github.com/raspberrypi/firmware/blob/master/boot/bcm2710-rpi-2-b.d=
tb

It appears to me that bcm2709-rpi-2-b.dtb is for RPi2B V1.1 and before
(cortex-A7 based) and that bcm2710-rpi-2-b.dtb is for RPi2B v1.2 (the
cortex-A53 based variant). I base this on:

https://www.raspberrypi.org/forums/viewtopic.php?t=3D238262

and its table:

2708/2835: Pi Model A, Model B, A+, B+, Zero, Zero W, Compute Module
2709/2836: Pi 2B
2710/2837: Pi 3B, 3B+, Compute Module 3

mixed with: =
https://www.raspberrypi.org/documentation/hardware/raspberrypi/
and its outline:

	=E2=80=A2 BCM2836
		=E2=80=A2 The Broadcom processor used in Raspberry Pi 2
	=E2=80=A2 BCM2837
		=E2=80=A2 The Broadcom processor used in Raspberry Pi 3 =
(and later Raspberry Pi 2)

If that is correct, then the -r364053 is using the cortex-A7 variant's
dtb instead of the cortex-A53 variant's dtb. It looks like it should
be using bcm2710-rpi-2-b.dtb to be treating the RPI2B v1.2 in an
RPi3B like way.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D40F9FC9-6C50-472B-9460-AFB1BF831F71>