Linux kernel module, concept of configuration and persistent state -
i work on linux kernel loadable module , proper way configure , way load/store binary data when module loaded/unloaded. module needs read configuration data in time of loading, may change data , save them in run-time. read on many places reading/writing file not recommended , read sysfs can used such purpose. can binary configuration data stored in sysfs ? or exist more suitable solution ? can provide link example or doc can found details how load/save persistent configuration module ?
peter
maybe can use firmware interface in module. should able load binary file include settings request_firmware(..)
i think isn't required write binary file hardware...?
Comments
Post a Comment