Removing unnecessary linux firmware

This commit is contained in:
Siina Mashek 2020-11-26 12:26:35 +02:00
parent 23ecd21086
commit ea49266e33
3 changed files with 188 additions and 2039 deletions

View File

@ -0,0 +1,14 @@
with open('linux-firmware-20201022-r2') as f:
data = f.readlines()
num_lines = len(data)
i=0
for line in data:
if 'banks' in line or'pitcairn' in line or 'picasso' in line or 'tahiti' in line or 'stoney' in line or 'oland' in line or 'mullins' in line or 'fiji' in line or 'carrizo' in line or 'topaz' in line or 'raven' in line or 'verde' in line or 'hawaii' in line or 'renoir' in line or 'navi' in line or 'tonga' in line or 'bonaire' in line or 'vega' in line or 'kaveri' in line or 'kabini' in line or 'hainan' in line or 'vegam' in line:
print(line)
data.pop(i)
i += 1
f = open('linux-firmware-20201022-r2', 'w')
f.writelines(data)
f.close()

View File

@ -0,0 +1,174 @@
# Remove files that shall not be installed from this list.
amd/amd_sev_fam17h_model0xh.sbin
amd/amd_sev_fam17h_model3xh.sbin
amd-ucode/microcode_amd_fam16h.bin
amd-ucode/microcode_amd.bin
amd-ucode/microcode_amd_fam17h.bin
amd-ucode/microcode_amd_fam15h.bin
amdgpu/polaris10_mec2_2.bin
amdgpu/polaris12_k_mc.bin
amdgpu/polaris12_k_smc.bin
amdgpu/polaris10_mec.bin
amdgpu/polaris10_mc.bin
amdgpu/polaris11_me_2.bin
amdgpu/polaris11_mec_2.bin
amdgpu/polaris11_vce.bin
amdgpu/polaris12_pfp_2.bin
amdgpu/polaris11_k2_smc.bin
amdgpu/polaris10_vce.bin
amdgpu/polaris11_sdma1.bin
amdgpu/polaris10_mec2.bin
amdgpu/polaris12_mec2_2.bin
amdgpu/polaris11_k_smc.bin
amdgpu/polaris11_sdma.bin
amdgpu/polaris11_pfp.bin
amdgpu/polaris12_rlc.bin
amdgpu/polaris10_k_mc.bin
amdgpu/polaris11_rlc.bin
amdgpu/polaris12_pfp.bin
amdgpu/polaris11_k_mc.bin
amdgpu/polaris10_smc.bin
amdgpu/polaris11_pfp_2.bin
amdgpu/polaris11_smc_sk.bin
amdgpu/polaris10_sdma.bin
amdgpu/polaris12_sdma.bin
amdgpu/polaris12_mec2.bin
amdgpu/polaris11_mc.bin
amdgpu/polaris12_me_2.bin
amdgpu/polaris10_mec_2.bin
amdgpu/polaris10_pfp_2.bin
amdgpu/polaris10_k2_smc.bin
amdgpu/polaris12_uvd.bin
amdgpu/polaris12_ce_2.bin
amdgpu/polaris10_sdma1.bin
amdgpu/polaris10_rlc.bin
amdgpu/polaris11_mec2_2.bin
amdgpu/polaris11_uvd.bin
amdgpu/polaris12_ce.bin
amdgpu/polaris11_mec2.bin
amdgpu/polaris10_me_2.bin
amdgpu/polaris11_smc.bin
amdgpu/polaris12_mec_2.bin
amdgpu/polaris11_ce.bin
amdgpu/polaris10_k_smc.bin
amdgpu/polaris11_mec.bin
amdgpu/polaris10_pfp.bin
amdgpu/polaris12_me.bin
amdgpu/polaris10_uvd.bin
amdgpu/polaris12_mc.bin
amdgpu/polaris12_vce.bin
amdgpu/polaris12_sdma1.bin
amdgpu/polaris11_ce_2.bin
amdgpu/polaris10_ce.bin
amdgpu/polaris10_me.bin
amdgpu/polaris12_mec.bin
amdgpu/polaris12_smc.bin
amdgpu/polaris10_smc_sk.bin
amdgpu/polaris11_me.bin
amdgpu/polaris10_ce_2.bin
intel/ibt-19-0-0.ddc
intel/ibt-20-0-3.ddc
intel/ice/ddp/ice-1.3.16.0.pkg
intel/ice/ddp/ice.pkg
intel/ice/ddp-comms/ice_comms-1.3.20.0.pkg
intel/ibt-19-32-4.ddc
intel/dsp_fw_bxtn_v3366.bin
intel/ibt-17-16-1.ddc
intel/dsp_fw_release_v3402.bin
intel/ibt-18-2.sfi
intel/dsp_fw_kbl_v701.bin
intel/ibt-11-5.ddc
intel/dsp_fw_kbl_v2042.bin
intel/ibt-17-2.ddc
intel/ibt-19-32-1.sfi
intel/dsp_fw_cnl_v1858.bin
intel/ibt-19-0-0.sfi
intel/ibt-17-1.sfi
intel/ibt-11-5.sfi
intel/ibt-19-0-1.sfi
intel/dsp_fw_kbl.bin
intel/ibt-hw-37.8.10-fw-1.10.2.27.d.bseq
intel/ibt-18-1.sfi
intel/dsp_fw_glk_v1814.bin
intel/ibt-19-240-1.sfi
intel/dsp_fw_glk_v2768.bin
intel/ibt-18-16-1.ddc
intel/ibt-18-0-1.sfi
intel/ibt-18-0-1.ddc
intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
intel/ibt-18-16-1.sfi
intel/ibt-19-32-0.sfi
intel/dsp_fw_cnl.bin
intel/ibt-hw-37.7.bseq
intel/dsp_fw_release_v969.bin
intel/dsp_fw_cnl_v1191.bin
intel/ibt-20-1-4.ddc
intel/ibt-19-32-1.ddc
intel/ibt-hw-37.7.10-fw-1.0.2.3.d.bseq
intel/ibt-19-32-4.sfi
intel/fw_sst_22a8.bin
intel/ibt-17-1.ddc
intel/ibt-19-240-4.ddc
intel/ibt-19-0-4.sfi
intel/ibt-19-16-4.sfi
intel/irci_irci_ecr-master_20161208_0213_20170112_1500.bin
intel/IntcSST2.bin
intel/ibt-19-32-0.ddc
intel/fw_sst_0f28_ssp0.bin
intel/ibt-12-16.sfi
intel/dsp_fw_glk_v2880.bin
intel/ibt-hw-37.7.10-fw-1.80.1.2d.d.bseq
intel/ibt-20-1-3.sfi
intel/ibt-17-0-1.ddc
intel/ibt-17-2.sfi
intel/ibt-19-240-4.sfi
intel/dsp_fw_kbl_v1037.bin
intel/dsp_fw_glk.bin
intel/dsp_fw_release.bin
intel/dsp_fw_bxtn_v2219.bin
intel/dsp_fw_bxtn.bin
intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
intel/ibt-17-0-1.sfi
intel/ibt-19-0-4.ddc
intel/ibt-19-0-1.ddc
intel/ibt-12-16.ddc
intel/dsp_fw_kbl_v3402.bin
intel/ibt-19-16-4.ddc
intel/ibt-18-1.ddc
intel/ibt-19-240-1.ddc
intel/dsp_fw_glk_v3366.bin
intel/ipu3-fw.bin
intel/fw_sst_0f28.bin-48kHz_i2s_master
intel/dsp_fw_kbl_v2630.bin
intel/ibt-hw-37.7.10-fw-1.0.1.2d.d.bseq
intel/ibt-17-16-1.sfi
intel/ibt-20-1-4.sfi
intel/dsp_fw_kbl_v3266.bin
intel/ibt-20-0-3.sfi
intel/fw_sst_0f28.bin
intel/ibt-20-1-3.ddc
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
intel/ibt-hw-37.8.bseq
intel/dsp_fw_kbl_v3420.bin
intel/ibt-18-2.ddc
meson/vdec/g12a_hevc_mmu.bin
meson/vdec/sm1_hevc_mmu.bin
meson/vdec/gxl_mjpeg.bin
meson/vdec/gxl_h263.bin
meson/vdec/gxl_vp9.bin
meson/vdec/gxl_hevc_mmu.bin
meson/vdec/gxl_hevc.bin
meson/vdec/g12a_h264.bin
meson/vdec/gxl_mpeg4_5.bin
meson/vdec/gxbb_h264.bin
meson/vdec/gxm_h264.bin
meson/vdec/g12a_vp9.bin
meson/vdec/sm1_vp9_mmu.bin
meson/vdec/gxl_h264.bin
meson/vdec/gxl_mpeg12.bin
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx25840.fw

File diff suppressed because it is too large Load Diff