VS: [meta-raspberrypi] Support for Raspberry pi CM4 (USB host support not working)


Jonas Vennevold
 

Hello,

 

I was wondering if the meta-raspberrypi layer has official support for the cm4 module?

I see a commit adding the .dtb files for the cm4 and 400 in the master branch.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/commit/conf/machine/raspberrypi4-64.conf?id=0c85f0150629e1f5eaf86289f2542744e38b5413&context=3&ignorews=0&dt=0

In the documentation, it is also mentioned that USB host support has to be enabled for CM4 IO board.

https://meta-raspberrypi.readthedocs.io/en/latest/extra-build-config.html#enable-usb-host-support

 

Since it is not listed under supported machines I assume that it is not supported.
If that is true, how long before it is going to be supported?

 

I haven’t been able to get the USB host support to work.

I have been building from the master branch and set ' ENABLE_DWC2_HOST = "1" ’ in my local.conf.

I have also confirmed that ‘ dtoverlay=dwc2,dr_mode=host ‘ has been added to the config.txt, but so far I have had no luck getting it to work.

Any tips on how to get it to work?

 

I tried writing an image onto the CM4 with the RPI Imager and had success with enabling the USB host support that way.

 

--

Jonas Vennevold
 

 

Join yocto@lists.yoctoproject.org to automatically receive all group messages.