diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-19 15:31:13 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-19 15:31:13 -0600 |
| commit | 62bf48d9bc06e4f55cb5f8eab01e0a6c953b8a9e (patch) | |
| tree | 9c2660b8508d1eaa67fd5f6383c62b8f27420e73 | |
| parent | 34a12fd9498ca35b14894fc74b3b6a688e0e0095 (diff) | |
| download | archangel-62bf48d9bc06e4f55cb5f8eab01e0a6c953b8a9e.tar.gz archangel-62bf48d9bc06e4f55cb5f8eab01e0a6c953b8a9e.zip | |
Add AMD ISP firmware to initramfs for APUs with cameras
| -rwxr-xr-x | custom/install-archzfs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/custom/install-archzfs b/custom/install-archzfs index 64e6dda..58e499a 100755 --- a/custom/install-archzfs +++ b/custom/install-archzfs @@ -1019,6 +1019,23 @@ configure_initramfs() { cp /mnt/etc/mkinitcpio.conf /mnt/etc/mkinitcpio.conf.bak + # Check for AMD ISP (Image Signal Processor) firmware needs + # ISP is used for camera processing on AMD APUs (Strix, Strix Halo, etc.) + # The firmware must be in initramfs since amdgpu loads before root is mounted + if lspci | grep -qi "amd.*display\|amd.*vga\|radeon"; then + local isp_firmware + isp_firmware=$(ls /mnt/usr/lib/firmware/amdgpu/isp_*.bin.zst 2>/dev/null | head -1) + if [[ -n "$isp_firmware" ]]; then + info "AMD APU detected with ISP firmware - adding to initramfs" + mkdir -p /mnt/etc/mkinitcpio.conf.d + cat > /mnt/etc/mkinitcpio.conf.d/amd-isp.conf << EOF +# AMD ISP (Image Signal Processor) firmware for camera support +# Loaded early so amdgpu can initialize ISP before root is mounted +FILES+=($isp_firmware) +EOF + fi + fi + # Configure hooks for ZFS # - Remove autodetect: it filters modules based on live ISO hardware, not target # This ensures NVMe, AHCI, and other storage drivers are always included |
