opnsense-src/share/examples/kld/firmware
Warner Losh b61a573019 spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
2023-05-12 10:44:04 -06:00
..
fwconsumer spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
fwimage Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
Makefile Update share/examples/* to properly install /usr/share/examples. 2016-05-10 00:51:50 +00:00
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.