Prechádzať zdrojové kódy

configs/raspberrypi3_64: remove upstream device-tree blob

There are two kind of device-tree blobs up to the Rasperry Pi 3[1][2]:
 - the downstream dtbs are named after the die name (i.e. BCM27xx)
 - the upstream dtbs are name after the package name (i.e. BCM283x)

Every defconfigs install exclusively the downstream device-tree blob, at
the exception of the raspberrypi3_64_defconfig that installs both since
the begining.

This removes the upstream device-tree blob for the beauty of
consistency.

Note: It is possible to load the upstream device-tree using the
upstream_kernel property[3].

Raspberry Pi, Compute Module, Raspberry Pi Zero and Raspberry Pi Zero W
use bcm2835 for upstream and bcm2708 for downstream.

Raspberry Pi 2 uses bcm2836 for upstream and bcm2709 for downstream.

Raspberry Pi 2 rev 1.2, Raspberry Pi 3, Compute Module 3/3+ and
Raspberry Zero 2 W use bcm2837 for upstream and bcm2709 for downstream.

Raspberry Pi 4/400 and Compute Module 4/4s uses bcm2711 and Raspberry Pi
5 uses bcm2712.

[1]: https://github.com/raspberrypi/linux/issues/3237
[2]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#flagship-series
[3]: https://www.raspberrypi.com/documentation/computers/legacy_config_txt.html#upstream_kernel

Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Gaël PORTAY 1 rok pred
rodič
commit
51090999ca

+ 0 - 1
board/raspberrypi/readme.txt

@@ -102,7 +102,6 @@ After building, you should obtain this tree:
     +-- bcm2711-rpi-4-b.dtb         [1]
     +-- bcm2711-rpi-cm4.dtb         [1]
     +-- bcm2712-rpi-5-b.dtb         [1]
-    +-- bcm2837-rpi-3-b.dtb         [1]
     +-- boot.vfat
     +-- rootfs.ext4
     +-- rpi-firmware/

+ 1 - 1
configs/raspberrypi3_64_defconfig

@@ -20,7 +20,7 @@ BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
 
 # Build the DTB from the kernel sources
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3 broadcom/bcm2837-rpi-3-b"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2710-rpi-cm3"
 
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y