Skip to content

Error on document website "Flash an image to a Compute Module -> Set up the host device" #3980

@Harrison-Xu

Description

@Harrison-Xu

https://www.raspberrypi.com/documentation/computers/compute-module.html#set-up-the-host-device

  • On this online document website, the "macOS" and "Windows" tags cannot be clicked to show corresponding content, but actually the content could be seen in the HTML code. Please fix this website frontend error.

https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc#set-up-the-host-device

  • As for the content itself, when we use CM5 with macOS, if we execute $ sudo ./rpiboot directly, this error will appear:
xuhaifeng@XuHaifeng-MBP14 usbboot % sudo ./rpiboot
RPIBOOT: build-date Sep 10 2024 version 20240422~085300 f0657700
Waiting for BCM2835/6/7/2711/2712...
2712: Directory not specified using default /usr/share/rpiboot/mass-storage-gadget64/
read_file: Failed to read "2712/bootcode5.bin" from "/usr/share/rpiboot/mass-storage-gadget64//bootfiles.bin" - No such file or directory
Failed to open bootcode5.bin

Instead we should use this command:

xuhaifeng@XuHaifeng-MBP14 usbboot % rpiboot -d mass-storage-gadget64                  

RPIBOOT: build-date Dec 13 2024 version 20240422~085300 62f37dae
If the device fails to connect then please see https://rpltd.co/rpiboot for debugging tips.
Loading: mass-storage-gadget64/bootfiles.bin
Using mass-storage-gadget64/bootfiles.bin
Waiting for BCM2835/6/7/2711/2712...
Sending bootcode.bin
Successful read 4 bytes 
Waiting for BCM2835/6/7/2711/2712...
Second stage boot server
File read: mcb.bin
File read: memsys00.bin
File read: memsys01.bin
File read: memsys02.bin
File read: memsys03.bin
File read: bootmain
Loading: mass-storage-gadget64/config.txt
File read: config.txt
Loading: mass-storage-gadget64/boot.img
File read: boot.img
Second stage boot server done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions