Add firmware needed for R816{8,9} network devices #195
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
The orin-nano and orin-nx SOMs have realtek NICs that take advantage of firmware that lives in the
linux-firmware
derivation. Instead of pulling in all of linux-firmware (1GiB+), just pull in what is needed for ther8168
kernel module. Note that in Jetpack 35.3.1 the kernel module was calledr8169
and in Jetpack 35.4.1 the kernel module was changed to ber8168
. This differs from mainline linux where the kernel module isr8169
.Testing
Tested on an orin-nano-devkit, ensured the initrd built with a config including
{ boot.initrd.kernelModules = [ "r8168" ]; }
includes the corresponding firmware inlib/firmware/rtl_nic
. Also ensured that the warning message produced without this PR's changes no longer appears. The warning looks like this: