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

Raspberry Pi OS • UART (pins 14 & 15) support in Raspbian 12

$
0
0
For the life of me, I can't figure out what they changed in Raspbian 12 (32 bit) on the model 3 B+.

In Raspbian 11, I had to do the routine steps in raspi-config to enable the serial port and disable the login shell, and add "dtoverlay=uart0" to the end of /boot/config.txt and all worked just fine.

I've done the same thing in raspi-config in version 12, but that config file has moved to /boot/firmware/config.txt now, and I've added the same dtoverlay line to it.

I see that the serial port has moved from /dev/ttyAMA0 to /dev/ttyS0 now, but I'm not getting any data from it. I can boot back to the Raspbian 11 SD card and it works, but not in Raspbian 12.

Side note: I have WiringPI installed on both SD cards and have added the following lines to /etc/rc.local in both versions 11 and 12, I don't remember why this was needed in 11.

gpio mode 15 ALT0
gpio mode 16 ALT0

Statistics: Posted by larry_athey — Thu Sep 26, 2024 10:43 pm



Viewing all articles
Browse latest Browse all 5260

Trending Articles