svn commit: r364053 - head/release/arm64

Mark Millard marklmi at yahoo.com
Tue Aug 11 04:28:33 UTC 2020


> Author: manu
> Date: Sat Aug  8 16:56:20 2020
> New Revision: 364053
> URL: 
> https://svnweb.freebsd.org/changeset/base/364053
> 
> 
> Log:
>   release: RPI3: Add the RPI2 DTB
>   
>   The RPI2 v1.2 is using the same SoC as the RPI3 so it can boot this image
>   but needs the RPI2 dtb.
>   
>   MFC after:	3 days
> 
> Modified:
>   head/release/arm64/RPI3.conf
> 
> Modified: head/release/arm64/RPI3.conf
> ==============================================================================
> --- 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 @@
>  #
>  
>  DTB_DIR="/usr/local/share/rpi-firmware"
> -DTB="bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb"
> +DTB="bcm2709-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb"
>  EMBEDDED_TARGET_ARCH="aarch64"
>  EMBEDDED_TARGET="arm64"
>  EMBEDDEDBUILD=1

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.dtb
https://github.com/raspberrypi/firmware/blob/master/boot/bcm2710-rpi-2-b.dtb

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=238262

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:

	• BCM2836
		• The Broadcom processor used in Raspberry Pi 2
	• BCM2837
		• 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.

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



More information about the svn-src-head mailing list