Hi,
I recently got myself a clusterHAT and since I was lacking SD cards I tried the USBBOOT solution[1]. Unfortunately it doesn't seem to work for me, but I"m not sure what I'm doing wrong.
I've a rpi 4B as my cluster hat controller. On it I installed the 64 bit CNAT - Lite Controller image. And I've placed 4 rpi zero 2 w boards as my cluster nodes. I've downloaded the bookworm 2024-07-04 arm64-lite-usbboot image and unpacked it 4 times, to /var/lib/clusterctrl/nfs/p[1-4]/
When I try to boot it up I see the USB device being detected and rpiboot starts to initialize. First thing that strikes me as odd is the double slash in the path to the bootcode.bin, but that doesn't sound like a real issue. And the detection of the serial number always returns 0. And then it fails to transfer data since the length goes negative. And from there it loops.
Can someone tell me how to proceed to debug this. I've tried running rpiboot standalone and add an extra v to the command to see if it provided more details on what goes wrong, but that didn't help me.
The standard output for me is at the bottom of this message.
Thanks in advance.
Kind regards,
Wessel
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: new high-speed USB device number 5 using xhci_hcd
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: config index 0 descriptor too short (expected 55, got 32)
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: New USB device found, idVendor=0a5c, idProduct=2764, bcdDevice= 0.00
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: Product: BCM2710 Boot
Aug 20 10:45:01 clusterhat kernel: usb 1-1.4.4: Manufacturer: Broadcom
Aug 20 10:45:01 clusterhat mtp-probe[1133]: checking bus 1, device 5: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4"
Aug 20 10:45:01 clusterhat mtp-probe[1133]: bus: 1, device: 5 was not an MTP device
Aug 20 10:45:01 clusterhat rpiboot[661]: Device located successfully
Aug 20 10:45:01 clusterhat rpiboot[661]: Loading: /var/lib/clusterctrl/boot//bootcode.bin
Aug 20 10:45:01 clusterhat mtp-probe[1134]: checking bus 1, device 5: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4.4"
Aug 20 10:45:01 clusterhat mtp-probe[1134]: bus: 1, device: 5 was not an MTP device
Aug 20 10:45:02 clusterhat rpiboot[661]: Initialised device correctly
Aug 20 10:45:02 clusterhat rpiboot[661]: Found serial number 0
Aug 20 10:45:02 clusterhat rpiboot[661]: last_serial -1 serial 0Sending bootcode.bin
Aug 20 10:45:02 clusterhat rpiboot[661]: libusb_bulk_transfer sent 24 bytes; returned 0
Aug 20 10:45:02 clusterhat rpiboot[661]: Writing 52476 bytes
Aug 20 10:45:02 clusterhat rpiboot[661]: libusb_bulk_transfer sent 52476 bytes; returned 0
Aug 20 10:45:13 clusterhat rpiboot[661]: Failed : 0x0
Aug 20 10:45:14 clusterhat rpiboot[661]: Waiting for BCM2835/6/7/2711/2712...
Aug 20 10:45:14 clusterhat rpiboot[661]: Device located successfully
Aug 20 10:45:14 clusterhat rpiboot[661]: Loading: /var/lib/clusterctrl/boot//bootcode.bin
Aug 20 10:45:15 clusterhat rpiboot[661]: Initialised device correctly
Aug 20 10:45:15 clusterhat rpiboot[661]: Found serial number 0
Aug 20 10:45:15 clusterhat rpiboot[661]: last_serial -1 serial 0Sending bootcode.bin
Aug 20 10:45:16 clusterhat rpiboot[661]: Failed control transfer (-7,24)
Aug 20 10:45:16 clusterhat rpiboot[661]: Failed to write correct length, returned -7
Aug 20 10:45:17 clusterhat rpiboot[661]: Waiting for BCM2835/6/7/2711/2712...