Hi All,
So I'll post below some stuff to prove it but, after including all the UARTs in the boot, all UARTs are correcltly recognised on the right GPIOs.
Using the 40 pin header I do loopbacks and do echo and cat after setting stty 115200 to test.
It's very strange behaviour - UART2 and 4 are working. So GPIO 4/5 works, GPIO 12,13 work.
The others GPIO 14,15, GPIO 8,9 and GPIO 0,1 do not work.
I've tried a bunch of things including a higher power supply and nothing.
I'm using the standard config in /boot/firmware/config.txt.
Right now, Im getting confident that....this thing is broken.
I did add a camera in my config but i removed it. So its not that. And I tried the disable fan or eeprom thing.
Do I need to buy a new CM5 ? I need Uarts0, 1 and 2.
So I'll post below some stuff to prove it but, after including all the UARTs in the boot, all UARTs are correcltly recognised on the right GPIOs.
Using the 40 pin header I do loopbacks and do echo and cat after setting stty 115200 to test.
It's very strange behaviour - UART2 and 4 are working. So GPIO 4/5 works, GPIO 12,13 work.
The others GPIO 14,15, GPIO 8,9 and GPIO 0,1 do not work.
I've tried a bunch of things including a higher power supply and nothing.
I'm using the standard config in /boot/firmware/config.txt.
Code:
0: no pu | -- // ID_SDA/GPIO0 = none 1: no pu | -- // ID_SCL/GPIO1 = none 2: no pu | -- // GPIO2 = none 3: no pu | -- // GPIO3 = none 4: a2 pn | hi // GPIO4 = TXD2 5: a2 pu | hi // GPIO5 = RXD2 6: no pu | -- // GPIO6 = none 7: no pu | -- // GPIO7 = none 8: a2 pn | hi // GPIO8 = TXD3 9: a2 pu | hi // GPIO9 = RXD310: no pd | -- // GPIO10 = none11: no pd | -- // GPIO11 = none12: a2 pn | hi // GPIO12 = TXD413: a2 pu | hi // GPIO13 = RXD414: a4 pn | hi // GPIO14 = TXD015: a4 pu | hi // GPIO15 = RXD0
Code:
For more options and information see# http://rptl.io/configtxt# Some settings may impact device functionality. See link above for details# Uncomment some or all of these to enable the optional hardware interfaces#dtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Enable audio (loads snd_bcm2835)dtparam=audio=on# Additional overlays and parameters are documented# /boot/firmware/overlays/README# Automatically load overlays for detected cameras#camera_auto_detect=1dtoverlay=imx708,cam0# Automatically load overlays for detected DSI displaysdisplay_auto_detect=1# Automatically load initramfs files, if foundauto_initramfs=1# Enable DRM VC4 V3D driverdtoverlay=vc4-kms-v3dmax_framebuffers=2# Don't have the firmware create an initial video= setting in cmdline.txt.# Use the kernel's default instead.disable_fw_kms_setup=1# Disable compensation for displays with overscandisable_overscan=1# Run as fast as firmware / board allowsarm_boost=1[cm4]# Enable host mode on the 2711 built-in XHCI USB controller.# This line should be removed if the legacy DWC2 controller is required# (e.g. for USB device mode) or if USB support is not required.otg_mode=1[cm5]dtoverlay=dwc2,dr_mode=host[all]dtoverlay=disable-btdtparam=uart0=ondtoverlay=uart1dtoverlay=uart2dtoverlay=uart3dtoverlay=uart4dtoverlay=uart5dtoverlay=uart6
Right now, Im getting confident that....this thing is broken.
I did add a camera in my config but i removed it. So its not that. And I tried the disable fan or eeprom thing.
Do I need to buy a new CM5 ? I need Uarts0, 1 and 2.
Statistics: Posted by Fred409 — Mon Jan 06, 2025 11:08 pm