Replies: 7 comments 2 replies
-
Hi there - thankyou for testing and providing this information, much appreciated. I recently acquired a CM4 Lite (no eMMC) and there's an official I/O board on its way to me thanks to a generous donor, so I will be able to tackle this very soon. Like you say it's probably just some build options - if the same kernel can't be shared with the regular Pi 4, it won't be a problem to provide a CM4-specific build. I expect to be able to come back to this within a couple of weeks. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I now have the CM4 I/O board and was able to test it. The kernel refused to boot fully simply because failure to initialize USB was considered fatal, which makes sense on a regular Raspberry Pi where USB ports are always present. However, obviously external USB controllers are optional on the CM4, so I simply allow it to fail now. A test build is available here: https://github.com/dwhinham/mt32-pi/actions/runs/794051374 Regarding This flag (and setting In my testing I have used both VIA VL805 and Renesas uPD720201 based PCI Express cards in the CM4 I/O board with the kernel linked above, and USB MIDI and storage devices are working well. |
Beta Was this translation helpful? Give feedback.
-
That great. I'll test that build out tomorrow. I want to test out my newly built clumsymidi board anyway. I fully agree with your thinking on the internal controller. It's probably not worth the bother for an entirely different build. |
Beta Was this translation helpful? Give feedback.
-
Success :-) |
Beta Was this translation helpful? Give feedback.
-
Hey Dale, have you happened to have played around with the latest circle release 44/44.1 yet? It seems that it supports the emmc compute module without an sd card slot. I have one of those emmc compute modules around and could test it. |
Beta Was this translation helpful? Give feedback.
-
@dwhinham any luck getting this to work? I am using the ZWO ASIAIR Plus and it looks like that is the board they installed in the unit. I am currently running Raspain Buster 32bit Core
The issue I am having is not all the ports are working
I did add |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve the issue by writing a custom Kernel https://github.com/open-astro/linux. The big thing was updating the config open-astro/linux@a40a0d1 and also copying over the renesas_usb_fw.mem firmware open-astro/linux@da5c9f1. More details are in the readme. |
Beta Was this translation helpful? Give feedback.
-
Hi,
as CM4 is supposed to be (theoretically) be supported with the latest circle version, I thought I'd give some feedback with a few tests I have made:
Test 1:
Test result:
Does not work at all. CM4002008 has onboard eMMC flash memory. I thought it would be straight forward to to put mt32-pi on the eMMC, but it turns out, the current circle version does not support eMMC. Unfortunately, it also doesn't seem to be possible to disable eMMC booting through the jumper and simply boot from the micro sd card. From what I have gathered, the sd card isn't wired at least on that version of the compute module. So as long as circle doesn't support eMMC, it's probably a good idea to avoid eMMC compute modules.
Test 2:
Test result:
mt32-pi starts to load, the oled of the mt32-pi-midi-hat starts to display text, but the device hangs on the "-> Init USB" test screen. When searching the circle wiki, I came across a pointer that suggested to add otg_mode=1 to the config.txt. I did that, but it didn't solve the problem. It seems to be that "#define USE_XHCI_INTERNAL" has to be enabled in sysconfig.h of circle in addition to the otg_mode=1 setting in the config.txt. I'm suspecting why this doesn't currently work with the provided binaries. I'm not sure if this setting can be safely enabled for operation with normal RPi4's as well.
I hope this feedback is helpful or interesting in some way.
The eMMC problem probably goes away with some upcoming circle release.
Beta Was this translation helpful? Give feedback.
All reactions