Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

Compute Module • Re: debug uart for CM5 on CM5 IO devkit

$
0
0
You can enable the UART on the 40-pin header if you want, but the early debug from the firmware EEPROM always goes to the dedicated debug pins.
enable_uart=1 in config.txt will enable the UART on pins 8 & 10 of the header.
I got this to work with pins 8&10.
But how do I get the early boot messages from the cm5 module? I soldered wires to it and tested them.

Eeprom:

Code:

[all]BOOT_UART=1BOOT_ORDER=0xf146NET_INSTALL_AT_POWER_ON=1
config.txt

Code:

[cm5]dtoverlay=dwc2,dr_mode=host[all]enable_uart=1dtoverlay=uart0dtoverlay=disable-btuart_2ndstage=1
cmdline.txt

Code:

console=ttyAMA0,115200 earlycon=pl011,0x107d001000,115200n8 console=tty1 root=PARTUUID=06d9b7e7-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=CH
I am using bookworm:

Code:

Raspberry Pi Compute Module 5 Lite Rev 1.0PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"Linux cm5 6.12.18-v8-16k+ #1862 SMP PREEMPT Wed Mar 12 12:33:09 GMT 2025 aarch64 GNU/Linux

Statistics: Posted by cmyk — Thu Mar 13, 2025 9:43 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles