Usbboot failures on RPi5/zero2

70 views
Skip to first unread message

Ted Serreyn

unread,
Feb 3, 2024, 9:15:56 AMFeb 3
to clust...@googlegroups.com

Turned out that I needed to boot each of the zero2 with a card image to program usb boot first.   After doing this, my pi zero 2’s were able to boot from the rpi5, still seeing the usb errors, but at least things are working now.  We may want to add this to the usb boot documentation.

 

Add program_usb_boot_mode=1 to /boot/firmware/config.txt (updated path for bookworm)

Boot each pi zero with this image

Let pi boot

Power off, remove card

Re-power on pi zero and it should now usb boot properly.

 

(these were brand new pi zero 2’s direct from UK.)

 

I did have to modify clusterctrl to force the is_pi5 to be true on my system, it was not setting it correctly and therefore fan was non functional until I did this.

 

I’m not too happy about the spacing of the active cooler on the rpi5 with the clusterctrl board on top, but adding any kind of spacer caused the clusterctrl board to not function properly due to it not being seated fully.

 

Ted Serreyn

 

Chris Burton

unread,
Feb 3, 2024, 10:14:14 AMFeb 3
to ClusterHAT
Hi, 

dd program_usb_boot_mode=1 to /boot/firmware/config.txt (updated path for bookworm)

This enables booting from a USB device (flash drive etc) rather than booting as a USB device (with rpiboot). But booting it from an SD card would fix the issue from 2021 where the Pi Zero 2 needed (from my old notes) bit 7 of row 17 of the OTP setting for rpiboot to work reliably. Hopefully you've somehow ended up with an old Pi Zero 2 rather than the default OTP settings being reverted.

I did have to modify clusterctrl to force the is_pi5 to be true on my system, it was not setting it correctly and therefore fan was non functional until I did this.

I'd be grateful if you could let me know what "cat /proc/cpuinfo |grep Revision" shows on the Pi5 as it sounds like your board has a revision that doesn't work with the regex I used.

Chris. 

Ted Serreyn

unread,
Feb 3, 2024, 11:16:01 AMFeb 3
to clust...@googlegroups.com

I’m not sure about the rev of the Pi Zero 2, but here is the rev info, definitely was NOT booting until I did this.

 

Revision        : 902120

Serial          : 00000000ecca6565

Model           : Raspberry Pi Zero 2 W Rev 1.0

 

 

From the Raspberry pi 5.

 

root@piclusterhat:~# cat /proc/cpuinfo  | grep Revision

Revision        : c04170

 

 

Also here is the Model line

Model           : Raspberry Pi 5 Model B Rev 1.0

 

--
You received this message because you are subscribed to the Google Groups "ClusterHAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clusterhat+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/clusterhat/7400d345-661f-4d59-b502-f10fd111bb74n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages