[Bug]: Rock Pi S compiles `rk3308-s0-ext-antenna` dto even tho it is not compatible with this board

Description

  1.  

    1.  

      1. What happened?

With my RockPi-S I go to `armbian-config` overlay selection and I enable `s0-ext-antenna` however this shows up while booting:

```
Applying kernel provided DT overlay rk3308-s0-ext-antenna.dtbo
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
226 bytes read in 6 ms (36.1 KiB/s)
```
Doing git archeology this happens because the dts for `s0-ext-antenna` target symbols like `board_antenna` that are defined in `board-rocks0-0001-deviceTree.patch` but not in `rk3308-rock-pi-s.dts` (file in upstream linux).
However looking at the hardware the wifi setup for the rock-pi-s0 and rock-pi look different:

On the Rock-Pi-S0, we can clearly spot an RF Switch IC (tiny black SMD component in the following screenshot), with impedance matched traces going to the Ceramic antenna, the ufl connector and the SOM:
![Image](https://github.com/user-attachments/assets/ddecd986-1358-455b-9cc9-f939aaba00c4)

However on the Rock-Pi-S there is no such switch, or built-in ceramic antenna to begin with, we can spot the Realtek WiFi+BT IC, a π matching network and impedance matched traces straight to the antenna connector:
![Image](https://github.com/user-attachments/assets/c2611810-9f39-46d7-8479-b9156aaf29a9)
Critically I do not see an RF Switch IC or a builtin ceramic antenna.

So if my understand is correct this file should not be compiled to begin with given there is no built-in antenna to begin with on the Rock Pi S.

  1.  

    1.  

      1. How to reproduce?

.

  1.  

    1.  

      1. Branch

main (main development branch)

  1.  

    1.  

      1. On which host OS are you running the build script and observing this problem?

Debian 12 Bookworm

  1.  

    1.  

      1. Are you building on Windows WSL2?

  • [ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2

  1.  

    1.  

      1. Relevant log URL

No response

  1.  

    1.  

      1. Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Raised by: https://github.com/Jorropo

https://github.com/armbian/build/issues/8023

Checklist

hide

Activity

Details

Assignee

Reporter

Priority

Created last month
Updated last month