Taco w/ CM4 EMMC: usbboot doesn't work // error: BAR 13: failed to assign

Hey everyone!

I’m trying to set up my CM4 non-lite with the Taco. Haven’t used it before, so the EMMC should be blank, as I understand it. I followed the instructions on the radxa wiki:

  • Plug in the taco via USB
  • Power on the taco holding and then releasing the maskrom button
  • Running sudo ./usbboot

The red power LED lights up, the taco gets a little warm, so should be powered on, but usbboot is stuck on Waiting for BCM2835/6/7/2711...

I’m running Ubuntu 22.04 and built usbboot according to the instructions on Github.

Am I missing something? I’d be really thankful for some pointers!

I looked at the output of dmesg -we and noticed some error messages related to Bar space… Is that relevant? Output after switching on the taco below:

[  +0,005087] xhci_hcd 0000:39:00.0: xHCI Host Controller
[  +0,000044] xhci_hcd 0000:39:00.0: new USB bus registered, assigned bus number 3
[  +0,001127] xhci_hcd 0000:39:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810
[  +0,000383] xhci_hcd 0000:39:00.0: xHCI Host Controller
[  +0,000006] xhci_hcd 0000:39:00.0: new USB bus registered, assigned bus number 4
[  +0,000005] xhci_hcd 0000:39:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  +0,000044] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.02
[  +0,000004] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0,000002] usb usb3: Product: xHCI Host Controller
[  +0,000002] usb usb3: Manufacturer: Linux 6.2.0-36-generic xhci-hcd
[  +0,000002] usb usb3: SerialNumber: 0000:39:00.0
[  +0,000197] hub 3-0:1.0: USB hub found
[  +0,000014] hub 3-0:1.0: 2 ports detected
[  +0,000870] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.02
[  +0,000004] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0,000003] usb usb4: Product: xHCI Host Controller
[  +0,000002] usb usb4: Manufacturer: Linux 6.2.0-36-generic xhci-hcd
[  +0,000002] usb usb4: SerialNumber: 0000:39:00.0
[  +0,000313] hub 4-0:1.0: USB hub found
[  +0,000012] hub 4-0:1.0: 2 ports detected
[  +0,013230] pci_bus 0000:02: Allocating resources
[  +0,000019] pcieport 0000:02:01.0: bridge window [io  0x1000-0x0fff] to [bus 04-38] add_size 1000
[  +0,000005] pcieport 0000:02:02.0: bridge window [io  0x1000-0x0fff] to [bus 39] add_size 1000
[  +0,000004] pcieport 0000:02:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 39] add_size 200000 add_align 100000
[  +0,000004] pcieport 0000:01:00.0: bridge window [io  0x1000-0x0fff] to [bus 02-39] add_size 2000
[  +0,000004] pcieport 0000:01:00.0: BAR 13: no space for [io  size 0x2000]
[  +0,000003] pcieport 0000:01:00.0: BAR 13: failed to assign [io  size 0x2000]
[  +0,000003] pcieport 0000:01:00.0: BAR 13: no space for [io  size 0x2000]
[  +0,000002] pcieport 0000:01:00.0: BAR 13: failed to assign [io  size 0x2000]
[  +0,000005] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  +0,000002] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  +0,000003] pcieport 0000:02:01.0: BAR 13: no space for [io  size 0x1000]
[  +0,000002] pcieport 0000:02:01.0: BAR 13: failed to assign [io  size 0x1000]
[  +0,000003] pcieport 0000:02:02.0: BAR 13: no space for [io  size 0x1000]
[  +0,000002] pcieport 0000:02:02.0: BAR 13: failed to assign [io  size 0x1000]
[  +0,000003] pcieport 0000:02:02.0: BAR 15: no space for [mem size 0x00200000 64bit pref]
[  +0,000002] pcieport 0000:02:02.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[  +0,000002] pcieport 0000:02:02.0: BAR 13: no space for [io  size 0x1000]
[  +0,000002] pcieport 0000:02:02.0: BAR 13: failed to assign [io  size 0x1000]
[  +0,000003] pcieport 0000:02:01.0: BAR 13: no space for [io  size 0x1000]
[  +0,000002] pcieport 0000:02:01.0: BAR 13: failed to assign [io  size 0x1000]
1 Like

So, I never really fixed this, but writing an OS to the CM4 using the PiTray Mini and then plugging the CM4 into the Taco works fine. 🤷