I need to build a Yocto image that will automatically perform the following actions at boot time for FRDM i.MX. Could you please provide guidance on how to achieve this using a Yocto recipe, along with the necessary configuration and supporting files?
- Load the moal kernel module with parameters
- Specifically, load the module with parameters from mod_para=nxp/wifi_mod_para.conf
- Automatically bring up the mlan0 network interface
- Automatically connect to a specified SSID
- Use configuration from wpa_supplicant.conf and connect to wifi
- Run a DHCP client to obtain an IP address for mlan0
Any best practices, example recipes, or references to relevant documentation would be greatly appreciated.