boards/raspberrypi/rpi_4b/doc/index.rst
.. zephyr:board:: rpi_4b
Overview
The Raspberry Pi 4_ is the fourth generation of the Raspberry Pi flagship series of
single-board computers. It is based on the Broadcom BCM2711 SoC which features a
quad-core 64-bit ARM Cortex-A72 CPU and is available in 1, 2, 4 or 8 GB of LPDDR4 RAM.
Hardware
.. zephyr:board-supported-hw::
Programming and Debugging
.. zephyr:board-supported-runners::
Prepare a TF card with MBR and FAT32. In the root directory of the TF card:
Download and place these firmware files:
bcm2711-rpi-4-b.dtb <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/bcm2711-rpi-4-b.dtb>_start4.elf <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start4.elf>_fixup4.dat <https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/fixup4.dat>_Copy build/zephyr/zephyr.bin
Create a config.txt:
.. code-block:: text
kernel=zephyr.bin arm_64bit=1 enable_uart=1 uart_2ndstage=1
Insert the card and power on the board. You should see the following output on the serial console (GPIO 14/15):
.. code-block:: text
*** Booting Zephyr OS build XXXXXXXXXXXX *** Hello World! Raspberry Pi 4 Model B!
References
.. target-notes::
.. _Raspberry Pi 4: https://pip.raspberrypi.com/documents/RP-008344-DS-raspberry-pi-4-product-brief.pdf/
.. _Raspberry Pi 4 Schematic: https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-reduced-schematics.pdf