How can i use a custom overlay by booting

Hi, I’m trying to load a different overlay on my Radxa ROCK Pi Zero 3E but so far without success. Specifically, it’s about “rk3566-uart2-m0.”
Which folder does the file need to be in so that it can be loaded via dietpiEnv? Regards

rootdev=UUID=aeb798b6-a115-460a-bc63-83f7e8984f9f
rootfstype=ext4

# keine FIQ-Konsole!

consoleargs=console=ttyS2,1500000 console=tty1
extraargs=net.ifnames=0
docker_optimizations=off

overlay_path=rockchip
overlay_prefix=rockchip
overlays=rk3566-uart2-m0

Do you have a .dtbo or a .dts file?

i have both, i don t know how can i activated the config. i tried different steps …. What should the folder be named if I can boot it? Is the dietpiEnv read every time in boot?

Alright, you need the .dtbo file.
Place it in /boot/dtb/rockchip/overlay/.
The you edit your dietpiEnv.txt. Add:

overlays=rk3566-uart2-m0

If you need multiple overlays, you can comma-separate them.

Then just reboot. You can check if it’s loaded with:
cat /proc/device-tree/chosen/overlays/*/name