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