Add firmware switching functionality to fibocom plugins.
Dear Experts,
Our PC WWAN module supports a so called FW switch functions.
We have different module firmware for different carriers, and all of them, with a mapping table alone, are stored in a folder called firmware package. It is stored in PC.
We have a daemon running on PC OS side, checking PLMN when SIM insertion detected (reported by module manager) and flashing the module with firmware accordingly.
This mechanism is not open-sourced, so now we plan to open source them.
The original plan is LVFS (Linux Vendor Firmware Service). By using LVFS, we will have chance to upload our latest firmware package to https://github.com/fwupd/lvfs-website and download them into target by fwupd (https://github.com/fwupd/fwupd ).
But after talking with fwupd community, them believe fwupd can only support flashing function, but other logic like (handling SIM detection), (checking PLMN) and (triggering firmware flashing dynamically), should NOT be there as they are not part of “firmware update” logic but “firmware switching”.
Thus, our new idea is introducing the logic (handling SIM detection), (checking PLMN) and (triggering firmware flashing dynamically) into Fibocom plug-in under MM.
Would like to hear your valuable advice.
Thanks.