I used the mirror name: Armbian_23.05.0-trunk_Bananapip2zero_bookworm_current_6.1.24_xfce_desktop.img. You can configure the hardware enablement in the “armbian-config” program and enable the use of UART.
First
Enter “armbian-config” to enter the configuration settings.
Select the “System” option.
Select the “Hardware” option
Select the configuration to be enabled by using the spaces.
Restart
Second verification
Connect the Uart2 together and use minicom for verification.
As can be seen from the figure, when you send a byte, the system will automatically output the same byte.