@@ -10,21 +10,16 @@ embedded versions of bootcode.bin and start.elf are used to enable the MSD behav
1010
1111For more information run 'rpiboot -h'
1212
13- ## Compute Module 4
14- On Compute Module 4 the EMMC disable jumper (GPIO 40) must be fitted to switch
15- the ROM to usbboot mode. Otherwise, the SPI EEPROM bootloader image will be loaded
16- instead.
17-
1813## Building
1914
2015Clone this on your Pi or an Ubuntu linux machine
2116
2217```
23- $ git clone --depth=1 https://github.com/raspberrypi/usbboot
24- $ cd usbboot
25- $ sudo apt install libusb-1.0-0-dev
26- $ make
27- $ sudo ./rpiboot
18+ git clone --depth=1 https://github.com/raspberrypi/usbboot
19+ cd usbboot
20+ sudo apt install libusb-1.0-0-dev
21+ make
22+ sudo ./rpiboot
2823```
2924
3025## Running your own (not MSD) build
@@ -37,8 +32,31 @@ you can build an initramfs into the kernel, add an initramfs to the boot directo
3732other interface to the filesystem.
3833
3934```
40- $ sudo ./rpiboot -d boot
35+ sudo ./rpiboot -d boot
4136```
4237
4338This will serve the boot directory to the Raspberry Pi Device.
4439
40+ ## Compute Module 4
41+ On Compute Module 4 EMMC-DISABLE / nRPIBOOT (GPIO 40) must be fitted to switch the ROM to usbboot mode.
42+ Otherwise, the SPI EEPROM bootloader image will be loaded instead.
43+
44+ ### Raspberry Pi Imager - BETA
45+ The Raspberry Pi Imager can be run natively on the CM4 providing a GUI for downloading and installing the operating system.
46+
47+ Beta notes:
48+ * The current version runs rpi-update upon completion in order to update the firwamre and kernel to support NVMe.
49+ * uart_2ndstage is enabled
50+ * The HDMI display is limited to 1080p to avoid potential problems with cables etc if a 4K display is attached.
51+
52+ For NVMe boot update the bootloader first:
53+ ```
54+ sudo ./rpiboot -d nvme
55+ ```
56+
57+ Run Raspberry Pi Imager:
58+ ```
59+ sudo ./rpiboot -d imager
60+ ```
61+
62+ Once the imager is running you will be prompted to remove the micro-usb cable and connect a mouse.
0 commit comments