Import x86_64-elf-gcc, part of a bare-metal only toolchain for amd64
The idea is to have a stable and GNU-based toolchain for standalone
code. Such code often has GNU-specific quirks and tends to break
when we update base clang, base lld or ports gcc.
This uses the same gcc and binutils versions as the devel/arm-none-eabi
toolchain because... why not. I'm not providing an i386 FLAVOR but
someone who cares could add it easily.
Discussed with kn@ during his net/ipxe effort. Hopefully this will be
usable for sysutils/firmware/vmm (conversion not tackled yet).
ok kn@
Improve and enable VT switching in greetd
Move the default config file to vt = 5 which maps to ttyC4, the VT we
otherwise reserve to X11. One cannot run both at the same time anyway.
Like in seatd, enable logging (in /var/log/authlog by default).
ok landry@ matthieu@
Enable building lowntfs-3g. This wasn't previously possible because
it depends on the low-level FUSE API, but that API is now available
in our libfuse. lowntfs-3g is an additional binary installed alongside
ntfs-3g that might provide better performance. The other difference
between it and ntfs-3g is that it supports the "ignore_case" option.
The upstream version has not changed so add a revision.
ok jca@
Extra bump so that people who tested the wip diffs really get the latest
Testing this is already a PITA, no need to take a chance and have
someone run an older package.
On the Qualcomm SC7280/QCS6490 SoC there is a second cell in the IOMMU
specifier that represents an SMR mask. However the "iommu-map" property
only specifies how the stream ID gets mapped. Adjust the implementation
of iommu_device_lookup_pci() based on these new insights. This means that
for PCI devices we pass an SMR mask of zero. That seems to match what
Linux does.
ok patrick@
Assorted seatd improvements
seatd is needed for wlroots-based compositors. Make it easier to run it:
- add an rc script
- add a _seatd group to reduce the number of manual operations. Users
of wayland applications should be added to that group.
- improve logging (more specific error messages)
- tweak the code that deals with "tty0" so that it looks more like the
FreeBSD implementation
While here, fix the login in terminal_set_keyboard() and disable setting
the keyboard mode to "raw", because for whatever reason it usually
messes up the keyboard. One would expect that raw mode would be needed
for wayland, but keeping the "translated" mode appears to work fine.
shrug
ok matthieu@ landry@