@Andrea Maccanti,
Hey. In case you still have the issue of getting WiFi up - I just set up the imx8m-mini-evk with L4.19.35_1.1.0 from imx-image-full-imx8mmevk.sdcard image and noticed that the iwconfig and iwlist are missing. Also, I was in a bit of hurry and for some reason I could not get the DNS to work straight out of the box. It said "Temporary failure in name resolution". So I used the ifconfig and google IP for ping instead.
To recap, I got it up by:
1. Use ifconfig to bring interface up:
ifconfig wlan0 up
2. Use editor to edit /etc/wpa_supplicant.conf :
mcedit /etc/wpa_supplicant.conf
3. Change the Network block to as follows (keep the quotation marks):
Network={
scan_ssid=1
ssid="YOUR_SSID_NAME"
psk="YOUR_PASSWORD"
}
4. Associate the wlan with config:
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
5. Check if you wlan is up:
ifconfig wlan0
6. Rung DHCP client from BusyBox to get the IP (yup, there is no dhclient):
udhcpc -i wlan0
7. Check the network:
ping 8.8.8.8
Anyway, hope it helps.
Harry.