meta-raspberrypi/docs/layer-contents.md
Gaël PORTAY 90ce848980
Some checks are pending
Mirrors / Yocto Git Mirror (push) Waiting to run
raspberrypi2-64.conf: add machine for Raspberry Pi 2B V1.2 (64-bit)
This machine configuration is for the Raspberry Pi 2B V1.2 (64-bit).

Note: Raspberry Pi 2 Model B V1.2[1] switched from BCM2836[2] (V1.0,
V1.1) to BCM2837[3] that is 64-bit CPU used in Raspberry Pi 3 Model B.

	BCM2836[2]

	The Broadcom chip used in the Raspberry Pi 2 Model B. The
	underlying architecture in BCM2836 is identical to BCM2835. The
	only significant difference is the removal of the ARM1176JZF-S
	processor and replacement with a quad-core Cortex-A7 cluster.

	BCM2837[3]

	This is the Broadcom chip used in the Raspberry Pi 3 Model B,
	later models of the Raspberry Pi 2 Model B, and the Raspberry Pi
	Compute Module 3. The underlying architecture of the BCM2837 is
	identical to the BCM2836. The only significant difference is the
	replacement of the ARMv7 quad core cluster with a quad-core ARM
	Cortex A53 (ARMv8) cluster.

	The ARM cores run at 1.2GHz, making the device about 50% faster
	than the Raspberry Pi 2. The VideoCore IV runs at 400MHz.

See:

	Poky (Yocto Project Reference Distro) 5.2.99+snapshot-cfbb00657ab961a3c3a8e6619fc08a2a3f4255c7 raspberrypi2-64 ttyAMA0

	raspberrypi2-64 login: root

	WARNING: Poky is a reference Yocto Project distribution that should be used for testing and development purposes only. It is recommended that you create your own distribution for production use.

	root@raspberrypi2-64:~# uname -a
	Linux raspberrypi2-64 6.12.41-v8 #1 SMP PREEMPT Thu Aug  7 16:48:46 UTC 2025 aarch64 GNU/Linux
	root@raspberrypi2-64:~# cat /proc/device-tree/compatible
	raspberrypi,2-model-b-rev2brcm,bcm2837
	root@raspberrypi2-64:~# tty
	/dev/ttyAMA0
	root@raspberrypi2-64:~# dmesg | head
	[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
	[    0.000000] Linux version 6.12.41-v8 (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.45.0.20250908) #1 SMP PREEMPT Thu Aug  7 16:48:46 UTC 2025
	[    0.000000] KASLR enabled
	[    0.000000] random: crng init done
	[    0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.2
	[    0.000000] efi: UEFI not found.
	[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
	[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
	[    0.000000] OF: reserved mem: 0x000000001ec00000..0x000000002ebfffff (262144 KiB) map reusable linux,cma
	[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000003b3fffff]

[1]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#flagship-series
[2]: https://www.raspberrypi.com/documentation/computers/processors.html#bcm2836
[3]: https://www.raspberrypi.com/documentation/computers/processors.html#bcm2837

Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
2025-10-08 11:22:01 +01:00

2.0 KiB

Layer Contents

Supported Machines

  • raspberrypi
  • raspberrypi0
  • raspberrypi0-wifi
  • raspberrypi0-2w-64
  • raspberrypi2
  • raspberrypi2-64 (64 bit kernel & userspace)
  • raspberrypi3
  • raspberrypi3-64 (64 bit kernel & userspace)
  • raspberrypi4
  • raspberrypi4-64 (64 bit kernel & userspace)
  • raspberrypi5
  • raspberrypi-cm (dummy alias for raspberrypi)
  • raspberrypi-cm3

Note: The raspberrypi2-64 machine includes 64-bit support for Raspberry Pi 2B V1.2.

Note: The raspberrypi3 machines include support for Raspberry Pi 3B+.

Multi-board Machines

This layer generally provides support for machines that are targetting a single Raspberry Pi board (or a very few subsets of them). This is so that the build infrastructure can tune and tweak the configuration with the flexibility to optimise for both runtime performance and disk storage.

For usecases where compatibility of more boards is required, the layer provides machines that are tagetting a wider support of Raspberry Pi boards.

raspberrypi-armv7

This machine targets support for all the ARMv7-based Raspberry Pi boards. It will pull in the firmware and deploy the kernel image and kernel modules for all the relevant boards.

raspberrypi-armv8

This machine targets support for all the ARMv8-based Raspberry Pi boards. It will pull in the firmware and deploy the kernel image and kernel modules for all the relevant boards.

Images

  • rpi-test-image
    • Image based on core-image-base which includes most of the packages in this layer and some media samples.

For other uses it's recommended to base images on core-image-minimal or core-image-base as appropriate.

WiFi and Bluetooth Firmware

Be aware that the WiFi and Bluetooth firmware for the supported boards is not available in the base version of linux-firmware from OE-Core (poky). The files are added from Raspbian repositories in this layer's bbappends to that recipe. All machines define MACHINE_EXTRA_RRECOMMENDS to include the required wireless firmware; raspberrypi3 supports 3, 3B, and 3B+ and so include multiple firmware packages.