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

Troubleshooting • Re: [BUG]Bookwoorm: Pi2 No UART possible on GPIO14/15

$
0
0
If you look at the Interface settings after a fresh boot with a new installation => Raspberry Pi Configuration (GUI) says serial is on, but if you look into the

Code:

/boot/.../config.txt 
the enable_uart=1 is missing.
I just started raspi-config on an updated 64-bit RPi4B and I see there is only 1 menu item for 2 separate things. For serial console you need a) to have/enable a serial port and b) add the option to the Linux kernel command line.

/usr/bin/raspi-config is a shell script, it gets updated quite often, so it might be that the version that is on the image of also some other date/version, it is different and I have seen the script fail on audio settings (the 3.5mm plug) in the past. Nothing happened, also not with the report on this forum where I reported it. My simple conclusion was, I edit and maintain config.txt and cmdline.txt myself, you anyhow have to do that when you run another Linux distro on a Pi. I have been grepping and browsing the script in the past to see where files are modified without me knowing.

So it could still be "[BUG] Bookworm", but then it is not official Debian Bookworm like there is for x86_64 etc, but RPiOS based on Debian Bookworm. And a certain version of raspi-config that creates/modifies critical text files on a FAT filesystem. Like you changed something in the BIOS and then the PC doesn't work as expected because some interface has disappeared.

I copy all files from that FAT bootfs to rootfs where it is checksummed and also back-upped on remote storage. You can copy files back from backup to the bootfs, SD-card are not the most reliable things in the would and the Pi2 (at least mine) has issues with certain SD brands. rsync -c option can be used to see if a file got corrupted.
Long story short, what is your resumee?

Statistics: Posted by Hasenradball — Wed Aug 21, 2024 8:37 pm



Viewing all articles
Browse latest Browse all 3755

Trending Articles