This is the 20230625 release
Makefile, copy-firmware: support xz/zstd compressed firmware

The kernel has supported compressed firmware for quite some time. So
let's add a couple of targets to produce that. In practical terms this
means it we'll use ~5x times less space on disk.

Reportedly the amd ucode, needs to be uncompressed _within_ the
initrd in order to work. Using compressed ucode in late load just works.
Ideally this will be addressed by the initrd generators, but considering
the files are tiny in size let's skip the compression.

v2
 - commit message, skip compression for files annotated as Raw

v3
 - rebase

[Drop extra verbose statement in zstd case, Josh Boyer
<jwboyer@kernel.org>]

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
3 files changed
tree: 5866ac612bcfb7f69240bc1bf97d2ed0af0c2f1b
  1. 3com/
  2. acenic/
  3. adaptec/
  4. advansys/
  5. amd/
  6. amd-ucode/
  7. amdgpu/
  8. amphion/
  9. ar3k/
  10. ath10k/
  11. ath11k/
  12. ath6k/
  13. ath9k_htc/
  14. atmel/
  15. atusb/
  16. av7110/
  17. bnx2/
  18. bnx2x/
  19. brcm/
  20. cadence/
  21. carl9170fw/
  22. cavium/
  23. cirrus/
  24. cis/
  25. cnm/
  26. cpia2/
  27. cxgb3/
  28. cxgb4/
  29. cypress/
  30. dabusb/
  31. dpaa2/
  32. dsp56k/
  33. e100/
  34. edgeport/
  35. emi26/
  36. emi62/
  37. ene-ub6250/
  38. ess/
  39. go7007/
  40. i915/
  41. imx/
  42. inside-secure/
  43. intel/
  44. isci/
  45. kaweth/
  46. keyspan/
  47. keyspan_pda/
  48. korg/
  49. libertas/
  50. liquidio/
  51. matrox/
  52. mediatek/
  53. mellanox/
  54. meson/
  55. microchip/
  56. moxa/
  57. mrvl/
  58. mwl8k/
  59. mwlwifi/
  60. myricom/
  61. netronome/
  62. nvidia/
  63. nxp/
  64. ositech/
  65. qca/
  66. qcom/
  67. qed/
  68. qlogic/
  69. r128/
  70. radeon/
  71. rockchip/
  72. rsi/
  73. RTL8192E/
  74. rtl_bt/
  75. rtl_nic/
  76. rtlwifi/
  77. rtw88/
  78. rtw89/
  79. sb16/
  80. slicoss/
  81. sun/
  82. sxg/
  83. tehuti/
  84. ti/
  85. ti-connectivity/
  86. ti-keystone/
  87. tigon/
  88. ttusb-budget/
  89. ueagle-atm/
  90. usbdux/
  91. vicam/
  92. vxge/
  93. wfx/
  94. yam/
  95. yamaha/
  96. agere_ap_fw.bin
  97. agere_sta_fw.bin
  98. ar5523.bin
  99. ar7010.fw
  100. ar7010_1_1.fw
  101. ar9170-1.fw
  102. ar9170-2.fw
  103. ar9271.fw
  104. as102_data1_st.hex
  105. as102_data2_st.hex
  106. ath3k-1.fw
  107. carl9170-1.fw
  108. cbfw-3.2.5.1.bin
  109. check_whence.py
  110. cmmb_vega_12mhz.inp
  111. cmmb_venice_12mhz.inp
  112. configure
  113. copy-firmware.sh
  114. ct2fw-3.2.5.1.bin
  115. ctefx.bin
  116. ctfw-3.2.5.1.bin
  117. ctspeq.bin
  118. dvb-fe-xc4000-1.4.1.fw
  119. dvb-fe-xc5000-1.6.114.fw
  120. dvb-fe-xc5000c-4.1.30.7.fw
  121. dvb-usb-dib0700-1.20.fw
  122. dvb-usb-it9135-01.fw
  123. dvb-usb-it9135-02.fw
  124. dvb-usb-terratec-h5-drxk.fw
  125. dvb_nova_12mhz.inp
  126. dvb_nova_12mhz_b0.inp
  127. f2255usb.bin
  128. GPL-2
  129. GPL-3
  130. hfi1_dc8051.fw
  131. hfi1_fabric.fw
  132. hfi1_pcie.fw
  133. hfi1_sbus.fw
  134. htc_7010.fw
  135. htc_9271.fw
  136. isdbt_nova_12mhz.inp
  137. isdbt_nova_12mhz_b0.inp
  138. isdbt_rio.inp
  139. iwlwifi-100-5.ucode
  140. iwlwifi-1000-5.ucode
  141. iwlwifi-105-6.ucode
  142. iwlwifi-135-6.ucode
  143. iwlwifi-2000-6.ucode
  144. iwlwifi-2030-6.ucode
  145. iwlwifi-3160-17.ucode
  146. iwlwifi-3168-29.ucode
  147. iwlwifi-3945-2.ucode
  148. iwlwifi-4965-2.ucode
  149. iwlwifi-5000-5.ucode
  150. iwlwifi-5150-2.ucode
  151. iwlwifi-6000-4.ucode
  152. iwlwifi-6000g2a-6.ucode
  153. iwlwifi-6000g2b-6.ucode
  154. iwlwifi-6050-5.ucode
  155. iwlwifi-7260-17.ucode
  156. iwlwifi-7265-17.ucode
  157. iwlwifi-7265D-29.ucode
  158. iwlwifi-8000C-34.ucode
  159. iwlwifi-8000C-36.ucode
  160. iwlwifi-8265-34.ucode
  161. iwlwifi-8265-36.ucode
  162. iwlwifi-9000-pu-b0-jf-b0-34.ucode
  163. iwlwifi-9000-pu-b0-jf-b0-38.ucode
  164. iwlwifi-9000-pu-b0-jf-b0-46.ucode
  165. iwlwifi-9260-th-b0-jf-b0-34.ucode
  166. iwlwifi-9260-th-b0-jf-b0-38.ucode
  167. iwlwifi-9260-th-b0-jf-b0-46.ucode
  168. iwlwifi-cc-a0-50.ucode
  169. iwlwifi-cc-a0-59.ucode
  170. iwlwifi-cc-a0-66.ucode
  171. iwlwifi-cc-a0-72.ucode
  172. iwlwifi-cc-a0-73.ucode
  173. iwlwifi-cc-a0-74.ucode
  174. iwlwifi-cc-a0-77.ucode
  175. iwlwifi-Qu-b0-hr-b0-50.ucode
  176. iwlwifi-Qu-b0-hr-b0-59.ucode
  177. iwlwifi-Qu-b0-hr-b0-66.ucode
  178. iwlwifi-Qu-b0-hr-b0-72.ucode
  179. iwlwifi-Qu-b0-hr-b0-73.ucode
  180. iwlwifi-Qu-b0-hr-b0-74.ucode
  181. iwlwifi-Qu-b0-hr-b0-77.ucode
  182. iwlwifi-Qu-b0-jf-b0-50.ucode
  183. iwlwifi-Qu-b0-jf-b0-59.ucode
  184. iwlwifi-Qu-b0-jf-b0-66.ucode
  185. iwlwifi-Qu-b0-jf-b0-72.ucode
  186. iwlwifi-Qu-b0-jf-b0-73.ucode
  187. iwlwifi-Qu-b0-jf-b0-74.ucode
  188. iwlwifi-Qu-b0-jf-b0-77.ucode
  189. iwlwifi-Qu-c0-hr-b0-50.ucode
  190. iwlwifi-Qu-c0-hr-b0-59.ucode
  191. iwlwifi-Qu-c0-hr-b0-66.ucode
  192. iwlwifi-Qu-c0-hr-b0-72.ucode
  193. iwlwifi-Qu-c0-hr-b0-73.ucode
  194. iwlwifi-Qu-c0-hr-b0-74.ucode
  195. iwlwifi-Qu-c0-hr-b0-77.ucode
  196. iwlwifi-Qu-c0-jf-b0-50.ucode
  197. iwlwifi-Qu-c0-jf-b0-59.ucode
  198. iwlwifi-Qu-c0-jf-b0-66.ucode
  199. iwlwifi-Qu-c0-jf-b0-72.ucode
  200. iwlwifi-Qu-c0-jf-b0-73.ucode
  201. iwlwifi-Qu-c0-jf-b0-74.ucode
  202. iwlwifi-Qu-c0-jf-b0-77.ucode
  203. iwlwifi-QuZ-a0-hr-b0-50.ucode
  204. iwlwifi-QuZ-a0-hr-b0-59.ucode
  205. iwlwifi-QuZ-a0-hr-b0-66.ucode
  206. iwlwifi-QuZ-a0-hr-b0-72.ucode
  207. iwlwifi-QuZ-a0-hr-b0-73.ucode
  208. iwlwifi-QuZ-a0-hr-b0-74.ucode
  209. iwlwifi-QuZ-a0-hr-b0-77.ucode
  210. iwlwifi-QuZ-a0-jf-b0-50.ucode
  211. iwlwifi-QuZ-a0-jf-b0-59.ucode
  212. iwlwifi-QuZ-a0-jf-b0-66.ucode
  213. iwlwifi-QuZ-a0-jf-b0-72.ucode
  214. iwlwifi-QuZ-a0-jf-b0-73.ucode
  215. iwlwifi-QuZ-a0-jf-b0-74.ucode
  216. iwlwifi-QuZ-a0-jf-b0-77.ucode
  217. iwlwifi-so-a0-gf-a0-72.ucode
  218. iwlwifi-so-a0-gf-a0-73.ucode
  219. iwlwifi-so-a0-gf-a0-74.ucode
  220. iwlwifi-so-a0-gf-a0-77.ucode
  221. iwlwifi-so-a0-gf-a0-78.ucode
  222. iwlwifi-so-a0-gf-a0-79.ucode
  223. iwlwifi-so-a0-gf-a0-81.ucode
  224. iwlwifi-so-a0-gf-a0.pnvm
  225. iwlwifi-so-a0-gf4-a0-72.ucode
  226. iwlwifi-so-a0-gf4-a0-73.ucode
  227. iwlwifi-so-a0-gf4-a0-74.ucode
  228. iwlwifi-so-a0-gf4-a0-77.ucode
  229. iwlwifi-so-a0-gf4-a0-78.ucode
  230. iwlwifi-so-a0-gf4-a0-79.ucode
  231. iwlwifi-so-a0-gf4-a0-81.ucode
  232. iwlwifi-so-a0-gf4-a0.pnvm
  233. iwlwifi-so-a0-hr-b0-72.ucode
  234. iwlwifi-so-a0-hr-b0-73.ucode
  235. iwlwifi-so-a0-hr-b0-74.ucode
  236. iwlwifi-so-a0-hr-b0-77.ucode
  237. iwlwifi-so-a0-hr-b0-79.ucode
  238. iwlwifi-so-a0-hr-b0-81.ucode
  239. iwlwifi-so-a0-jf-b0-72.ucode
  240. iwlwifi-so-a0-jf-b0-73.ucode
  241. iwlwifi-so-a0-jf-b0-74.ucode
  242. iwlwifi-so-a0-jf-b0-77.ucode
  243. iwlwifi-ty-a0-gf-a0-59.ucode
  244. iwlwifi-ty-a0-gf-a0-66.ucode
  245. iwlwifi-ty-a0-gf-a0-72.ucode
  246. iwlwifi-ty-a0-gf-a0-73.ucode
  247. iwlwifi-ty-a0-gf-a0-74.ucode
  248. iwlwifi-ty-a0-gf-a0-77.ucode
  249. iwlwifi-ty-a0-gf-a0-78.ucode
  250. iwlwifi-ty-a0-gf-a0-79.ucode
  251. iwlwifi-ty-a0-gf-a0-81.ucode
  252. iwlwifi-ty-a0-gf-a0.pnvm
  253. lbtf_usb.bin
  254. lgs8g75.fw
  255. LICENCE.Abilis
  256. LICENCE.adsp_sst
  257. LICENCE.agere
  258. LICENCE.atheros_firmware
  259. LICENCE.broadcom_bcm43xx
  260. LICENCE.ca0132
  261. LICENCE.cadence
  262. LICENCE.cavium
  263. LICENCE.cavium_liquidio
  264. LICENCE.chelsio_firmware
  265. LICENCE.cnm
  266. LICENCE.cw1200
  267. LICENCE.cypress
  268. LICENCE.e100
  269. LICENCE.ene_firmware
  270. LICENCE.fw_sst_0f28
  271. LICENCE.go7007
  272. LICENCE.ibt_firmware
  273. LICENCE.IntcSST2
  274. LICENCE.it913x
  275. LICENCE.iwlwifi_firmware
  276. LICENCE.kaweth
  277. LICENCE.Marvell
  278. LICENCE.mediatek
  279. LICENCE.microchip
  280. LICENCE.moxa
  281. LICENCE.myri10ge_firmware
  282. LICENCE.Netronome
  283. LICENCE.nvidia
  284. LICENCE.NXP
  285. LICENCE.OLPC
  286. LICENCE.open-ath9k-htc-firmware
  287. LICENCE.phanfw
  288. LICENCE.qat_firmware
  289. LICENCE.qla1280
  290. LICENCE.qla2xxx
  291. LICENCE.r8a779x_usb3
  292. LICENCE.ralink-firmware.txt
  293. LICENCE.ralink_a_mediatek_company_firmware
  294. LICENCE.rockchip
  295. LICENCE.rtlwifi_firmware.txt
  296. LICENCE.siano
  297. LICENCE.ti-connectivity
  298. LICENCE.ti-keystone
  299. LICENCE.ti-tspa
  300. LICENCE.ueagle-atm4-firmware
  301. LICENCE.via_vt6656
  302. LICENCE.wl1251
  303. LICENCE.xc4000
  304. LICENCE.xc5000
  305. LICENCE.xc5000c
  306. LICENSE.amd-sev
  307. LICENSE.amd-ucode
  308. LICENSE.amdgpu
  309. LICENSE.amlogic_vdec
  310. LICENSE.amphion_vpu
  311. LICENSE.atmel
  312. LICENSE.cirrus
  313. LICENSE.dib0700
  314. LICENSE.hfi1_firmware
  315. LICENSE.i915
  316. LICENSE.ice
  317. LICENSE.ice_enhanced
  318. LICENSE.ipu3_firmware
  319. LICENSE.Lontium
  320. LICENSE.nxp
  321. LICENSE.nxp_mc_firmware
  322. LICENSE.qcom
  323. LICENSE.qcom_yamato
  324. LICENSE.QualcommAtheros_ar3k
  325. LICENSE.QualcommAtheros_ath10k
  326. LICENSE.radeon
  327. LICENSE.sdma_firmware
  328. lt9611uxc_fw.bin
  329. Makefile
  330. mts_cdma.fw
  331. mts_edge.fw
  332. mts_gsm.fw
  333. mts_mt9234mu.fw
  334. mts_mt9234zba.fw
  335. myri10ge_eth_big_z8e.dat
  336. myri10ge_eth_z8e.dat
  337. myri10ge_ethp_big_z8e.dat
  338. myri10ge_ethp_z8e.dat
  339. myri10ge_rss_eth_big_z8e.dat
  340. myri10ge_rss_eth_z8e.dat
  341. myri10ge_rss_ethp_big_z8e.dat
  342. myri10ge_rss_ethp_z8e.dat
  343. phanfw.bin
  344. qat_4xxx.bin
  345. qat_4xxx_mmp.bin
  346. qat_895xcc.bin
  347. qat_895xcc_mmp.bin
  348. qat_c3xxx.bin
  349. qat_c3xxx_mmp.bin
  350. qat_c62x.bin
  351. qat_c62x_mmp.bin
  352. ql2100_fw.bin
  353. ql2200_fw.bin
  354. ql2300_fw.bin
  355. ql2322_fw.bin
  356. ql2400_fw.bin
  357. ql2500_fw.bin
  358. r8a779x_usb3_v1.dlmem
  359. r8a779x_usb3_v2.dlmem
  360. r8a779x_usb3_v3.dlmem
  361. README
  362. rp2.fw
  363. rsi_91x.fw
  364. rt2561.bin
  365. rt2561s.bin
  366. rt2661.bin
  367. rt2860.bin
  368. rt2870.bin
  369. rt3071.bin
  370. rt3290.bin
  371. rt73.bin
  372. s5p-mfc-v6-v2.fw
  373. s5p-mfc-v6.fw
  374. s5p-mfc-v7.fw
  375. s5p-mfc-v8.fw
  376. s5p-mfc.fw
  377. sdd_sagrad_1091_1098.bin
  378. sms1xxx-hcw-55xxx-dvbt-02.fw
  379. sms1xxx-hcw-55xxx-isdbt-02.fw
  380. sms1xxx-nova-a-dvbt-01.fw
  381. sms1xxx-nova-b-dvbt-01.fw
  382. sms1xxx-stellar-dvbt-01.fw
  383. tdmb_nova_12mhz.inp
  384. ti_3410.fw
  385. ti_5052.fw
  386. tlg2300_firmware.bin
  387. usbdux_firmware.bin
  388. usbduxfast_firmware.bin
  389. usbduxsigma_firmware.bin
  390. v4l-cx231xx-avcore-01.fw
  391. v4l-cx23418-apu.fw
  392. v4l-cx23418-cpu.fw
  393. v4l-cx23418-dig.fw
  394. v4l-cx23885-avcore-01.fw
  395. v4l-cx25840.fw
  396. vntwusb.fw
  397. WHENCE
  398. whiteheat.fw
  399. whiteheat_loader.fw
  400. wil6210.brd
  401. wil6210.fw
  402. wsm_22.bin