Page 1 of 1

The WLAN chip on NanoPi R2S Plus is not recognized

Posted: Wed Jul 09, 2025 10:33 am
by baltech
I created my own Buildroot Image from a vanilla Buildroot 2025.02.1. Everything works when using one of FriendlyElecs Binary Images (so there is no Hardware Failure). But when using my own Image WLAN is not recognized.

The driver (RTW88_8822CS) can be loaded via modprobe but it is not recognized as the Driver for the SDIO port.

I created already an entry in the device tree

Code: Select all

...

&sdmmc_ext {
    vmmc-supply = <&vcc_io_33>;
    vqmmc-supply = <&vcc_18>;
    max-frequency = <150000000>;
    sd-uhs-sdr104;
    #address-cells = <1>;
    #size-cells = <0>;
    status = "okay";

    rtl8822cs@1 {
        reg = <1>;
        compatible = "realtek,rtl8822cs";
    };
};


Unfortunately I get no log messages that tell me whats wrong. When rebinding the SDIO port I only get (but no error message or which device was enumerated):

Code: Select all

# echo -n ff5f0000.mmc | tee /sys/bus/platform/drivers/dwmmc_rockchip/bind

ff5f0000.mmc[  643.919892] dwmmc_rockchip ff5f0000.mmc: IDMAC supports 32-bit address mode.
[  643.920644] dwmmc_rockchip ff5f0000.mmc: Using internal DMA controller.
[  643.921243] dwmmc_rockchip ff5f0000.mmc: Version ID is 270a
[  643.921787] dwmmc_rockchip ff5f0000.mmc: DW MMC controller at irq 39,32 bit host data width,256 deep fifo
[  643.936606] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)


I'd like to ask the kernel if it enumerated the vendor ID/product ID of the SDIO port and why it did not load the corresponding Realtek driver. Any hints how to proceed?