We are using the inbuilt wifi of the IMX6ULL module in our Product and we got a crash log as per the attached file(WiFiCrashLog-imx6.txt). After that, we must have to reboot our board.
I have also uploadedlink text the “wpa_supplicant-mlan0.conf” file for reference(Testing).
The scenario is easily reproducible using the below steps if we repeat 4-5 times. We observe that this frequently occurs if SSID is incorrect/unavailable.
We tried same steps with above image still not able to up the internal Wifi.
This is on our top priority because we must have to deliver the product with in 1 week.
Please check your side and revert with some helpful solution.
The current solution for your issue is to take the image 3.0b265 and change this with the kernel 5.3.7 compiled with kernel modules and the device-tree from kernel 5.3.7 and flash this to the module. If again there is a firmware crash, then you need to restart connman and the wifi interface should work again.
If you are not able to compile the kernel 5.3.7, then you can use the attached files.
ubi kernel partition size is 0x800000 by default, which is not enough for Jaski provided kernel. To fix u-boot update you may remove m4firmware partition and reuse its space
ubi part ubi
ubi remove kernel
ubi remove m4firmware
ubi create kernel 0x900000
then write new kernel, hmm, it depends how you load it to RAM from u-boot. For reference legacy 2.8b6 was doing it like this to update from USB stick:
You should not use kill -9. Usually connman and networkd is enabled in our regular Bsp. If you are using wpa_supplicant, then you should disable those.