Supporting the Raspberry Pi 5 #413
Replies: 22 comments 63 replies
-
There are more commits for the Raspberry Pi 5 support on the branch rpi5. |
Beta Was this translation helpful? Give feedback.
-
You are welcome and thanks for the feedback. It's good, that it is working now
so far.
I guess, each HDMI display, which needed special settings in config.txt or
cmdline.txt on earlier RPi models can have problems on the RPi 5 with Circle.
But writing a kernel mode display driver to solve this would be a huge task.
Unfortunately Ethernet is not supported yet. The NIC is in the RP1 southbridge
now and needs a totally new driver. I had not the time to port it yet.
USB should work. If it does not, please give it a try with SD card boot.
I also had problems with USB boot here. Perhaps the device is not reset
sufficiently to work at the moment.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your RPI(5) support. I use USPi under FreeRTOS/LwIP platform, updated since long time with your Circle updates (RP3B+, RPI4 and 5). I have also an USB problem on the RPI5 (devices detection problem during boot) who seems not exits when HDMI is not connected. Very strange, for example if RF keyboard works, I need to remove HDMI for get FTDI cable detected. |
Beta Was this translation helpful? Give feedback.
-
You are welcome. Yes, there seems to be still a strange problem with the new
USB support for the RPi 5 in Circle.
Honestly I did most of the USB testing without a HDMI display connected,
because my display, which I'm normally using on the RPis does not work with
the RPi 5. So your problem report is new to me. I have to test this with the
display of my development PC or buy a new HDMI display.
I will have a look on the u-Boot sources. Thanks for info.
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately currently I do not have enough feedback to judge about the quality of the new Circle USB driver for the Raspberry Pi 5. More (also positive) feedback from other users would help. To make it simple, I attached a binary of the sample/39-umsdplugging with all necessary files to be installed on a SD card or USB flash drive (if USB boot is enabled). This requires a HDMI display connected, which works with the RPi 5. After boot please attach USB flash drives (or other USB devices) you have and see, if they are detected. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
-
Your lastest change, delay after USB device reset, seems fix the problem. I tried with cold/warn (watchdog) reset. Tried with USPi ;-) |
Beta Was this translation helpful? Give feedback.
-
This is my macb driver from u-boot sources, there are some changes for the RP1 like PHY reset via GPIO and leds settings. I reinit all after unplug/plug the cable. Else I think, it's changes for LwIP. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a wifi that works, if my base of work is Zerowi, I use also the Richard Miller's emmc file. I just changed the init routine, I don't know anything, but it works (it's the same chip as the RPI4). int emmcinit(void) |
Beta Was this translation helpful? Give feedback.
-
The Raspberry Pi 5 support has been merged to the develop branch to be part of the next release. The branch rpi5 has been deleted. |
Beta Was this translation helpful? Give feedback.
-
Circle 46 with initial Raspberry Pi 5 support has been released. |
Beta Was this translation helpful? Give feedback.
-
There is initial I2S audio support for the Raspberry Pi 5 on the develop branch. It's currently interrupt driven. Some applications could have problems with the interrupt load, but MiniSynth Pi works and its repo has been updated. I'm still working on the DMA support. Also the currently used I2S clock is not very precise, because the Audio PLL is not supported yet. |
Beta Was this translation helpful? Give feedback.
-
That would already work with the interrupt-driven support, but the RPi 5 does
not have a headphone jack for PWM output. That's why PWM sound output is not a
priority. The new driver is for I2S sound, which requires an external
interface. They are not expensive, but provide a better sound quality.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying circle on RPI5 using raspberry pi probe (UART connector), but I cannot see any UART logs from /dev/ttyACM0. Do I need to add additional settings?
|
Beta Was this translation helpful? Give feedback.
-
The I2S DMA support for the Raspberry Pi 5 is on the develop branch. Unfortunately there is still an issue with it. With greater chunk sizes the audio quality is becoming bad for unknown reason. I did many tests, but unfortunately didn't found the reason so far. As a workaround the chunk size is currently limited to a maximum of 128. Smaller chunk sizes may give an even better quality. You can define |
Beta Was this translation helpful? Give feedback.
-
PWM sound is implemented on the Raspberry Pi 5 now using the RP1 DMA controller. It's on the develop branch. You need an external adapter like the one, which is described here. The left channel has to be connected to GPIO12 (SoC numbers), the right channel to GPIO13. Alternatively the left channel can be moved to GPIO18 by defining |
Beta Was this translation helpful? Give feedback.
-
The HDMI sound support does work on the Raspberry Pi 5 now. The source code is currently on the develop branch. |
Beta Was this translation helpful? Give feedback.
-
Some functions of the new Raspberry Pi 5 with 2 GB RAM (with BCM2712D0 SoC) currently do not work with Circle. AFAIK this affects the WLAN and |
Beta Was this translation helpful? Give feedback.
-
@rsta2 i was looking into buying the zynthian v5.1 to use for my own circle based projects since it has the stuff on board that i need, but it seems to use the pi5. They are not selling the v5 for pi4 anymore it seems. If i understand correctly the current version of circle does not support the mipi dsi based screens (like the original rpi touchscreen) because of the way the display is handled on the rpi 5 hardware. Is that right, and in that case do you plan to add support for this in the future? Or is this like a very difficult task that may some day be coming, but not soon? Thanks for the hard work and continuing development on Circle! |
Beta Was this translation helpful? Give feedback.
-
Hello, I tried the USB ethernet CDC (a Waveshare adapter with a RTL8153) first on the CM4, it works fine. But on the RPI5, I have some problems, the ping works and the DHCP sequence works too but, as for the rest with Wireshark I see a lot of [TCP retransmission] and no connections. With my limited USB knowledge, on the RPI5 I see wMaxPacketSize at 1024 while on the CM4 I have 512 and yet it works, so I don't understand. I increased the size of the ping with -s and priori beyond 512 bytes there are ethernet checksum errors. |
Beta Was this translation helpful? Give feedback.
-
Yes, there are problems with the RTL815[23], connected to some xHCI
controllers. Please use the on-board Ethernet NIC of the RPi 4/5.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Most features of other RPi models are supported for the RPi 5 now in Circle. So this can be closed. |
Beta Was this translation helpful? Give feedback.
-
There is some initial Circle support for the new Raspberry Pi 5 on the branch rpi5. Please see the file doc/rpi5.txt for more information.
Beta Was this translation helpful? Give feedback.
All reactions