Commit Graph

1456 Commits

Author SHA1 Message Date
Stefan Agner
b91d6fc7d1 Bump version to 6.6 6.6 2021-10-26 00:59:05 +02:00
Stefan Agner
0c7b5ceacd Linux: Update kernel 5.10.75 (#1610) 2021-10-26 00:57:18 +02:00
Stefan Agner
2d5e477092 Bump systemd to latest stable release 247.9 (#1598, #1375) (#1608)
Update to systemd 247.9 from 247.3. This includes a fix which addresses
systemd-resolved resolving issues. This might help DNS resolving issues
we see in Home Assistant OS.
See also: https://github.com/systemd/systemd/issues/18917
2021-10-26 00:18:01 +02:00
Stefan Agner
854fe94ab1 Update buildroot to 2021.02.6 (#1607)
* Update buildroot to 2021.02.6

* Renew buildroot-patches

This makes sure that docker-proxy gets bumped to the latest Docker version
as well.
2021-10-25 22:00:01 +02:00
Stefan Agner
a3567cd462 Bump version to 6.5 6.5 2021-10-05 00:15:28 +02:00
Stefan Agner
c5c5b6bcbe Update buildroot to 2021.02.5 (#1566)
Signed-off-by: Stefan Agner <stefan@agner.ch>
2021-10-04 22:00:47 +02:00
Stefan Agner
bd6562edf6 Linux: Update kernel 5.10.70 (#1564) 2021-10-04 10:17:28 +02:00
Stefan Agner
2d526a3d8f Make sure Intel BT gets built as a module (#1558)
CONFIG_BT_HCIBTUSB selects CONFIG_BT_INTEL. That causes CONFIG_BT_INTEL
to be built-in instead of being built as a kernel module.

When the driver is built-in, loading firmware fails during early boot
with the following error message:
[ 1.058941] bluetooth hci0: Direct firmware load for intel/ibt-17-16-1.sfi failed with error -2

Make sure the driver is built as a module which should fix firmware
loading.
2021-10-04 10:17:00 +02:00
Stefan Agner
3dc6801bc2 Bump OS Agent to 1.2.1 (#1559)
This should make the D-Bus method ReloadDevice working and show the
current data disk correctly.
2021-10-04 10:16:40 +02:00
Pascal Vizeli
cbbecc355b Update OS-Agent 1.2.0 & adjust datadisk support (#1554)
* Update OS-Agent & adjust datadisk support

* Update Documentation/partition.md

Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-10-04 10:16:29 +02:00
Stefan Agner
fe1d3fc29a Add USB stall handling for U-Boot (#1011, #1544) (#1553)
Some USB devices cause the USB stack to get stuck with a stall error.
This adds a patch which recovers from this situation.

This avoids an U-Boot crash when Arduino Mega R3 devices are connected,
which cause an USB stall when trying to read the product string.
2021-10-04 10:13:50 +02:00
Stefan Agner
1b639f2248 Bump version to 6.4 6.4 2021-09-09 02:04:38 +02:00
Stefan Agner
08e9eee2c5 Fix buffer overflow when initialize USB keyboard in U-Boot (#1538) (#1541)
When a USB keyboard is connected to Raspberry Pi 32-bit versions of
U-Boot crashed in certain situations just before booting Linux. This
seems to be cause by a buffer overflow when removing the USB keyboard
before hand-over to Linux.
2021-09-09 02:04:00 +02:00
Stefan Agner
72d4656b1f Linux: Update kernel 5.10.62 (#1536) 2021-09-09 02:03:45 +02:00
Stefan Agner
88da93d0d5 Bump version to 6.3 6.3 2021-09-03 16:35:26 +02:00
Stefan Agner
4642552b2f Fix U-Boot USB initialization failure (#1203, #1490) (#1529)
Add a patch to fix a U-Boot issue causing troubles when enumerating USB
devices (required when booting from USB devices).
2021-09-03 16:35:26 +02:00
Stefan Agner
c3c48556ae Linux: Update kernel 5.10.61 for ODROID-N2 (#1512) (#1528)
* Linux: Update kernel 5.10.61 for ODROID-N2 (#1512)

Update the kernel to 5.10.61 for ODROID-N2 and fix the update script
to update kernel for ODROID-N2 next time too.

* Move ODROID kernel patches to non-kernel version specific directory
2021-09-03 13:45:17 +02:00
Stefan Agner
31e6aa07c9 Add Mediatek MT7601U support (#1526) 2021-09-03 13:45:17 +02:00
Stefan Agner
d76d08efa2 Increase minimal free memory for Raspberry Pis (#1525)
The minimal memory reserved parameter vm.min_free_kbytes should be
between 1-3% according to RedHat.

However, the kernel by default reserves around 3MB (e.g. only 3285 on a
32-bit Raspberry Pi 4 2GB installation). This seems to be too low for
network intensive applications such as ours: Under memory pressure
"page allocation failure" on various orders have been observed.

Raspberry Pi OS uses a fixed value of 16MB. Follow this setting for now.

Note: We cannot set this globally for Home Assistant: x86-64 machines
can have quite a bit more memory, which also requires increased
min_free_kbytes parameter. ODROID-N2 on the other hand uses transparent
huge pages: If enabled, the kernel requires higher min_free_kbytes
values, and sets those also by default (e.g. on ODROID-N2+ with 4GB
memory its set to 22528 by default).
2021-09-03 00:28:48 +02:00
Jens Maus
95910387ca Update eq3_char_loop and rpi-rf-mod package to latest (#1517)
Update eq3_char_loop and rpi-rf-mod package to latest versions. Add proper hash files accordingly.
2021-09-03 00:28:12 +02:00
Jens Maus
7b644d87b7 updated generic_raw_uart to latest 1.20 version. (#1516) 2021-09-03 00:28:04 +02:00
Stefan Agner
4bfb3cf10d Linux: Update kernel 5.10.61 (#1512) 2021-09-03 00:27:50 +02:00
Rob VDM
5a8b0ac1a2 Add support for Keyspan USB-Serial adapters (#1509) 2021-09-03 00:27:20 +02:00
Stefan Agner
cbc3e5fa27 Add Intel WiFi firmwares (#1505) (#1506)
Add all available Intel WiFi firmwares.
2021-09-03 00:26:34 +02:00
Stefan Agner
50392b5b86 Enable HDMI CEC drivers for ODROID-N2 (#1216) (#1497) 2021-09-03 00:24:55 +02:00
Stefan Agner
b21b821ddf Fix Ralink RT73 package selection (#1496) 2021-09-03 00:24:05 +02:00
Stefan Agner
82764e7822 Update buildroot to 2021.02.4 (#1522)
Signed-off-by: Stefan Agner <stefan@agner.ch>
2021-09-03 00:20:44 +02:00
Stefan Agner
382a3cc7be Bump version to 6.2 6.2 2021-07-28 20:31:42 +02:00
Stefan Agner
e384a7642e buildroot-external: install dmsetup only (#1448) (#1449)
LVM2 is not really required in the embedded use case. Opt out of
installing the standard installation which will install only dmsetup.

The backported fix for the lvm2 package to not install unnecessary
systemd services has already been applied with #1481.

Fixes: #1448
2021-07-28 20:31:42 +02:00
Alexander Reinert
2f11d70a40 Update generic_raw_uart module to latest version (#1430) 2021-07-28 20:20:57 +02:00
Andrew Dunham
535b8332f3 pc/ova: support virtio-fs (#1400) 2021-07-28 20:15:27 +02:00
Stefan Agner
7f02b83271 buildroot: package/rpi-firmware: bump version to 1.20210527 (#1487)
Keep rpi-firmware up-to-date with the kernel version bump (tag
1.20210527).
2021-07-28 20:08:08 +02:00
Stefan Agner
f778503596 Add Bluetooth firmware file for Raspberry Pi 400 (#1469) (#1484) 2021-07-28 18:09:18 +02:00
Stefan Agner
64bc2ff1db buildroot: package/rpi-wifi-firmware: bump version to 883b726 (#1485) 2021-07-28 18:08:35 +02:00
Stefan Agner
f37e9673d3 Add firmware for Realtek 87xx/88xx Bluetooth devices (#1427) (#1480) 2021-07-28 18:00:01 +02:00
Stefan Agner
e94a875c2e Enable support for Ralink rt27xx/rt28xx/rt30xx and rt73 devices (#1443) (#1479)
This includes device support for RT2870 or RT5572 among many others.
2021-07-28 17:59:56 +02:00
Stefan Agner
2f06354c3e board: hardkernel: Fix random crash on Linux kernel 5.10 and newer (#1476)
Don't fail adding reserved memory when a memory region already has been
reserved (e.g. via  memreserve). This avoids conflicting no-map setting
and makes sure memory is properly reserved.
2021-07-28 17:58:31 +02:00
Stefan Agner
2069ccf24f Update to Linux 5.10.53 (#1475)
* Linux: Update kernel 5.10.53

Move back to the LTS kernel 5.10.

[backport for rel-6]

* Remove ODROID-N2 specific kernel update script
2021-07-28 16:05:03 +02:00
Stefan Agner
3e66591d35 Remove original images when creating zip (#1461)
Other compression methods remove the original image file at compression.
Add the -m (move) command to zip to do the same when compressing with
zip. This saves some space in the builds image/release directory.
2021-07-28 15:32:52 +02:00
Stefan Agner
248ad07b23 RaspberryPi: Update kernel 5.10.17 - raspberrypi-kernel_1.20210527-1 (#1456) 2021-07-28 15:29:16 +02:00
Stefan Agner
3aac1ae373 buildroot: package/lvm2: install dmsetup only (#1448) (#1481)
LVM2 is not really required in the embedded use case. Opt out of
installing the standard installation which will install only dmsetup.
This requires a backported fix for the lvm2 package to not install
unnecessary systemd services.

Fixes: #1448
2021-07-28 14:46:00 +02:00
Pascal Vizeli
cd0c9032d3 Using image name from version file (#1437)
* Using image name from version file

* Use jq for arch/machine substitution

Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-07-28 14:43:24 +02:00
Stefan Agner
48c3c8ccdf Supoport compressed squashfs for kernel (#1418) (#1451)
* Add squashfs with LZ4 and LZO compression to Barebox

* Add squashfs with LZO compression to U-Boot

* Use "raw" as type for kernel partition which is compatible with ext4
  image as well as squashfs.

Note: This does not use squashfs for the kernel but merly adds support
for it. This will allow to downgrade/fallback to the non-squashfs
version. Using squashfs for the kernel partition is implemented in dev
(for release 7).
2021-07-09 14:42:23 +02:00
Stefan Agner
20f02d2887 Bump version to 6.1 6.1 2021-06-21 10:21:30 +02:00
Stefan Agner
b9f65295b3 Add firmware for RTL8761B/BU devices (#1392) (#1423)
(cherry picked from commit e5933c4ed4)
2021-06-21 10:19:35 +02:00
Stefan Agner
6afd378bd6 Linux: Update kernel 5.10.45 (#1424)
(cherry picked from commit 94432dad88)
2021-06-21 10:19:18 +02:00
Stefan Agner
9c239480b2 Move ODROID patches (#1415)
The patches for ODROID-C2/C4 don't apply to Linux 5.12 used in
ODROID-N2. Move ODROID-C2/C4 patches to kernel version specific
directory so they don't get applied for ODROID-N2.

(cherry picked from commit 64d3cd88a1)
2021-06-21 10:19:14 +02:00
Stefan Agner
98ac18cbd5 Update buildroot to 2021.02.3 (#1422)
Signed-off-by: Stefan Agner <stefan@agner.ch>
(cherry picked from commit 9c8172df40)
2021-06-21 10:17:45 +02:00
Jens Maus
d7d9e08a61 Update generic_raw_uart module to latest version (#1417)
(cherry picked from commit 44cca729f0)
2021-06-21 10:17:24 +02:00
Stefan Agner
29c0f2f729 Improve kernel update scripts (#1413)
* Improve kernel update scripts

Use separate script for ODROID-N2 for now. Also warn if there are kernel
patches with a specific kernel version number in the source tree: They
typically can be just moved to the new kernel version, but one should
compile check them before committing.

(cherry picked from commit 96a8ab17c1)
2021-06-21 10:17:19 +02:00