freebsd-dev/share/examples/kld/firmware
Pedro F. Giffuni f0cfa1b168 share and pc-sysinstall: adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Commit these apart because compile testing doesn't guarantee I didn't made
some nasty mistake. No functional change intended.
2017-11-27 15:28:26 +00:00
..
fwconsumer share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
fwimage
Makefile
README

$FreeBSD$

This is a simple example of the firmware(9) system.  It consists of two
parts:

1) fwimage
	This is the firmware image (the ascii art of beastie from the boot
	menu).  The Makefile lists the firmware file "firmware.img" and the
	short handle for this firmware image "beastie".
	Note that the module is called "beastie" as well so that it can be
	loaded automatically if requested.

2) fwconsumer
	This module tries to get the a firmware image called "beastie",
	checks if the data is '\0'-terminated and prints it to the console.
	It keeps a reference to the firmware until it is unloaded.

This is mainly to demonstrate how to construct firmware image modules.