Skip to content

[Bug]: armbian-config does not take care about overlay_prefix #592

Open
@Race666

Description

@Race666

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?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it shouldGood first issueFeel free to contribute :)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions