Files
linuxkit/pkg/firmware
Rolf Neugebauer cd92ad3f16 pkg/firmware: Fix firmware extraction
Some drivers offer mutliple firmwares with the WHENCE file
defining the default. Use the cope-firmware.sh script to
create a copy of the firmware repository with the defaults
copied in to the right place.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-17 10:36:03 +01:00
..

The firmware package contains updated firmware files required by any driver compiled as a module. Based on the modules included in a recent LinuxKit kernel, copy the required firmware binaries as reported by 'modinfo'. We deliberately do not pick the latest version here to prevent it being updated on kernel updates. Firmware revisions do not change very often and we expect older and newer kernels to work with a range of firmware binaries.

Note: The current mechanism only handles firmware blobs required by modules and ignores firmware blobs required by drivers compiled into the kernel. However, with the LinuxKit kernels we typically compile all hardware drivers as modules.