I have issues enabling a debug UART at a Raspberry Pi 5.
I have a recent self build OpenWrt snapshot version which is booting successfully (verified via HDMI). Because Ethernet is not working on my custom board, I want to connect to the root shell via UART to debug the Ethernet issue. Of course, I connected to the special Pi 5 UART port. My config.txt is here
# OpenWrt config
include distroconfig.txt
[all]
# Place your custom settings here.
enable_uart=1
dtoverlay=
dtparam=uart0
dtparam=uart0_console
But the UART is still silent. Has anybody a hint what I'm missing?
hello I have a raspberry 5. you need a keyboard and a screen that’s all.
you branches and start everything
After loading openwrt opkg install nano.
Make cd/etc/config.
root@OpenWrt:~# cd /etc/config
root@OpenWrt:/etc/config# nano network
interface de configuration « loopback »
option dispositif 'lo'
option proto 'statique'
option ipaddr '127.0.0.1’
option netmask '255.0.0.0’
my browser automatically translates the language but sometimes it does not translate and this results in an error.But I do not need mom and dad to tell me. : -)
Thanks for your answers. But it doesn't help me yet.
One question was why I need an UART interface. It's pretty simple: For debugging, it is much more convenient to use only one monitor and keyboard instead of two. Furthermore, I'm a copy and past power user - with physical separated keyboards, copy and paste is not possible.
I also don't want help to fix my Ethernet issues because these are coming from my custom Pi Ethernet Hat which the stock OpenWrt doesn't know.
So, let's ask again: How to enable the UART interface on a Pi 5 with OpenWrt (including boot messages)?