Orange Pi Prime and soc wireless rtl8723bs

Hello,
I know that Orange Pi Prime has no official support. I wanted to try it out. I checked that it has the same CPU as Orange Pi PC2 which is supported by OpenWrt. I made own build with Image Builder. I added kernel modules for wifi radio rtl8723bs that Orange Pi Prime has on board in menuconfig.
Currently board boots, eth0 is working. I can log in to Luci and SSH. Display on HDMI monitor is working and keyboard on usb is working too.
The wifi radio is not detected by OpenWrt. I see no info in log.

Should I download and compile wifi driver from sources or choose another target platform as my image base?

You should choose another radio all together.

Do you mean another wifi driver - other than kmod-rtl8723bs?

This module is present

root@OpenWrt:~# lsmod | grep 8723bs
cfg80211              311296  1 r8723bs
compat                 16384  2 r8723bs,cfg80211
r8723bs               413696  0

but in logread I see this:

Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   Near here ------------------------------------------------------------------------------------------
------------------------------------^
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666): Syntax error: Unable to compile module '/usr/share/hostap/common.uc':
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   | Syntax error: Unable to resolve path for module 'nl80211'
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   | In /usr/share/hostap/common.uc, line 1, byte 35:
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |  `import * as nl80211 from "nl80211";`
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |   Near here ------------------------^
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   | Syntax error: Unable to resolve path for module 'rtnl'
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   | In /usr/share/hostap/common.uc, line 2, byte 29:
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |  `import * as rtnl from "rtnl";`
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):   |   Near here ------------------^
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666): In /usr/share/hostap/wdev.uc, line 3, byte 137:
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):
Sat Apr 20 07:24:26 2024 daemon.notice netifd: radio1 (3666):  `import { vlist_new, is_equal, wdev_create, wdev_set_mesh_params, wdev_remove, wdev_set_up, phy_open
} from "/usr/share/hostap/common.uc";`

I installed a few aplications and do not see those errors. Wifi is not detected.
The wifi driver is SDIO not USB. I red from on the internet that I should find in logs

[    0.904127] mmc0: new high speed SDIO card at address 0001

and I see this message. I also see mmc0 on device tree but I don't see rtl8723bs driver version, so it is not working.

When I run iw list then I see this

root@OpenWrt:~# iw list
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 9
        max scan IEs length: 2304 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * monitor
        Band 1:
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (disabled)
        interface combinations are not supported
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:

Wireless device is not shown on ifconfig.

I tested Debian that is available on the Orangepi webside and wifi driver was working so device is ok. But something else has to be done on OpenWrt.

no, I meant different hw.