Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
fwconsumer/ | H | - | - | 85 | 46 | |
fwimage/ | H | - | - | 12 | 8 | |
Makefile | H A D | 15-Jul-2024 | 113 | 6 | 4 | |
README | H A D | 16-Aug-2023 | 663 | 18 | 13 |
README
1 2This is a simple example of the firmware(9) system. It consists of two 3parts: 4 51) fwimage 6 This is the firmware image (the ascii art of beastie from the boot 7 menu). The Makefile lists the firmware file "firmware.img" and the 8 short handle for this firmware image "beastie". 9 Note that the module is called "beastie" as well so that it can be 10 loaded automatically if requested. 11 122) fwconsumer 13 This module tries to get the a firmware image called "beastie", 14 checks if the data is '\0'-terminated and prints it to the console. 15 It keeps a reference to the firmware until it is unloaded. 16 17This is mainly to demonstrate how to construct firmware image modules. 18