I am working with Android 7 for the NanoPC T3 Plus and I can build it without error using custom u-boot and custom kernel.

I need to enable the Realtek WiFi drivers and if I change the following line in wifi_bt_config.mk from:

Code: Select all

BOARD_WIFI_VENDOR := broadcom

to:

Code: Select all

BOARD_WIFI_VENDOR := realtek

And then try to build Android, I get an error because it can't find wlan.ko reference in the device.mk file

Code: Select all

ifeq ($(BOARD_WIFI_VENDOR),realtek)
PRODUCT_PACKAGES += \
   rtw_fwloader

PRODUCT_COPY_FILES += \
   hardware/realtek/wlan/driver/rtl8188eus/wlan.ko:system/vendor/realtek/wlan.ko
endif


Has anyone else been able to build the source with Realtek drivers enabled? Where did you get the wlan.ko file from?

It looks like I need to build the actual kernel source to create the wlan.ko file but there is nothing in the kernel to do this.