The efivars backend to pstore will not register if the efivarfs is not
available. efivarfs is the only way the pstore can write into EFI
variables. In linux-next, EFI_VARS_PSTORE now depends on EFIVAR_FS, and
we currently have a mismatch in options (EFI_VARS_PSTORE=y andn also
EFIVAR_FS=m), which breaks kconfigcheck on linux-next. To resolve it, we
should build EFIVAR_FS built-in.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9343>
Comply with pmOS, which prefers to store hwdb in /etc. openrc works
differently, or at least the packaging in pmOS/Alpine does, so manually
recompile hwdb at package installation time in that case.
Fixes: a99f680468 ("device-blackberry-key2-generic: additional unl0kr fixes")
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9335>
The downstreamkernel_* functions assume the presence of a cross GCC and
binutils and should not be used for close-to-mainline kernel packages.
While at it, let's get rid of some unused dependencies and use
postmarketos-installkernel rather than Alpine's.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8124>
This kernel version is already EOL at this point, but at the moment
this is the best that we have in state "ready for packaging".
It is still important to get this in to allow creation of packages
for new devices.
New devices:
* Vsmart Active 1 (zangyapro) https://wiki.postmarketos.org/wiki/Vsmart_Active_1_(vsmart-zangyapro)
* Xiaomi Mi Note 3 (jason) https://wiki.postmarketos.org/wiki/Xiaomi_Mi_Note_3_(xiaomi-jason)
New features:
* Speaker Amplifier (TAS2557) driver for a buch of xiaomi-sdm660 devices
* Audio support for jasmine, tulip
* IR blaster for jasmine, tulip
Smaller fixes:
* GPU iommu faults fix (hangs still happen though)
* fix sound card name prefix when using UEFI booting
* sdm660-blackberries shourtcut key fix (is now Ctrl)
* synaptics rmi4 touchscreen reset_gpio support
Packaging:
* conform to new kconfigcheck requirements and add new makedepends
* fix modules installation path to /usr/lib ( #4803 )
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9224>
DEBUG_INFO_DWARF5 conflicts with DEBUG_INFO_BTF on kernel versions older than
5.18. Because debugging failures with DWARF4 would be a waste of time on such
old kernel versions, it is better to just version gate BTF to only support
kernels that can use it with DWARF5.
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9038>
If your enchilada turns off because the battery is drained and you plug
it in and walk away you will come back to a phone that is still empty
(at least with FDE). With these modules running in the initramfs
charging works. I verified this by pressing the Volume-Down while
booting and in the debug shell I typed:
$ cat /sys/class/power_supply/bq27411-0/current_now
... which returns a negative number while unplugged and a number close
to but below 1500000 if plugged in.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9201>
This runs 'kconfig generate' for all archs that the generic kernels
support in order to make sure that kconfig-generic.toml changes are
valid for everything for the kernels it would apply to. This is meant
to catch kconfig changes that might introduce options that don't exist
on some kernel/arch combos or that might be missing other kconfig
dependencies.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9250>
The kernel is very broken and does not compile, event with
multiple rounds of patching. As I am not the maintainer,
the amount of patching is getting invasive enough that I
cannot be sure that the kernel will still run, even if
somebody is able to get it compiled.
[ci:skip-vercheck]
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9057>
Add more modules to initfs, so that it can detect rootfs on nvme
drive, use usb keyboard and get display properly initialized during
initramfs stage.
Withouth those panel/display is not properly initialized, root partition
cannot be found if it is on nvme drive, and on top of that USB keyboard
is not working, so you can't even debug it from initramfs.
Add myself as co-maintainer of package.
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9203>