rtl8188eu icon indicating copy to clipboard operation
rtl8188eu copied to clipboard

can't build on ubuntu for ARM

Open SteveBetter opened this issue 1 year ago • 4 comments

I wanted to build this driver for my pcDuino3B board which has a rtl8188EU wireless LAN card. The SoC of pcDuino3B is sunxi7i A20 (arm). Version of the Linux Kernel I used is 6.0.2. I modified the Makefile of the driver as below: CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ARM_SUNxI = y CONFIG_PLATFORM_ARM_SUN7I = y

At first, an error occurred saying "mach/sys_config.h is missing", so I copied "arch/arm/mach-sunxi/include/mach" folder from official linux-3.4-sunxi source code which doesn't appear in the mainline Linux Kernel source code to the driver's "platform" folder. Then, it proceeds with another error saying "script_parser_fetch function was not declared". After searching on the web, I found that this function may come from some tools from sunxi which I didn't find somewhere. The two errors both come from "platform/platform_ARM_SUNxI_usb.c".

I found another rtl8188eu driver by an unofficial maintainer: https://github.com/lwfinger/rtl8188eu

The above driver can be built and loaded with the above Linux Kernel 6.0.2. But it cannot work properly on pcDuino3B with a long existed issue. https://github.com/lwfinger/rtl8188eu/issues/235

lpapp ~ $ sudo wpa_supplicant -Dwext -B -i wlp0s29u1u2 -c /etc/wpa_supplicant/example.conf Successfully initialized wpa_supplicant rfkill: Cannot get wiphy information ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: Invalid argument lpapp ~ $ sudo wpa_supplicant -B -i wlp0s29u1u2 -c /etc/wpa_supplicant/example.conf Successfully initialized wpa_supplicant nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlp0s29u1u2 disabled_11b_rates=0 wlp0s29u1u2: Failed to initialize driver interface

Is it possible to combine these two drivers together?

Thanks very much!

Reference: https://github.com/allwinner-zh/linux-3.4-sunxi

SteveBetter avatar Nov 03 '22 03:11 SteveBetter