Commit Graph
27 Commits
Author SHA1 Message Date
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
Luca Weiss 8624b297e6 device/*: Resolve deviceinfo errors highlighted by dint
A large scripted cleanup to fix the errors, each with the sed command
used.

**Renamed variables**

[Error!!!] deviceinfo_gpu_accelerated: gpu_accelerated was renamed to drm: More accurately describes its function; see pmaports#1481 for the reasoning.
sed -i 's/^deviceinfo_gpu_accelerated=/deviceinfo_drm=/' device/*/*/deviceinfo

[Error!!!] deviceinfo_flash_heimdall_partition_system: flash_heimdall_partition_system was renamed to flash_heimdall_partition_rootfs: Renamed to avoid confusion
sed -i 's/^deviceinfo_flash_heimdall_partition_system=/deviceinfo_flash_heimdall_partition_rootfs=/' device/*/*/deviceinfo

[Error!!!] deviceinfo_flash_fastboot_partition_system: flash_fastboot_partition_system was renamed to flash_fastboot_partition_rootfs: Renamed to avoid confusion
sed -i 's/^deviceinfo_flash_fastboot_partition_system=/deviceinfo_flash_fastboot_partition_rootfs=/' device/*/*/deviceinfo

**Obsolete variables**

[Error!!!] 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).
sed -i '/^deviceinfo_keyboard=/d' device/*/*/deviceinfo

[Error!!!] deviceinfo_framebuffer_landscape: This property is obsolete: Removed by the switch to pbsplash with no apparent replacement
sed -i '/^deviceinfo_framebuffer_landscape=/d' device/*/*/deviceinfo

[Error!!!] deviceinfo_mesa_driver: This property is obsolete: This was used by osk-sdl, which has been replaced by unl0kr.
sed -i '/^deviceinfo_mesa_driver=/d' device/*/*/deviceinfo

**Default values**

[Warning!] deviceinfo_flash_method: Property is set to its default value ("none") and can be removed.
sed -i '/^deviceinfo_flash_method="none"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_drm: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_drm="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_bootimg_dtb_second: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_bootimg_dtb_second="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_generate_bootimg: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_generate_bootimg="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_rootfs: Property is set to its default value ("SYSTEM") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_rootfs="SYSTEM"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_kernel: Property is set to its default value ("KERNEL") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_kernel="KERNEL"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_initfs: Property is set to its default value ("RECOVERY") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_initfs="RECOVERY"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_offset_base: Property is set to its default value ("0x10000000") and can be removed.
sed -i '/^deviceinfo_flash_offset_base="0x10000000"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_kernel_on_update: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_flash_kernel_on_update="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_fastboot_partition_rootfs: Property is set to its default value ("userdata") and can be removed.
sed -i '/^deviceinfo_flash_fastboot_partition_rootfs="userdata"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_fastboot_partition_kernel: Property is set to its default value ("boot") and can be removed.
sed -i '/^deviceinfo_flash_fastboot_partition_kernel="boot"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_partition_type: Property is set to its default value ("gpt") and can be removed.
sed -i '/^deviceinfo_partition_type="gpt"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_sd_embed_firmware_step_size: Property is set to its default value (1024) and can be removed.
sed -i '/^deviceinfo_sd_embed_firmware_step_size="1024"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_boot_part_start: Property is set to its default value (2048) and can be removed.
sed -i '/^deviceinfo_boot_part_start="2048"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_generate_legacy_uboot_initfs: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_generate_legacy_uboot_initfs="false"/d' device/*/*/deviceinfo

All were bumped using "pmbootstrap pkgver_bump".

[ci:ignore-count]

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

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7403>
2025-12-05 16:57:35 +00:00
Luca Weiss 627ba80058 device/*: Remove leftover _mainline / _downstream deviceinfo variables
They were forgotten during the testing/downstream split it seems. Clean
them up.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Aster Boese 161dbcb69b samsung-m3: rebuild for devicepkg-dev 0.18.2
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6939>
2025-12-02 10:31:35 -05:00
Luca Weiss 6a2c3f0818 treewide: remove downstream feedbackd vibra rules
All of them are now included upstream with feedbackd, so we can remove
them here.

https://gitlab.freedesktop.org/agx/feedbackd/-/merge_requests/182

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6695
2025-06-28 11:16:55 +02:00
Henrik Grimler 95fe04886c device-samsung-m3: use msdos partition type
If a custom bl1 is used on sdcard, then it should be embedded at
0x200 (512). If a GPT filesystem is used, then the GPT header uses
roughly the first 0x500 bytes, and hence bl1 overwrites part of the
GPT header in that configuration.

Change to msdos partition type so that the filesystem works fine
whether or not we use stock bl1 or custom one.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
2025-04-23 10:45:25 +00:00
Luca Weiss 4fff56942d device/*: remove unnecessary mtk_mkimage="false" values (MR 5995)
Like quite a few other values being set to false, this one has a default
of false so can be safely removed.
2025-01-07 10:58:40 +01:00
Jack Knightly 4059957c69 device-samsung-{m0,m3,t03g,t0lte}: add camera flash udev rule subpackage (MR 5888)
[ci:skip-build]: already built successfully in CI
2024-12-11 16:21:42 +01:00
Caleb Connolly affa4134ca device/*/*: enable deviceinfo_create_initfs_extra instead of depending on initramfs-minimal (MR 5636)
Make use of the new multi-stage initramfs rather than the minimal
variant, and inform mkinitfs that the initramfs-extra archive should be
created to save space.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:ignore-count]
2024-10-31 11:54:24 -07:00
Stefan Hansson ce48786034 device-samsung-m3: depend on minimal initramfs (MR 5241)
This device probably has a small boot partition where the big initramfs
won't fit, so use this.
2024-06-18 22:39:55 +02:00
Anton Bambura de1a13c782 devices: use consistent pkgver (MR 4994) 2024-04-22 15:45:12 -07:00
Stefan Hansson 86c77a7a38 device: remove references to postmarketos-update-kernel (MR 5045)
Package was removed and is now included in boot-deploy.

[ci:ignore-count]: Lots of packages intentionally changed.
[ci:skip-build]: already built successfully in CI
2024-04-20 11:15:33 +02:00
Henrik Grimler 39a0eb6c01 device-samsung-m3: set myself as maintainer (MR 4850)
m3 is very similar to m0, works well with mainline, and deserves a
maintainer and some love.

[ci:skip-build]: already built successfully in CI
2024-02-23 08:00:39 +01:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Henrik Grimler e63aeaf15e device-samsung-m3: set getty and flash kernel on update (MR 4719)
Serial shell on ttySAC2, and kernel upgrades, work well for i9305/m3,
just like for i9300/m0.

[ci:skip-build]: Already built successfully in CI.
2024-01-13 18:23:03 +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
Anton Bambura 779959dba7 samsung-m3: depend on MFC firmware (MR 4284) 2023-09-11 20:35:37 +02:00
Newbyte 270e5e28ad device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00
Newbyte b3ffa2191c samsung-m3: change names in UCM (MR 3120)
This makes the names match the recommended names in the ALSA UCM
header:
https://github.com/alsa-project/alsa-lib/blob/f1fa7ea07768bd5dbe15462ef734b28380a12a43/include/use-case.h#L112-L144
2022-05-08 17:26:22 +02:00
Jack Knightly 04383c3ae7 samsung-{m0,m3,t0lte}: add soc-samsung-exynos4412 haptics subpackage (MR 3062) 2022-04-07 01:50:24 +03:00
Jack Knightly 83158aa8e2 samsung-m0/m3: add notification led (MR 3012)
[ci:skip-build] Already built successfuly on CI in MR
2022-03-23 17:10:45 +01:00
Newbyte 0ce8404555 samsung-m3: add initial audio support (MR 2992)
I'm not deduplicating the UCM files between m3 and m0 as I may not
always be able to test changes to m3, and I'd rather have a an
outdated configuration for m3 than a broken one.
2022-03-13 18:02:45 +01:00
Newbyte 6a8b3127f9 samsung-m3: fix firmware package dependency name (MR 2958)
I missed this when renaming the package from firmware-samsung-m0 to
firmware-samsung-midas.

Fixes 67bb8836f9
2022-02-24 13:48:27 +01:00
Newbyte 67bb8836f9 samsung-m3: adapt to firmware package changes (MR 2955) 2022-02-20 15:46:00 +01:00
Oliver Smith eb21ed5472 device/*/device-*: rebuild for new splash screens (MR 2222)
[ci:ignore-count]
2022-01-22 13:40:33 +01:00
Henrik Grimler 33d94e95dd firmware-samsung-m0: fix wifi on mainline, and add bt fw (MR 2873)
With this wifi seem to work reliably, and it is possibly to for
example connect to a bluetooth speaker and play music.

For wifi, issue seem to be with the nvram_net.txt file, changing only
that one to a newer one makes wifi work.  Here, both the .txt and .bin
file are updated, as the old files are from 2012, while the new
ones have a datestamp from 2019.
2022-01-22 09:56:39 +01:00
Newbyte 6ac736b230 samsung-m3: new device (MR 2556) 2021-10-01 22:38:45 -07:00