Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling USB on RPI CM4 #1176

Open
bddvlpr opened this issue Oct 11, 2024 · 0 comments
Open

Enabling USB on RPI CM4 #1176

bddvlpr opened this issue Oct 11, 2024 · 0 comments

Comments

@bddvlpr
Copy link
Member

bddvlpr commented Oct 11, 2024

When attempting to enable USB's on my PI CM4 I thought enabling xhci (through hardware.raspberry-pi."4".xhci.enable = true;) would fix it, but it in turn causes the following build error. Am I missing something or is this just not supported yet?

Processing source device tree broadcom/bcm2711-rpi-4-b.dtb...
  Applying overlay enable-xhci
  Applying overlay rpi4-cpu-revision
Saving final device tree broadcom/bcm2711-rpi-4-b.dtb...
Processing source device tree broadcom/bcm2711-rpi-400.dtb...
  Applying overlay enable-xhci
  Skipping overlay rpi4-cpu-revision: {'raspberrypi,4-model-b'} is incompatible with {'raspberrypi,400'>
Saving final device tree broadcom/bcm2711-rpi-400.dtb...
Processing source device tree broadcom/bcm2711-rpi-cm4-io.dtb...
  Applying overlay enable-xhci
Traceback (most recent call last):
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 102, in <module>
    main()
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 92, in main
    dt = apply_overlay(dt, overlay.fdt)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 50, in apply_overlay
    raise FdtException(err)
libfdt.FdtException: pylibfdt error -1: FDT_ERR_NOTFOUND
...skipping...
Processing source device tree broadcom/bcm2711-rpi-4-b.dtb...
  Applying overlay enable-xhci
  Applying overlay rpi4-cpu-revision
Saving final device tree broadcom/bcm2711-rpi-4-b.dtb...
Processing source device tree broadcom/bcm2711-rpi-400.dtb...
  Applying overlay enable-xhci
  Skipping overlay rpi4-cpu-revision: {'raspberrypi,4-model-b'} is incompatible with {'raspberrypi,400'>
Saving final device tree broadcom/bcm2711-rpi-400.dtb...
Processing source device tree broadcom/bcm2711-rpi-cm4-io.dtb...
  Applying overlay enable-xhci
Traceback (most recent call last):
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 102, in <module>
    main()
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 92, in main
    dt = apply_overlay(dt, overlay.fdt)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/206l37y6cvcwl3ck1ppwgnxn4cnm818i-apply_overlays.py", line 50, in apply_overlay
    raise FdtException(err)
libfdt.FdtException: pylibfdt error -1: FDT_ERR_NOTFOUND

I've also tried using dwc2 in every mode possible but none of them seem to make my ports work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant