98 Commits

Author SHA1 Message Date
naddy
47a95832a7 unbreak: move check from PERMIT_PACKAGE_* to PERMIT_PACKAGE 2019-07-12 22:55:20 +00:00
sthen
07b41d6e89 move firmware ports from PERMIT.*_(CDROM|FTP) to PERMIT_(DISTFILES|PACKAGE) 2019-07-12 21:34:51 +00:00
jsg
c66f24615e update amdgpu firmware to linux-firmware 20190312
Compared to our previous 20181218 firmware this updates
polaris12 (rx550, wx2100 etc) and adds picasso, raven2 and vega20.

Needed for a planned backport of picasso support.

I tried the latest 20190618 release on vega10 (Vega 56) but that
currently hangs on boot with our linux 4.19 based amdgpu:

amdgpu_device_resize_fb_bar: stub
amdgpu: [powerplay] Failed message: 0x4, input parameter: 0x10, error code: 0xffffffff
WARNING ring->wptr % 2 || count % 2 failed at /usr/src/sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c:1387

ok patrick@ sthen@
2019-07-03 05:25:29 +00:00
bluhm
f668b1bbaa Also ship the firmware for the 06-4f-01 CPU, e.g. this one:
cpu0: Intel(R) Xeon(R) CPU E5-1660 v4 @ 3.20GHz, 3193.06 MHz, 06-4f-01
Intel places the microcode in the intel-ucode-with-caveats directory
on github.  We have checked their recommended Linux patches.  After
adjusting minor issues in our ucode loading, we came to the conclusion
to include 06-4f-01 in the intel cpu firmware updates.
OK jsg@
2019-07-01 14:09:58 +00:00
jsg
b3df9146a4 update intel microcode to 20190618
-- Updates upon 20190514 release --
Processor	      Identifier     Version	   Products
Model	     Stepping F-MO-S/PI	     Old->New
---- new platforms ----------------------------------------

---- updated platforms ------------------------------------
SNB-E/EN/EP  C1/M0    6-2d-6/6d 0000061d->0000061f Xeon E3/E5, Core X
SNB-E/EN/EP  C2/M1    6-2d-7/6d 00000714->00000718 Xeon E3/E5, Core X
2019-06-24 08:09:06 +00:00
sthen
76b3ce449f bump REVISION as the packages I had built didn't have the changed maintainer 2019-05-14 20:40:43 +00:00
jsg
f1c756633e update intel microcode to 20190514
changes VERW instruction to clear CPU buffer

https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00233.html
https://www.intel.com/content/dam/www/public/us/en/documents/corporate-information/SA00233-microcode-update-guidance_05132019.pdf
https://software.intel.com/security-software-guidance/insights/deep-dive-intel-analysis-microarchitectural-data-sampling

take MAINTAINER as suggested by patrick@
2019-05-14 20:34:15 +00:00
sthen
c2f0c931dd Don't set a default MASTER_SITES if download points at github 2019-05-14 20:04:14 +00:00
danj
5154535cdd Remove maintainers per their requests 2019-05-13 16:46:23 +00:00
sthen
5e102b2628 Now that ports-gcc has switched to v8 it's able to build the vmm-firmware
package (seabios), so do so and stop using /usr/bin/gcc.
2019-04-28 14:29:29 +00:00
jsg
a58f2da27b +amdgpu 2019-03-11 05:02:53 +00:00
sthen
2f78dfbf81 update information about build failures with newer gcc, clang and LLD.
note that freebsd are building seabios with current gcc - if we try that
we see "ld: Relocatable linking with relocations from format elf64-x86-64
(out/ccode16.o) to format elf32-i386 (out/code16.o) is not supported".
2019-01-19 12:34:34 +00:00
sthen
5221b944e7 update MASTER_SITES 2019-01-19 12:01:10 +00:00
jsg
b9f7ada813 Use the same linux-firmware distfile as inteldrm and amdgpu for radeondrm.
Remove the firmware paths used by the linux 3.8 based radeondrm.  Unused
since the linux 4.4 based radeondrm was committed in April 2018.
No binary change to the firmware in /etc/firmware/radeon.
2019-01-10 09:53:55 +00:00
jsg
1b9db3c625 import amdgpu firmware for recent amd gpus
ok sthen@
2019-01-08 02:34:50 +00:00
sthen
c420427aa2 link inteldrm to the build 2019-01-07 11:27:11 +00:00
jsg
b37bd99a83 Update inteldrm firmware for the files used by linux 4.19 which will
be the next drm update.  The current version of inteldrm in tree does
not have an attachhook or load firmware.

ok kettenis@ on an earlier version
thanks to sthen@ for mirroring a distfile from a linux-firmware checkout
2019-01-07 00:01:27 +00:00
sthen
b3188a79dd revert messy ld.bfd handling and replace with USE_LLD=No. 2019-01-04 17:01:18 +00:00
claudio
1fe9e91d93 Change vmm-firmware port by adding:
- bootorder support (CONFIG_BOOTORDER=y)
- setting the default for screen-and-debug to 0 since for vmd screen is
  always the serial port (which is used for debug)
- Use a while (len--) inb() loop to read from IO ports instead of 'rep insb'
This will allow to implement fw_cfg support into vmd(4) and through that to
support alternative boot devices.
I tested OpenBSD (disk and cdrom boots) and a Linux guests and all still works.
OK reyk@, sthen@ and mlarkin@
2018-12-10 16:25:17 +00:00
sthen
d10dce65ed seabios/sgabios don't link successfully with ld.lld; force using ld.bfd to unbreak 2018-11-21 00:26:05 +00:00
sthen
ece101d272 switch to the microcode distfile that contains a more sensible license
and install it (older ones were ok, then they released one with a silly
license, changed it pretty quickly and announced that, but didn't
release a replacement distfile until a bit later).

similar diff from jsg
2018-10-16 12:36:26 +00:00
sthen
ace30a66b3 remove stray \ 2018-09-21 10:20:36 +00:00
sthen
28a794c632 additional firmware for rtwn, requested by jmatthew@
switch to linux-firmware for everything, the existing files are identical
2018-09-21 09:49:45 +00:00
sthen
84e06ba671 - Add firmware for RTL8192EU and RTL8192BU from linux-firmware,
requested by jmatthew.

- Switch the source for the existing RTL8188EUFW to linux-firmware.
Retain the old tarball source for others for now as the files have
changed (and there's no matching filename in one case).
2018-09-21 09:26:19 +00:00
sthen
bd110a3d0c remove MASTER_SITES, it was already set to the default from ../Makefile.inc 2018-09-21 08:40:26 +00:00
jsg
b780625243 update intel microcode to 20180807
Adds support for Speculative Store Bypass Disable and should include
changes for Rogue System Register Read which prevents rdmsr from
speculatively returning data.

ok deraadt@
2018-08-08 04:57:41 +00:00
reyk
d8061ce496 Disable BIOS debug messages and turn on SMBIOS.
This includes the following changes:

- Disable debugging in SeaBIOS except of a single version line:
SeaBIOS (version 1.11.0p0-OpenBSD-vmm)

- Turn off all debug messages of the SGABIOS payload
(1.11.0p0-OpenBSD-vmm is all we need to know, it is documented in the
firmware package that it is included in vmm-firmware).

- Enable SMBIOS: this now gives a BIOS version string in the dmesg and
hw.vendor + hw.product sysctl values (you can also query the SMBIOS
with the dmidecode package).  Please note that SeaBIOS sets all SMBIOS
strings to "Bochs Bochs" by default, we include patch-src_fw_smbios_c
to print OpenBSD, VMM, SeaBIOS, and 1.11.0p0-OpenBSD-vmm as the BIOS
version accordingly.

OK sthen@ mlarkin@
2018-07-11 09:09:46 +00:00
jsg
23340a7954 update intel microcode to 20180703
Changes a handful of xeons and doesn't yet include other updates vendors
have been distributing.
2018-07-09 08:21:21 +00:00
sthen
4cac2d003d fix COMMENT, pointed out by weerd@ 2018-06-24 11:37:23 +00:00
jsg
c009df34bd Update to intel 20180425 microcode while waiting for the update
announced in May with INTEL-SA-00115 that still hasn't been released
publically.

ok sthen@
2018-06-15 04:24:22 +00:00
sthen
00076e05b4 mirror the distfile, stupid https 2018-04-26 14:21:55 +00:00
sthen
e2b2240814 update to seabios 1.11.0, ok phessler mlarkin 2018-04-26 12:23:32 +00:00
jsg
d38cedf902 update intel microcode to 20180312
ok sthen@ patrick@
2018-03-17 11:38:06 +00:00
patrick
e0cb16e22d Loading the microcode earlier has apparently fixed naddy@'s issues
on the Skylake-based build servers.  Re-enable and ship the Skylake
microcode updates again.

Requested by naddy@
From and ok sthen@
2018-02-23 07:45:07 +00:00
sthen
5c8fa2975a Skip installing microcode for skylake (family 06, models 4e and 5e,
stepping 03, i.e. files 06-4e-03 and 06-5e-03) for now.

Even with the older files from 20171117 we are still seeing some
problems when these are loaded.
2018-01-21 23:41:42 +00:00
sthen
162000fa7a Drop back to Intel's older 20171117 microcode release. We are seeing issues
on a ports build machine with 20180108 (which Intel are still listing as
the current version).

Instability has been showing up as random build errors, internal compiler
errors etc on one machine which has Xeon E3-1225 v5.

https://downloadcenter.intel.com/download/27337/Linux-Processor-Microcode-Data-File
https://downloadcenter.intel.com/download/27431/Linux-Processor-Microcode-Data-File
2018-01-18 23:15:10 +00:00
jsg
f09fdb45d5 Add new radeon firmware into /etc/firmware/radeon/ retaining the
linux names which reduces the radeondrm diff to linux and avoids
problems with names that differ by case.

This will be used by a future radeondrm update.  The existing
firmware/paths will be included until sometime after that happens.

With help from sthen@
2018-01-15 15:15:42 +00:00
sthen
8e1b8510f0 +intel 2018-01-10 20:54:43 +00:00
sthen
e65a593088 import sysutils/firmware/intel, for intel cpu microcode. updated and slightly
tweaked from a port by patrick@.
2018-01-10 20:53:15 +00:00
sthen
86f46f824b update bwfm firmware, requested by patrick@
CVE-2016-0801 - dropping BRCM proprietary packets received over the air.
CVE-2017-0561 - adding length checks for TDLS action frames.
CVE-2017-9417 - adding length checks for WME IE.

switch to using a tar.xz generated from a full checkout of linux-firmware;
other ports packaging pieces of linux-firmware could be switched over to using
the same file.
2017-12-03 11:47:55 +00:00
ccardenas
c5918823d8 Enable vioscsi support
ok mlarkin@ and sthen@
2017-11-27 22:34:14 +00:00
sthen
f44a40738b depend on the minimum version of open-ath9k-htc-firmware/k2 for the license file 2017-11-19 13:04:00 +00:00
espie
91282d3c2f plist changes still demand REVISION bumps... 2017-11-19 10:00:39 +00:00
bentley
63a86c5c3a Install an additional license file for the new athn firmware.
ok sthen@
2017-11-17 23:50:44 +00:00
bentley
9293bcec1a Install firmwares for athn(4) that have been built from source.
This will allow such potential benefits in the future as debugging
features and the ability to audit the source.

ok stsp@ sthen@
2017-11-06 13:56:01 +00:00
patrick
9d8512a7c8 +bwfm 2017-10-12 09:53:06 +00:00
patrick
378561b791 Import Broadcom FullMAC chipset firmware for bwfm(4).
with and ok sthen@
2017-10-12 09:50:15 +00:00
robert
370428a7ce import of the inteldrm port for creating the firmware package that includes
firmwares for i915/inteldrm

ok ajacoutot@
2017-09-07 15:21:27 +00:00
jca
8e691001c4 Build vmm-firmware with base gcc as a temporary fix.
clang from base errors out:
./src/string.c:24:16: error: invalid output constraint '=Qi' in asm

input from sthen@ and espie@
2017-07-26 22:39:58 +00:00
sthen
f78f214f19 Add a seabios patch from mlarkin to allow detection of >4GB RAM (normally
this requires the qemu config device). vmm parts to come later. ok mlarkin@
2017-07-19 19:33:50 +00:00