Loader will create a firmware_path
env var. This sill be created the same as module_path
and will nomonially default to /boot/kernel/firmware;/boot/firmware
based on where the loader is snagging the kernel from.
Some firmware is tightly coupled to the driver. It will remain in the kernel build process, and install into $KODIR/firmware
(/boot/kernel/firmware
by default).
Some firmware is loosely couple to the driver where the driver version generally doesn't matter. This firmware will go into /boot/firmware
. This firmware will be moved into the buildworld
side of the house, or out to ports. The packages from these ports should be in the install media if the device is a network or storage driver (or some other driver needed to install the system).
Firmware that's part of the world build will live in share/firmware
and will install to /boot/firmware
or subdirectories of that. There's some firmware shared between multiple drivers, and that will wind up here (or as a pkg). Having it here would allow for pkgbase to slice and dice small. Some firmware will wind up in subdirectories, since that's how other OSes do it.
Warner's current firmware changes for loading binary firmware need the following changes for this:
The kernel needs to have:
FWDIR
in the build as the location for firmware to install to.
FWSUBDIR
that's the path relative to FWDIR
.imagename
and it isn't handled by outside-the-driver machinery?or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing