turing-machines / BMC-Firmware

Turing-pi BMC firmware
GNU General Public License v2.0
215 stars 26 forks source link

Issues flashing CM4 slot 1? #187

Open deosrc opened 3 months ago

deosrc commented 3 months ago

Describe the bug

When trying to flash a Raspberry Pi CM4 in slot 1 using rpiboot, something seems to be preventing the USB OTG connection.

To Reproduce

  1. Connect a USB A-A cable between a machine and the Turing Pi 2.
  2. With a CM4 with eMMC memory in slot 1, go to the UI.
  3. Power down node 1.
  4. Change the USB mode to "Flash" on node 1.
  5. Run rpiboot -d ./msd
  6. Power up node 1.

Additionally attempted:

  1. Connect a USB A-A cable between a machine and the Turing Pi 2.
  2. Login to the Turing Pi using ssh.
  3. Power down node 1: tpi power -n 1 off
  4. Change the flash mode: tpi usb -n 1 flash
  5. Confirm using tpi usb status (Outputs usba --> node 1)
  6. Run rpiboot -d ./msd on connected machine.
  7. Power up node 1: tpi power -n 1 on

Have also attempted running tpi advanced -n 1 msd at various stages.

Haven't yet attempted a different node slot. I will attempt and report back to ensure it is not a cable or connected machine issue.

Expected behavior

Versions linux version= Ubuntu 22.04.4 bmc version= 2.0.5

Additional context

Related discussions: