-
I've a headless dietpi setup on rasp pi 5 and I wanted to get a serial shell for debugging. I've the following config:
but since Would it be possible to enable this by config alone ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
did you tried using |
Beta Was this translation helpful? Give feedback.
-
There is some dedicated issues around UART on first boot on Raspberry Pi. First of all, the primary UART adapter is/was unintentionally disabled on fresh images. Solved for next DietPi release, planned for this Saturday: 528bf2f For Raspberry Pi 5, we additionally need to update our
So to enable the serial console on the dedicated debug port of the RPi 5 on first boot, after flashing the image, before booting it:
|
Beta Was this translation helpful? Give feedback.
There is some dedicated issues around UART on first boot on Raspberry Pi. First of all, the primary UART adapter is/was unintentionally disabled on fresh images. Solved for next DietPi release, planned for this Saturday: 528bf2f
For Raspberry Pi 5, we additionally need to update our
raspberrypi-sys-mods
package, since the current one does not setup the/dev/serial0
symlink correctly on RPi 5, where it needs to point to/dev/ttyAMA10
instead of/dev/ttyS0
or/dev/ttyAMA0
. I'll find time for this after next DietPi release.CONFIG_SERIAL_CONSOLE_ENABLE
only works as flag to disable the expectedly enabled UART adapter on first boot, and whether to show the dialog to disable it. It has no effe…