Browse Source

board/raspberrypi/readme.txt: add note for bootcode.bin

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 <gael.portay+rtone@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c7ea55f040b6d74314961e433c3879ef1ac61748)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Gaël PORTAY 3 months ago
parent
commit
70efaef76b
1 changed files with 7 additions and 3 deletions
  1. 7 3
      board/raspberrypi/readme.txt

+ 7 - 3
board/raspberrypi/readme.txt

@@ -112,14 +112,14 @@ After building, you should obtain this tree:
     +-- boot.vfat
     +-- boot.vfat
     +-- rootfs.ext4
     +-- rootfs.ext4
     +-- rpi-firmware/
     +-- rpi-firmware/
-    |   +-- bootcode.bin
+    |   +-- bootcode.bin            [2]
     |   +-- cmdline.txt
     |   +-- cmdline.txt
     |   +-- config.txt
     |   +-- config.txt
     |   +-- fixup.dat               [1]
     |   +-- fixup.dat               [1]
     |   +-- fixup4.dat              [1]
     |   +-- fixup4.dat              [1]
     |   +-- start.elf               [1]
     |   +-- start.elf               [1]
     |   +-- start4.elf              [1]
     |   +-- start4.elf              [1]
-    |   `-- overlays/               [2]
+    |   `-- overlays/               [3]
     +-- sdcard.img
     +-- sdcard.img
     +-- Image                       [1]
     +-- Image                       [1]
     `-- zImage                      [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
 [1] Not all of them will be present, depending on the RaspberryPi
     model you are using.
     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
     to enable the RPi3 serial console otherwise occupied by the bluetooth
     chip). Alternative would be to disable the serial console in cmdline.txt
     chip). Alternative would be to disable the serial console in cmdline.txt
     and /etc/inittab.
     and /etc/inittab.