Open
Description
What happened?
I installed armbian on a Orange Pi Zero and have enabled the uart 1 and 2 overlay by armbian-config.
[*] sun8i-h3-uart1
[*] sun8i-h3-uart2
This does not work because in /boot/armbianEnv.txt a preconfigured prefix is set
overlay_prefix=sun8i-h3
armbian-config sets
overlays=sun8i-h3-uart1 sun8i-h3-uart2
and this causes that the load of the overlays fails because the loader searches for
/boot/dtb/overlay/sun8i-h3-sun8i-h3-uart1.dtbo
/boot/dtb/overlay/sun8i-h3-sun8i-h3-uart2.dtbo
instead of
/boot/dtb/overlay/sun8i-h3-uart1.dtbo
/boot/dtb/overlay/sun8i-h3-uart1.dtbo
How to reproduce?
- Install https://www.armbian.com/orange-pi-zero/
- start armbian-config
- enable overlays sun8i-h3-uart1 and sun8i-h3-uart2
this results in a /boot/armbianEnv.txt
verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=sun8i-h3-uart1 sun8i-h3-uart2
rootdev=UUID=aec93845-9ef3-416e-ba6a-9f6e099bce15
rootfstype=ext4
...
and the path for loading the overlays is like this:
/boot/dtb/overlay/$OVERLAYPREFIX/$OVERLAY
if I set
verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=uart1 uart2
rootdev=UUID=aec93845-9ef3-416e-ba6a-9f6e099bce15
rootfstype=ext4
...
it works as expected.
On which OS are you observing this problem? (for easier diagnosis please provide logs with armbianmonitor -u
)
Armbian Debian 12 Bookworm
Code of Conduct
- I agree to follow this project's Code of Conduct