Skip to content

os-firmware.plugin.bash¤

custom OS firmware install in kernel.

group:postos | runtype:manual | deps: - | port: -

Usage
os-firmware install|uninstall|download|disable|configgen|configapply|check|run
$ os-firmware install - install firmware
$ os-firmware uninstall - uninstall firmware
$ os-firmware download - download firmware files to pkg dir
$ os-firmware disable - disable firmware plugin
$ os-firmware configgen - generate firmware configuration files
$ os-firmware configapply - apply firmware configuration files
$ os-firmware check - check firmware plugin status
$ os-firmware run - run firmware installation
$ os-firmware help - show this help message
Description

This tool helps install, configure, and manage custom firmware in the Linux kernel for hardware support and optimization.

Jangbi Configs¤

/opt/jangbi/.config
RUN_OS_FIRMWARE=1 # enable firmware installation
FIRMWARE_MODE="auto" # mode: auto|manual

Check if running¤

bash command
$ ls -la /lib/firmware/
drwxr-xr-x 2 root root 4096 Jan 01 12:00 firmware
$ dmesg | grep firmware
[    1.234567] firmware: loading firmware files

Current Configuration¤

Current configuration is stored in /etc/firmware/. it is generated by os-firmware configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/firmware/config