You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hardware/raspberrypi/bootmodes/nvme.md
+5-24Lines changed: 5 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -21,38 +21,19 @@ To boot from NVMe you need pre-release versions of the bootloader, VideoCore fir
21
21
22
22
### Bootloader
23
23
24
-
You need to use `rpiboot` to update the CM4 bootloader. Instructions for building `rpiboot` and configuring the IO board to switch the ROM to usbboot mode are in the [usbboot Github repository](https://github.com/raspberrypi/usbboot).
24
+
Another computer running `rpiboot`must be used to update the EEPROM on a CM4 to use the beta bootloader. If you are using a CM4 with an eMMC then you must also change the BOOT_ORDER to give NVMe priority, otherwise the CM4 will continue to boot from eMMC.
25
25
26
-
If you are using a CM4 with an eMMC then you must change the BOOT_ORDER to give NVMe priority, otherwise the CM4 will continue to boot from eMMC. For example:
26
+
Instructions for building `rpiboot` and configuring the IO board to switch the ROM to usbboot mode are in the [usbboot Github repository](https://github.com/raspberrypi/usbboot).
27
+
28
+
For example, change the BOOT_ORDER in boot.conf to add `6` to the end and run the following from another PC connected to the CM4 USB slave connector:
27
29
28
30
```
29
31
cd usbboot/nvme
30
-
sed -i 's/\(BOOT_ORDER=.*\)6\(.*\)/\1\26/' boot.conf
31
32
./update-pieeprom.sh
32
33
cd ..
33
34
```
34
35
35
-
You can then update your bootloader to support NVMe boot with `./rpiboot -d nvme`; example output is shown below.
36
-
37
-
```
38
-
Loading: nvme/bootcode4.bin
39
-
Waiting for BCM2835/6/7/2711...
40
-
Loading: nvme/bootcode4.bin
41
-
Sending bootcode.bin
42
-
Successful read 4 bytes
43
-
Waiting for BCM2835/6/7/2711...
44
-
Loading: nvme/bootcode4.bin
45
-
Second stage boot server
46
-
Loading: nvme/config.txt
47
-
File read: config.txt
48
-
Loading: nvme/pieeprom.bin
49
-
Loading: nvme/pieeprom.bin
50
-
Loading: nvme/pieeprom.sig
51
-
File read: pieeprom.sig
52
-
Loading: nvme/pieeprom.bin
53
-
File read: pieeprom.bin
54
-
Second stage boot server done
55
-
```
36
+
You can then update your bootloader to support NVMe boot with `./rpiboot -d nvme`. For mode details see [Raspberry Pi 4 bootloader configuration](../bcm2711_bootloader_config.md).
0 commit comments