Commit Graph

2669 Commits

Author SHA1 Message Date
42a5e6becb Enable parallel gzip for faster Docker pulls (#4123)
* Bump buildroot to update package/pigz

* Enable parallel gzip for faster Docker pulls

Docker checks if unpigz is available, and if so uses it to unpack
container layers with multiple CPU cores. This should make Docker pulls
faster, especially on lower end hardware.
2025-06-25 17:09:50 +02:00
b863427a52 Bump Buildroot to 2025.02.4 (#4122)
* buildroot 49ec2543bf...8ee621588f (2):
  > Revert "package/openvmtools: add upstream security patch for CVE-2025-22247"
  > Merge tag '2025.02.4' into 2025.02.x-haos
2025-06-24 14:48:35 +02:00
0aa4a129cb Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 (#4118)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-23 19:53:17 +02:00
b25fce69b6 Enable Intel IXGBE driver, clean up Intel NIC config options (#4115)
Enable Intel NIC support only in the PCI include fragment and keep VF-related
options enabled only in the OVA config.

Refs #4021
2025-06-23 15:39:47 +02:00
98a7a55df6 Fix flaky timeout after boot slot switching test (#4113)
Add timeout to expect call when waiting for the OS reboot after
switching slots. While it never fails for me locally, it regularly
breaks tests in GHA.
2025-06-23 15:39:35 +02:00
f5efac66a0 Backport patch making num_entries in systemd-journal-gatewayd optional (#4116)
Since update to Systemd v256.x the Range header requires the num_entries part
and fails if it's not provided, which we worked around by [1]. With this patch
that was already accepted upstream, the workaround shouldn't be necessary
anymore.

[1] https://github.com/home-assistant/supervisor/pull/5827
2025-06-23 15:34:08 +02:00
69d5fb0c99 Update request feature link (#4114) 2025-06-23 13:19:35 +02:00
6528e3e959 Update open-vm-tools to v13.0.0 (#4111)
* buildroot c3c769f53b...49ec2543bf (1):
  > package/openvmtools: bump to version 13.0.0

Fixes #4069
2025-06-20 15:25:36 +02:00
90d36147f7 Add tests for OS update and boot slot switching (#4108)
Add test that OS update works - use the whole stack using CLI to update to the
latest stable version (unless executed manually on the latest stable release,
this version should never be the same as the currently tested one).

With this test in place, we can also test command for switching the slots, so
add an extra test for that too.

Fixes #4103
2025-06-20 10:20:29 +02:00
98a3386b32 Add firmware for Intel AX211D2W Wi-Fi card (#4106)
* buildroot 30ef1047d9...c3c769f53b (1):
  > package/linux-firmware: add firmware for Intel Ma models

Fixes #4074
2025-06-20 10:07:13 +02:00
6f854b67b0 Add Marvell 88E1XXX driver for x86-64 (#4105)
Add driver for Marvell PHYs, such as 88E1543(4L) on an ASRock C3758D4I-4L
board. Adding it to x86 config only, as it seems it's not widely used anywhere
else.

Fixes #4025
2025-06-20 10:05:25 +02:00
19b848cbbd Linux: Update kernel to 6.12.34 (#4109)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.34
2025-06-20 09:57:10 +02:00
5e36e681ae Remove bug label from the bug report issue template (#4104)
Same reasoning as in home-assistant/supervisor#5955, don't apply any labels or
issue types before triaging.
2025-06-17 16:29:39 +02:00
9431351036 Add Intel Cannon Lake pinctrl driver (#4091)
Add pinctrl driver for board like CBx2 (a former chromebox with a Cannon Lake Intel Celeron).
2025-06-16 19:07:05 +02:00
cc265b9e2b Bump docker/setup-buildx-action from 3.10.0 to 3.11.0 (#4100)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 3.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-16 16:50:39 +02:00
59a2e43282 Merge branch 'main' into dev 2025-06-16 10:52:14 +02:00
5d070c84a4 Bump Hailo driver and firmware to v4.21.0 (#4095)
Bump Hailo stuff to the latest version. While this is a breaking change for
add-ons depending on the driver, the most commonly used one (i.e. Frigate)
didn't bump to v4.20.1 on their stable channel either, so it shouldn't have
significant impact. We agreed with @blakeblackshear that once HAOS bumps the
Hailo driver in HAOS 16, Frigate will follow.
2025-06-12 17:29:56 +02:00
79e3a016c4 Linux: Update kernel to 6.12.33 (#4094)
* Linux: Update kernel to 6.12.33

* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.31
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.32
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.33

* Rebase r8169 patch to apply cleanly after changes from v6.12.31
2025-06-12 12:48:23 +02:00
3a7e479111 Bump docker/build-push-action from 6.17.0 to 6.18.0 (#4088)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-03 10:29:52 +02:00
3e3372b7dc Remove old migrations from RAUC hook (#4083)
As we're moving to another major release and 15.2 will be mandated update
before 16.0, we can (or even must) remove some old migrations.
2025-05-28 17:06:52 +02:00
cf970a5b63 Disable reverse DNS lookups for Dropbear (#4076)
This fixes slow SSH login isues caused by reverse DNS (PTR) lookups as
reported in #3768.
2025-05-28 16:23:55 +02:00
febd54d8fd Bump OS to development version 16.0.dev0 2025-05-28 16:17:11 +02:00
17b8c18c89 Backport systemd-journal-gatewayd patch adding /boots endpoint (#4081)
Backport /boots endpoint for Systemd so we can use it in Supervisor to get the
actual list of boots. Should be available upstream since Systemd v258, for v256
minor tweaks were needed.
2025-05-28 13:34:06 +02:00
5a000cbba3 Remove execute bit from green_defconfig (#4077)
I believe it was added by accident, none of the other defconfig files
have it set.
2025-05-27 08:25:25 +02:00
487ae21e01 Linux: Update kernel to 6.12.30 (#4078)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.30
2025-05-26 18:34:25 +02:00
0f5934c9da Bump docker/build-push-action from 6.16.0 to 6.17.0 (#4075)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.16.0...v6.17.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 16:04:23 +02:00
972f575039 Linux: Update kernel to 6.12.29 (#4072)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.29
2025-05-19 16:04:00 +02:00
f127428e4e Bump buildroot to 2025.02.3 (#4073)
* buildroot 62bf5c5af5...30ef1047d9 (1):
  > Merge tag '2025.02.3' into 2025.02.x-haos
2025-05-19 16:03:24 +02:00
834c51ca84 Create VM image .zip files in parallel using pigz (#4067)
When creating OVA image, the CPU is slacking at the end of the build because it
is creating three ZIP archives, each one on a single CPU only. As we're
creating only single-entry archives, we can use pigz to use all cores.

The actual speedup on my machine (16C/32T) reflects the number of cores - it
takes around 2 seconds instead of 1 minute.
2025-05-19 12:43:23 +02:00
5ebc3a0761 Fix RPi pre-image build hook with rpi-eeprom enabled (#4066)
Do not attempt to copy EEPROM update files to the boot partition, as they're
not created build-time anymore.
2025-05-19 12:43:16 +02:00
0c758df759 Remove unused FW_LOADER_USER_HELPER in Rockchip base config (#4065)
Since
127c420335
change in package/systemd, this option is patched by systemd build because
userspace FW loading has never been supported with Systemd. This should have no
runtime effect, just clear the warning about disabled option.
2025-05-14 22:05:28 +02:00
a13700196c Fix hassio channel switching for dev builds (#4064)
Fix build job to write config option for channel switching from #4043 to the
actual config. As it was written to .config in the top-level build directory,
it was never correctly applied.
2025-05-14 22:05:13 +02:00
65fdef963c Enable usage of rpi-eeprom-update on Raspberry Pi 4/5/Yellow (#4063)
* package/vcgencmd: add tool for RPi VideoCore commands

This tool is used by rpi-eeprom-update and is fairly lightweight binary without
dependencies. Use it as-is from raspberry/utils repo.

* package/rpi-eeprom: change package to install EEPROM userspace scripts

* configs: enable rpi-eeprom for rpi4, rpi4-64, rpi5-64 and yellow

On Pi5 and Yellow also enable flashrom so the firmware can be installed
directly without recovery being involved. On Yellow/CM4 this can't be done
without config.txt changes though (SPI and pinmuxing needs to be enabled) but
the image is shared there and users may eventually use the tools if they want,
so install BCM2711 on Yellow too. The "officially recommended" method is
rpiboot though, which is also documented in Yellow docs.
2025-05-14 17:25:29 +02:00
9803d41b2f Enable PCI I/O virtualization in kernel (#4002)
* enable SR-IOV driver support for a few NICs

* Adjust config comment

---------

Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
2025-05-14 17:25:10 +02:00
d749bb70b4 Add device-specific symlinks for WiFi firmware on Yellow (#4058)
Because we use custom compatible strings in Yellow DTS's, the firmware loader
first attempts to load a firmware with this compatible in its name. Because it
doesn't exists, it shows error like this one before falling back to a more
generic one:

brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-compute-module-ha-yellow.bin failed with error -2

While these errors are mostly harmless, add symlinks with our compatible in the
name to suppress them. Instead of patching upstream
package/brcmfmac_sdio-firmware-rpi which installs the firmware files, add them
to yellow overlay to make maintenance easier.
2025-05-12 17:20:57 +02:00
614490ef00 Linux: Update kernel to 6.12.28 (#4061)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.28
2025-05-12 17:20:44 +02:00
e720f5be8f Add missing compatible/model to Yellow+CM5 DTS (#4057)
The refactored DTS from #4036 was missing compatible and model strings for CM5
on Yellow. While this shouldn't cause any issues, add them back.
2025-05-12 17:20:32 +02:00
0800deccec Add brcmfmac module options to improve RPi WiFi stability (#4056)
Latest RPi firmware package contains module options that supposedly improve
stability, with details described in [1].

Since the feature_disable mask also disables the dump_obss feature, this change
would also mitigate `brcmf_set_channel: set chanspec ... fail` messages still
seen in some environments even after #3719.

Fixes #3367

[1] 2788cb549a
2025-05-06 23:49:43 +02:00
604f95539b Update RPi WiFi firmware to latest version from RPi OS (#4055)
Update to latest binary of 43455 firmware and add missing symlinks which
suppress warnings/file not found errors when loading the firmware on CM5.

* buildroot 50fcf58bfa...62bf5c5af5 (2):
  > package/brcmfmac_sdio-firmware-rpi: add CM5/Pi 500 symlinks to 43455 FW
  > package/brcmfmac_sdio-firmware-rpi: bump version to 4eec7f2
2025-05-06 23:17:38 +02:00
0421bd0078 RaspberryPi: Update kernel to 6.12.25 - 3dd2c2c507c271d411fab2e82a2b3b7e0b6d3f16 (#4052)
* RaspberryPi: Update kernel to 6.12.25 - 3dd2c2c507c271d411fab2e82a2b3b7e0b6d3f16

* Update package/rpi-firmware for 6.12.25

* buildroot cd82256125...50fcf58bfa (1):
  > package/rpi-firmware: bump version to bc7f439 (1.20250430)
2025-05-06 13:58:52 +02:00
055e123449 Linux: Update kernel to 6.12.27 (#4050)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.26
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.27
2025-05-05 17:37:12 +02:00
6ec77b845d Fix U-Boot config to access all RAM on 16 GB CM5 (#4045)
* Fix U-Boot config to access all RAM on 16 GB CM5

U-Boot defconfig used for Yellow checks only 4 DRAM banks, however, CM5 with 16
GB has the memory spread across 8 banks. Add a patch (submitted upstream) to
the defconfig to get access to the whole RAM.

Fixes #3989

* Add Upstream tag with link to uboot patchwork
2025-05-01 22:53:47 +02:00
257a96b39a Linux: Update kernel to 6.12.25 (#4044)
* Linux: Update kernel to 6.12.25

* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.25

* Remove drm/amd patch merged to v6.12.25
2025-04-29 10:06:32 +02:00
ed0fa1a93b Allow to override update channel for build, use dev for dev builds (#4043)
Add input allowing to override the channel that's used for hassio image
downloads and in runtime for Supervisor updates, building on the option added
in #3618.

The new default is dev for dev builds, for GH releases keep using the stable
channel both for releases and pre-releases (so we could catch any stable issues
before beta is moved to stable).

To keep it DRY and idiomatic, create a new in-repo GH action for running
commands in the build container.
2025-04-29 10:06:08 +02:00
d38f47d3f9 Bump docker/build-push-action from 6.15.0 to 6.16.0 (#4042)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.15.0 to 6.16.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6.15.0...v6.16.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-29 09:57:46 +02:00
ccc4b9b040 Make usage of top-level make easier, drop 'all' target (#4040)
* Make usage of top-level make easier, drop 'all' target

Make it easier when using top-level make - proxy all possible commands to
Buildroot make and only wrap build for individual target builds. This way it's
still possible to run e.g. 'make ova' which would read the defconfig and run
the build, while we can also use the top-level make in the same way as it's in
vanilla Buildroot.

Target 'all' was dropped in favor of Buildroot 'make' without any arguments -
as it's fairly pointless to run all builds sequentially. With the current 19
targets it would take about a day even on a decent hardware and the build
artifacts would be lost in the process.

* Show warning only if BR2_DEFCONFIG changes

* Wait for 10s or input if defconfig differs
2025-04-27 14:03:50 +02:00
9e8e9ce773 Fall back to buildroot make in top-level make (#4039)
* Fall back to buildroot make in top-level make

To make running Buildroot commands easier, define .DEFAULT rule and fall back
to targets from Buildroot with necessary variables set. This makes
"savedefconfig" redundant as it's been simply passed to BR.

* Also implicitly fall back to 'clean' target

* Fix typo
2025-04-25 14:39:01 +02:00
dbf7d46d5b Use bcm2711 defconfig instead of removed bcmrpi3 for RPi 3 64-bit (#4038)
bcmrpi3_defconfig we used for RPi 3 was removed in [1], as it was not used for
any RPi builds and was "unsupported". Switch to bcm2711_defconfig as that is
what RPi OS kernel is built from per [2].

[1] 7713244d3b
[2] https://www.raspberrypi.com/documentation/computers/linux_kernel.html#native-build-configuration
2025-04-24 15:44:27 +02:00
c6338f1576 Update RPi kernel to 6.12.20 (#4036)
* Update RPi kernel to 6.12.20

Update to latest stable RPi kernel and remove unnecessary 6.6.y kernel config
fragments.

* Refresh RPi and Yellow patches

Rebase all patches on 6.12.20, remove patches that are already present
upstream.

* Update Yellow device trees for 6.12.20

Upstream changes broke our downstream device trees. While the CM4 fix was
trivial, there were more changes in the CM5 device tree due to adaptation to
upstream code. To simplify future maintenance, DTS was refactored to reuse CM5
DTS include and override only what's necessary.

* Bump buildroot to update to matching package/rpi-firmware

* buildroot ead21eb6d2...cd82256125 (1):
  > package/rpi-firmware: bump version to f49a396 (1.20250326)
2025-04-23 19:01:50 +02:00
b1a3106907 Linux: Update kernel to 6.12.24 (#4035)
* https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.24
2025-04-23 09:21:21 +02:00