Commit Graph
21 Commits
Author SHA1 Message Date
Clayton Craft 0648d45d76 device/*: migrate device packages to new kernel cmdline config system
This migrates all device package to the new system, which is documented
here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html.

It also replaces old initramfs params (PMOS_NOSPLASH and
PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern
equivalents, so we can finally get rid of those.

Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org>

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:34:40 -08:00
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00
Raymond Hackley b902e346e7 samsung-j5(x): rename gpu_accelerated to drm in deviceinfo
Link: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/commit/1a8ab415b0d8fe68c8fea0a585e45c781b03a7e8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7249>
2025-10-26 14:54:11 +00:00
Raymond Hackley 49e41e6fc3 samsung-j5(x): drop deviceinfo_keyboard
This property is obsolete:
Programs should automatically detect if the device currently has
a keyboard or not (often it can be hotplugged anyway).

Link: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3145
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7249>
2025-10-26 14:54:11 +00:00
Devon Lutz 9d83dc8f86 qcom-msm89{05,09,16,39}: Remove _pmb_select="soc-qcom-msm8916-rproc" from APKBUILD
Fix "pmbootstrap init" (provider package was removed).
postmarketOS/pmaports!7075 dropped support for selecting the msm8916
rproc option during "pmbootstrap init".

Fixes: 7a29af043c ("soc-qcom-msm8916: drop non-functional rproc selection")
[ci:ignore-count]
[Raymond: drop it everywhere]
Co-developed-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-10-06 11:48:57 +00:00
BetaRays a0e8b199be samsung-j5(x): depend on Samsung modem workaround
This was required to get a working modem on J5 2015 and 2016, see:
 - Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3860
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2015_(samsung-j5)#Modem
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2016_(samsung-j5x)#Modem

[Raymond: add j5]
Co-developed-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-09-11 08:27:03 +00:00
Stephan Gerhold 319396a6d5 device-<qcom-msm8916>: revert to msdos partition table for now (MR 5813)
pmbootstrap 3.0.0 uses GPT partition table by default, which breaks booting
on all the devices using the lk2nd bootloader. The current version of lk2nd
supports GPT only for the eMMC, while subpartitions and SD cards must be
partitioned with MBR. GPT support was present in the legacy branch of
lk2nd, but was dropped at some point because of poor code quality.

Fix the regression for now by reverting back to the old msdos (MBR)
partition table. We can revert this again later when lk2nd restores support
for GPT.

Generated with
$ for d in $(grep -R linux-postmarketos-qcom-msm8916 | grep -Eo 'device-[^/]+' | sort -u); do \
  echo -e '\n# lk2nd does not support GPT for subpartitions/SD cards yet\ndeviceinfo_partition_type="msdos"' \
  >> device/*/$d/deviceinfo && pmbootstrap checksum $d && pmbootstrap pkgver_bump $d; done

[ci:ignore-count]

[ci:skip-build]: bug in CI prevents build testing armv7 and aarch64, so
Clayton did the test locally for those archs
2024-11-19 20:15:49 +01:00
Caleb Connolly 3ed9591e41 treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00
Raymond Hackley 3f48a12d2e samsung-j5(x): maintain devices (MR 5140)
[ci:skip-build]: already built successfully in CI
2024-05-17 16:30:12 +02:00
Nikita Travkin fe54a7be49 device/msm8916*: Generate extlinux.conf (MR 4826)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8916 since it
will be used in the future lk2nd release. boot.img is still kept to keep
compatibility with current lk2nd releases and to allow system recovery
with fastboot when required.

[ci:skip-build] already built successfully in CI
[ci:ignore-count]
2024-02-15 11:34:55 -08:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Pablo Correa Gómez ea93a6d07f device/*: rebuild all devices to relocate deviceinfo (MR 4283)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-25 09:21:03 +02:00
Pablo Correa Gómez 4914067590 device/*: transform deviceinfo_modules_initfs into a file (MR 4169)
The file is automatically packed by devicepkg-dev utils

Relates #1836
2023-08-04 08:27:44 +02:00
Raymond Hackley 6f074ad61d samsung-*: Add USB ID (MR 3469)
Some devices have 04e8:6860 as their USB ID. Add it to deviceinfo.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2022-09-28 09:10:57 +02:00
Raymond Hackley 3c0dd53efb samsung-{j3,j5,j5x}: Add panel and touchscreen modules to initfs (MR 3081)
Add panel and Imagis touchscreen for J3, J5 and J5X.

[ci:skip-build] already built successfully in CI
2022-06-11 15:56:39 -07:00
Raymond Hackley 23a25798fe samsung-j5: depends on soc-qcom-msm8916-rproc (MR 3081)
Add modem support for J5.

[ci:skip-build] already built successfully in CI
2022-06-11 15:56:39 -07:00
Raymond Hackley a4b90a31e2 samsung-j5: Add panel-simple and msm modules to initfs (MR 3078)
[ci:skip-build] already built successfully in CI
2022-04-21 11:31:41 -07:00
Oliver Smith eb21ed5472 device/*/device-*: rebuild for new splash screens (MR 2222)
[ci:ignore-count]
2022-01-22 13:40:33 +01:00
Minecrell 3a9898689d <msm8916>: drop variant suffixes from dtb names (MR 2632)
The new kernel version now has the variant suffixes dropped from the
DTB file names as well.
2021-11-21 19:10:58 +01:00
Minecrell eff90a2071 <msm8916+secure boot-venus>: use separate firmware packages (MR 2619)
Rule D: Devices with secure boot and venus present in the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem, venus)
  4. device-specific -wcnss-nv firmware

[ci:ignore-count]
[ci:skip-build] already built successfully in CI
2021-10-23 14:41:30 -07:00
Nikita Travkin d819fb93a5 samsung-j5*: squash to j5, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00