adau1761.bin loading another firmware at runtime

what i want is to have multipule designs and change it depending on the scenario

is possible adau1761.bin to load another firmware at runtime and change the old one

Parents
  • +1
    •  Analog Employees 
    on Nov 12, 2019 8:08 AM

    Hi,

    In current implementation the name of firmware filename is hard-coded in driver. So for ADAU1761 it should be "adau1761.bin".

    One solution would be to remove the adau1761 module. Copy the DSP firmware file to "/lib/firmware/" folder and load the module. When you want to load another one just remove again the ADAU1761 module, overwrite the firmware file with other and reload the module.

    If this is not acceptable you can try to modify a bit the ADAU1761 driver and add a command line argument. More information can be found here: kernel module argument.

    In this case you will tell the module what firmware file to load from "/lib/firmware/" folder.

    Regards,

    Bogdan

Reply
  • +1
    •  Analog Employees 
    on Nov 12, 2019 8:08 AM

    Hi,

    In current implementation the name of firmware filename is hard-coded in driver. So for ADAU1761 it should be "adau1761.bin".

    One solution would be to remove the adau1761 module. Copy the DSP firmware file to "/lib/firmware/" folder and load the module. When you want to load another one just remove again the ADAU1761 module, overwrite the firmware file with other and reload the module.

    If this is not acceptable you can try to modify a bit the ADAU1761 driver and add a command line argument. More information can be found here: kernel module argument.

    In this case you will tell the module what firmware file to load from "/lib/firmware/" folder.

    Regards,

    Bogdan

Children