My device might be “ONN 4k PLUS”, but since the original firmware is lost, I’m currently using the firmware from an “X88 Pro X5M” device.
Now, the WIFI/BT functionality is not working. The WIFI chip uses the Amlogic W265S1, and the DTB file is “s7d_s905x5m_2g.dtb”.
If the DTB is not modified, the “w2.ko” module cannot be loaded. The node “power_on-gpios” must be changed to “chip_en-gpios” to load “w2.ko”.
aml_wifi {
compatible = “amlogic, aml-wifi”;
status = “okay”;
irq_trigger_type = “IRQF_TRIGGER_LOW”;
wifi_static_buf = <0x02>;
pwm_config = <0x44>;
interrupt-gpios = <0x1d 0x37 0x00>;
#power_on-gpios = <0x1d 0x36 0x00>;
chip_en-gpios = <0x1d 0x36 0x00>;
};
Debugging Logs:
dmesg | paste: https://paste.coreelec.org/SheetsMontreal
udevadm info /sys/bus/sdio/devices/* | paste: https://paste.coreelec.org/AdviseGamma