1154974Smlaier$FreeBSD: releng/10.2/share/examples/kld/firmware/README 154974 2006-01-29 02:52:42Z mlaier $ 2154974Smlaier 3154974SmlaierThis is a simple example of the firmware(9) system. It consists of two 4154974Smlaierparts: 5154974Smlaier 6154974Smlaier1) fwimage 7154974Smlaier This is the firmware image (the ascii art of beastie from the boot 8154974Smlaier menu). The Makefile lists the firmware file "firmware.img" and the 9154974Smlaier short handle for this firmware image "beastie". 10154974Smlaier Note that the module is called "beastie" as well so that it can be 11154974Smlaier loaded automatically if requested. 12154974Smlaier 13154974Smlaier2) fwconsumer 14154974Smlaier This module tries to get the a firmware image called "beastie", 15154974Smlaier checks if the data is '\0'-terminated and prints it to the console. 16154974Smlaier It keeps a reference to the firmware until it is unloaded. 17154974Smlaier 18154974SmlaierThis is mainly to demonstrate how to construct firmware image modules. 19