chore: commit durable overlay state (configs, patches, recipe symlinks)
Pre-existing work from other sessions committed as durable state: - local/config/drivers.d/ (8 driver configs) - local/config/firmware-fallbacks.d/ (3 firmware configs) - local/patches/base/, kernel/, relibc/ (new patch carriers) - recipes/system/ symlinks (driver-params, acmd, ecmd, usbaudiod) pkgar build artifacts and cache intentionally excluded.
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# Storage drivers — highest priority (needed for boot)
|
||||
|
||||
[[driver]]
|
||||
name = "nvmed"
|
||||
description = "NVMe storage driver"
|
||||
priority = 100
|
||||
command = ["/usr/lib/drivers/nvmed"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 1
|
||||
subclass = 8
|
||||
|
||||
[[driver]]
|
||||
name = "ahcid"
|
||||
description = "AHCI SATA driver"
|
||||
priority = 100
|
||||
command = ["/usr/lib/drivers/ahcid"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 1
|
||||
subclass = 6
|
||||
|
||||
[[driver]]
|
||||
name = "ided"
|
||||
description = "PATA IDE driver"
|
||||
priority = 100
|
||||
command = ["/usr/lib/drivers/ided"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 1
|
||||
subclass = 1
|
||||
|
||||
[[driver]]
|
||||
name = "virtio-blkd"
|
||||
description = "VirtIO block device driver"
|
||||
priority = 100
|
||||
command = ["/usr/lib/drivers/virtio-blkd"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x1AF4
|
||||
device = 0x1001
|
||||
class = 1
|
||||
subclass = 0
|
||||
|
||||
[[driver]]
|
||||
name = "usbscsid"
|
||||
description = "USB SCSI storage driver"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/usbscsid"]
|
||||
# Spawned by USB class matching, not direct PCI match
|
||||
|
||||
# Dependency DAG: drivers can declare what schemes/drivers they need
|
||||
# Example: nvmed depends on pci scheme being available
|
||||
# [[driver.depends]]
|
||||
# scheme = "pci"
|
||||
@@ -0,0 +1,52 @@
|
||||
# Network drivers
|
||||
|
||||
[[driver]]
|
||||
name = "e1000d"
|
||||
description = "Intel Gigabit Ethernet"
|
||||
priority = 50
|
||||
command = ["/usr/lib/drivers/e1000d"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x8086
|
||||
class = 2
|
||||
|
||||
[[driver]]
|
||||
name = "rtl8168d"
|
||||
description = "Realtek 8168/8125 Ethernet"
|
||||
priority = 50
|
||||
command = ["/usr/lib/drivers/rtl8168d"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x10EC
|
||||
class = 2
|
||||
|
||||
[[driver]]
|
||||
name = "rtl8139d"
|
||||
description = "Realtek 8139 Ethernet"
|
||||
priority = 50
|
||||
command = ["/usr/lib/drivers/rtl8139d"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x10EC
|
||||
device = 0x8139
|
||||
|
||||
[[driver]]
|
||||
name = "ixgbed"
|
||||
description = "Intel 10 Gigabit Ethernet"
|
||||
priority = 50
|
||||
command = ["/usr/lib/drivers/ixgbed"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x8086
|
||||
class = 2
|
||||
subclass = 0
|
||||
|
||||
[[driver]]
|
||||
name = "virtio-netd"
|
||||
description = "VirtIO network driver"
|
||||
priority = 50
|
||||
command = ["/usr/lib/drivers/virtio-netd"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x1AF4
|
||||
class = 2
|
||||
@@ -0,0 +1,74 @@
|
||||
# USB host controller drivers
|
||||
|
||||
# xHCI (USB 3.x)
|
||||
[[driver]]
|
||||
name = "xhcid"
|
||||
description = "xHCI USB host controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/xhcid"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x0C
|
||||
subclass = 0x03
|
||||
prog_if = 0x30
|
||||
|
||||
# EHCI (USB 2.0)
|
||||
[[driver]]
|
||||
name = "ehcid"
|
||||
description = "EHCI USB 2.0 host controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/ehcid"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x0C
|
||||
subclass = 0x03
|
||||
prog_if = 0x20
|
||||
|
||||
# OHCI (USB 1.1 — non-Intel chipsets)
|
||||
[[driver]]
|
||||
name = "ohcid"
|
||||
description = "OHCI USB 1.1 host controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/ohcid"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x0C
|
||||
subclass = 0x03
|
||||
prog_if = 0x10
|
||||
|
||||
# UHCI (USB 1.1 — Intel chipsets)
|
||||
[[driver]]
|
||||
name = "uhcid"
|
||||
description = "UHCI USB 1.1 host controller (Intel)"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/uhcid"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x0C
|
||||
subclass = 0x03
|
||||
prog_if = 0x00
|
||||
|
||||
# USB class drivers
|
||||
|
||||
[[driver]]
|
||||
name = "usbhubd"
|
||||
description = "USB Hub driver"
|
||||
priority = 75
|
||||
command = ["/usr/lib/drivers/usbhubd"]
|
||||
# Spawned by xhcid when hubs are detected
|
||||
|
||||
[[driver]]
|
||||
name = "usbctl"
|
||||
description = "USB control daemon"
|
||||
priority = 70
|
||||
command = ["/usr/lib/drivers/usbctl"]
|
||||
|
||||
[[driver]]
|
||||
name = "ucsid"
|
||||
description = "USB-C UCSI topology detector"
|
||||
priority = 60
|
||||
command = ["/usr/lib/drivers/ucsid"]
|
||||
|
||||
# Example: xhcid depends on pci scheme being available
|
||||
# [driver.depends_on]
|
||||
# scheme = "pci"
|
||||
@@ -0,0 +1,53 @@
|
||||
# Graphics and display drivers
|
||||
|
||||
[[driver]]
|
||||
name = "vesad"
|
||||
description = "VESA BIOS display driver"
|
||||
priority = 60
|
||||
command = ["/usr/lib/drivers/vesad"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x03
|
||||
|
||||
[[driver]]
|
||||
name = "redox-drm"
|
||||
description = "DRM/KMS display driver (AMD + Intel + VirtIO)"
|
||||
priority = 60
|
||||
command = ["/usr/bin/redox-drm"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x03
|
||||
|
||||
[[driver]]
|
||||
name = "virtio-gpud"
|
||||
description = "VirtIO GPU driver"
|
||||
priority = 60
|
||||
command = ["/usr/lib/drivers/virtio-gpud"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x1AF4
|
||||
class = 0x03
|
||||
|
||||
# Intel GPU — matched specifically for the display class
|
||||
[[driver]]
|
||||
name = "redox-drm"
|
||||
description = "Intel GPU display driver"
|
||||
priority = 61
|
||||
command = ["/usr/bin/redox-drm"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x8086
|
||||
class = 0x03
|
||||
subclass = 0x00
|
||||
|
||||
# AMD GPU — matched specifically for the display class
|
||||
[[driver]]
|
||||
name = "redox-drm"
|
||||
description = "AMD GPU display driver"
|
||||
priority = 61
|
||||
command = ["/usr/bin/redox-drm"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x1002
|
||||
class = 0x03
|
||||
subclass = 0x00
|
||||
@@ -0,0 +1,20 @@
|
||||
# Input device drivers
|
||||
|
||||
[[driver]]
|
||||
name = "ps2d"
|
||||
description = "PS/2 keyboard and mouse driver"
|
||||
priority = 90
|
||||
command = ["/usr/lib/drivers/ps2d"]
|
||||
|
||||
[[driver]]
|
||||
name = "usbhidd"
|
||||
description = "USB HID input driver"
|
||||
priority = 75
|
||||
command = ["/usr/lib/drivers/usbhidd"]
|
||||
# Spawned by USB class matching
|
||||
|
||||
[[driver]]
|
||||
name = "i2c-hidd"
|
||||
description = "I2C HID touchscreen/trackpad driver"
|
||||
priority = 75
|
||||
command = ["/usr/lib/drivers/i2c-hidd"]
|
||||
@@ -0,0 +1,27 @@
|
||||
# Audio device drivers
|
||||
|
||||
[[driver]]
|
||||
name = "ihdad"
|
||||
description = "Intel HD Audio driver"
|
||||
priority = 40
|
||||
command = ["/usr/lib/drivers/ihdad"]
|
||||
|
||||
[[driver.match]]
|
||||
vendor = 0x8086
|
||||
class = 0x04
|
||||
|
||||
[[driver]]
|
||||
name = "ac97d"
|
||||
description = "AC'97 audio codec driver"
|
||||
priority = 40
|
||||
command = ["/usr/lib/drivers/ac97d"]
|
||||
|
||||
[[driver.match]]
|
||||
class = 0x04
|
||||
subclass = 0x01
|
||||
|
||||
[[driver]]
|
||||
name = "sb16d"
|
||||
description = "Sound Blaster 16 driver"
|
||||
priority = 40
|
||||
command = ["/usr/lib/drivers/sb16d"]
|
||||
@@ -0,0 +1,49 @@
|
||||
# GPIO and I2C controller drivers
|
||||
|
||||
[[driver]]
|
||||
name = "i2cd"
|
||||
description = "I2C host adapter registry"
|
||||
priority = 85
|
||||
command = ["/usr/lib/drivers/i2cd"]
|
||||
|
||||
[[driver]]
|
||||
name = "gpiod"
|
||||
description = "GPIO controller registry"
|
||||
priority = 85
|
||||
command = ["/usr/lib/drivers/gpiod"]
|
||||
|
||||
[[driver]]
|
||||
name = "dw-acpi-i2cd"
|
||||
description = "DesignWare ACPI I2C controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/dw-acpi-i2cd"]
|
||||
|
||||
[[driver]]
|
||||
name = "intel-gpiod"
|
||||
description = "Intel ACPI GPIO registrar"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/intel-gpiod"]
|
||||
|
||||
[[driver]]
|
||||
name = "amd-mp2-i2cd"
|
||||
description = "AMD MP2 I2C controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/amd-mp2-i2cd"]
|
||||
|
||||
[[driver]]
|
||||
name = "intel-lpss-i2cd"
|
||||
description = "Intel LPSS I2C controller"
|
||||
priority = 80
|
||||
command = ["/usr/lib/drivers/intel-lpss-i2cd"]
|
||||
|
||||
[[driver]]
|
||||
name = "i2c-gpio-expanderd"
|
||||
description = "I2C GPIO expander companion bridge"
|
||||
priority = 75
|
||||
command = ["/usr/lib/drivers/i2c-gpio-expanderd"]
|
||||
|
||||
[[driver]]
|
||||
name = "intel-thc-hidd"
|
||||
description = "Intel THC QuickI2C HID transport"
|
||||
priority = 75
|
||||
command = ["/usr/lib/drivers/intel-thc-hidd"]
|
||||
@@ -0,0 +1,23 @@
|
||||
# USB class drivers
|
||||
|
||||
[[driver]]
|
||||
name = "redbear-acmd"
|
||||
description = "USB CDC ACM serial driver"
|
||||
priority = 70
|
||||
command = ["/usr/bin/redbear-acmd"]
|
||||
|
||||
[[driver]]
|
||||
name = "redbear-ecmd"
|
||||
description = "USB CDC ECM/NCM ethernet driver"
|
||||
priority = 70
|
||||
command = ["/usr/bin/redbear-ecmd"]
|
||||
|
||||
[[driver]]
|
||||
name = "redbear-usbaudiod"
|
||||
description = "USB Audio Class driver"
|
||||
priority = 70
|
||||
command = ["/usr/bin/redbear-usbaudiod"]
|
||||
|
||||
# USB class drivers are spawned by the USB host controller (xhcid/ehcid)
|
||||
# when matching USB devices are detected, not by PCI bus scanning.
|
||||
# Match entries below use USB interface class codes for host-controller-side matching.
|
||||
@@ -0,0 +1,14 @@
|
||||
# AMD GPU firmware fallback chains
|
||||
# If a specific DMCUB firmware is not found, try earlier versions
|
||||
|
||||
[[fallback]]
|
||||
pattern = "amdgpu/dmcub_dcn31.bin"
|
||||
chain = ["amdgpu/dmcub_dcn30.bin", "amdgpu/dmcub_dcn20.bin"]
|
||||
|
||||
[[fallback]]
|
||||
pattern = "amdgpu/dmcub_dcn30.bin"
|
||||
chain = ["amdgpu/dmcub_dcn20.bin"]
|
||||
|
||||
[[fallback]]
|
||||
pattern = "amdgpu/gc_11_0_0_mes_2.bin"
|
||||
chain = ["amdgpu/gc_10_3_0_mes_2.bin"]
|
||||
@@ -0,0 +1,14 @@
|
||||
# Intel Wi-Fi firmware fallback chains
|
||||
# If a specific ucode version is not found, try earlier API versions
|
||||
|
||||
[[fallback]]
|
||||
pattern = "iwlwifi-bz-b0-gf-a0-92.ucode"
|
||||
chain = ["iwlwifi-bz-b0-gf-a0-83.ucode", "iwlwifi-bz-b0-gf-a0-77.ucode"]
|
||||
|
||||
[[fallback]]
|
||||
pattern = "iwlwifi-bz-b0-gf-a0-83.ucode"
|
||||
chain = ["iwlwifi-bz-b0-gf-a0-77.ucode"]
|
||||
|
||||
[[fallback]]
|
||||
pattern = "iwlwifi-ty-a0-gf-a0-92.ucode"
|
||||
chain = ["iwlwifi-ty-a0-gf-a0-83.ucode", "iwlwifi-ty-a0-gf-a0-77.ucode"]
|
||||
@@ -0,0 +1,9 @@
|
||||
# Intel GPU DMC display firmware fallback chains
|
||||
|
||||
[[fallback]]
|
||||
pattern = "i915/adlp_dmc_ver2_16.bin"
|
||||
chain = ["i915/adlp_dmc_ver2_14.bin", "i915/adlp_dmc_ver2_12.bin"]
|
||||
|
||||
[[fallback]]
|
||||
pattern = "i915/tgl_dmc_ver2_12.bin"
|
||||
chain = ["i915/tgl_dmc_ver2_10.bin", "i915/tgl_dmc_ver2_08.bin"]
|
||||
Reference in New Issue
Block a user