Commit Graph

3483 Commits

Author SHA1 Message Date
Matthias Reichl
76fd023bb0 busybox: add getedid script for RPi
The getedid script supports the "create" and "delete" options like
the x86 version.

It makes use of the "dump-active-edids", "create-edid-cpio" and
"update-bootloader-edid" scripts and can be used as is on other
DRM platforms as well as it doesn't contain any RPi specific code.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 19:18:09 +01:00
Matthias Reichl
f962a4b2b6 busybox: add script to modify edid override with RPi bootloader
The script supports two operations:

"set" enables initramfs cpio in config.txt and adds edid and video
override kernel options for the specified connectors to cmdline.txt

"delete" removes edid.cpio initramfs loading in config.txt and
removes all edid override and video options from cmdline.txt

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
a02a2e8b51 busybox: add script to dump edids of active DRM connectors
The script dumps all edids of currently active connectors to
.config/firmware/edid as edid-CONNECTORNAME.bin

When run with the "-q" option informative messages are disabled
and only the active connectors are returned so the output can
be easily used by other scripts.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
0039f93de6 busybox: add create-edid-cpio script
This script simply creates /flash/edid.cpio with the contents from
.config/firmware/edid

Compared to the x86 specific getedid script this works on all platforms
as it doesn't contain any platform specific code. Eventually getedid
should be refactored make use of this helper script, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-23 18:59:28 +01:00
Matthias Reichl
32b3089c1b Merge pull request #5265 from lrusak/busybox-fix
busybox: fix createlog udev rule wildcard
2021-03-21 21:03:55 +01:00
Lukas Rusak
e23d57194a busybox: fix createlog udev rule wildcard 2021-03-21 12:55:34 -07:00
Ian Leonard
d852a3b6e7 system: use generic filenames for reset trigger
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-03-10 02:25:01 +00:00
Lukas Rusak
019e899baf v4l-utils install v4l-compliance utility 2021-03-02 08:32:07 -08:00
heitbaum
cf8ba7c8cb busybox: unzip: enable CDF to handle unix permissions 2021-02-18 12:16:10 +00:00
Matthias Reichl
9a3ba922db Merge pull request #5068 from heitbaum/aa-s4
systemd: update to 247.3
2021-02-16 23:35:14 +01:00
Matthias Reichl
fd128976da pciutils: drop ARCH=x86_64 restriction
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 17:33:02 +01:00
heitbaum
bbe5cb5fc5 systemd: update to 247.3
update 247 to 247.3
changelog:
use systemd-stable source as it includes backports of patches from systemd
git to stable distributions
2021-02-14 20:50:00 +00:00
Matthias Reichl
a62294272a busybox: create /storage/.cache/kernel-overlays via tmpfiles.d
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Matthias Reichl
8f1344f6fd Move kernel overlays setup to init
When running kernel-overlays-setup as a systemd service we have
a short window where /lib/firmware isn't available.

This causes drm edid override to occasionally fail if the edid file
is requested between switching to sysroot and completion of the
kernel-overlays-setup script.

Setting up firmware and module overlays in init, before switching
to sysroot, closes the gap and also has the benefit that we no longer
need to care about the rather tedious systemd unit ordering.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
Matthias Reichl
cf763e204f init: create /run tmpfs in init
The filesystem options are set to match what systemd is using when
it would create the /run tmpfs, see src/core/mount-setup.c in
systemd source code.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00
heitbaum
fbff65de36 libevdev: update to 1.11.0
update 1.10.1 to 1.11.0
commit: 60d4f1b2ae

this is only a license change.
view history here: https://gitlab.freedesktop.org/libevdev/libevdev/-/commits/master/
2021-02-01 07:43:45 +00:00
heitbaum
6d49d330cd parted: update to 3.4
update 3.3 (2019-10-10) to 3.4 (2021-01-27)
news: https://git.savannah.gnu.org/cgit/parted.git/plain/NEWS?h=v3.4
2021-01-30 06:44:34 +00:00
CvH
5b97b230aa Merge pull request #5033 from chewitt/dthelper
dthelper: only flag memsize for pi and 512mb boards
2021-01-26 18:19:40 +01:00
heitbaum
f607141b53 tz: update to 2021a 2021-01-25 13:34:42 +00:00
Christian Hewitt
e5cb1ade46 dthelper: only flag memsize for pi and 512mb boards 2021-01-25 08:46:38 +00:00
Ian Leonard
b31ce30170 sysutils: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:34:16 +00:00
heitbaum
57a781b5be libevdev: update to 1.10.1
update 1.10.0 to 1.10.1
changelog: https://gitlab.freedesktop.org/libevdev/libevdev/-/commits/master/
minor changes only
2021-01-17 06:38:58 +00:00
heitbaum
a959c2c62a open-vm-tools: update to 11.2.5
update 11.2.0 to 11.2.5
changelog:
https://github.com/vmware/open-vm-tools/releases/tag/stable-11.2.5
2021-01-17 06:38:47 +00:00
heitbaum
f58d37eb7f gptfdisk: update to 1.0.6
update 1.0.5 to 1.0.6
news:
1.0.6 (1/13/2021):
------------------

- Fixed bug that could cause segfault if GPT header claimed partition
  entries are oversized. See:
  https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0256

- Fixed bug that could cause a crash if a badly-formatted MBR disk was
  read. See:
  https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0308

- Renamed the partition type "Freedesktop $BOOT" to "XBOOTLDR partition".

- Added several more Freedesktop partition table type codes (0x8312 through
  0x831C).

- Fixed type code definition in diskio-unix.cc that prevented 32-bit builds
  from correctly handling disks over 4 TiB in size.

- Minor tweaks to get the software to compile on FreeBSD; that seems to have
  fallen into disrepair.
2021-01-17 06:38:38 +00:00
mglae
0bbda22e0c usbutils: use autotools toolchain 2021-01-16 15:47:59 +01:00