2021-09-06 06:29 PM
I have an old Edimax EW-7811Un that I am trying to get working on the STM32MP157D-DK1. I have installed Yocto along with poky and the meta-st-stm32mp BSP layer. I do not want to use OpenSTLinux right now.
I configured the kernel with
bitbake -c menuconfig virtual/kernel
and made sure the following kernel modules were enabled:
I added the following line to the end of conf/local.conf:
IMAGE_INSTALL += “linux-firmware-rtl8192cu�?
I built an image with:
bitbake core-image-minimal
However, it does not seem that the rtl8192cu module was included. I checked the manifest file with:
cat tmp/deploy/images/stm32mp1/core-image-minimal-stm32mp1.manifest | grep rtl
Nothing shows up, which should indicate that the rtl8192cu module was not included in the build, right?
I tried flashing the image to an SD card and booted up the board. I plug in the USB WiFi dongle and dmesg does not show that the driver is loading.
What am I missing to make this driver work?
Solved! Go to Solution.
2021-09-21 01:52 AM
Hi @ShawnHymel
I don't know if you are still facing this problem, but maybe your issue is related to your kernel configuration.
In your linux configuration, the driver RTL8192CU is enabled as a Module (M means module), so you have to load the module.ko manually.
Device Drivers> Network device support > Wireless LAN
You can check if your module is loaded by using the command:
lsmod | grep "rtl"
To build and "load" the driver by default, you have to enable it in the linux configuration, please switch:
to
Hope it help,
Regards,
Kevin
2021-09-21 01:52 AM
Hi @ShawnHymel
I don't know if you are still facing this problem, but maybe your issue is related to your kernel configuration.
In your linux configuration, the driver RTL8192CU is enabled as a Module (M means module), so you have to load the module.ko manually.
Device Drivers> Network device support > Wireless LAN
You can check if your module is loaded by using the command:
lsmod | grep "rtl"
To build and "load" the driver by default, you have to enable it in the linux configuration, please switch:
to
Hope it help,
Regards,
Kevin
2021-09-21 01:56 AM
Hi,
You can find more information about the menuconfig on the wiki: https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel#Menuconfig_and_Developer_Package
Regards,
Kevin