Discussions

Ask a Question
Back to All

Flash CM4 in Turing Pi 2

I’ve updated the firmware to v1.1.0 https://github.com/turing-machines/BMC-Firmware/releases/tag/1.1.0
Logged in via SSH

Done this: https://docs.turingpi.com/docs/raspberry-pi-cm4-install-os-using-turing-pi2-cluster

tpi -u device -n 1

{"response":[{"result":"ok"}]}#

tpi -n 1 -l -f /mnt/sdcard/2023-10-10-raspios-bookworm-armhf-lite.img

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 73 0 73 0 0 24 0 --:--:-- 0:00:02 --:--:-- 24

tpi -n 1 -m

booting node 0 into msd mode. please wait a moment..
{"response":[{"result":"ok"}]}{"response":[{"result":"ok"}]}# mount /dev/sda1 /mnt/bootfs
mount: mounting /dev/sda1 on /mnt/bootfs failed: No such file or directory

mount /dev/sda1 /mnt/bootfs

mount: mounting /dev/sda1 on /mnt/bootfs failed: No such file or directory

mkdir /mnt/bootfs

mkdir: can't create directory '/mnt/bootfs': File exists

mount /dev/sda1 /mnt/bootfs

mount: mounting /dev/sda1 on /mnt/bootfs failed: No such file or directory

Bootusb does also not work. I’ve connected it to my computer via USB-A to USB-A

sudo ./rpiboot -l -d msd/
RPIBOOT: build-date Nov 15 2023 version 20221215~105525 f4a6d8b4
Loading: msd//bootcode.bin
Loading: msd//bootcode4.bin
Waiting for BCM2835/6/7/2711...

I’ve tried this on Mac OS and Windows

Do you have any suggestions to flash the CM4 Pi?