xref: /freebsd/share/examples/kld/firmware/README (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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