The linux-edge kernel enables the BL_SWITCHER kernel option, which enables
an in-kernel big.LITTLE switcher - with it enabled, only 4 cores are enabled
at a time, and the kernel switches between the big and little cores. However,
in a server workload, it's more likely that a user wants all 8 cores to work
simultaneously.
Disable the switcher by default by providing the no_bL_switcher cmdline option.
It can still be re-enabled by writing 1 to /sys/kernel/bL_switcher/active.
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6350
GPT paritions seem to interfere with the firmware baked into the SD card image;
both U-Boot and various Linux tools report the GPT partition table as broken
and fall back to the backup table. Notably, this makes the card difficult to
mount in another device. "Fixing" the partition table makes it refuse to boot.
Force the msdos partition type in deviceinfo to fix this.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6342
As recommended on matrix, there is no need to keep everything in subpackages,
so they are being removed. Also, hexagonrpcd is being removed as it
doesn't work on this device’s soc yet.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6317
[ci:skip-build]: already built successfully in CI
Starqltechn alsa ucm profiles was included in alsa-ucm-conf-sdm845
repository. Add it to dependency list to get audio working.
This also sorts depends and source lists alphabetically.
[ci:skip-build]: already built successfully in CI
Perhaps the biggest highlight of this release is addition of
Qualcomm Sensor Manager support (thx @Tooniis).
Several little impovements:
* Notification LED support for clover, laevnder, tulip ( @setotau )
* missing SDCC block resets were added, several devices ( @alexeymin )
* missing SD card detect GPIOs were added, several devices ( @alexeymin )
* SD card instability was fixed, several devices ( @alexeymin )
* pd_mapper module now supports SDM630/636 ( @alexeymin )
* numerous dtbs_check warnings fixed, in preparation for upstreaming
* several commits were dropped, they are now upstream!
Manual config changes:
* SNS_REG/SMGR modules were enabled
* LED/QCOM_LPG modules were enabled
FIXME: qrtr as a bus requires some kconfigs to be =y (for SMGR patchset):
* CONFIG_QRTR=y
* CONFIG_QRTR_SMD=y
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6321
[ci:skip-build]: already built successfully in CI
Add starqltechn initfs modules, recently enabled in linux kernel.
This provides touchscreen and haptics support when in initramfs.
This allows to use onscreen keyboard in initramfs debug mode.
The thermal monitor measures an NTC thermistor which decreases voltage
when the temperature increases.
When fixing the scaling for the first time, a wrong division by 20 was
removed. The voltage code was still high by a factor of 28900/16384,
enough that the thermal monitor constantly signalled/interrupted at a
low voltage/high temperature trip point. The thermal monitor still
reports the correct temperature so the kernel keeps the wrong trip
points and lets the thermal monitor keep interrupting 1000 times/sec.
Fix the other scaling amount so the thermal monitor sends interrupts at
the right temperature (with some imprecision).