Skip to content

Commit 1876cf9

Browse files
committed
Add some clarification to NVME beta instructions
Add a bit more detail about running rpiboot from another PC Fixes raspberrypi#1939
1 parent 777429e commit 1876cf9

File tree

1 file changed

+5
-24
lines changed
  • hardware/raspberrypi/bootmodes

1 file changed

+5
-24
lines changed

hardware/raspberrypi/bootmodes/nvme.md

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,19 @@ To boot from NVMe you need pre-release versions of the bootloader, VideoCore fir
2121

2222
### Bootloader
2323

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.
2525

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:
2729

2830
```
2931
cd usbboot/nvme
30-
sed -i 's/\(BOOT_ORDER=.*\)6\(.*\)/\1\26/' boot.conf
3132
./update-pieeprom.sh
3233
cd ..
3334
```
3435

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).
5637

5738
### Firmware and kernel
5839

0 commit comments

Comments
 (0)