Up to [local] / src / usr.sbin / fw_update
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 22 12:33:07 2024 UTC (10 days, 6 hours ago) by claudio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)
Add pattern for mwx(4) firmware. OK phessler@ martijn@
Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 4 17:03:06 2024 UTC (2 months, 4 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)
x13s (or other qualcomm machines of that generation) will sometimes boot in ACPI mode, then the qcpas0 driver isn't found. But we want a firmware associated with that device name. So also match for the qcpas firmware on ^ppb0*\"Qualcomm SC8280XP PCIe\" ok phessler kettenis
Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 27 15:15:01 2024 UTC (4 months ago) by phessler
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)
firmware for qwx(4) devices
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Jul 24 19:33:26 2023 UTC (10 months, 1 week ago) by bluhm
Branch: OPENBSD_7_2
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
BOOTARG_UCODE for AMD from jsg@; ok deraadt@ update AMD CPU microcode if a newer patch is available from jsg@; ok deraadt@ match AMD x86 CPUs in fw_update(8) from jsg@; ok deraadt@ after the boot block changes on i386, sthen noticed a dmesg change -pci0 at mainbus0 bus 0: configuration mode 1 (bios) +pci0 at mainbus0 bus 0: configuration mode 1 (no bios) deraadt then spent many hours narrowing down the problem to the inline assembly in pciprobe(). It tried to save the carry flag result of pci bios present. But did so after a shift which sets the carry flag. Ask for CF in the output and avoid the shift. from jsg@; ok deraadt@ kettenis@ Set DE_CFG[9] -- a chickenbit which stops Zenbleed. The chickenbit may have other side-effects (not disclosed by AMD), and firmwares fixes may be better (and have other side-effects, same story). Newer processors will probably be validated more carefully by AMD. Issue found by Tavis Ormandy. This is errata 7.2/033_amdcpu.patch.sig and 7.3/011_amdcpu.patch.sig Zenbleed also blocked on select cpus by using errata 7.3/012_amdfirmware.patch.sig + 7.3/013_amdcpufirmware.patch / 7.2/034_amdfirmware.patch.sig + 7.2/035_amdcpufirmware.patch.sig which load AMD cpu firmwares (firmware.openbsd.org is updated often to contain the best firmwares) from deraadt@; ok jsg this is errata/7.2/033_amdcpu.patch.sig errata/7.2/034_amdfirmware.patch.sig errata/7.2/035_amdcpufirmware.patch.sig
Revision 1.8.4.1 / (download) - annotate - [select for diffs], Mon Jul 24 19:31:40 2023 UTC (10 months, 1 week ago) by bluhm
Branch: OPENBSD_7_3
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)
BOOTARG_UCODE for AMD from jsg@; ok deraadt@ update AMD CPU microcode if a newer patch is available from jsg@; ok deraadt@ match AMD x86 CPUs in fw_update(8) from jsg@; ok deraadt@ after the boot block changes on i386, sthen noticed a dmesg change -pci0 at mainbus0 bus 0: configuration mode 1 (bios) +pci0 at mainbus0 bus 0: configuration mode 1 (no bios) deraadt then spent many hours narrowing down the problem to the inline assembly in pciprobe(). It tried to save the carry flag result of pci bios present. But did so after a shift which sets the carry flag. Ask for CF in the output and avoid the shift. from jsg@; ok deraadt@ kettenis@ Set DE_CFG[9] -- a chickenbit which stops Zenbleed. The chickenbit may have other side-effects (not disclosed by AMD), and firmwares fixes may be better (and have other side-effects, same story). Newer processors will probably be validated more carefully by AMD. Issue found by Tavis Ormandy. This is errata 7.2/033_amdcpu.patch.sig and 7.3/011_amdcpu.patch.sig Zenbleed also blocked on select cpus by using errata 7.3/012_amdfirmware.patch.sig + 7.3/013_amdcpufirmware.patch / 7.2/034_amdfirmware.patch.sig + 7.2/035_amdcpufirmware.patch.sig which load AMD cpu firmwares (firmware.openbsd.org is updated often to contain the best firmwares) from deraadt@; ok jsg this is errata/7.3/011_amdcpu.patch.sig errata/7.3/012_amdfirmware.patch.sig errata/7.3/013_amdcpufirmware.patch.sig
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 22 03:46:09 2023 UTC (10 months, 1 week ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)
match AMD x86 CPUs in fw_update(8) ok deraadt@
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 27 22:31:27 2023 UTC (11 months ago) by patrick
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)
Inform fw_update(8) about qcpas(4) pattern. ok kettenis@
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 16 03:09:33 2023 UTC (15 months, 2 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE
Branch point for: OPENBSD_7_3
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)
remove the '(R)' from the intel cpu match pattern Intel(R) does not appear in cpu0: Intel Atom(R) x6425RE Processor @ 1.90GHz, 1895.90 MHz, 06-96-01 reported by patrick@ ok deraadt@
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 24 01:40:22 2023 UTC (16 months, 1 week ago) by jsg
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)
match unknown ATI display devices as amdgpu in fw_update For recent devices amdgpu matches via the hardware ip discovery table, not with a table of pci vendor and product ids. So amdgpu_devlist.h and pcidevs do not cover all devices that amdgpu may match. in dmesg amdgpu with an unknown product takes the form: ramdisk kernel, bios/mbr: vga1 at pci12 dev 0 function 0 vendor "ATI", unknown product 0x687f rev 0xc3 ramdisk kernel, efi or non-x86 arch: vendor "ATI", unknown product 0x687f (class display subclass VGA, rev 0x03) at pci12 dev 0 function 0 not configured non-ramdisk kernel: amdgpu0 at pci12 dev 0 function 0 vendor "ATI", unknown product 0x687f rev 0xc3 ok deraadt@ on an earlier version
Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 6 17:33:27 2022 UTC (17 months, 3 weeks ago) by patrick
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
Install arm64-qcom-dtb upon encountering a qcgpio(4) device. ok phessler@ sthen@ tobhe@
Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 17 13:30:21 2022 UTC (18 months, 2 weeks ago) by tobhe
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)
Add apple-boot firmware for Apple arm64 machines in fw_update(8) patterns. The pattern matches the printed CPU_IMPL_APPLE name as in: cpu0 at mainbus0 mpidr 0: Apple Icestorm Pro r2p0 cpu0 at mainbus0 mpidr 0: Apple Blizzard r1p0 ok deraadt@ afresh@ kettenis@
Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 6 03:12:19 2022 UTC (21 months, 3 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE
Branch point for: OPENBSD_7_2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
match recent Intel CPUs in fw_update(8) Intel CPUs mostly used to have processor name strings of the form cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class) 1.60 GHz, 06-0d-06 cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.61 MHz, 06-3d-04 recent CPUs use cpu0: 11th Gen Intel(R) Core(TM) i5-1130G7 @ 1.10GHz, 30009.37 MHz, 06-8c-01 cpu0: 12th Gen Intel(R) Core(TM) i5-12400, 4390.71 MHz, 06-97-02 cpu0: 12th Gen Intel(R) Core(TM) i7-1260P, 1995.55 MHz, 06-9a-03 change pattern used to handle this also covers oddities such as cpu0: Genuine Intel(R) CPU @ 600MHz, 600.10 MHz cpu0: Genuine Intel(R) CPU @ 1.00GHz, 1000.13 MHz, 06-26-01 cpu0: Genuine Intel(R) CPU L2400 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz, 06-0e-08 test chips use "Genuine Intel(R) CPU 0000"
Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 10 07:12:13 2022 UTC (2 years, 2 months ago) by hastings
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)
Inform fw_update(8) about mtw(4) pattern. ok jsg@
Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 29 22:33:43 2022 UTC (2 years, 4 months ago) by afresh1
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)
rtwn and urtwn firmware got better licenses and moved to base
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 5 16:24:29 2022 UTC (2 years, 4 months ago) by deraadt
Branch: MAIN
We are moving back to a shell-script based fw_update, written in such a way that the install script can also run it. This allows earlier retrieval of downloaded firmwares, based upon patterns found in dmesg. many iterations of this in snaps for about a month.