From 70efaef76bc5bf76ef08280f28ba241dd1811f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Tue, 15 Apr 2025 17:31:22 +0200 Subject: [PATCH] board/raspberrypi/readme.txt: add note for bootcode.bin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The second-stage bootloader is contained in the onboard EEPROM[1] since the Raspberry Pi 4 (i.e. for pi4, pi400, cm4, cm4s and pi5). Therefore, the file bootcode.bin[2] is needed for the former Raspberry Pi only (i.e. pi1, pi2, pi3, pi0, pi0w and pizero2w). This adds a note precising the file bootcode.bin is present for the former versions of the Raspberry Pi. [1]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-boot-eeprom [2]: https://www.raspberrypi.com/documentation/computers/configuration.html#bootcode-bin Signed-off-by: Gaƫl PORTAY Signed-off-by: Julien Olivain (cherry picked from commit c7ea55f040b6d74314961e433c3879ef1ac61748) Signed-off-by: Thomas Perale --- board/raspberrypi/readme.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index 64f0e2a26f..5f6b1c3e7d 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -112,14 +112,14 @@ After building, you should obtain this tree: +-- boot.vfat +-- rootfs.ext4 +-- rpi-firmware/ - | +-- bootcode.bin + | +-- bootcode.bin [2] | +-- cmdline.txt | +-- config.txt | +-- fixup.dat [1] | +-- fixup4.dat [1] | +-- start.elf [1] | +-- start4.elf [1] - | `-- overlays/ [2] + | `-- overlays/ [3] +-- sdcard.img +-- Image [1] `-- zImage [1] @@ -127,7 +127,11 @@ After building, you should obtain this tree: [1] Not all of them will be present, depending on the RaspberryPi model you are using. -[2] Only for the Raspberry Pi 3/4 Models (overlay miniuart-bt is needed +[2] Only for the Raspberry Pi 1, 2, 3, Zero, Zero W and Zero 2 W. The Raspberry + Pi 4, 400, 5 and the Compute Module 4, 4s and 5 load the second stage + bootloader from a SPI flash EEPROM. + +[3] Only for the Raspberry Pi 3/4 Models (overlay miniuart-bt is needed to enable the RPi3 serial console otherwise occupied by the bluetooth chip). Alternative would be to disable the serial console in cmdline.txt and /etc/inittab.