1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-15 07:29:08 +00:00

1222 Commits

Author SHA1 Message Date
Stefan Agner
cc5fe10e53 Load container images descending by size (#2054)
* Load container images descending by size

Loading container images using docker load seems to require more space
at load time (which gets freed after loading). Loading the largest
container first avoids running out of space.
2022-08-16 13:21:20 +02:00
Stefan Agner
592806872f Bump version to 8.5 2022-08-16 11:44:34 +02:00
Stefan Agner
d2a5be9406 Linux: Update kernel 5.15.60 (#2058) 2022-08-16 11:30:51 +02:00
Stefan Agner
429376c9ae Synchronize network time quicker on bootup (#2057)
Currently systemd-timesyncd tries to connect to the NTP server quite
early at boot-up. At this time the network connection has not been
established yet. This causes resolving the NTP server to fail and
a rate limit kicks in which makes systemd-timesyncd wait for 30s until
the next attempt.

Lowering the retry attempt to 10s makes systemd-timesyncd connecting
shortly after.

Note: The rate limit is 10 attempts per 10s. Because the attempts are
immediately exhausted lowering connection retry attempt below 10s
adds no benefit.

See also: https://github.com/systemd/systemd/issues/24298
2022-08-16 11:30:46 +02:00
Stefan Agner
f62c919a76 Linux: Update kernel 5.15.59 (#2043) 2022-08-16 11:28:37 +02:00
Stefan Agner
558472baa3 Add LED control through device tree overrides (#2038) 2022-08-16 11:27:53 +02:00
Stefan Agner
a38ee172f1 Check if GRUB environment is valid (#2031) (#2036) 2022-08-16 11:25:56 +02:00
Stefan Agner
0ef46fdafa Allow to Wipe essential boot files to trigger boot from USB host (#2034)
This makes the Red+Blue Button cause the boot loader to wipe start4.elf,
which is essential for the boot loader to boot from eMMC. With the file
missing, the Raspberry Pi firmware will continue its boot flow and boot
from USB host next. This allows to run the Home Assistant OS Installer
from a USB flash drive again.
2022-08-16 11:24:22 +02:00
Stefan Agner
67ecb0fb26 Linux: Update kernel 5.15.57 (#2028) 2022-08-16 11:23:41 +02:00
Stefan Agner
2fc225752c Bump version to 8.4 2022-07-23 16:07:17 +02:00
Stefan Agner
5e23a6cc88 Linux: Update kernel 5.15.55 (#2025) 2022-07-23 16:05:31 +02:00
Stefan Agner
29a754ec4f Use yellow machine yellow_defconfig (landingpage) (#2008) 2022-07-08 09:55:05 +02:00
Stefan Agner
2285b7ca04 Bump version to 8.3 2022-07-07 14:53:51 +02:00
Stefan Agner
2a7a917203 Yellow: Enable PL011 console on J11 by default (#2001) 2022-07-07 14:52:39 +02:00
Pascal Vizeli
cbbd65081e Using Yellow for HA images (landingpage) (#1992) 2022-07-07 14:52:25 +02:00
Joakim Sørensen
163ba55028 Use checkonline instead of version for connectivity check (#1991) 2022-07-07 14:52:13 +02:00
Stefan Agner
1675b65b45 Linux: Update kernel 5.15.52 (#2002) 2022-07-07 14:42:55 +02:00
Stefan Agner
da4ba283bb Bump version to 8.2 2022-06-08 22:34:41 +02:00
Stefan Agner
909b66eed3 Increase maximum socket receive and send buffer size (#1964) (#1968)
Some applications try to increase the buffers for performance reason. The
QUIC Go implementation for instance tries to request a 2048 kiB buffer
size.

The kernel default depends on skubuf size (which is architecture
dependent), but it is memory size independet and typically around 200 kiB
(see [1]).

Other network tuning guides suggest 16MiB for 1GB ethernet, as well as
changing the default as well as maximum bufffer size (see [2]). This
conservatively increases the maximum buffer size to 4MiB.

[1]: https://elixir.bootlin.com/linux/v5.15.45/source/include/net/sock.h#L2742
[2]: https://nateware.com/2013/04/06/linux-network-tuning-for-2013/
2022-06-08 22:34:17 +02:00
Stefan Agner
091b4e3a9a Linux: Update kernel 5.15.45 (#1967) 2022-06-08 22:34:11 +02:00
Stefan Agner
306c07b1b1 NVMe patches are applied for all Raspberry Pi based boards now (#1959) 2022-06-08 22:33:48 +02:00
Stefan Agner
ad2f3a3570 Apply NVMe fixes to all Raspberry Pi boards (#1911) (#1957) 2022-06-08 22:33:40 +02:00
Stefan Agner
083d894c50 Linux: Update kernel 5.15.44 (#1951) 2022-06-08 22:33:16 +02:00
Stefan Agner
b4edaef3ba Bump version to 8.1 2022-05-19 21:47:50 +02:00
Stefan Agner
def80b9bbc Make NTP dispatch script executable (#1798) (#1933)
* Make NTP dispatch script executable (#1798)

* Address shellcheck issues
2022-05-19 21:47:50 +02:00
Stefan Agner
c01297a0e5 Avoid using simplefb for generic-x86-64 to fix boot crashes (#1920) (#1930) 2022-05-19 16:37:19 +02:00
Stefan Agner
bcf2adac53 Align GRUB2 disk read buffers to block size to fix boot issues (#1912) (#1929) 2022-05-19 16:37:19 +02:00
Stefan Agner
4305ab6bbd Linux: Update kernel 5.15.41 (#1928) 2022-05-19 16:37:19 +02:00
Jens Maus
882c4a0252 Updat generic_raw_uart packeg to 1.26 to fix issues with HB-RF-USB-2 and HB-RF-ETH (#1927) 2022-05-19 16:37:19 +02:00
Stefan Agner
94662c545a Add NVMe boot support to Generic AArch64 (#1050) (#1918) 2022-05-19 16:37:19 +02:00
Stefan Agner
e90379e2b8 Add open-vm-tools to AArch64 for better VMware support (#1050) (#1915)
* Add open-vm-tools to AArch64 for better VMware support (#1050)

* Bump buildroot

* buildroot 666868435d...de7aa15c65 (1):
  > package/openvmtools: bump version to 11.3.5
2022-05-19 16:37:19 +02:00
Greg Kroah-Hartman
07f2f140a1 Linux: Update kernel 5.15.40 (#1907)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-19 16:37:19 +02:00
Jens Maus
d078152a1c Update qemu-guest-agent to 7.0.0 for improved agent functionality (#1904) 2022-05-19 16:37:19 +02:00
Jens Maus
7f8a74f3d6 Update RPI-RF-MOD/HM-MOD-RPI-PCB/HmIP-RFUSB related packages (#1901) 2022-05-19 16:37:18 +02:00
sol
0eb42d8495 Add support for rtl8821cu WiFi Dongle (#1899)
* Add rtl8821cu driver

* buildroot ee56159464...666868435d (1):
  > Merge pull request #2 from s-ol/fix-usb_modeswitch-systemd

* Add rtl8821cu support to all boards

Signed-off-by: s-ol <s+removethis@s-ol.nu>
Co-authored-by: Stefan Agner <stefan@agner.ch>
2022-05-19 16:37:18 +02:00
Stefan Agner
d8bf7a67a5 Add support RTL88x2BU USB WiFi adapters to OVA (#1903) (#1906) 2022-05-19 16:37:18 +02:00
Stefan Agner
a6f2f81182 Shutdown immeaditly on ACPI Power Button events (#1896) (#1898)
For phyiscal hardware the default Power Button action has been disabled
to avoid accidentally power down the machine.

However, for virtual machine this method is often used to shutdown the
virtual machine gracefully. Use the regular power settings for virtual
machines.
2022-05-19 16:34:15 +02:00
Stefan Agner
80079db997 Set deployment type to production 2022-05-11 10:39:10 +02:00
Stefan Agner
3c5ba17b58 Fix boot issue on Khadas VIM3 (#1894)
Make sure pin controller is enabled.
2022-05-11 10:36:48 +02:00
Stefan Agner
925984c09f Improve GRUB2 boot to also adhere UEFI spec (#1830) (#1893) 2022-05-11 01:51:30 +02:00
Stefan Agner
ba8bda73fa Fix Bluetooth on ASUS Tinker (#1891) (#1892)
* Use upstream Linux driver for Bluetooth on ASUS Tinker

* Drop unnecessary Bluetooth initialization systemd service

Bluetooth is now entirely handled by the kernel.
2022-05-11 01:51:19 +02:00
Stefan Agner
4a42d578fe Linux: Update kernel 5.15.38 (#1890) 2022-05-10 23:29:55 +02:00
Stefan Agner
e98edce5d3 Extend USB storage quirks for Raspberry Pi (#1883)
Add StarTech.com SATA to USB Cable - USB 3.0 to 2.5" SATA III Hard Drive
Adapter.
2022-05-05 18:49:36 +02:00
Stefan Agner
42d4b5f2a2 Linux: Update kernel 5.15.37 (#1882) 2022-05-05 16:53:41 +02:00
Stefan Agner
fdf7823887 Fix booting on certain UEFI systems (#1830) (#1881) 2022-05-05 16:53:26 +02:00
Stefan Agner
87319b6e29 Recreate defconfigs using savedefconfig target (#1876)
* Recreate defconfigs using savedefconfig target

Buildroot allows to generate minimal defconfigs using the savedefconfig
target. Regenerate all our configurations so they all look alive and are
minimalistc.

* Fix generic_aarch64_defconfig
2022-04-27 22:52:15 +02:00
Stefan Agner
d284a1dee7 Small Yellow improvements (#1875)
* Enable additional LED triggers

* Improve Yellow device tree

Fix soundcard name and use BTN_1 as key code.

* Add input-event-daemon configuration

Add minimal input-event-daemon configuration to avoid the default
configuration taking effect. This minimal configuration triggers
the USB configuration import on button press.
2022-04-27 22:51:55 +02:00
Stefan Agner
a9c2eedc71 Handle long-press system keys only (#1874)
Only handle long-press system power, reboot and sleep keys.
2022-04-27 20:33:39 +02:00
Stefan Agner
bd52b7e97b Enable Intel Wireless WiFi DVM Firmware support (#1872) (#1873) 2022-04-27 20:28:17 +02:00
Stefan Agner
46ff688c20 Add Network options required for OpenThread Border Router (#1870)
* Support firewall matching by pkttype

Matching by pkttype is required by the reference OTBR firewall script.

* Add additional Kernel configurations required for OpenThread.
2022-04-27 20:28:02 +02:00