raspberrypi / usbboot

Raspberry Pi USB booting code, moved from tools repository
Apache License 2.0
913 stars 231 forks source link

Cannot compile on M1 MacBook #197

Closed cmyk closed 7 months ago

cmyk commented 8 months ago

Describe the bug

Following the instructions precisely I get this:

cmyk@MBP usbboot % make
make: `rpiboot' is up to date.
cmyk@MBP usbboot % sudo ./rpiboot                 
RPIBOOT: build-date Jan 14 2024 version 20221215~105525 20a431c6
Waiting for BCM2835/6/7/2711/2712...
 Failed to open bootcode5.bin

It takes several minutes until it says Failed to open bootcode5.bin.

Steps to reproduce the behaviour

Following your instructions on a m1 MacBook with 14.2.1

Device(s)

Other

Compute Module IO board.

No response

RPIBOOT logs

No response

Kernel logs

No response

Device UART logs

No response

pelwell commented 8 months ago

If you have an rpiboot to execute than compilation has succeeded.

  1. What are you trying to do?
  2. What is attached?
  3. How has it been configured?
timg236 commented 8 months ago

N.B. If you are attempting to run this on Pi5 then you have to run from either the mass-storage-gadget64 or recovery sub-directories. There's no built in "msd.elf" on Pi5 which would explain the missing bootcode5 message.

timg236 commented 7 months ago

Closed due to inactivity