Compare commits

..
Author SHA1 Message Date
Anton Bambura ae8daad6f1 microsoft-surface-2: new device 2024-03-19 02:15:49 +02:00
Anton Bambura 0db311f94a microsoft-surface-rt: sort depends (MR 4944)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-03-18 19:39:38 +01:00
Anton Bambura d085c072dd linux-postmarketos-grate: take co-maintainership (MR 4941)
I contribute to this package from time to time, so let's add myself to
maintainers to represent it here.

[ci:skip-build]: already built successfully in CI
2024-03-18 13:49:56 +02:00
Anton Bambura 894a115705 linux-postmarketos-grate: upgrade to 6.6.22 (MR 4941)
This upgrades kernel to 6.6.22 backporting fixes for major performance
issues of Microsoft Surface RT.

This also re-generates config with "make grate_defconfig pmos.config"
and adds pmb:kconfigcheck-uefi for surface rt.
2024-03-18 13:49:56 +02:00
Luca Weiss 6cb3e795e4 modem/{pd-mapper,tqftpserv}: take over maintainership (MR 4942)
The previous maintainer hasn't been active on GitLab for at least two
years, time to replace them.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:14:43 +01:00
André Apitzsch e6cdfd8d42 device/msm8226*: Generate extlinux.conf (MR 4939)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8226 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
2024-03-18 12:12:13 +01:00
Oliver Smith 2d0a7aa6dc CI: add more tests for CODEOWNERS (MR 4940)
* Parse the file in python and ensure it is ordered alphabetically
* Ensure that we have at least as many gitlab nicknames in CODEOWNERS,
  as there are listed maintainers in main and community devices. This
  should help with enforcing that every maintainer is also listed in
  CODEOWNERS, so they can be easily pinged via their gitlab nickname if
  something for the device they maintain is happening.

[ci:skip-build]: already built successfully in CI
2024-03-18 08:01:26 +00:00
Oliver Smith 8bf7a0f6dd CODEOWNERS: add maintainers from APKBUILDs (MR 4940)
Sometimes we need to figure out the gitlab nicknames of maintainers and
co-maintainers as listed in the APKBUILDs, e.g. when a specific issue
appears that only happens with a given device. Or if we want to ping
all device maintainers in the testing phase for the new release.

So far it has been a very tiresome, manual process to figure out gitlab
nicknames from the maintainers in the APKBUILDs (involving git log
--follow and opening merge requests in browsers...). After some
discussion we figured it would be good to store it in the CODEOWNERS
file.

This also has the nice side-effect that maintainers get notifications if
the APKBUILDs they maintain get changed.
2024-03-18 08:01:20 +00:00
Oliver Smith f45189285e CODEOWNERS: order alphabetically (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith 297dafc5ba CODEOWNERS: remove vim modeline (MR 4940)
We configure editors via editorconfig file. Remove the modeline, it was
wrong anyway by setting "et" to expand tabs to spaces, where in reality
this file uses tabs.
2024-03-17 22:48:52 +00:00
Oliver Smith f20ff5dba3 editorconfig: add CODEOWNERS (MR 4940)
Let editors use tabs for this file
2024-03-17 22:48:52 +00:00
Oliver Smith af6d4c661d linux-postmarketos-rockchip: remove Martijn as maintainer (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith a8e36280c5 device-qemu-{amd64,aarch64}: add myself as maintainer (MR 4940)
Daniele has been inactive for some years, set myself as maintainer.
2024-03-17 22:48:47 +00:00
Sergey Lisov a14ef97406 linux-samsung-a6lte: touchscreen in charge mode (MR 4845)
pmOS does not support charge mode anyway, and boots to a full UI, but this vendor kernel disables touchscreen when booting in charge mode. Remove that check, so that the phone can be used as usual.

[ci:skip-build]: already built successfully in CI
2024-03-17 21:16:17 +03:00
Oliver Smith 11cc8fc549 cross/busybox-static-*: upgrade to 1.36.1-r21 2024-03-17 17:30:24 +00:00
Vitaliy Ognev df5f42fb0f powkiddy-x55: new device (MR 4926) 2024-03-17 14:15:33 +01:00
Vitaliy Ognev 9740a785b3 postmarketos-ui-cage: new aport (MR 4934)
[ci:skip-build]: already built successfully in CI
2024-03-17 11:59:27 +01:00
Caleb Connolly 75f98f10e6 postmarketos-base-ui-gnome: depend on correct wallpapers (MR 4929)
The postmarketos-artwork-wallpapers-gnome package no longer exists. Now
we just depend on the postmarketos-artwork-wallpapers package.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-17 02:11:50 +00:00
Adam Thiede aaade24fd4 linux-postmarketos-mediatek-mt8173: upgrade to 6.8.1 (MR 4932)
[ci:skip-build]: already built successfully in CI
2024-03-16 18:37:16 +02:00
Icenowy Zheng 8e1bb335ca linux-postmarketos-qcom-sdm845: hotfixes for xiaomi-polaris (MR 4867)
Current 6.6 kernel has some features broken for xiaomi-polaris including
LCD and Wi-Fi.

Add two patches that fix these problems.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
[ci:skip-build]: already built successfully in CI
2024-03-16 16:55:12 +01:00
Anton Bambura dd0ca74839 linux-postmarketos-grate: enable WM8962 (MR 4931)
This sound card is used on surface rt

[ci:skip-build]: already built successfully in CI
2024-03-16 16:51:34 +01:00
Teemu Ikonen 355ecfb07b temp/gtk4.0: upgrade to 4.14.0, remove mesa-asahi workaround (MR 4927)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:48:10 +01:00
Luca Weiss 2bb07cb553 linux-postmarketos-qcom-sc7280: upgrade to 6.8.0 (MR 4922)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:42:04 +01:00
Stefan Hansson d92929d716 main/postmarketos-mkinitfs: remove CGO_ENABLED=0 (MR 4924)
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809

[ci:skip-build]: already built successfully in CI
2024-03-16 14:44:26 +01:00
Stefan Hansson 85824bc1d3 main/postmarketos-mkinitfs: upgrade to 2.4.0 (MR 4924) 2024-03-16 14:44:26 +01:00
Anton Bambura 8c395c506d microsoft-surface-rt: remove deprecated deviceinfo variables (MR 4928)
[ci:skip-build]: already built successfully in CI
2024-03-16 13:50:27 +02:00
Anton Bambura 5d6d977dc8 microsoft-surface-rt: use PMOS_FORCE_PARTITION_RESIZE (MR 4928)
This will be needed for prebuilt images.
2024-03-16 13:50:27 +02:00
Anton Bambura 991e6340ad microsoft-surface-rt: use generated grub.cfg (MR 4928) 2024-03-16 13:50:27 +02:00
Anton Bambura ae3050cd42 microsoft-surface-rt: remove initfs-hook.sh (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura 4f29d783fe microsoft-surface-rt: remove pointercal (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura 50141cab00 microsoft-surface-rt: remove phosh config (MR 4928)
This should be handled automatically nowadays
2024-03-16 13:50:27 +02:00
Bart Ribbers 72357ecfb2 main/postmarketos-artwork: upgrade to Meadow wallpaper and make Plasma-compatible (MR 4805) 2024-03-15 20:06:32 +03:00
Adam Thiede d9ed2ac850 main/device-pine64-pinephone: depend on sway instead of sway-virtual (MR 4857)
[ci:skip-build]: already built successfully in CI
2024-03-15 15:18:50 +01:00
Arseniy Velikanov 3776d03f39 device-nokia-argon: embed matrix-keypad module in initramfs (MR 4923)
[ci:skip-build]: already built successfully in CI
2024-03-14 23:41:28 +01:00
FuchtelJockel 59b3c1af1d linux-postmarketos-qcom-msm8994: update dt for h815 (MR 4915)
- add volume up/down, power key
- add hall sensor
- add sd card support
- fix normal boot

[ci:skip-build]: already built successfully in CI
2024-03-14 10:51:54 -07:00
FuchtelJockel a2cd4434b6 linux-postmarketos-qcom-msm8994: upgrade to 6.8 (MR 4915) 2024-03-14 10:51:54 -07:00
raihan2000 2f1a87b362 device-lenovo-kuntao: new device (MR 4879)
[ci:skip-build]: already built successfully in CI
2024-03-14 10:47:10 -07:00
Clayton Craft cec324a838 linux-lenovo-21bx: upgrade to 6.8 (MR 4914)
- kconfig changes from `pmb kconfig migrate`
- also enabled some USB serial drivers I wanted
- Reverts 7dcd3e014aa7, fixing bluetooth connections. This commit was
  added after 6.8-rc6 and causes a regression. A revert was sent
  upstream: https://lore.kernel.org/all/ZfMStHjwtCT1SW3z@hovoldconsulting.com/

[ci:skip-build] already built successfully in CI
2024-03-14 10:32:45 -07:00
Bart Ribbers b666024ba9 Revert "main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)" (MR 4921)
This reverts commit 5d39c25f4d.

Angelfish is available for armv7 again

[ci:skip-vercheck]
2024-03-14 14:39:36 +01:00
Bart Ribbers b56bd88949 Revert "main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)" (MR 4921)
This reverts commit e42d9f7c45.

These packages are available again on armv7
2024-03-14 14:39:36 +01:00
Statzar 19a136e4e6 xiaomi-fog: new device (MR 4911) 2024-03-14 11:23:44 +01:00
Denis Burkov 59f889ceb7 pocketbook-614-plus: new device (MR 4901)
[ci:skip-build]: already built successfully in CI
2024-03-13 21:33:28 +01:00
Jianhua Lu f133310c02 device-xiaomi-elish: disable framebuffer console output (MR 4910) 2024-03-13 20:06:39 +01:00
Jianhua Lu eb7d184a0f linux-postmarketos-qcom-sm8250: upgrade to 6.8.0 (MR 4910) 2024-03-13 20:06:39 +01:00
vipoll ee399626ea device-xiaomi-markw: remove workaround for touchscreens (MR 4902)
[ci:skip-build]: already built successfully in CI
2024-03-13 19:00:12 +01:00
Barnabás Czémán cabf69e2fb device-xiaomi-vince: add nt36xxx to initfs (MR 4913)
Add nt36xxx for initfs to support FDE.
Add missing rmi_core for rmi_i2c.
2024-03-13 18:50:01 +01:00
Barnabás Czémán 3ed0fc4c8c device-xiaomi-mido: add goodix_ts in initfs (MR 4913)
Add goodix_ts to initfs for support FDE.
2024-03-13 17:42:23 +00:00
Pablo Correa Gómez e42d9f7c45 main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)
They're not available in some architectures like x86 and armv7

[ci:skip-vercheck]
2024-03-13 00:10:38 +00:00
Pablo Correa Gómez 5d39c25f4d main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)
Only temporarilly. This is in pmb_recommends, so does not need pkgver
bump. We can swap them back once it's built for armv7 in alpine, but
it's now blocking all MRs from merging.

[ci:skip-vercheck]
2024-03-13 00:10:34 +00:00
Oliver Smith 45acb50ffc cross/gcc-*: upgrade to 13.2.1_git20240309-r0 2024-03-12 22:44:04 +00:00
Sicelo A. Mhlongo 22dfc72571 linux-postmarketos-omap: upgrade to 6.8.0 (MR 4871)
[ci:skip-build]: already built successfully in CI
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo c38e4643da linux-postmarketos-omap: fix version parsing logic (MR 4871)
Remove the need for an extra $_kernver variable when handling rc kernels
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo cab1114ce2 linux-postmarketos-omap: fix n900 battery & charger (MR 4871)
Two changes are already upstream:
 * Battery: fix reporting of full state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?id=8fbb11162504f2de167a8ccd2d2c55a849d2c5ea
 * Charger: report online state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?h=next-20240301&id=9a451f1b028e116d037a93bf13eb8f8620994205

 * The other change (950mA charger current limit) will be included starting
   with 6.9-rc1. We previously had it in pmOS but it was dropped during the
   transition to a common OMAP kernel
    - https://lore.kernel.org/linux-devicetree/ZeBB1GYb31UAW886@tp440p.steeds.sam/T/#t
2024-03-11 14:29:23 -07:00
Anton Bambura 05fe8d4015 linux-postmarketos-mediatek-mt81xx: upgrade to 6.8_rc6_git20240228 (MR 4908)
[ci:skip-build]: already built successfully in CI
2024-03-11 13:57:36 -07:00
Arnav Singh 4d4dc1baea main/postmarketos-base-ui: fix tethering script when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
[ci:skip-build]: already built successfully in CI
2024-03-11 13:53:18 -07:00
Arnav Singh b0226839d4 main/postmarketos-initramfs: fix starting unudhcpd when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
2024-03-11 13:53:17 -07:00
Clayton Craft 2b02900d5b device-valve-jupiter: fix install, rootfs resize, etc (MR 4885)
A number of fixes:

- oem-amd-nonfree-fw no longer exists from c6306cb9b, and the fw here is
  pretty much required for the device to be useful so it's added to
  "depends=".

- drops the -vulkan subpackage since oem-amd-vulkan is doing the same
  thing.

- force rootfs partition resize on boot, else the rootfs is too small

- disable unudhcpd, usb networking isn't working, and we don't need to
  run it on any dedicated eth device

- use kernel with Valve's out of tree patches, to improve stability /
  usefulness of device

fixes #2630

[ci:skip-build] already built successfully in CI
2024-03-11 11:48:28 -07:00
Clayton Craft 46bf4695d7 linux-valve-jupiter: new aport (MR 4885)
There are some important platform drivers that Valve has not upstreamed,
that are basically required for this device to operate well. I picked
those patches from the kernel tree they released for 6.5, and rebased
them onto 6.8.
2024-03-11 10:30:25 -07:00
Henrik Grimler a2fef82d62 device-raspberry-pi3: move config.txt stuff to usercfg.txt (MR 4903)
Our config.txt is replaced (mv'ed to config.txt.old, maybe by alpine's
initramfs-generator?) and so our configuration does not have an
effect. Put our config stuff in usercfg.txt instead, which is included
by config.txt.

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2471
[ci:skip-build]: already built successfully in CI
2024-03-10 21:33:16 +02:00
Henrik Grimler 48a3705dfd device-raspberry-pi4: move config.txt stuff to usercfg.txt (MR 4903)
Our config.txt is replaced (mv'ed to config.txt.old, maybe by alpine's
initramfs-generator?) and so our configuration does not have an
effect. Put our config stuff in usercfg.txt instead, which is included
by config.txt.

Also update vmlinuz name, should be vmlinuz-rpi and not vmlinuz-rpi4.
2024-03-10 21:33:16 +02:00
Henrik Grimler 1c1b47d6e2 device-raspberry-pi4: depend on linux-rpi instead of linux-rpi4 (MR 4903)
Name of package in aports is linux-rpi these days. linux-rpi provides
linux-rpi4 for backward compatibility, so depending on linux-rpi4
still works, but lets use real package name so that it is easier to
find.
2024-03-10 21:33:16 +02:00
Caleb Connolly a65dc9b4c0 postmarketos-initramfs: bigger log image size (MR 4880)
Sometimes, there can be more than 10M of stuff collected for logging,
which breaks things.. bump the size to 32M which should still be small
enough for low end / old devices.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-10 16:10:13 +00:00
Devin Lin 8ee5516088 main/postmarketos-ui-plasma-mobile: update list of pre-installed apps (MR 4895)
[ci:skip-build]: already built successfully in CI
2024-03-10 16:06:24 +00:00
Stefan Hansson bf62d9a814 device-cutiepi-tablet: remove redundant symlinks (MR 4898)
These are now provided by linux-firmware-brcm, which subsequently causes
a conflict between these packages. Fix it by removing the symlinks from
the device package.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/2616
[ci:skip-build]: already built successfully in CI
2024-03-10 15:37:21 +00:00
Barnabás Czémán 09d189f364 motorola-potter: use msm-firmware-loader & cleanups (MR 4870)
Changes:
- use msm-firmware-loader
- use soc-qcom-msm8953
- cleanup firmware package
- add tqftpserv as a dependency for modem
- add modules-initfs with panel and touchscreen modules

[ci:skip-build]: already built successfully in CI
2024-03-10 15:30:38 +00:00
Gianluca Boiano 54986eb5eb linux-postmarketos-qcom-msm8953: upgrade to 6.7.9-r0 (MR 4899)
[ci:skip-build]: already built successfully in CI
2024-03-10 11:18:18 +01:00
Gianluca Boiano 6171147de1 soc-qcom-msm8953: update ucm configurations (MR 4899)
- add huawei-milan config:
- add Lenovo ThinkSmart View (CD-18781) config
- add Motorola G5 Plus (potter) config
2024-03-10 11:18:18 +01:00
Gianluca Boiano 08e3a394c9 main/lk2nd-msm8953: upgrade to 0.3.7 (MR 4899) 2024-03-10 11:18:18 +01:00
Bobby The Builder f630e34b60 device-pine64-pinephonepro: microphone alsa tune (MR 4630)
Since kernel 6.5 (I believe) the ucm config
   need to be adjusted because the mic way too
   sensitive. The other party hears a freight
   train riding rails that are almost
   perpendicular ...

   This is an attempt to get the mic to work nicely.
[ci:skip-build]: already built successfully in CI
2024-03-09 20:58:52 +01:00
Adam Thiede ce473309ea linux-postmarketos-mediatek-mt8173: upgrade to 6.7.9 (MR 4896)
[ci:skip-build]: already built successfully in CI
2024-03-08 09:31:26 -06:00
Arnav Singh c8e4507e5d linux-postmarketos-allwinner: upgrade to 6.7.9_git20240306 (MR 4893)
[ci:skip-build]: already built successfully in CI
2024-03-06 17:11:42 -08:00
Luca Weiss d7c64500ee modem/tqftpserv: upgrade and add patches for rsize & seek option handling (MR 4747)
Makes modem work on fairphone-fp4 (sm6350/sm7225) and fairphone-fp5
(sc7280/qcm6490)

Patches are submitted upstream:
https://github.com/andersson/tqftpserv/pull/13
[ci:skip-build]: already built successfully in CI
2024-03-06 01:50:52 +01:00
Luca Weiss 7aca98d772 cross/musl-*: upgrade to 1.2.5-r0 (MR 4890)
[ci:skip-build]: already built successfully in CI
2024-03-05 20:40:55 +01:00
Luca Weiss c8e64981b7 cross/busybox-static-*: upgrade to 1.36.1-r20 (MR 4890) 2024-03-05 20:40:55 +01:00
hitechshell 8ab166acc0 main/postmarketos-base: change order of baud rate and tty name according to upstream (MR 4889)
[ci:skip-build]: already built successfully in CI
2024-03-05 20:36:39 +05:00
Anton Bambura 0446f43875 google-snow: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura aef897f44a google-peach-pit: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura c37536a7c9 google-peach-pi: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura 3a7ff7125d google-spring: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Arnav Singh 2eb1a1dc2f device-google-x64cros: remove nonfree-firmware subpackages (MR 4887)
They were used to install `oem-{amd,intel}-nonfree-firmware` but they had been
merged into `oem-{amd,intel}` by c6306cb9bb
2024-03-05 15:37:59 +01:00
Devin Lin cf2026196e postmarketos-base-ui-plasma: remove unnecessary override files, and move kscreenlocker override back to plasma-mobile (MR 4882)
A bunch of override files in postmarketos-base-ui-plasma seem to have come from the plasma-mobile ui package, which probably shouldn't be on desktop and bigscreen.

With Plasma 6, a lot of the overrides are now no longer necessary for Plasma Mobile.

Situation with each file:
- 000-gschema.override - This likely was for changing maliit themes and GTK title bar layout for Plasma Mobile, maliit theming was dropped (https://github.com/maliit/keyboard/pull/108), and title bar layout is now handled within Plasma Mobile
- kdeglobals - This was for setting the look-and-feel on Plasma Mobile and default browser, it's now handled within Plasma Mobile envmanager
- kwinrc - These were settings for disabling window decorations and setting the vkbd to maliit, which is now handled in Plasma Mobile envmanager
- kscreenlockerrc - This is to autolock the screen after login (tinydm autologs in), the file was for Plasma Mobile, I don't think we want it for Desktop since SDDM is used there
2024-03-04 22:59:59 +01:00
Raymond Hackley 135a2e4904 main/postmarketos-ui-plasma-{desktop,bigscreen}: drop duplicated dependencies (MR 4876)
Drop duplicated dependencies, which have been already included
in postmarketos-base-ui-plasma:

- dnsmasq
- elogind
- elogind-openrc
- polkit-kde-agent-1
[ci:skip-build]: already built successfully in CI
2024-03-04 22:41:42 +01:00
Henrik Grimler 7852e08148 device-samsung-i9100: use ttySAC2 for getty shell (MR 4861)
Unfortunately we cannot get to a getty shell unless we also run:
  setenv SWITCH_SEL 3
from the SBL shell.  Furthermore, actually getting kernel output
requires setting console=ttySAC2,115200.

SWITCH_SEL might be related to the "MUIC" of the device, but the
variable also controls whether or not it is possible to get serial
output from pads on main board, and seems weird that those pads are
affected by MUIC (unless pads are also behind MUIC, but seems like
that would be very annoying when developing the device)

See also initial MR where mainline support for i9100 was added, where
serial output is also discussed:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1598#how-to-get-serial-output
[ci:skip-build]: already built successfully in CI
2024-03-04 21:04:45 +01:00
Stefan Hansson 494f42defb main/postmarketos-ui-plasma-bigscreen: disable (MR 4883)
All of Plasma Bigscreen was removed from aports[1]. It will return with
KDE 6.1, according to PureTryOut. But for now, disable this package by
making it build on no architectures so that CI works again.

 [1]: https://gitlab.alpinelinux.org/alpine/aports/-/commit/4e7fa26ea26a81c59ae26d3327bbe13838f19208

[ci:skip-vercheck]: Version does not need to change when changin arches.
2024-03-04 20:52:25 +01:00
Clayton Craft 936e121615 linux-lenovo-21bx: upgrade to 6.8-rc6 (MR 4877)
[ci:skip-build]: already built successfully in CI
2024-03-03 23:03:43 +01:00
Martin Jücker d1655e9fd6 samsung-p4note: enable audio (MR 4868)
add alsa-utils package and the corresponding ucm configuration to enable
audio on the p4note
2024-03-03 08:56:39 +00:00
Arnav Singh 5ad554d68e main/linux-postmarketos-allwinner: upgrade to 6.7.7 (MR 4878)
[ci:skip-build]: already built successfully in CI
2024-03-02 18:12:33 +01:00
cnnrduncan eb32f6c41b firmware-xiaomi-surya: install venus firmware (MR 4874) 2024-03-02 03:17:42 +00:00
armel.guido 1e7a8a1556 samsung-jxelte: display, USB network and zram fixes (MR 4852)
Added postmarketos-base-downstream and msm-fb-refresher to jxelte
dependencies.
    The modules_install and firmware_install targets install binary
files as the zram files among others.
    Added the 'mfc_fw.bin' binary to be installed from the firmware
package.
    The '0002-fix-usb-gadget-random-mac.patch' patch make it possible
to get ethernet over usb, and the 'disable-charging-bootmode.patch'
avoid error messages on dmesg about 'sec_battery_probe'.

[ci:skip-build]: already built successfully in CI
2024-03-01 12:29:42 +01:00
Veronika Bušová e891b5117a samsung-a32: new device (MR 4859)
[ci:skip-build]: already built successfully in CI
2024-03-01 12:22:51 +01:00
Adam Thiede ed1447cac9 firmware-powervr-gx6250: upgrade to 1.0.6503725 and take over maintainership (MR 4872)
[ci:skip-vercheck]: due to changed versioning in upstream
2024-02-29 10:07:41 -06:00
Adam Thiede b297dde28a linux-postmarketos-mediatek-mt8173: take over maintainership (MR 4872) 2024-02-28 14:46:34 -06:00
Adam Thiede f1b991b811 device-google-oak: take over maintainership (MR 4872) 2024-02-28 14:46:10 -06:00
Adam Thiede 30053c68f2 linux-postmarketos-mediatek-mt8173: upgrade to 6.7.6 (MR 4869)
[ci:skip-build]: already built successfully in CI
2024-02-28 19:34:22 +01:00
Stefan Hansson 79a047d5ae linux-purism-librem5: upgrade to 6.6.18pureos1 (MR 4866)
[ci:skip-build]: already built successfully in CI
2024-02-27 08:39:44 -08:00
Stefan Hansson fc9c3c1fef CI: don't check for executable files in temp (MR 4858)
Most things in temp come from Alpine's aports repository, which has
different rules and does not for example mandate that files are not
marked as executable. As such, let's not require packages in there
to conform to our rules.

[ci:skip-build]: already built successfully in CI
2024-02-27 08:24:53 -08:00
Stefan Hansson 20463394b0 CI: .ecrc: Exclude temp from check (MR 4858)
Most things in temp come from Alpine's aports repository, which has
different rules and does not for example mandate that all files use tabs
instead of spaces. As such, let's not require packages in there to
conform to our rules.
2024-02-27 08:24:53 -08:00
Arnav Singh a1c6859f16 main/linux-postmarketos-allwinner: upgrade to 6.7.6 (MR 4865)
[ci:skip-build]: already built successfully in CI
2024-02-27 10:44:40 +01:00
Stefan 9531e5fe54 samsung-zerofltexx: add missing dependency (MR 4851)
Fix incomplete commit ecc91098a9 that
was missing the dependency on
"postmarketos-base-downstream-disable-udev-v4l".

Fix MR !4768

[ci:skip-build]: already built successfully in CI
2024-02-26 11:17:55 +01:00
socksinspace c134e75336 lg-vee7e: fix red screen (MR 4863)
Fixes the red screen that plagued this port from the beginning.

[ci:skip-build]: already built successfully in CI
2024-02-26 11:06:37 +01:00
Henrik Grimler 39a2a1aa5c linux-postmarketos-exynos4: update to 6.7.6 (MR 4862)
Tested on m0, i9100 and odroid-u2.

[ci:skip-build]: already built successfully in CI
2024-02-26 10:57:43 +01:00
socksinspace a2a377334b lg-vee7e: fix build, and add a new shared patch (MR 4860)
This fixes building for linux-lg-vee7e, and adds a shared patch.

The shared patch replaces the "Solaris style flags" in piggy.gzip.S

[ci:skip-build]: already built successfully in CI
2024-02-25 18:55:42 +01:00
Anton Bambura e40e525ee7 linux-postmarketos-mediatek-mt81xx: fix nvme on tomato-r1 (MR 4856)
[ci:skip-build]: already built successfully in CI
2024-02-25 15:27:14 +01:00
Clayton Craft 50bde57187 device-lenovo-21bx: update kernel cmdline params for new kernel (MR 4854)
Taken from:
https://github.com/jhovold/linux/wiki/X13s#kernel-command-line

[ci:skip-build]: already built successfully in CI
2024-02-25 13:09:32 +02:00
Clayton Craft 9ac973f072 linux-lenovo-21bx: upgrade to 6.8_rc5 (MR 4854)
kconfig migrated, and enabled a driver for a usb uart/serial adapter
that I use sometimes for debugging other devices.
2024-02-25 13:09:32 +02:00
Nikita Travkin fa3a734875 device/msm8916*: Generate extlinux.conf for armv7 devices (MR 4855)
Commit fe54a7be4 ("device/msm8916*: Generate extlinux.conf (MR 4826)")
updated most users of msm8916 kernel to generate extlinux.conf.

Unfortunately the commands used to bulk-make changes only affected
aarch64 users of the kernel package and armv7 users were missed.

Apply the same changes to all armv7 users of msm8916 kernel too.

[ci:ignore-count]
2024-02-24 16:09:24 +05:00
Henrik Grimler 886878a3d4 u-boot-starqltechn: remove unused var depends_dev (MR 4853)
$depends_dev is most likely a left over from u-boot package in aports
repo.  Remove the variable from makedepends field as it is not used.
2024-02-23 12:21:47 +00: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
Henrik Grimler 71c5523401 firmware-samsung-midas: add bl1 blob (MR 4850)
This p4412_s_f2bl1.bin is signed by Samsung and allegedly originates
from a vendor bsp package for one of the early odroid devices based on
exynos 4412.  Unlike most bl1 blobs this one does not check the
signature of bl2, allowing us to use open bootloaders like u-boot
instead of Samsung's proprietary sboot.
2024-02-23 08:00:36 +01:00
Natalia M. Sother fa34a43cfc xiaomi-merlin: new device (MR 4808)
[ci:skip-build]: already built successfully in CI
2024-02-22 21:24:08 +01:00
Clayton Craft 94de94e598 device-generic-x86_64: install all linux-firmware by default (MR 4794)
This installs all linux-firmware by default (using pmb_recommends) in a
way that allows for users to remove extraneous fw if they want.

The old `nonfree-firmware` packages have been dropped since pmbootstrap
no longer conditionally installs these.
[ci:skip-build]: already built successfully in CI
2024-02-21 22:54:41 -08:00
Clayton Craft c6306cb9bb community/oem-*: add firmware dependencies (MR 4794) 2024-02-21 22:54:41 -08:00
Stefan Hansson ec5b59eb77 CI: check for "before wpa_supplicant" in OpenRC service files (MR 4769)
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4564
2024-02-21 21:19:12 +01:00
M0Rf30 5fce743177 soc-qcom-msm8953: update ucm configurations (MR 4831)
- add VoiceMMode1 configuration

[ci:skip-build]: already built successfully in CI
2024-02-20 19:15:12 +01:00
M0Rf30 22ed4b23ef linux-postmarketos-qcom-msm8953: upgrade to 6.7.5-r0 (MR 4831) 2024-02-20 19:15:12 +01:00
Arnav Singh 005db0a024 main/linux-postmarketos-allwinner: update to v6.7.4 (MR 4847)
[ci:skip-build]: already built successfully in CI
2024-02-20 19:11:28 +01:00
Luca Weiss 1cbd8ecfae cross/grub-efi-x86: upgrade to 2.12-r2 (MR 4844)
[ci:skip-build]: already built successfully in CI
2024-02-19 16:24:37 -08:00
Anton Bambura c4f73b934b samsung-manta: mark as GPU accelerated (MR 4843)
See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61093

[ci:skip-build]: Already built successfully in CI.
2024-02-19 21:48:11 +01:00
Anton Bambura 1b585e3317 google-snow: enable GPU (MR 4843)
Enable GPU by removing all software rendering workarounds.

While at it also remove i3wm config, because it should be in ui package
if we want to make it default.

See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61093
2024-02-19 21:48:09 +01:00
Oliver Smith ff20316ff3 CI: allow firmware packages as deps of device pkgs (MR 4839)
We have decided to not use the non-free firmware subpackages anymore,
read the details in the blog post. Allow direct dependencies from the
device packages to the firmware packages.

Related: https://postmarketos.org/edge/2024/02/15/default-nonfree-fw/
[ci:skip-build]: already built successfully in CI
2024-02-19 21:35:33 +01:00
Anton Bambura bf944e6c06 linux-google-nyan: upgrade to 6.6.17 (MR 4840)
This switches from 6.1 LTS to 6.6 LTS.

Unfortunately, this version has regressions related to SPI (breaks keyboard)
and DRM (breaks display). Thus adding patches to revert these regressions.
Hopefully, these will be properly fixed until the next LTS release.

This also makes it pass community kconfig check again.

[ci:skip-build]: already built successfully in CI
2024-02-19 20:44:05 +02:00
Clayton Craft 6923219afc main/boot-deploy: upgrade to 0.14 (MR 4842)
Changelog:
        - Add support for Linux kernel cpu microcode loading on boot

[ci:skip-build] already built successfully in CI
2024-02-19 10:28:47 -08:00
Raymond Hackley 30d57cadf9 samsung-fortuna: drop subpackage phosh (MR 4841)
It's already well scaled in 1.5x on fortuna devices.
Drop unnecessary phoc.ini

[ci:skip-build]: Already built successfully in CI.
2024-02-19 18:02:08 +01:00
Stefan Hansson e3b8f656b4 CI: do ruff check when .gitlab-ci.yml changes (MR 4838)
To ensure that the check still works after .gitlab-ci.yml changes.
2024-02-18 19:39:20 +00:00
Stefan Hansson 8ff400c128 CI: remove unnecessary apk add (MR 4838)
This happens later in ruff.sh anyway.
2024-02-18 19:39:15 +00:00
Federico Amedeo Izzo 587b03ad73 clockworkpi-uconsole-cm4: new device (MR 4751)
[ci:skip-build]: already built successfully in CI
2024-02-18 19:08:43 +00:00
Arnav Singh 7fdf08a0ad main/postmarketos-base-ui: remove tinydm-x11 subpackage (MR 4837)
This reverts commit 518e62df34
"main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)"

aports/tinydm now provides its own -x11 subpackage to do this since
https://gitlab.alpinelinux.org/alpine/aports/-/commit/7df6d02609d42617412267b2ea6609cc9b9e3ef3
2024-02-18 10:34:27 -08:00
Anton Bambura 2cee97a462 main/postmarketos-cros-common: remove newlines after comments (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura 9491099e73 main/postmarketos-cros-common: add -p to mkdir at sway subpackage (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura 9353628472 main/postmarketos-cros-common: add keyboard mapping (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura e2eb8f7927 main/cros-keyboard-map: new aport (MR 4821) 2024-02-18 04:31:40 +02:00
Clayton Craft 0aa02bb6f4 cross/gcc-*: upgrade to 13.2.1_git20231014-r1 2024-02-17 15:52:43 -08:00
Clayton Craft f3fc836ccc main/systemd-boot: enable armv7 and riscv64 support (MR 4830)
[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-02-17 15:29:05 -08:00
Clayton Craft 5ef542d70e device-generic-x86_64: initfs: fix FDE w/ usb keyboard (MR 4829)
- Fixes FDE unlocking on devices with usb keyboards

- Also drops the i915 module from the initfs, this is specified by the
  oem-intel package now

[ci:skip-build] already built successfully in CI
2024-02-16 10:05:29 -08:00
Clayton Craft 65cc23c5b6 oem-intel: include i915 module in initramfs (MR 4829) 2024-02-16 10:05:29 -08:00
xtex 160c63f12c main/postmarketos-initramfs: allow redirect logs to pmsg device (MR 4800)
/dev/pmsg0 may be created by pstore driver. When it is available,
write logs into it so logs can be recovered through pstore after
a failed boot. This is useful for devices without console or hard
to get console.
2024-02-16 09:39:37 -08:00
Alexandre Messier 9298e1eb9f device-htc-m8: remove screen_[height,width] variables (MR 4799)
The "screen_height" and "screen_width" are deprecated, and can
safely be removed.

[ci:skip-build]: already built successfully in CI
2024-02-16 17:58:27 +01:00
Alexandre Messier b5a019bb00 device-htc-m8: specify 'system' as rootfs partition (MR 4799)
On HTC devices with S-On still active, the 'userdata' partition
is not writable. Change the default rootfs partition to the
'system' partition, which is writable.
2024-02-16 17:58:27 +01:00
Alexandre Messier 71015037ca device-htc-m8: remove unused entry 'external_storage_install' (MR 4799)
The device info entry 'external_storage_install' is not in use
anymore, remove it.
2024-02-16 17:58:27 +01:00
Eray Tutmaz 65ae048ae5 xiaomi-fire: new device (MR 4827)
Working: USB OTG, display, external/internal storage
2024-02-16 15:39:50 +01: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
Eray Tutmaz 93f68f6253 samsung-j7y17lte: new device (MR 4502)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 02:19:03 -08:00
armel.guido d33abab084 linux-samsung-jxelte: fix build removing Sun-Solaris style flag (MR 4825)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 09:03:23 +01:00
Clayton Craft 4dac896160 pmos-base-ui: disable DNS filtering to work around dnsmasq hang (MR 4824)
Crappy workaround, it's better than having DNS broken...
See: https://gitlab.com/postmarketOS/pmaports/-/issues/2601

Also removed it from shellcheck, because SC doesn't like all of the
unused/unreachable things after the `exit 0`. This commit should be
reverted when the issue is actually fixed later...

[ci:skip-build] already built successfully in CI
2024-02-14 12:17:55 -08:00
Anton Bambura 70e5d9164b samsung-manta: replace openrc (MR 4823)
Closes #2600
2024-02-14 11:37:45 +02:00
Arnav Singh 5e7d14a297 main/device-pine64-pinephone: install nonfree-firmware subpackage via _pmb_recommends (MR 4822)
... instead of relying on pmb's interactive question that is being removed
in pmbootstrap!2255

[ci:skip-build]: already built successfully in CI
2024-02-13 23:07:16 +01:00
Jens Reidel bc32205ef8 xiaomi-davinci: new device (MR 4547)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: already built successfully in CI
2024-02-13 12:57:05 +01:00
Jens Reidel 2f24a3913e device-xiaomi-surya: various updates (MR 4547)
* Depend on the common soc-qcom-sm7150 package
* Set console=null in cmdline
* Add touchscreen firmware to initramfs
* Add required modules for touchscreen to modules-initfs
* Panel output works, drop phoc.ini
* Switch maintainer and co-maintainer
* Bump pkgrel to 1.2

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-02-13 12:57:05 +01:00
Danila Tikhonov 6e3372541b firmware-xiaomi-surya: update firmware (MR 4547)
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2024-02-13 12:57:05 +01:00
Danila TikhonovandJens Reidel f5a048c777 soc-qcom-sm7150: new aport (MR 4547)
Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-02-13 12:57:05 +01:00
Clayton Craft 5013cca632 main/postmarketos-mkinitfs: upgrade to 2.3.1 (MR 4763)
[ci:skip-build] already built successfully in CI
2024-02-12 15:42:25 -08:00
Clayton Craft a0eabc6e59 main/boot-deploy: upgrade to 0.13 (MR 4763) 2024-02-12 15:42:21 -08:00
Arnav Singh 518e62df34 main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)
tinydm uses startx for Xorg UIs, which is provided by the xinit package.
The xinit package used to be pulled in automatically by
the xorg-server package, but this stopped being the case with
https://gitlab.alpinelinux.org/alpine/aports/-/commit/1fd2d70696b88a0605ad5771137da148c998c192
2024-02-12 11:27:33 -08:00
Sicelo A. Mhlongo bdf9697cd9 ci: perform wallpaper checks on N900 too (MR 4810)
[ci:skip-build]: already built successfully in CI
2024-02-12 19:57:26 +01:00
Sicelo A. Mhlongo fb01ee1bf9 device-nokia-n900: drop custom wallpaper config (MR 4810)
Wallpaper is now configured globally from the main `postmarketos-ui-i3wm`
package.
2024-02-12 20:17:41 +02:00
Sicelo A. Mhlongo 90b0205a90 postmarketos-ui-i3wm: configure wallpaper globally (MR 4810)
Configure wallpaper in the UI package, to accommodate changing wallpapers per
release.

The wallpaper path is adjusted in `/usr/share/i3/config.pmos`.
2024-02-12 20:14:11 +02:00
Jens Reidel 46da640a74 linux-postmarketos-qcom-sm7150: upgrade to 6.7.4 (MR 4818)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: Already built successfully in CI.
2024-02-12 13:36:48 +01:00
Svyatoslav Ryhel 19641651a8 linux-postmarketos-grate: upgrade to 6.6.14-lts (MR 4819)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2024-02-12 10:42:17 +02:00
jane400 98af7cea03 main/postmarketos-base-ui: split usb-tethering into subpackage (MR 4788)
this allows to opt-out of usb-tethering on pmOS devices with
`apk add !postmarketos-base-ui-networkmanager-usb-tethering`
this is useful for developers with laptops on pmOS / dailydriving
those laptops on pmOS.

[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:20:05 +01:00
Andras Sebok 0bc724b8ba samsung-j5y17lte: new device (MR 4797)
[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:15:00 +01:00
WeirdTreeThing 497374e290 linux-postmarketos-mediatek-mt8183: upgrade to 6.6.16 (MR 4813)
[ci:skip-build]: already built successfully in CI
2024-02-11 19:21:08 +02:00
Arnav Singh b73b434423 main/firmware-pine64-rtl8723bt: compress with zstd (MR 4812)
This uses the same settings that aports/linux-firmware will use with
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Arnav Singh 9f06c2b7cc main/firmware-pine64-ov5640: compress with zstd (MR 4812)
This uses the same settings as aports/linux-firmware will use with
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Arnav Singh 79866613ee main/linux-postmarketos-allwinner: support zstd-compressed firmware (MR 4812)
This is in preparation for aports/linux-firmware switching to zstd compression
in https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Ferass El Hafidi 8ea01b4219 linux-postmarketos-amlogic: enable new community kconfig options (MR 4815)
Also enable CONFIG_FW_LOADER_COMPRESS_ZSTD for zstd compression of
firmware. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-02-10 15:51:18 +01:00
Luca Weiss 9bc99167c3 linux-postmarketos-qcom-msm8974: enable new community kconfig options (MR 4803) 2024-02-09 21:01:05 +01:00
Luca Weiss dc4582792a linux-postmarketos-qcom-sc7280: enable new community kconfig options (MR 4803) 2024-02-09 21:01:05 +01:00
Anton Bambura 9f2b1dad9f google-corsola: new device (MR 4806)
[ci:skip-build]: already built successfully in CI
2024-02-09 21:47:38 +02:00
Anton Bambura 6c2241d917 google-cherry: new device (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura c79b58d23c google-asurada: new device (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura 124fc54823 linux-postmarketos-mediatek-mt81xx: new aport (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura 667c5c12ac google-x64cros: add mmc_block module to initfs (MR 4811)
This is required for eMMC
2024-02-09 21:44:03 +02:00
Alexandre Marquet a0e9c2250e samsung-manta: move to community (MR 4783)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:03 +02:00
Alexandre Marquet b9536f2889 device-samsung-manta: use max77686 RTC (MR 4783)
hwclock default configuration is to use the S3C RTC, which is mapped to
/dev/rtc0. However, reading from this clock fails with the following
kernel message:
"s3c-rtc 101e0000.rtc: hctosys: unable to read the hardware clock"
and the time as boot is then always set to 1/1/1970.

This commit change the default RTC to the MAX77686 one (mapped to
/dev/rtc1), that does not suffer from this issue.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:03 +02:00
Alexandre Marquet 5cd58b8a6b device-samsung-manta: make wifi-macaddr.sh pass shellcheck (MR 4783)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:02 +02:00
Alexandre Marquet de63d0f060 firmware-samsung-manta: remove .post-install script (MR 4783)
The adjustments made by this script are unnecessary now that the device
runs a mainline kernel, and more importantly the brcmfmac driver (as
opposed to the bcmdhd driver used in the vendor kernel).

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:02 +02:00
Anton Bambura 4d17876274 google-x64cros: add sdhci_pci to initfs modules (MR 4793)
This is required for eMMC on some devices
2024-02-09 11:59:01 +02:00
David Heidelberg bdea74f041 main/osk-sdl: drop (MR 4732)
Prequisite for dropping DirectFB support from SDL2 builds.

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-07 21:44:46 +00:00
Clayton Craft 47a42c8f16 main/unl0kr: "provide" osk-sdl (MR 4732)
needed to replace osk-sdl with unl0kr on systems where osk-sdl is in the
apk world file
2024-02-07 21:44:19 +00:00
Caleb Connolly 070ae7566d main/postmarketos-initramfs: depend on mdev-conf (MR 4807)
we need this, i think it was pulled in via some dependency before.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-02-07 22:41:29 +01:00
Bart Ribbers faf91a17cc main/postmarketos-base-ui-plasma: explicitly depend on -openrc subpackages and remove tinydm-set-session (MR 4802) 2024-02-07 22:39:57 +01:00
Luca Weiss 7a0c56293b device-fairphone-fp5: remove Phosh clock tweaks (MR 4804)
The latest version of phosh / gmobile knows about the notch, so remove
the gtk hacks.
2024-02-07 11:25:06 +01:00
Luca Weiss e8fd6d6635 device/*: rename partition_system to partition_rootfs (MR 4159)
With the pmbootstrap change let's change the deviceinfo variable names
to the non-deprecated version.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-02-07 09:45:34 +00:00
Oliver Smith 1547999e8f main/postmarketos-ondev: remove (MR 4801)
Remove it, as we don't build images with this anymore. A new package
will be added for ondev2 when it is ready.

Related: https://postmarketos.org/blog/2023/12/18/v23.12-release/#notable-changes
         "Installation images have been removed."
2024-02-07 09:16:00 +00:00
Bart Ribbers 268b30a555 postmarketos-base-ui-plasma: install flatpak support by default (MR 4798) 2024-02-06 16:45:15 -08:00
Bart Ribbers 45535ce780 pmos-ui-plasma-{bigscreen,desktop,mobile}: refactor to use a common base package (MR 4798)
Inspired by postmarketos-base-ui-gnome and https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4756
2024-02-06 16:45:14 -08:00
Clayton Craft dc235b39a0 pmos-ui-gnome: add some useful pkgs to pmb_recmds (MR 4756) 2024-02-06 16:05:57 -08:00
Clayton Craft cc5959c275 pmos-base-ui-gnome: add gnome-maps to pmb_recmds (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft 2b928cfc1b pmos-base-ui-gnome: add flatpak to pmb_recommends (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft 75c679e139 pmos-base-ui: add flatpak subpkg to configure default repo (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft d680f3eb09 pmos-ui-{gnome,phosh}: Move shared pmb_rcmds to pmos-base-ui-gnome (MR 4756)
These apps are useful to have on the full GNOME desktop too, and this
removes the need to duplicate package lists across UI meta packages that
depend on the base gnome UI package.
2024-02-06 16:05:56 -08:00
Clayton Craft 6191625ab9 pmos-ui-{gnome,phosh}: move kgx/gnome-console to pmb_recmds (MR 4756)
The package name has changed so the new name, gnome-console, is used
instead.
2024-02-06 16:05:56 -08:00
Clayton Craft 87e9476dbd pmos-ui-{gnome,phosh}: move shared depends to pmos-base-ui-gnome (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft c251612916 pmaports.cfg: set pmbootstrap_min_version=2.2.0 (MR 4756)
This version includes fixes for pmb_recommends, to be used by package
changes in pmaports.
2024-02-06 16:05:55 -08:00
Clayton Craft d3ed7fe428 main/postmarketos-initramfs: don't fallback looking for /boot when given uuid or path (MR 4775)
fixes #2562

[ci:skip-build] already built successfully in CI
2024-02-06 14:24:35 -08:00
Clayton Craft 2adefeb206 main/postmarketos-initramfs: tweak msg when boot or root not found (4775) 2024-02-06 14:24:15 -08:00
Anton Bambura d2dec46275 main/postmarketos-initramfs: wait for boot partition (MR 4775)
Some devices take time to initialize storage, e.g. Qualcomm laptops
using ADSP need to load firmware firstly, and initramfs script does
not always manage to mount boot partition in time.

Unfortunately, there is no reliable way to reproduce the issue, but
this patch should fix cases like this.
2024-02-06 14:21:15 -08:00
Pablo Correa Gómez 4456938022 temp/gtk4.0: upgrade to 4.13.6 (MR 4773)
[ci:skip-build]: Already built successfully in CI.
2024-02-06 21:18:49 +01:00
Ferass El Hafidi 3db1f266d0 linux-postmarketos-amlogic: upgrade to 6.7.2 (MR 4765)
This commit also removes librecomputer-solitude/alta device tree patches
as they're now upstream.

Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
[ci:skip-build]: already built successfully in CI
2024-02-06 20:35:44 +01:00
Luca Weiss 53ca7c81f2 linux-purism-librem5: enable new community kconfig options (MR 4795)
[ci:skip-build] # too many packages
2024-02-06 18:53:59 +00:00
Luca Weiss 47c14fb985 linux-postmarketos-allwinner: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 74078919a7 linux-postmarketos-rockchip: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 76ebc6d9f7 linux-postmarketos-qcom-sm6350: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss e5c3b4bf8d linux-postmarketos-qcom-sdm845: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 42180738d3 linux-postmarketos-qcom-sc7180: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 786927289f linux-postmarketos-qcom-msm8996: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 6cfe80db0b linux-postmarketos-qcom-msm8953: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss ce4e4532f9 linux-postmarketos-qcom-msm8916: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 6c30cb42a4 linux-postmarketos-omap: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss dad552d553 linux-postmarketos-mediatek-mt8183: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 065394f12b linux-postmarketos-mediatek-mt8173: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 5f8ae165f8 linux-postmarketos-grate: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss b7427191bf linux-postmarketos-exynos5: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss ac788b8f3d linux-postmarketos-exynos4: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 037d77840b linux-pine64-pinephonepro: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 25bab38b7f linux-google-veyron: enable new community kconfig options (MR 4795) 2024-02-06 18:53:54 +00:00
Arnav Singh 03940b180a main/crust: remove (MR 4785)
The community/crust package in aports is newer, and
its crust-pinephone subpackage is equivalent to this one.
2024-02-06 08:45:17 -08:00
Arnav Singh a12bbf1057 main/u-boot-pinephone: fix build to work with crust from aports (MR 4785)
aports' community/crust package generates a crust-pinephone subpackage
that is equivalent to pmaports' current main/crust package, that is,
the crust-pinephone subpackage contains the SCP firmware binary needed for
the PinePhone. The aports crust package itself only contains a LICENSE file.
Furthermore, aports' package updated to v0.6 recently, so apk would pick it
over pmaports' v0.5 package, which would cause the build to fail because of
the missing SCP firmware binary.

This change fixes the build of u-boot-pinephone by switching the dependency to
the aports crust-pinephone package.
2024-02-06 08:44:31 -08:00
Oliver Smith ee4e52206a oem-amd: firmware files + modules -> initfs-extra (MR 4796)
Move the files to initramfs-extra, so the initramfs is not too big for
ChromeOS devices. I had initially added this to initramfs, because
otherwise the graphics on my Thinkpad L14 would not come up. But I
verified that it also works with having it in initramfs-extra.

Fixes: #2578
2024-02-06 15:46:59 +00:00
Luca Weiss 5df7206d7a oem-{amd,intel}: move to community (MR 4791)
There's now packages in community depending on this. Move it.

[ci:skip-build]: already built successfully in CI
2024-02-06 02:01:18 +01:00
Luca Weiss 4321701042 device-google-x64cros: add nonfree-firmware subpackages (MR 4791)
This is required by oem-amd/oem-intel dependencies.
2024-02-06 01:52:38 +01:00
Luca Weiss 91475c1230 device-qemu-amd64: move kernel-none subpackage as last (MR 4790)
Currently the none kernel gets selected as default, move it to last so
that kernel-lts gets selected by default.

[ci:skip-vercheck]
2024-02-06 01:02:25 +01:00
Oliver Smith 3661a84936 cross/musl: upgrade to 1.2.4_git20230717-r6 2024-02-05 23:27:09 +00:00
Richard Acayan f43d13e14b testing/linux-postmarketos-qcom-sdm670: upgrade to v6.7.2 (MR 4777) 2024-02-05 23:09:29 +01:00
Nikita Travkin e5bfcbba1a soc-qcom-msm8916: update UCM configurations (MR 4787)
- Update mic jack name to the upstream one

[ci:skip-build]: Already built successfully in CI.
2024-02-05 15:27:54 +01:00
Arnav Singh e0dbd3c78d testing/u-boot-*: remove spurious crust dependency from AMLogic devices (MR 4786)
crust has no use for non-Allwinner devices.
2024-02-04 00:02:29 -08:00
Anton Bambura 16e1b20d8a device-google-x64cros: use oem-intel and oem-amd packages (MR 4779)
Inspired by generic-x86_64

Also, add myself as co-maintainer
2024-02-02 20:13:06 +01:00
adamthiede 8c5e77ae65 linux-postmarketos-mediatek-mt8173: upgrade to 6.7.3 (MR 4784)
[ci:skip-build] Built fine on Gitlab CI already
2024-02-02 21:05:10 +03:00
Raymond Hackley 3bbb83f3cc samsung-a6plte: fix panel display (MR 4562) 2024-02-02 16:40:33 +01:00
Vishal Balasubramanian 696e202443 samsung-degaswifi: new device (MR 4767)
[ci:skip-build]: already built successfully in CI
2024-02-02 13:24:24 +01:00
Luca Weiss cab106e84e linux-postmarketos-qcom-msm8226: upgrade to 6.7.2 (MR 4781)
Fix USB gadget regression of 6.7.0 by merging -stable.

[ci:skip-build]: already built successfully in CI
2024-02-01 18:34:54 +01:00
M0Rf30 453e1e28fa linux-postmarketos-qcom-msm8953: upgrade to 6.7.2-r0 (MR 4764)
[ci:skip-build]: already built successfully in CI
2024-02-01 17:52:10 +01:00
Alexandre Marquet 136e5b89f3 samsung-manta: add co-maintainer (MR 4782)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>

[ci:skip-build]: Already built successfully in CI.
2024-02-01 13:54:07 +01:00
Alexandre Marquet 91d7f6f41d samsung-manta: remove unnecessary modules-load.conf (MR 4782)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-01 13:42:47 +01:00
Ferass El Hafidi ad7eb63663 treewide: replace f_'s personal email with his @postmarketos.org one (MR 4778)
[ci:skip-vercheck]

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-01-31 18:58:26 +01:00
Anton Bambura 72a051e125 samsung-manta: add initramfs modules (MR 4780)
This is required for splash screen and FDE

[ci:skip-vercheck]
2024-01-31 20:38:44 +03:00
Anton Bambura 9c12b1bcb1 samsung-manta: enable automatic kernel upgrades (MR 4780) 2024-01-31 20:38:41 +03:00
Anton Bambura fbd73fcec1 samsung-manta: remove irrelevant deviceinfo variables (MR 4780) 2024-01-31 20:38:37 +03:00
Anton Bambura b24616a252 samsung-manta: take maintainership (MR 4780)
This device has no maintainers specified, and, though I did not port this
device, I have one and I maintain linux-postmarketos-exynos5, so it is
probably okay for me to take maintainership of it.
2024-01-31 20:38:30 +03:00
Clayton Craft 136baec915 device-valve-jupiter: depend on oem-amd (MR 4728)
[ci:skip-build] already built successfully in CI
2024-01-30 12:47:18 -08:00
Clayton Craft c6b6bd45ef device-generic-x86_64: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Clayton Craft feb09aa916 oem-intel: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Clayton Craft e988ace3cb oem-amd: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Henrik Grimler 5e0e66568f device-samsung-chagallwifi: set myself as sole maintainer (MR 4721)
David has been inactive for quite a while.

[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-01-30 12:43:10 -08:00
Henrik Grimler f66cdf089c device-samsung-klimtlte: update kernel statuses (MR 4721)
Wifi is broken in downstream, but works in mainline.
2024-01-30 12:26:22 -08:00
Henrik Grimler f21c045b68 device-samsung-chagallwifi: update kernel statuses (MR 4721)
Wifi is broken in downstream, but works in mainline.
2024-01-30 12:26:22 -08:00
Henrik Grimler fe0edb541b linux-samsung-klimtlte: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:22 -08:00
Henrik Grimler 20e286aa77 linux-samsung-chagallwifi: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:21 -08:00
Henrik Grimler 89d074c762 samsung-klimtlte: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler 7d3a0bb977 samsung-chagallwifi: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler 6b48aee5cd firmware-samsung-klimt: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:21 -08:00
Henrik Grimler bc15225b03 firmware-samsung-klimt: switch to latest commit (MR 4721) 2024-01-30 12:26:21 -08:00
Henrik Grimler 7af2394e0c samsung-klimtlte: select firmware pkg variant in device package (MR 4721)
We want both klimtwifi and klimtlte to be able to depend on
firmware-samsung-klimt, for both their downstream and mainline kernel
variants.

Previously we used install_if like:
install_if="device-samsung-klimtlte-kernel-mainline" which will only
work for klimtlte and not klimtwifi.  Instead we add two nonfree
subpackages to the device packages that install_if's depending on
kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler a078aa3c62 firmware-samsung-chagall: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:20 -08:00
Henrik Grimler a21a732983 firmware-samsung-chagall: add more downstream firmware blobs (MR 4721)
Add more wifi blobs, which might be used by different device models,

Also switch to another, better maintained, source repo.
2024-01-30 12:26:20 -08:00
Henrik Grimler 654b9dc36e samsung-chagallwifi: select firmware pkg variant in device package (MR 4721)
We want both chagallwifi and chagalllte to be able to depend on
firmware-samsung-chagall, for both their downstream and mainline
kernel variants.

Previously we used install_if like:
install_if="device-samsung-chagallwifi-kernel-mainline"
which will only work for chagallwifi and not chagalllte.  Instead we
add two nonfree subpackages to the device packages that install_if's
depending on kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler 4c89adb645 firmware-samsung-chagall: depend on firmware-samsung-exynos5420.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler f3f459db51 firmware-samsung-klimt: dep on firmware-samsung-exynos5420-.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler 124b9d677e firmware-samsung-exynos5420-downstream: add package (MR 4721)
Provides firmware files that are common for all Samsung devices based
on Exynos 5420 when using Samsung's vendor kernel.

For now the package contains mfc, sound and bluetooth firmware. Sound
and bluetooth do not work at the moment, but lets package the required
files anyways.
2024-01-30 12:26:20 -08:00
Arnav Singh 05a3c22d81 main/linux-postmarketos-allwinner: update to v6.7.2 (MR 4770)
Patch `0015-usb-gadget-u_ether-Re-attach-netif-device-to-mirror.patch` is
now in upstream.

[ci:skip-build]: already built successfully in CI
2024-01-29 21:22:03 +01:00
Anton Bambura 532f3962a5 temp/xf86-video-opentegra: remove (MR 4771) 2024-01-29 13:39:03 +01:00
Anton Bambura 9a5f7177b1 main/asus-transformer-blobtools: remove (MR 4772)
Devices that had been using it currently require users to install
U-Boot, so this package is not used and not needed anymore
2024-01-29 11:18:48 +01:00
Henrik Grimler 5e7ab9f35f device-lg-mako: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.

[ci:ignore-count]: many device packages updated at the same time
[ci:skip-build]: already built successfully in CI
2024-01-28 22:15:12 +01:00
Henrik Grimler 60c8f7a54f device-sony-yuga: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:12 +01:00
Henrik Grimler 02de87f414 device-sony-nicki: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:11 +01:00
Henrik Grimler 82591a8c25 device-jolla-sbj: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 93789b8362 device-htc-k2ul: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 10280b22e2 device-htc-protou: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler b9c053c51e device-motorola-titan: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 55f0db994b device-motorola-thea: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler dd04440b64 device-samsung-gts210lte: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4e9a885f22 device-xiaomi-santoni: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 6fde810437 device-samsung-s3ve3g: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler c63c313996 device-samsung-kminilte: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler ecc91098a9 device-samsung-zerofltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler f278d1f50f device-samsung-zeroltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 11b6021a21 device-samsung-v1awifi: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4a1db82b65 device-sharp-shl22: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4face185f1 device-samsung-j7eltetmo: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler bc573e7d96 device-samsung-treltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler 43f788fa2f main/postmarketos-base-downstream: add disable-udev-v4l subpackage (MR 4768)
Which replaces /lib/udev/rules.d/60-persistent-v4l.rules (from the
eudev package) with a symlink to /dev/null.  Around 20 devices need
this to fix a kernel panic with downstream kernel when starting udev.
Issue happens due to that camera firmware is missing and/or not loaded
properly.
2024-01-28 22:15:10 +01:00
Oliver Smith e08332313d channels.cfg: mark v23.06 as unsupported 2024-01-28 19:06:21 +00:00
Oliver Smith 7b8f969222 cross/grub-efi-x86: upgrade to 2.12-r1 2024-01-28 18:55:30 +00:00
Oliver Smith 8e8c795b79 cross/busybox-static-*: upgrade to 1.36.1-r19 2024-01-28 18:55:23 +00:00
Willow Barraco f0a67a15e3 main/postmarketos-ui-sxmo-de-*: change maintainership (MR 4762)
[ci:skip-build]: already built successfully in CI
2024-01-26 13:47:53 +01:00
Luca Weiss 9c79574bd9 device-fairphone-fp5: add ALSA UCM for DisplayPort audio (MR 4761)
Since audio over DisplayPort (over USB-C) is supported in the kernel,
add a UCM config to complete support.

To be clear, this might not work out of the box yet, I hope it'll start
working better when another audio route (speaker or microphone) is
working from kernel side.

[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:28:31 +01:00
Luca Weiss a794a8481c device-fairphone-fp5: set gpu_accelerated flag, add uim-selection dep (MR 4761)
Since the GPU is supported since a while enable
deviceinfo_gpu_accelerated to let pmbootstrap show UIs like phosh.

Also with modem working with patched tqftpserv, we need the
msm-modem-uim-selection dependency, so add that as well.
2024-01-26 12:28:30 +01:00
Luca Weiss 10545000d4 linux-postmarketos-qcom-sc7280: enable useful kernel config options (MR 4761)
* BINFMT_MISC
* CIFS
* LEDS_TRIGGER_PATTERN
* NETFILTER_XT_MATCH_STATISTIC
* PM_WAKELOCKS
* SND_USB_AUDIO
* UHID
* USB_CONFIGFS_NCM
2024-01-26 12:28:30 +01:00
André Apitzsch f8da0d6d3b device-motorola-peregrine: add mainline kernel configuration (MR 4753)
[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:25:38 +01:00
Luca Weiss eb0ff6b46c device-htc-memul: add GPU support, ADSP & modem firmware (MR 4745)
We also kind of drop support for downstream, if somebody's interested in
this please revive it.

[ci:skip-build]: already built successfully in CI
2024-01-26 10:11:50 +00:00
Luca Weiss 0e7f627641 firmware-htc-memul: move firmware to device-specific subdirectory (MR 4745)
In mainline Linux these paths will be used, move the firmware packaging
there. By doing this we drop downstream support. Support could be
restored by adding some symlinks in a downstream-specific package if
required.

We also start squashing the firmware into .mbn format with pil-squasher.

For now we keep the files in _wififiles in their old location, I'm not
sure yet where they need to go since I didn't have wcnss working on
mainline yet.
2024-01-26 10:11:50 +00:00
Luca Weiss 28d7319042 linux-postmarketos-qcom-msm8226: upgrade to 6.7.0 (MR 4745)
Manual config changes:
* QCOM_BAM_DMUX=y
2024-01-26 10:11:50 +00:00
Stefan Hansson d6cfda9df9 linux-purism-librem5: upgrade to 6.6.13pureos1 (MR 4759)
[ci:skip-build]: already built successfully in CI
2024-01-26 01:29:55 +01:00
Clayton Craft f0ab570655 temp/gtk4.0: workaround for mesa-asahi being used (MR 4760)
Fixes: issue 2561
[ci:skip-build]: already built successfully in CI
2024-01-25 22:46:32 +00:00
Teemu Ikonen b5bb90e3d3 temp/gtk4.0: upgrade to 4.12.5 (MR 4754)
Remove post-install etc. scripts.

[ci:skip-build]: Already built successfully in CI.
2024-01-24 17:06:24 +01:00
Arnav Singh ffd803d1dd main/postmarketos-base-ui: read USB network interface name from configfs gadget (MR 4750)
The configfs gadget can provide the actual interface name, which may not be
the default "usb0" since another gadget driver might have claimed "usb0".
This code is based on the `start_unudhcpd` function in `init_functions.sh`

[ci:skip-build] already built successfully in CI
2024-01-23 12:21:24 -08:00
Arnav Singh 2a0fab1a77 main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750)
Before this change the script assumed that the device has only one UDC.
However it is possible for a device to have multiple UDCs, in which case
the deviceinfo is the appropriate place to specify which one should be used.
This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc`
to specify the UDC that should be used.

Also, before this change the script assumed the USB network interface name is
"usb0". But other gadget drivers like `g_cdc` can claim USB interfaces
before the initramfs script gets around to creating one for USB networking,
so the interface might be "usb1" or something else. The configfs gadget itself
can provide the actual interface name, so this change makes the script
use that.
2024-01-23 12:21:24 -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 0a95f6ac31 main/devicepkg-dev: machine-info: remove manufacturer from HARDWARE_MODEL (MR 4551) 2024-01-22 19:32:30 +01:00
Luca Weiss 439227770f linux-postmarketos-qcom-sm6350: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
[ci:skip-build]: already built successfully in CI
2024-01-21 19:10:06 +01:00
Luca Weiss 0274ee9ea0 linux-postmarketos-qcom-sc7280: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
2024-01-21 18:02:48 +01:00
Duje Mihanović 90fe9b508a linux-samsung-coreprimevelte: upgrade to 6.7.0 (MR 4746)
Rewritten PMIC driver, power key and vibration support are also added in
this upgrade.
2024-01-21 13:17:46 +01:00
M0Rf30 badfe24eb6 linux-postmarketos-qcom-msm8953: upgrade to 6.6.12-r0 (MR 4744)
[ci:skip-build]: already built successfully in CI
2024-01-19 22:38:55 +01:00
Clayton Craft bf26469fd7 main/postmarketos-mkinitfs: add /lib/firmware to list of trigger dirs (MR 4742)
In many cases, when fw is installed in /lib/firmware, some of it ends up
in the initramfs. In those situations, mkinitfs should run so that the
initramfs gets the latest fw. This will result in mkinitfs possibly
running in cases where it doesn't matter (i.e. device has fw in
/lib/firmware but none is used in the initramfs), but I think the
trade-off is worth it.

This also breaks the triggers= line into multiple lines so that it's
easier to review/maintain. We can't prepend whitespace on these lines
since the apkbuild parser expects dirs to be separated by ":"
2024-01-19 18:51:50 +01:00
Stefan Hansson 73b1a493b9 ci: replace Flake8 with Ruff (MR 4741)
See similar patch in pmbootstrap for rationale:
https://gitlab.com/postmarketOS/pmbootstrap/-/commit/27618d5ffdb0b6cbf9471dc01a2ed14e1655ced0

W504 ignore is removed as the rule does not exist in Ruff. But, since it
was ignored anyway, this does not matter.
2024-01-19 18:06:09 +01:00
Stefan Hansson 57aa208435 ci: switch Alpine from latest stable to Edge (MR 4741)
We use this in pmbootstrap, and it is currently necessary to use Ruff.
Issue about moving Ruff to community:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15693
2024-01-19 18:05:58 +01:00
Clayton Craft b5b7983ade ci/grep.sh: always run all tests (MR 4740)
fixes #2543
2024-01-19 17:02:21 +01:00
Richard Acayan 4472e41952 google-sargo: drop msm-firmware-loader dependency (MR 4730)
Previously, the modem firmware would be loaded from the modem partition
using this firmware loader. As of the 6.5.4 SDM670 kernel upgrade, the
firmware is installed and loaded from the firmware package. Drop the
dependency on the msm-firmware-loader, which is now unused.
2024-01-19 16:43:46 +03:00
Clayton Craft a19105ce45 device-lenovo-21bx: add 'quiet' kernel cmdline option (MR 4739)
hides some early EFI-related kernel messages from the console
2024-01-19 12:38:50 +02:00
Clayton Craft 2ad0d8c4dc linux-lenovo-21bx: use zinstall (MR 4739) 2024-01-19 12:38:50 +02:00
Mohd Bilal 7a68a913e1 samsung-j6lte: new device (MR 4658)
[ci:skip-build]: Already built successfully in CI.
2024-01-18 23:25:52 +01:00
Stefan Hansson d8b97a440f CI: check for wallpaper being set in device packages (MR 4738)
We do not want this going forward as we will be changing the wallpaper
on a bi-yearly basis and we do not want to have perform shotgun surgery
every time we do so.

[ci:skip-build]: already built successfully in CI
2024-01-18 22:39:49 +01:00
WeirdTreeThing 1f86677848 alsa-ucm-conf-google-kukui: improvements for mt8183 ucm (MR 4733)
Krane doesn't have a headphone jack, which caused audio server issues
for me. Add a check to only enable the headphone and headset mic device
on non-Krane boards. Also improve the formatting and remove
ChromeOS-specifc options.

[ci:skip-build]: already built successfully in CI
2024-01-18 19:21:25 +01:00
QC8086 def7d29774 pine64-pinebookpro: change maintainership (MR 4736)
I would like to maintain this device to keep it in community.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-18 19:18:19 +01:00
Nia Espera ee009c6305 device-oneplus-lemonade: remove lemonadep bits and stop using empty dtbo (MR 4729)
[ci:skip-build]: already built successfully in CI
2024-01-18 19:06:44 +01:00
Nia Espera e3fd584570 devices/testing: add device-oneplus-lemonadep (MR 4729) 2024-01-18 19:06:44 +01:00
Nia Espera b76664e25b linux-postmarketos-qcom-sm8350: upgrade to v6.7 (MR 4729)
Also change source to point to shared sm8350 mainline kernel fork
2024-01-18 19:06:44 +01:00
Nia Espera b7361b32b6 soc-qcom-sm8350: add necessary packages as depends (MR 4729) 2024-01-18 19:06:37 +01:00
Nia Espera 34eedabcf4 firmware-oneplus-lemonade: add more firmware (MR 4729) 2024-01-18 19:06:04 +01:00
Clayton Craft 25557afcb5 linux-lenovo-21bx: build specific commit, not branch archive (MR 4735)
I was building a branch archive previously, which meant that rebuilding
would fail if someone pushed to the branch upstream (the archive
checksum would change)... so I've reverted back to building from a
specific commit for now.

pkgrel was increased because this commit includes a couple of
audio-related patches that weren't included in the previous packaging of
the 6.7 branch.

[ci:skip-build] Already build-tested on Gitlab CI
2024-01-18 08:34:01 +03:00
Stefan Hansson 9ef583c26a linux-postmarketos-stericsson: upgrade to 6.7.0 (MR 4443)
[ci:skip-build]: already built successfully in CI
2024-01-17 00:31:44 +01:00
mulingLHY 1ad76090c0 linux-xiaomi-kenzo: fix kernel-compile error by remove Sun-Solaris style flag (MR 4715)
[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:11:51 +01:00
Alexey Minnekhanov df6a692c8f xiaomi-clover: add Mi Pad 4 Plus variation (MR 4702)
Similarly to how it was done for xiaomi-beyllium with varying
display panels, add kernel variant for clover-plus.
Mi Pad 4 Plus is very very similar to regular Mi Pad 4,
but it has different panel and different touchscreen.
Therefore it uses different device tree in kernel - and it
is the only changed line in deviceinfo file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:04:43 +01:00
Alexey Minnekhanov 99e263a632 linux-postmarketos-qcom-sdm660: upgrade to 6.7.0 (MR 4702)
New devices:
* Xiaomi Mi Pad 4 Plus
  - simpledrm framebuffer
  - touchscreen
  - battery (fuelgauge, charger)
  - radios (modem, Wi-Fi, Bluetooth)

Changes to existing devices:
 * lavender:
   - radios (modem, Wi-Fi, Bluetooth)
   - battery (fuelgauge, charger)
 * tulip:
   - touchscreen
   - fixed vol-down button
   - Bluetooth

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/1580
Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2501

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-01-15 10:04:41 +01:00
Clayton Craft 74f7f0bc37 device-lenovo-21bx: add dependencies for enabling wwan / mobile data (MR 4718)
In order to make it work properly, the fcc unlock script from MM should
also be enabled... This info will be added to the device's wiki page for
now since upstream MM discourages distros from enabling these unlock
scripts by default...

fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2489

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:01:40 +01:00
M0Rf30 f18fa3eabc linux-postmarketos-qcom-msm8953: enable USB sound card module (MR 4724)
Closes #2531

[ci:skip-build]: Already built successfully in CI.
2024-01-15 09:40:37 +01:00
Oliver Smith f6b8f9cf82 oem-amd: put amdgpu module + fw into initramfs (MR 4723)
Add the amdgpu kernel module and its firmware, as it is required for
e.g. the Thinkpad L14 to have any graphical output on boot.
2024-01-14 19:32:22 +00:00
Oliver Smith 44989cfce7 device-generic-x86_64: modules-initfs: add nvme (MR 4723) 2024-01-14 19:31:06 +00:00
Luca Weiss 3136aa71f5 linux-postmarketos-qcom-msm8974: upgrade to 6.7.0 (MR 4717)
[ci:skip-build] Already built fine on Gitlab CI
2024-01-14 17:09:04 +03:00
Barnabás Czémán 4b6128436d xiaomi-daisy: add goodix_ts for modules-initfs (MR 4722) 2024-01-14 02:17:35 +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
Eli Hersha 2ac7ccbdb4 amazon-sheldon: new device (MR 4698) 2024-01-13 07:11:00 +03:00
Stefan Hansson a66a9051a5 device-motorola-titan: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.

[ci:ignore-count]
[ci:skip-build]: Already built successfully in CI.
2024-01-12 13:07:30 +01:00
Stefan Hansson f3e4de82e4 device-motorola-thea: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.
2024-01-12 13:07:24 +01:00
Stefan Hansson d0e7661a0b device-raspberry-pi3: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:24 +01:00
Stefan Hansson ef341cc29a device-motorola-def: remove Weston configuration (MR 4713)
There is no dri-backend.so. I don't know if this ever existed. May have
been a typo where the author meant to type drm-backend.so. The DRM
backend should be the default anyway, so just remove it instead of
fixing what may have been a typo.
2024-01-12 13:07:23 +01:00
Stefan Hansson 7f47a0c6ea device-pine64-dontbeevil: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. This device should be able to use the DRM backend
anyway given that it uses the A64 SoC which also e.g. the PinePhone
uses.

Additionally, the comment about Xwayland being broken contradicts the
actual configuration file where Xwayland actually is being enabled
(xwayland=true), so this shouldn't be causing any regressions even if it
actually is broken.
2024-01-12 13:07:23 +01:00
Stefan Hansson ebee4faa5f device-sony-sirius: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson d5c4408c7b device-oneplus-bacon: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, Weston won't work with the downstream port
anyway which is likely where Xwayland supposedly was broken. As such,
remove this unnecessary configuration file.
2024-01-12 13:07:23 +01:00
Stefan Hansson 429b500ac0 device-nokia-n9: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 2b8838f467 device-asus-flo: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 4dce6d1e7d device-qemu-riscv64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 16ce2825dc device-qemu-amd64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 62407d486f device-qemu-aarch64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Stefan Hansson 12078dbcad device-samsung-i9100: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Anton Bambura 713c8d261d nvida-tegra-armv7: disable fastboot (MR 4705)
We did set these variables, so it is possible to flash boot and root
partitions separately for booting with stock partition table. This
is useful for U-Boot as secondary bootloader. But it's not good for
U-Boot as primary bootloader because the resulting images have boot
and root partitions separated, so users have to create partitions
themselves and this is very confusing.

I'm suggesting to disable it in favor of doing U-Boot as primary
bootloader, this may be harder for users, but it needs to be done
only once, and this way is more fancy and is supported on more
devices than secondary bootloader.

If someone still wants to use this port with U-Boot as secondary
bootloader they can do "pmbootstrap install --split" and
"pmbootstrap export" to get 2 separate partitions to flash.

[ci:skip-build]: Already built successfully in CI.
2024-01-11 21:57:09 +01:00
mulingLHY 9147366ec8 firmware-xiaomi-kenzo: fix slow boot caused by venus firmware (MR 4699)
Package venus firmware to fix:
"subsys-pil-tz 1de0000.qcom,venus: venus: Failed to locate venus-v1.mdt"
causing 30 seconds delay on boot.
2024-01-11 16:51:19 +03:00
Svyatoslav Ryhel 942664fd0b firmware-nvidia-tegra-armv7: add missing bcm4330 sdio and Ouya bluetooth firmware (MR 4711)
bcm4330 has 2 wifi sdio firmwares, one with IEEE 802.11а support
and one without. One without was missing which caused some
devices to have wireless network issues.

Additionally Oyua specific bluetooth firmware was found and it
is included as well.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:40:21 +01:00
Arnav Singh fc849e370f CODEOWNERS: add Arnavion for pine64-pinephone and shutdown-clear-rtc-wakealarm (MR 4709)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:37:42 +01:00
Fiona Klute 4c3bf9ce07 linux-postmarketos-allwinner: Import patch for u_ether regression (MR 4706)
This fixes the USB networking issue, see:
https://patchwork.kernel.org/project/linux-usb/patch/20231218164532.411125-2-mailingradian@gmail.com/

Thanks to Alexey Min to pointing me at the patch!

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:35:12 +01:00
Fiona Klute 79d3be2826 linux-postmarketos-allwinner: upgrade to 6.7.0 (MR 4706)
Fixes #2349. Patches refreshed because some didn't apply when I built
directly from local repo and tried to import them with "git am".

Known issue: NetworkManager fails to assign IP to usb0, I had to
assign it manually to use USB networking.
2024-01-11 12:34:48 +01:00
Jianhua Lu 255aff57de firmware-xiaomi-elish: upgrade to 20240109 (MR 4700)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:28:50 +01:00
Jianhua Lu 259c733e71 linux-postmarketos-qcom-sm8250: upgrade to 6.7.0 (MR 4700) 2024-01-11 12:28:48 +01:00
Jakob Hauser c467b2ae99 main/postmarketos-ui-xfce4: tooltips & onboard mouse keys (MR 4708)
- Hide tooltips by workaround (opacity and font size)
- Enable mouse key buttons on onboard keyboard by default (eases
  right-clicking)
2024-01-11 08:02:30 +03:00
Jakob Hauser f6e8a7beb9 main/postmarketos-ui-mate: make use of install option -t in APKBUILD (MR 4708) 2024-01-11 08:02:26 +03:00
Hagen Fritsch f46c5d762e samsung-manta: fix the battery readout driver (MR 4701)
In the mainline ds2482 onewire kernel driver, active_pullup defaults to
1 which is setting the APU register. This caused the connection to the
ds2784_battery slave to be unstable and flaky. In the AOSP manta project
this flag is set to 0 as well.
2024-01-11 07:57:08 +03:00
1188 changed files with 101273 additions and 8912 deletions

No files matched your search

+35 -6
View File
@@ -2,6 +2,8 @@
# Description: check various bad patterns with grep
# https://postmarketos.org/pmb-ci
exit_code=0
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add grep
@@ -12,7 +14,7 @@ fi
if grep -qr '(CHANGEME!)' -- *; then
echo "ERROR: Please replace '(CHANGEME!)' in the following files:"
grep --color=always -r '(CHANGEME!)' -- *
exit 1
exit_code=1
fi
# DTBs installed to /usr/share/db
@@ -23,7 +25,7 @@ if grep -qr 'INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb' device/; then
echo 'ERROR: Files that need fixing:'
# shellcheck disable=SC2016
grep --color=always -r 'INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb' device/
exit 1
exit_code=1
fi
@@ -31,24 +33,51 @@ fi
if grep -qr '/etc/postmarketos-mkinitfs' -- *; then
echo "ERROR: Please replace '/etc/postmarketos-mkinitfs' with '/usr/share/mkinitfs' in the following files:"
grep --color=always -r '/etc/postmarketos-mkinitfs' -- *
exit 1
exit_code=1
fi
if grep -qr '/usr/share/postmarketos-mkinitfs' -- *; then
echo "ERROR: Please replace '/usr/share/postmarketos-mkinitfs' with '/usr/share/mkinitfs' in the following files:"
grep --color=always -r '/usr/share/postmarketos-mkinitfs' -- *
exit 1
exit_code=1
fi
# Direct sourcing of deviceinfo
if grep --exclude='source_deviceinfo' -qEr 'source /etc/deviceinfo|\. /etc/deviceinfo' -- *; then
echo 'ERROR: Please source the source_deviceinfo script instead of sourcing deviceinfo directly!'
grep --color=always --exclude='rootfs-usr-share-misc-source_deviceinfo' -Er 'source /etc/deviceinfo|\. /etc/deviceinfo' -- *
exit 1
exit_code=1
fi
# Removed deviceinfo variable
if grep -qr 'deviceinfo_modules_initfs' -- *; then
echo 'ERROR: deviceinfo_modules_initfs variable has been removed. Use "modules-initfs" file instead.'
grep --color=always -r 'deviceinfo_modules_initfs' -- *
exit 1
exit_code=1
fi
POSTMARKETOS_WALLPAPER_PATH='/usr/share/wallpapers/postmarketos.jpg'
# The excluded devices are "grandfathered in". New devices should not be added here.
# See https://gitlab.com/postmarketOS/pmaports/-/issues/2529
if grep -qr $POSTMARKETOS_WALLPAPER_PATH \
--exclude-dir='device-pine64-pinetab' \
--exclude-dir='device-oneplus-kebab' \
--exclude-dir='device-xiaomi-willow' \
-- device; then
echo "ERROR: Please don't include configuration files that set the default wallpaper in device-specific packages!"
grep --color=always -r $POSTMARKETOS_WALLPAPER_PATH \
--exclude-dir='device-pine64-pinetab' \
--exclude-dir='device-oneplus-kebab' \
--exclude-dir='device-xiaomi-willow' \
-- device
exit_code=1
fi
OPENRC_SERVICE_FILES=$(find . -name '*.initd')
# shellcheck disable=SC2086
if grep -q 'before wpa_supplicant' $OPENRC_SERVICE_FILES; then
echo "ERROR: Please use 'before wlan' in OpenRC service files! This ensures compatibility with both wpa_supplicant and iwd."
grep --color=always 'before wpa_supplicant' $OPENRC_SERVICE_FILES
exit_code=1
fi
exit "$exit_code"
+2 -2
View File
@@ -4,11 +4,11 @@
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add py3-flake8
apk -q add ruff
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
# shellcheck disable=SC2046
flake8 --ignore E501,F401,E722,W504,W605 $(find .ci -name '*.py')
ruff --ignore E501,F401,E722,W605 $(find .ci -name '*.py')
-2
View File
@@ -15,9 +15,7 @@ fi
# Shell: shellcheck
sh_files="
./main/mdss-fb-init-hack/mdss-fb-init-hack.sh
./main/osk-sdl/unlock.sh
./main/postmarketos-base/rootfs-usr-lib-firmwareload.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-dns-filter.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-tethering.sh
./main/postmarketos-installkernel/installkernel-pmos
./main/postmarketos-initramfs/init.sh
+75 -12
View File
@@ -1,30 +1,32 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# Copyright 2024 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import fnmatch
import glob
import os
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.parse._apkbuild
# Cache for codeowners_parse
codeowners_parsed = {}
# Don't complain if these nicknames are the only maintainers of an APKBUILD,
# because they are actually a group of people
gitlab_groups = [
"@sdm845-mainline",
]
def device_dependency_check(apkbuild, path):
""" Raise an error if a device package has a dependency that is not allowed
(e.g. because it should be in a subpackage instead). """
for depend in apkbuild["depends"]:
if depend == "linux-firmware-none":
continue
if (depend.startswith("firmware-") or
depend.startswith("linux-firmware")):
raise RuntimeError("Firmware package '" + depend + "' found in"
" depends of " + path + ". These go into"
" subpackages now, see"
" <https://postmarketos.org/devicepkg>.")
if depend == "mesa-dri-gallium":
raise RuntimeError(f"{path}: mesa-dri-gallium shouldn't be in"
" depends anymore (see pmaports!3478)")
@@ -46,7 +48,7 @@ def test_aports_device(args):
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
# Depends: Must not have firmware packages
# Depends: Must not have specific packages
for depend in apkbuild["depends"]:
device_dependency_check(apkbuild, path)
@@ -108,23 +110,84 @@ def test_aports_device_kernel(args):
path)
def codeowners_parse(args):
global codeowners_parsed
pattern_prev = None
with open(f"{args.aports}/CODEOWNERS") as h:
for line in h:
line = line.rstrip()
if not line or line.startswith("#"):
continue
pattern_nicks = line.split()
assert len(pattern_nicks) > 1, f"CODEOWNERS line without nicks: {line}"
pattern = pattern_nicks[0]
if pattern.endswith("/"):
pattern += "*"
nicks = []
for word in pattern_nicks[1:]:
if word.startswith("@"):
nicks += [word]
codeowners_parsed[pattern] = nicks
if pattern_prev:
assert pattern_prev <= pattern, "CODEOWNERS: please order entries alphabetically"
pattern_prev = pattern
def require_enough_codeowners_entries(args, path, maintainers):
"""
:param path: full path to an APKBUILD (e.g. /home/user/…/APKBUILD)
:param maintainers: list of one or more maintainers
"""
path = os.path.relpath(path, args.aports)
nicks = set()
for pattern, pattern_nicks in codeowners_parsed.items():
if fnmatch.fnmatch(path, pattern):
for nick in pattern_nicks:
nicks.add(nick)
print(f"{path}:")
print(f" APKBUILD: {maintainers}")
print(f" CODEOWNERS: {nicks}")
if len(nicks) < len(maintainers):
for nick in nicks:
if nick in gitlab_groups:
print(f" -> {nick} is a group")
return
assert len(nicks) >= len(maintainers), \
f"{path}: make sure that each maintainer is listed in CODEOWNERS!"
def test_aports_maintained(args):
"""
Ensure that aports in /device/{main,community} have "Maintainer:" and
"Co-Maintainer:" (only required for main) listed in their APKBUILDs.
"Co-Maintainer:" (only required for main) listed in their APKBUILDs. Also
check that at least as many are listed in CODEOWNERS.
"""
codeowners_parse(args)
for path in glob.iglob(f"{args.aports}/device/main/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers and len(maintainers) >= 2, \
f"{path} in main needs at least 1 Maintainer and 1 Co-Maintainer"
require_enough_codeowners_entries(args, path, maintainers)
for path in glob.iglob(f"{args.aports}/device/community/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers, f"{path} in community needs at least 1 Maintainer"
require_enough_codeowners_entries(args, path, maintainers)
def test_aports_unmaintained(args):
+1 -1
View File
@@ -30,7 +30,7 @@ def test_directories():
# Ensure no file in pmaports are executable.
# see https://gitlab.com/postmarketOS/pmaports/-/issues/593.
def test_executable_files():
for file in glob.iglob("**/*", recursive=True):
for file in glob.iglob("[!temp]**/**/*", recursive=True):
if os.path.isdir(file) or os.path.islink(file):
continue
# still check other less common inode types
+2 -1
View File
@@ -1,3 +1,4 @@
{
"SpacesAftertabs": true
"SpacesAftertabs": true,
"Exclude": ["temp"]
}
+1 -1
View File
@@ -7,7 +7,7 @@
# Top-most EditorConfig file.
root = true
[{**.{md,ini,sh,rules,nft},**/APKBUILD}]
[{**.{md,ini,sh,rules,nft},**/APKBUILD,CODEOWNERS}]
indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
+5 -4
View File
@@ -1,7 +1,7 @@
---
# global settings
image: alpine:latest
image: alpine:edge
after_script:
- .ci/lib/move_logs.sh $CI_PROJECT_DIR
stages:
@@ -36,7 +36,7 @@ wiki:
- .ci/wiki.sh
# testcases linting
flake8:
ruff:
stage: lint
<<: *only-default
only:
@@ -45,11 +45,12 @@ flake8:
changes:
- .ci/*
- .ci/*/*
- .gitlab-ci.yml
before_script:
- apk -q add py-flake8
- "echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories"
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/flake8.sh
- .ci/ruff.sh
# shellcheck and various grep checks
shellcheck-grep:
+103 -48
View File
@@ -1,59 +1,114 @@
# https://docs.gitlab.com/ee/user/project/code_owners.html
# Put groups like @sdm845-mainline into test_device.py:gitlab_groups.
# Order lines alphabetically!
device/*/*-amlogic-s905*/ @vitali64yt
device/*/*-arrow-db410c/ @Minecrell
device/*/*-asus-me176c/ @Minecrell
device/*/*-bq-paella/ @Minecrell
device/*/*-google-gru/ @jenneron
device/*/*-google-kukui/ @jenneron @binarycraft
device/*/*-google-oak/ @jenneron @adamthiede
device/*/*-google-trogdor/ @jenneron
device/*/*-google-veyron/ @jenneron
device/*/*-google-x64cros/ @jenneron @JustSoup321 @alpernebbi
device/*/*-htc-golfu/ @Newbyte
device/*/*-pine64-pinephone/ @craftyguy @milesalan @bshah @proycon @anjandev @StacyHarper
device/*/*-htc-m8qlul/ @Newbyte
device/*/*-purism-librem5/ @craftyguy @bshah
device/*/device-lg-judyln/ @Newbyte
device/*/device-samsung-m0/ @Newbyte
device/*/linux-postmarketos-exynos4/ @Newbyte
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/*-lenovo-21bx/ @craftyguy
device/*/*-lenovo-a6000/ @jenneron @Minecrell
device/*/*-lenovo-a6010/ @jenneron @Minecrell
device/*/*-motorola-harpia/ @Minecrell
device/*/*-nokia-n900/ @sicelo @Danct12
device/*/*-pine64-pinebookpro/ @QC8086
device/*/*-pine64-pinephone/ @craftyguy @milesalan @proycon @anjandev @StacyHarper @Arnavion @PsychoGame
device/*/*-pine64-pinephonepro/ @PsychoGame
device/*/*-pine64-rockpro64/ @PureTryOut
device/*/*-purism-librem5/ @craftyguy @alistair23 @Newbyte
device/*/*-qcom-msm8916/ @Minecrell @TravMurav
device/*/*-qcom-sdm845/ @sdm845-mainline
device/*/*-qcom-sm6350/ @z3ntu
device/*/*-samsung-a3/ @Mis012 @TravMurav @Minecrell
device/*/*-samsung-a5/ @Minecrell @minlexx
device/*/*-samsung-e7/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-espresso10/ @MightyM17
device/*/*-samsung-espresso7/ @MightyM17 @antoni.aloytorrens
device/*/*-samsung-grandmax/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-gt510/ @TravMurav
device/*/*-samsung-gt58/ @TravMurav
device/*/*-samsung-serranove/ @Minecrell
device/*/*-videostrong-kii-pro/ @vitali64yt
device/*/*-wileyfox-crackling/ @TravMurav @Minecrell
device/*/*-xiaomi-beryllium/ @joelselvaraj
device/*/*-xiaomi-daisy/ @joelselvaraj @alikates
device/*/*-xiaomi-markw/ @vipaoL
device/*/*-xiaomi-mido/ @barni2000
device/*/*-xiaomi-scorpio/ @Tooniis
device/*/*-xiaomi-tissot/ @jiaxyga @barni2000
device/*/*-xiaomi-vince/ @M0Rf30
device/*/*-xiaomi-wt88047/ @Minecrell
device/*/*-xiaomi-ysl/ @barni2000
device/*/device-fairphone-*/ @z3ntu
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-nyan-blaze/ @jenneron
device/*/device-google-peach-pi/ @jenneron
device/*/device-google-peach-pit/ @jenneron
device/*/device-google-snow/ @jenneron
device/*/device-huawei-plank/ @gtrxAC
device/*/device-lg-judyln/ @Newbyte
device/*/device-lg-judyp/ @jenneron
device/*/device-microsoft-surface-rt/ @jenneron
device/*/device-nvidia-tegra-armv7/ @clamor95 @okias @mschwalm @nokun
device/*/device-odroid-xu4/ @Grimler
device/*/device-oneplus-enchilada/ @calebccff
device/*/device-oneplus-fajita/ @calebccff
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/*-lenovo-21bx/ @craftyguy
device/*/*-lenovo-a6010/ @jenneron
device/*/*-lenovo-a6000/ @jenneron
device/*/device-microsoft-surface-rt/ @jenneron
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-peach-pi/ @jenneron
device/*/linux-google-veyron/ @jenneron
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/soc-mediatek-mt8183/ @jenneron
device/*/linux-google-nyan/ @jenneron
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/device-google-nyan-blaze/ @jenneron
device/*/firmware-powervr-gx6250/ @jenneron
device/*/device-google-snow/ @jenneron
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/device-google-peach-pit/ @jenneron
device/*/device-lg-judyp/ @jenneron
device/*/linux-postmarketos-grate/ @clamor95 @jenneron
device/*/device-qemu-aarch64/ @Minecrell @ollieparanoid
device/*/device-qemu-amd64/ @Minecrell @ollieparanoid
device/*/device-qemu-riscv64/ @Minecrell @z3ntu
device/*/device-samsung-chagallwifi/ @Grimler
device/*/device-odroid-xu4/ @Grimler
device/*/device-samsung-klimtlte/ @Grimler
device/*/linux-samsung-klimtlte/ @Grimler
device/*/firmware-odroid-xu4/ @Grimler
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/device-huawei-plank/ @gtrxAC
device/*/linux-huawei-plank/ @gtrxAC
device/*/device-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/linux-samsung-coreprimevelte/ @legolivesmatter @balejk
main/postmarketos-update-depthcharge-kernel/ @jenneron
main/osk-sdl/ @craftyguy
main/postmarketos-ui-plasma-mobile/ @bshah
main/ttyescape/ @calebccff
device/*/u-boot-librem5/ @craftyguy @bshah
device/*/alsa-ucm-conf-google-kukui/ @jenneron @binarycraft
device/*/alsa-ucm-conf-google-gru/ @jenneron
device/*/*-videostrong-kii-pro/ @vitali64yt
device/*/*-amlogic-s905*/ @vitali64yt
device/*/device-samsung-j5y17lte/ @andrisas
device/*/device-samsung-klimtlte/ @Grimler
device/*/device-samsung-m0/ @Newbyte
device/*/device-samsung-manta/ @jenneron @alexmrqt
device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/firmware-odroid-xu4/ @Grimler
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/firmware-powervr-gx6250/ @jenneron
device/*/linux-google-nyan/ @jenneron
device/*/linux-google-veyron/ @jenneron
device/*/linux-huawei-plank/ @gtrxAC
device/*/linux-postmarketos-allwinner/ @Arnavion @PsychoGame
device/*/linux-postmarketos-amlogic/ @vitali64yt @exkc
# vim: ts=8 sw=4 et
device/*/linux-postmarketos-exynos4/ @Newbyte @ThiagaoPlusPlus
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/linux-postmarketos-grate/ @clamor95 @jenneron
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron @adamthiede
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/linux-postmarketos-omap/ @MightyM17 @Sicelo
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-qcom-msm8953/ @M0Rf30 @Ultra-azu
device/*/linux-postmarketos-qcom-msm8996/ @Tooniis
device/*/linux-postmarketos-qcom-sc7180/ @jenneron
device/*/linux-postmarketos-rockchip/ @QC8086
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/linux-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/linux-samsung-j5y17lte/ @andrisas
device/*/linux-samsung-klimtlte/ @Grimler
device/*/oem-amd/ @craftyguy
device/*/oem-intel/ @craftyguy
device/*/soc-mediatek-mt8183/ @jenneron
device/*/soc-qcom-msm8953/ @barni2000
device/*/soc-qcom-msm8996/ @Tooniis
device/*/soc-qcom-sc7180/ @jenneron
device/*/soc-rockchip-rk3399/ @jenneron
device/*/soc-samsung-exynos4412/ @Newbyte
device/*/u-boot-librem5/ @craftyguy @alistair23 @Newbyte
device/*/u-boot-pinebookpro/ @QC8086
device/*/u-boot-pinephone/ @Arnavion @PsychoGame
device/*/wl1251-cal/ @Danct12
main/postmarketos-ui-plasma-mobile/ @bshah
main/postmarketos-update-depthcharge-kernel/ @jenneron
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
+1 -1
View File
@@ -15,7 +15,7 @@ branch_aports=3.19-stable
mirrordir_alpine=v3.19
[v23.06]
description=Old release (supported until 2024-01-18)
description=Old release (unsupported)
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-aarch64
pkgver=1.36.1
pkgrel=18
pkgrel=21
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
08f68b23bd880be12f95c5e1f071891f6b658fe7576f63d54e71d7390e4afc58de01813b2ea628f2b062830a89b0f69e8bd8a2b15fdb08bb9aba9e2a08971b0b busybox-static-1.36.1-r18-aarch64-edge.apk
0a234d00087f85ba8b21d014c38535947ae087df94c18a174717452c91f732489d258394bf616fecae94259e1c932edcf8ea1dcf4aacf6eb803064e3b3587a78 busybox-static-1.36.1-r21-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.36.1
pkgrel=18
pkgrel=21
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
20b11081b5d1f25298fd4d8dfde51062f5c65060f5b53840eaad6fb69b94d64c5f5e522c9286f9a56cef4a9c88bdf53dcd385f47451b1563faf2058f1ea928cb busybox-static-1.36.1-r18-armhf-edge.apk
0f8c600ff2fe1a176503e44924dfdd7520615b3be8e5e84b5fa869c543d43ee7a5307cdf7b8b46effbf8f393682566fa76a9368bcb228e4b44d800ef7c01b888 busybox-static-1.36.1-r21-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.36.1
pkgrel=18
pkgrel=21
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
8f2fa87d979bdbe88eef0b9dece61001998df960e025902854b2af415b96d63ce9831dbe44d5c32b671c313efdfe9e22743a26de73febcc92d8d45d944ad66c0 busybox-static-1.36.1-r18-armv7-edge.apk
441ff2d84e385408671c34f891dbe245a3b3c16668f6c985786067fad093c0d218e85695c0604d3f8364b750ff7e7eb4ee00af089ed198d419300b2d4e3edf61 busybox-static-1.36.1-r21-armv7-edge.apk
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-aarch64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-aarch64:gpp libstdc++-dev-aarch64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-armhf
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-armhf:gpp libstdc++-dev-armhf:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-armv7
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-armv7:gpp libstdc++-dev-armv7:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-riscv64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-riscv64:gpp libstdc++-dev-riscv64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-x86
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-x86:gpp libstdc++-dev-x86:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-x86_64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-x86_64:gpp libstdc++-dev-x86_64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
+2 -2
View File
@@ -3,7 +3,7 @@
pkgname=grub-efi-x86
pkgver=2.12
pkgrel=0
pkgrel=2
_arch="x86"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -22,5 +22,5 @@ package() {
}
sha512sums="
2958746c0c05271d3bb27912973ddf9180bbf060f9909037f0b9dcf3da2036dd81b69a37e1c43414def0e26942f83bccab04554ae6ddd6b3b9dc94d5e3744ac4 grub-efi-2.12-r0-x86-edge.apk
2337e5db9d3502b56f1166f0648a15f2264d207e717dfbd0c8bbb9de4546dee069dbc2b55f2c7c48bfee062d7ca17b56e97b6eaa725af0479ab49e2cb5f178a3 grub-efi-2.12-r2-x86-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-aarch64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
478704707b55072b9be8747e8c3bf3a20832d0329f63429fae2048e6b9a0674e31e92b4c1b8af87f65f84270711fef6b7ce54653448e580e532fa2c94e3761e1 musl-1.2.4_git20230717-r5-aarch64-edge.apk
24471c9d781ce9920d06ab79296afb30ce61563729bb319ee8cd8feb960d1c05e5f96edb9464fcdb95b6c16fde788400408dd2e768e69ce13cc15ad3be54a969 musl-dev-1.2.4_git20230717-r5-aarch64-edge.apk
dddd12728842e84bf7d532901d9b9e26e2c8c86e25a3625329586c9088ec9b3825ce3e512c56b7e875b923905308b89494d31d7ca05ebda5485bd00de3954236 musl-1.2.5-r0-aarch64-edge.apk
061e68319d2069c211169d7f39b1da572a4c0ab56f8cfe5267c024921ea0e5f44ecc1cca6051bebaa9c83d067f0fd2cbc6b6b73d0e3075410eaf889a25cc82b4 musl-dev-1.2.5-r0-aarch64-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-armhf
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
c0bdfbfc2c1f475c17850e7462cf286e9d8ce874deb03d536d208fcdeb45b35c761737f693be3be9711c15547cd9d2bbafae45280fc9b0291192c2489da0790f musl-1.2.4_git20230717-r5-armhf-edge.apk
1197968b53adca7c482d23ea2ca99d21fe905b554b83c30b960a4e64dda6ff40009745cd18621bd363b4994ccbc8b9b763b6c3105f6f6283dc8ee1305ab7206e musl-dev-1.2.4_git20230717-r5-armhf-edge.apk
4d76f479017b6f666c36782183f3bdb3e58a48f7400cd125c129e380a8654cf99f685f8d3e97b51cb0199b59720a320e251dd9b89fe55ef8f542a043ab3e7355 musl-1.2.5-r0-armhf-edge.apk
7fa4e9ed4acb6292d46939a63e572eb92085e577bbfce75139a3ebef910434230fcbbb7a236efde7ad6d150d84e31c46edcfe835f4102cb9e68f062eb8488a1e musl-dev-1.2.5-r0-armhf-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-armv7
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5236dadbdb41e9543426592cf7e64e548fec59742e4943a99bb18e3cb93c9ae1287c9ac34c2de7fcb58bd1f94df4313324e8afa1160acc4929fb91f06754c77c musl-1.2.4_git20230717-r5-armv7-edge.apk
1877267544198d867752d02cb8cbe6672c4bd1fcd20ac8e5e4c614675b31921f3da9bc2a68f769fbd726ffc0c7125406387e01a9ebf49d0e56d49e1ce257e71d musl-dev-1.2.4_git20230717-r5-armv7-edge.apk
74e482403f77b9d302a4bb0ad6b86a18e81b5be0eb987296a4b0033c996e474b86eac079abc52bd8f02723aa242ea2a74e61bbd0eee036fbf79a21ae250a6e04 musl-1.2.5-r0-armv7-edge.apk
02321d629aaa3712546b01645f1eb308f5e25e49bc3c2c42eff3a7cf84cd60327c6bc9818ebeb7d1d9556ddfaa2e132fdab0dc2142eec4df3a799e3402329c49 musl-dev-1.2.5-r0-armv7-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-riscv64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
3f924270fb0ec0fa8fb5a23f0f9d6d9148affcac89cae413940dc04465d375415fcf0aff734754e2ac0b9ba2113c10f836b186908d75cdccec4d923eacafb961 musl-1.2.4_git20230717-r5-riscv64-edge.apk
76ae321a9d3895f8367968226a6a492b268ae582a83e74d4152cf88dd48aaa79814532e8e1a057cba7c29b926f48d2309f2c12a16b991649cb8f713455aa5501 musl-dev-1.2.4_git20230717-r5-riscv64-edge.apk
c11fb5eed8dab05504d88660a4750981a40020a1609b4ec4f9184cf7645283893e7cafc48da471012a4095699d371517cc9e09c0ec73fef4612280c95feebca2 musl-1.2.5-r0-riscv64-edge.apk
77eba42ed78e680419f838f47a9a9f17d42288259540b70792af23b22f85ba1d2f87958e7db77b11b43629d8593fa58a02902453ecb0a46dd7c33cfca750b820 musl-dev-1.2.5-r0-riscv64-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-x86
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
c93eec26b3bd7b2bc5c8859d71a9dfcfc3c0d346183d97b8600d57270585ce57ac9f84dd633b8d8ae4eae0324aa6f8e98c67a0bdd33e2e8994d721e208e07a3c musl-1.2.4_git20230717-r5-x86-edge.apk
77723100d0b2ae558816e4b9eb86c07d9ed64c69a84d6a07904d0806646e800a0f81b3a158948d5681394b9e3304a10bd0ca26445f5d4630f921bb87328d3afe musl-dev-1.2.4_git20230717-r5-x86-edge.apk
7403427bbe6683739ce00c0396dc4bfa8fce2f3e4957d12bc6c31bfb1a60bafca9e7ba266d1ba7ca469ab3738874965cf25e8f3bd838c002b4e5aad702a79e18 musl-1.2.5-r0-x86-edge.apk
f5b0dfe7543bd7d1de3bfc8617c61fb7287227ea4dd9a722bfd4ec99e8a9405826973375a81a380b04bcba419c18e292cf60aaf1c9503eec3b420ed7adbacd68 musl-dev-1.2.5-r0-x86-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-x86_64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=0
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
4ea90456fcff08cb7c9065f4c790c5d0a3b2b17224f2490f6954c2de7ddb64559a6e1f0df1f13629da5d8f619fc1d9737a6982bb438120641bf1d717004e2688 musl-1.2.4_git20230717-r5-x86_64-edge.apk
0ce4a260cb8c6fc9d412d5164d848ee6155d4ea4fca9dff89d5b08b8e2c0fcde5e635846ca762be54a6df139aa178902fc2594ffe76f94ae1e5414a67f0707a3 musl-dev-1.2.4_git20230717-r5-x86_64-edge.apk
8bb997e077850195621916ee0722be7e054086fa5c2907c7d290ee8892910c073e3aece13a2839589966987711f4af6b2f4bffdc6c45d636a24655ef9cbec101 musl-1.2.5-r0-x86_64-edge.apk
5d93191c3c9bf03b466dc169b57e519f0165c6551d117ae09538907c57a49f58afa3c9225aafc7a61625f224276eff4ee2dbe79d65cf684d03a46c24dd78aa4c musl-dev-1.2.5-r0-x86_64-edge.apk
"
@@ -0,0 +1,10 @@
diff --git a/arch/arm/boot/compressed/piggy.gzip.S b/arch/arm/boot/compressed/piggy.gzip.S
index a68adf91a16..175ed02a6ac 100644
--- a/arch/arm/boot/compressed/piggy.gzip.S
+++ b/arch/arm/boot/compressed/piggy.gzip.S
@@ -1,4 +1,4 @@
- .section .piggydata,#alloc
+ .section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy.gzip"
@@ -0,0 +1,12 @@
diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S
index d2f2cedf..7e2cbc74 100644
--- a/arch/arm64/mm/proc.S
+++ b/arch/arm64/mm/proc.S
@@ -171,7 +171,6 @@ ENTRY(cpu_do_switch_mm)
ret
ENDPROC(cpu_do_switch_mm)
- .section ".text.init", #alloc, #execinstr
/*
* __cpu_setup
@@ -1,7 +1,8 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
# Maintainer: WeirdTreeThing <bradyn127@protonmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=alsa-ucm-conf-google-kukui
pkgver=1
pkgrel=3
pkgver=2
pkgrel=0
pkgdesc="ALSA Use Case Manager configuration for Google Kukui Chromebooks"
url="https://alsa-project.org"
arch="aarch64"
@@ -33,8 +34,8 @@ package() {
}
sha512sums="
d998860ca82ec9277a7b660dbdc644fc8ec84d5f3703dc72eac44a6b70b61ea9f733eeae94d21d9d2cadf25f95e951ce3c804593b4f0a4c715770b4b422d4ca7 mt8183_da7219_HiFi.conf
c8ce246275beaa3e89eb4e06bed825935122c9f6a9fff9f8e3188dec47f37db92d908148cd7551785de5282c13386134bd6daf8ed033de122218b698d67bab33 mt8183_da7219_rt1015p.conf
749180019ca12ec342604fc6924aa60c5f4ff2892ce22d2199b78d707947a8b91e71fa7a71643f3475bf2dba6e94c36e4fc57cb98f7a96519c83106b08ebc5c3 mt8183_mt6358_HiFi.conf
c8ce246275beaa3e89eb4e06bed825935122c9f6a9fff9f8e3188dec47f37db92d908148cd7551785de5282c13386134bd6daf8ed033de122218b698d67bab33 mt8183_mt6358_ts3a227_max98357.conf
9755c2eaf4bc28a9f3734b6778550ebd77bbee8f6aa353642bc5a35d68e009a17b05d9b09f1c62fe592eb16a2d342e3d2abcda98f2c53142bd4905e4a883a88b mt8183_da7219_HiFi.conf
13ffff0471c29d4e624ba7089d8df811f6578bebc4a9da2e8e82e247430fd41dbc95204fdf1891cfb76f1d90303fcdb8501ecf47b8ca40c7429066bf2ff1379b mt8183_da7219_rt1015p.conf
3656cb0cc76994aab39bd0d0cfe283339bce0689448612f74a0d09a30b19516950132456945096a13bd5700d0e7f868c413e268ced810046ec70252ca8b07603 mt8183_mt6358_HiFi.conf
171e9e3376e5bd56e133a5b19309f60f6326f052922064e6f95c53b4345ea12cc205adde7305a7bd840722a29b7fb393c71d2b39e60952b0979ecc2e5ec03efa mt8183_mt6358_ts3a227_max98357.conf
"
@@ -1,81 +1,90 @@
SectionVerb {
EnableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='Headphone Volume' 0"
# cset "name='UL3_CH1 ADDA_UL_CH1' 0"
# cset "name='UL3_CH2 ADDA_UL_CH2' 0"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
cset "name='MTKAIF_DMIC' 1"
cset "name='Mt6358 Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
]
DisableSequence [
]
}
SectionDevice."Headphone" {
Value {
PlaybackPCM "hw:mt8183da7219rt1,0"
JackDev "mt8183_da7219_rt1015p Headset Jack"
JackSwitch "2"
}
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
]
DisableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='I2S3_CH1 DL1_CH1' 0"
cset "name='I2S3_CH2 DL1_CH2' 0"
]
}
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:mt8183da7219rt1,0"
DspName "speaker_eq"
PlaybackPCM "hw:${CardId},0"
}
ConflictingDevice [
"Headphone"
]
EnableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
cset "name='Speakers Switch' 1"
]
DisableSequence [
cset "name='I2S3_CH1 DL1_CH1' 0"
cset "name='I2S3_CH2 DL1_CH2' 0"
cset "name='Speakers Switch' 0"
]
}
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='Playback Digital Switch' 1"
cset "name='Headphone Switch' 1"
cset "name='ST Mixer Out FilterL Out FilterL Switch' 1"
cset "name='Mixer Out FilterL DACL Switch' 1"
cset "name='ST Mixer Out FilterR Out FilterR Switch' 1"
cset "name='Mixer Out FilterR DACR Switch' 1"
cset "name='Out DACL Mux' DAIL"
cset "name='Out DACR Mux' DAIR"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
]
DisableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='Playback Digital Switch' 0"
cset "name='Headphone Switch' 0"
cset "name='ST Mixer Out FilterL Out FilterL Switch' 0"
cset "name='Mixer Out FilterL DACL Switch' 0"
cset "name='ST Mixer Out FilterR Out FilterR Switch' 0"
cset "name='Mixer Out FilterR DACR Switch' 0"
cset "name='I2S3_CH1 DL1_CH1' 0"
cset "name='I2S3_CH2 DL1_CH2' 0"
]
}
SectionDevice."Internal Mic" {
SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
CapturePCM "hw:mt8183da7219rt1,5"
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-600"
CapturePCM "hw:${CardId},5"
}
EnableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='MTKAIF_DMIC' 1"
cset "name='Mt6358 Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
]
DisableSequence [
cdev "hw:mt8183da7219rt1"
cset "name='MTKAIF_DMIC' 0"
cset "name='Mt6358 Mic Type Mux' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
cset "name='UL3_CH2 ADDA_UL_CH2' 0"
]
}
SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
CapturePCM "hw:${CardId},5"
}
EnableSequence [
cset "name='Capture Digital Switch' 1"
cset "name='Mixin Switch' 1"
cset "name='Mic Switch' 1"
cset "name='Mixer In Mic Switch' 1"
cset "name='Out DAIL Mux' ADC"
cset "name='UL3_CH1 I2S2_CH1' 1"
]
DisableSequence [
cset "name='Capture Digital Switch' 0"
cset "name='Mixin Switch' 0"
cset "name='Mic Switch' 0"
cset "name='Mixer In Mic Switch' 0"
cset "name='UL3_CH1 I2S2_CH1' 0"
]
}
@@ -1,8 +1,24 @@
Syntax 2
Comment "Kukui internal card"
Syntax 6
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
BootSequence [
# Speaker
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
cset "name='Speakers Switch' 1"
# Internal Mic
cset "name='MTKAIF_DMIC' 1"
cset "name='Mt6358 Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
# Headset
cset "name='Headphone Volume' 56"
cset "name='Capture Digital Volume' 113"
cset "name='Mic Volume' 3"
]
@@ -1,144 +1,86 @@
SectionVerb {
EnableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='Headphone Volume' 0"
cset "name='ADDA_DL_CH1 DL1_CH1' 0"
cset "name='ADDA_DL_CH2 DL1_CH2' 0"
cset "name='HPL Mux' 0"
cset "name='HPR Mux' 0"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
cset "name='MTKAIF_DMIC' 1"
cset "name='Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
# from headset mic - does not work -see below
# cset "name='PGA L Mux' 0"
# cset "name='ADC L Mux' 0"
# cset "name='PGA Volume' 0"
]
DisableSequence [
]
}
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPCM "hw:mt8183mt6358ts3,0"
JackControl "mt8183_mt6358_ts3a227_max98357 Headset Jack"
}
ConflictingDevice [
"Speaker"
]
EnableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='ADDA_DL_CH1 DL1_CH1' 1"
cset "name='ADDA_DL_CH2 DL1_CH2' 1"
cset "name='HPL Mux' 2"
cset "name='HPR Mux' 2"
]
DisableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='ADDA_DL_CH1 DL1_CH1' 0"
cset "name='ADDA_DL_CH2 DL1_CH2' 0"
cset "name='HPL Mux' 0"
cset "name='HPR Mux' 0"
]
}
SectionDevice."Speaker" {
Comment "Speaker"
Value {
PlaybackPCM "hw:mt8183mt6358ts3,0"
DspName "speaker_eq"
PlaybackPCM "hw:${CardId},0"
}
ConflictingDevice [
"Headphones"
]
EnableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
]
DisableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='I2S3_CH1 DL1_CH1' 0"
cset "name='I2S3_CH2 DL1_CH2' 0"
]
}
# headset mic does not work for some reason - if enabled there is no signal
# from it and after switching back to internal mic even that does not give
# any signal anymore
#SectionDevice."HeadsetMic" {
# Comment "Headset Microphone"
#
# Value {
# CapturePCM "hw:mt8183mt6358ts3,5"
# # i guess this one is chromeos specific and not used otherwise
# CaptureChannelMap "0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1"
# JackControl "mt8183_mt6358_ts3a227_max98357 Headset Jack"
# }
#
# ConflictingDevice [
# "InternalMic"
# ]
#
# EnableSequence [
# cdev "hw:mt8183mt6358ts3"
# cset "name='PGA L Mux' 2"
# cset "name='ADC L Mux' 2"
# cset "name='Mic Type Mux' 1"
# cset "name='PGA Volume' 4"
# cset "name='UL3_CH1 ADDA_UL_CH1' 1"
# ]
#
# DisableSequence [
# cdev "hw:mt8183mt6358ts3"
# cset "name='PGA L Mux' 0"
# cset "name='ADC L Mux' 0"
# cset "name='Mic Type Mux' 0"
# cset "name='PGA Volume' 0"
# cset "name='UL3_CH1 ADDA_UL_CH1' 0"
# ]
#}
SectionDevice."InternalMic" {
Comment "Intrernal Microphone"
SectionDevice."Mic" {
Comment "Internal Microphone"
Value {
CapturePCM "hw:mt8183mt6358ts3,5"
# i guess those two are chromeos specific and not used otherwise
CaptureChannelMap "0 1 -1 -1 -1 -1 -1 -1 -1 -1 -1"
IntrinsicSensitivity "-2600"
CapturePCM "hw:${CardId},5"
}
# from headset mic - does not work -see above
# ConflictingDevice [
# "HeadsetMic"
# ]
EnableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='MTKAIF_DMIC' 1"
cset "name='Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
]
DisableSequence [
cdev "hw:mt8183mt6358ts3"
cset "name='MTKAIF_DMIC' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
cset "name='UL3_CH2 ADDA_UL_CH2' 0"
]
}
If.krane {
Condition {
Type String
Haystack "${sys:firmware/devicetree/base/compatible}"
Needle "google,krane"
}
False {
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPCM "hw:${CardId},0"
}
EnableSequence [
cset "name='ADDA_DL_CH1 DL1_CH1' 1"
cset "name='ADDA_DL_CH2 DL1_CH2' 1"
cset "name='HPL Mux' 2"
cset "name='HPR Mux' 2"
]
DisableSequence [
cset "name='ADDA_DL_CH1 DL1_CH1' 0"
cset "name='ADDA_DL_CH2 DL1_CH2' 0"
cset "name='HPL Mux' 0"
cset "name='HPR Mux' 0"
]
}
SectionDevice."Headset" {
Comment "Headset Microphone"
Value {
CapturePCM "hw:${CardId},5"
}
EnableSequence [
cset "name='PGA L Mux' 2"
cset "name='ADC L Mux' 2"
cset "name='Mic Type Mux' 1"
cset "name='PGA Volume' 4"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
]
DisableSequence [
cset "name='PGA L Mux' 0"
cset "name='ADC L Mux' 0"
cset "name='Mic Type Mux' 0"
cset "name='PGA Volume' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
]
}
}
}
@@ -1,8 +1,31 @@
Syntax 2
Comment "Kukui internal card"
Syntax 6
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}
BootSequence [
# Speakers
cset "name='I2S3_CH1 DL1_CH1' 1"
cset "name='I2S3_CH2 DL1_CH2' 1"
# Headphones
cset "name='Headphone Volume' 17"
cset "name='ADDA_DL_CH1 DL1_CH1' 0"
cset "name='ADDA_DL_CH2 DL1_CH2' 0"
cset "name='HPL Mux' 0"
cset "name='HPR Mux' 0"
# Internal Mic
cset "name='MTKAIF_DMIC' 1"
cset "name='Mic Type Mux' 2"
cset "name='UL3_CH1 ADDA_UL_CH1' 1"
cset "name='UL3_CH2 ADDA_UL_CH2' 1"
# Headset Mic
cset "name='PGA L Mux' 0"
cset "name='ADC L Mux' 0"
cset "name='PGA Volume' 0"
cset "name='UL3_CH1 ADDA_UL_CH1' 0"
]
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-arrow-db410c
pkgdesc="Arrow DragonBoard 410c"
pkgver=3
pkgrel=3
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -32,6 +32,6 @@ nonfree_firmware() {
}
sha512sums="
b8bb88f11bf7f5889a0159e63fac5e38e7ca68a11aa3b89294ee6bc4f6f56a02964d213ce418d7bd5231fb977e4d62a555d587807f5a3ad0d40fb1b5798a6f7d deviceinfo
9e4e3c89c6328c60a3e6a02bae30e79863a512760be04177c710827788970963be3679602e288ddee1a4a054e0e80d707ad53d15db6918998680119882e3eab8 deviceinfo
ccd6758cb4954eb0a96c7fb15e732e8147414f8edc498d9faf7d04ddef85d817733669ec1a6003e623e8392f3f6bb85f71160efe4e82f27e300d58aa6f5c8549 modules-initfs
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_bootimg_dtb_second="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
@@ -31,4 +32,4 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
deviceinfo_flash_fastboot_partition_system="rootfs"
deviceinfo_flash_fastboot_partition_rootfs="rootfs"
+1 -1
View File
@@ -3,7 +3,7 @@
pkgname=device-asus-me176c
pkgdesc="ASUS MeMO Pad 7 (ME176C(X))"
pkgver=6
pkgrel=3
pkgrel=4
_commit=3155254999ac36c3051a2118c415de25a072c0f6
url="https://postmarketos.org"
license="MIT"
+3 -3
View File
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-bq-paella
pkgdesc="BQ Aquaris X5"
pkgver=7
pkgrel=1
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -38,6 +38,6 @@ nonfree_firmware() {
}
sha512sums="
b33c075d49febd0bcff4c696214e39f134f7e05dc4770f60bfff52fb7e7b432b53ef69803ac32957e921d45cb7a35cc205112f6691dbdfd1a5032c89d34789fa deviceinfo
ae1d413f189856d5f9ccc6a3a64e6cd719ad3cf7e4d1f5b358201037f7fcad2098a33eedfb83278ecf80073bdfbfd49cc796b43da4992f7b2bd3a6dbaa266c40 deviceinfo
ebf6a40372329116a25df1407e671365bb2bf0613f61f0a572fc77890fb0a1760259ab35ed9f002ef2a5c6ee8836bc7bbeb50bf5ac3de14c11e6d96872ad3644 modules-initfs
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -3,7 +3,7 @@
pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4"
pkgver=2
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
+1 -1
View File
@@ -3,7 +3,7 @@
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=5
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -3,7 +3,7 @@
pkgname=device-google-kukui
pkgdesc="Google Kukui Chromebooks"
pkgver=6
pkgrel=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
+3 -2
View File
@@ -1,9 +1,10 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
# Maintainer: Adam Thiede <me@adamthiede.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-oak
pkgdesc="Google Oak Chromebooks"
pkgver=4
pkgrel=3
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -2,7 +2,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-peach-pit
pkgdesc="Samsung Chromebook 2 (11.6 inch)"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -59,7 +59,7 @@ nonfree_firmware() {
sha512sums="
cbeb0f1fdf4357763eae7ede0b28923ae39c18aa187894baa778bdb20afa728aa97cad63b957d799ffcd1130ae40c3b796e293a2a1c97d9a68bf132ec6ce6d13 deviceinfo
a1fd6b4964b0bd4c66983430528f5906eea5cc9ddbe8485ba17e97496652240d0a93dbd3af34ecd3c273b7172202b8dcb24e0b5fa372512d01affec3914a023d modules-initfs
e12a68f919182cb4e6812a5dd13fce8dc15266d2ac16aa5f0a31034f111cb403c020ebaaa4d94309f4baf2f71379327c57c08029e27c506d152695e9a2b04b2b modules-initfs
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
6fe67c8f2e09e3e37297eebaf2a86a32671923a5fd4d18e5aeb10e580fb998e4ddb4a691531a0c8f4b4e70c6f0f7e91008dd836ffca8026d59862c6e829fd996 Peach-Pit-I2S-MAX98090.conf
194b6169168b40592cf1e6b5f3b21aaa24a602869d7aec358cd5e1f06de34e9b0fe3da094e438ef2d3ab5be80275e6c0b6afe7ce92e2365a70e8b5a21a873234 HiFi.conf
@@ -4,3 +4,5 @@ drm-kms-helper
cros-ec-keyb
sbs-battery
tps65090-charger
uas
sd-mod
+4 -42
View File
@@ -2,8 +2,8 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-snow
pkgdesc="Samsung Chromebook"
pkgver=4
pkgrel=3
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -20,19 +20,11 @@ makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
i3wm/xorg.conf.d/90-tap-to-click.conf
modprobe.d/mali.conf
ucm/HiFi.conf
ucm/Snow-I2S-MAX98090.conf
mpv/mpv.conf.wayland
mpv/mpv.conf.xorg
sway/foot/foot.ini
sway/tinydm/10-no-hardware-cursor.sh
"
subpackages="
$pkgname-i3wm
$pkgname-mpv-wayland:mpv_wayland
$pkgname-mpv-xorg:mpv_xorg
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-sway
"
@@ -44,10 +36,6 @@ build() {
package() {
devicepkg_package $startdir $pkgname
# Block panfrost probe as it causes segfault in X11
install -Dm644 "$srcdir"/mali.conf \
"$pkgdir"/etc/modprobe.d/mali.conf
# Alsa UCM configs
install -Dm644 "$srcdir"/Snow-I2S-MAX98090.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Snow-I2S-MAX980/Snow-I2S-MAX98090.conf
@@ -55,25 +43,6 @@ package() {
"$pkgdir"/usr/share/alsa/ucm2/conf.d/Snow-I2S-MAX980/HiFi.conf
}
i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
install -D -m644 "$srcdir"/90-tap-to-click.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/90-tap-to-click.conf
}
mpv_wayland() {
# Looks like wayland libs are installed with some x11 UIs too, so match wlroots here
install_if="$pkgname=$pkgver-r$pkgrel mpv wlroots"
install -Dm644 "$srcdir"/mpv.conf.wayland \
"$subpkgdir"/etc/mpv/mpv.conf
}
mpv_xorg() {
install_if="$pkgname=$pkgver-r$pkgrel mpv xorg-server"
install -Dm644 "$srcdir"/mpv.conf.xorg \
"$subpkgdir"/etc/mpv/mpv.conf
}
nonfree_firmware() {
pkgdesc="WiFi/BT and MFC firmware"
depends="linux-firmware-mrvl linux-firmware-s5p-mfc"
@@ -84,19 +53,12 @@ sway() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-sway"
install -Dm644 "$srcdir"/foot.ini \
"$subpkgdir"/etc/skel/.config/foot/foot.ini
install -Dm755 "$srcdir"/10-no-hardware-cursor.sh \
"$subpkgdir"/etc/tinydm.d/env-wayland.d/10-no-hardware-cursor.sh
}
sha512sums="
4be0a2e0ff5d5189b9adbea995b111724cf686eda3c191fac405757facee4621297314bb4d2015e8dc72b29f30d47d2e00253d70d64c51a02a5177cb4d4959cd deviceinfo
a1fd6b4964b0bd4c66983430528f5906eea5cc9ddbe8485ba17e97496652240d0a93dbd3af34ecd3c273b7172202b8dcb24e0b5fa372512d01affec3914a023d modules-initfs
e53ca475830930ecfc1fd537702e850e2abcb66fbed521cb6c3a2918d762649254bd0244ec93a47b20dfc593ec3afc9bdebdec1759a7bc96dcbe4800f40893da 90-tap-to-click.conf
c5fdd5a39a41044343d937a1ad31cc6bb893f19a329beb4ce09249064cac066d643c84ffcbfcd794113c228c5a56e28c82812092751546b49ab31142dc8245b1 mali.conf
8f12e32794f68ecc312ef9edde380bffc73f931cf210c8e0a5552f47b325f0f6648a95986ae17ad0a32245308dfd3c1e381377b67e6b96eeae18f97b83621f92 deviceinfo
e12a68f919182cb4e6812a5dd13fce8dc15266d2ac16aa5f0a31034f111cb403c020ebaaa4d94309f4baf2f71379327c57c08029e27c506d152695e9a2b04b2b modules-initfs
8a8f593694528a9323ef4a0aff7e9c6ad45608957eb042d425663f682885c2f95eb01db4fe87b7c43a90de48f3e5f8b10cab4b13c547b5b0d31b924fcb083cad HiFi.conf
b163535da7626e3866faa45768c3888f69f90c98d694650e16a7594a03eb91391e166931eb487901217d983bb2dc4e49b99a2a5531740a7d87f8f4f5c3d0cf59 Snow-I2S-MAX98090.conf
8f9dc3c7caeab6c5321dc2bf498f1a03a793f23cb776763316bc356b9d433d7a3337e61154069464dcda200bf390b99f3be8f657a40c6d2f6be3cbc6fb751080 mpv.conf.wayland
d6bc39df48ba0e985a796426039205335adf1c91b9c150b05a4239339fc78b1748b3a83c699de69e9a5829f29573a323f40788da58ed15b1951de1eab7e31c3d mpv.conf.xorg
61c56cf84cf88371a2238845db1f8283c7eb7b417dec8c51d71e51fb96899bb026c0ee22dc94a43537a56477fb0db59de960949add4b0ce90552a1286e6afe69 foot.ini
8ddd237b14e8eea34b8716d155cdf199cf681b1287b482c8e184656d6d0440f018a2d46478c8b45eb790a1e71cfcfefd0f66798cd0b226647f11088549cfae64 10-no-hardware-cursor.sh
"
@@ -16,8 +16,6 @@ deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1366"
deviceinfo_screen_height="768"
# DRM is available, so all UIs can work with software rendering
deviceinfo_gpu_accelerated="true"
# Bootloader related
@@ -1,6 +0,0 @@
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
@@ -1 +0,0 @@
blacklist panfrost
@@ -4,3 +4,5 @@ drm-kms-helper
cros-ec-keyb
sbs-battery
tps65090-charger
uas
sd-mod
@@ -1,3 +0,0 @@
vo=wlshm
profile=sw-fast
ytdl-format="bestvideo[height<=?720]+bestaudio/best"
@@ -1,3 +0,0 @@
vo=x11
profile=sw-fast
ytdl-format="bestvideo[height<=?720]+bestaudio/best"
@@ -1,5 +0,0 @@
#!/bin/sh
# A workaround for missing cursor issue
export WLR_NO_HARDWARE_CURSORS=1
@@ -3,7 +3,7 @@
pkgname=device-google-trogdor
pkgdesc="Google Trogdor Chromebooks"
pkgver=1
pkgrel=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -3,7 +3,7 @@
pkgname=device-google-veyron
pkgdesc="Google Veyron Chromebooks"
pkgver=5
pkgrel=4
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -1,31 +1,33 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: JustSoup321 <brandonboese@protonmail.com>
# Co-Maintainer: Alper Nebi Yasak <alpernebiyasak@gmail.com>
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-x64cros
pkgdesc="Google Chromebooks with x64 CPU"
pkgver=3
pkgver=7
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
options="!check !archcheck"
depends="
alsa-ucm-conf
depthcharge-tools
postmarketos-base
postmarketos-cros-common
postmarketos-update-depthcharge-kernel
sof-bin
systemd-boot
"
makedepends="devicepkg-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="
$pkgname-libva
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-edge:kernel_edge
$pkgname-vulkan
"
source="deviceinfo modules-initfs"
_pmb_recommends="
oem-intel
oem-amd
"
build() {
devicepkg_build $startdir $pkgname
@@ -35,12 +37,6 @@ package() {
devicepkg_package $startdir $pkgname
}
libva() {
install_if="$pkgname=$pkgver-r$pkgrel libva"
depends="intel-media-driver libva-intel-driver"
mkdir "$subpkgdir"
}
kernel_edge() {
pkgdesc="Alpine Edge kernel"
depends="linux-edge"
@@ -53,13 +49,7 @@ kernel_lts() {
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
vulkan() {
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
depends="mesa-vulkan-intel"
mkdir "$subpkgdir"
}
sha512sums="
9260fe8df64e284f137f77844562d2f08e28d72d36a50772b0216cd7d68eeb41d0cdb650d0f0d1ad04c3906991aba0561c36813a2beb62cedf16f616c9ccedb9 deviceinfo
9606a2f61bfd9e0a2ea04fbe45e25093b702fd5b5cccf9f4f50768ee3b501251d8d3e1605485e5ec8f485b4bff7e44fe20d488f80736837654a9951391a97789 modules-initfs
1b3bbfcdc6642488304653aef996dddf7a354e7279f2c735ac7aec404e598948423630fcaa2cac87e2c0aef033ecfc57a7a91154f9dac9a85411db7bad62e677 modules-initfs
"
@@ -0,0 +1,9 @@
#!/bin/sh
# Only display this message if none of the `oem-*` packages are installed
if ! grep -Ex "oem-\b(\?|amd|intel)" /etc/apk/world 2>/dev/null; then
echo "* NOTE: This package no longer automatically installs OEM-specific drivers and firmware."
echo "* You will likely need to install one or both of these manually, depending on your hardware."
echo "* For AMD: apk add oem-amd"
echo "* For Intel: apk add oem-intel"
fi
@@ -0,0 +1 @@
device-google-x64cros.post-install
@@ -14,3 +14,5 @@ ehci_hcd
uas
xhci_pci
ehci_pci
sdhci_pci
mmc_block
@@ -3,8 +3,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-lenovo-a6000
pkgdesc="Lenovo A6000"
pkgver=7
pkgrel=2
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -46,7 +46,7 @@ phosh() {
}
sha512sums="
9e9c07835778b92178b8057df5530915a58f8aeb729274e24025a0ba8ee563269836f7790ad40f055fd85564dfa14a812306a6e7caf35369f5ffb522d2004611 deviceinfo
09836576cf3dc54afa8f7d8f3d5117ba08fa2dbc58b792062a3a55bae73041c8adbc934682e96d1dc98dd2e1d14fa1fe175801f0e387ea747b1d3df076cc0bc8 deviceinfo
d433b8376b6e89daf4eac2073cb33627bdcacdcd48b6d4990cc698627dcf3c951bb1874951bc4631ea6b89d22c6002b9d02b77ff24992106061fcecc22fa5f25 modules-initfs
10d4ee62e5f7a9e4c368c460dd4c3ef282476e47d8cc40e4e3b83e971d04c493b801e5628ebdfe721f869e2fd68c521cf192cba1a973c8e03a61445534a28811 phoc.ini
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -3,8 +3,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-lenovo-a6010
pkgdesc="Lenovo A6010"
pkgver=7
pkgrel=2
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -46,7 +46,7 @@ phosh() {
}
sha512sums="
94429cc24e90642b0110c10098eccff67ac585caf34471d1664a05a1bb55a9428cde35f776ffad64ebe02fce761c74c89d749e4be9ecd127db1e4ee8a2ff2435 deviceinfo
49d72c36be47a98ae4474e5f21f3eb96a069d085639d3fbcaa738ee05ac85ab47b7f9d229185a1dbe338489d5d091164f5c904065bdfdb2703aa817b19ecf5ab deviceinfo
258464e46872cf221f7ac367766f9b8ead5d5dccbd71f3df5a5555127a42448906247ff2519d1750eec53b3ed37ae96c2409369d7cb8e2fffeb202a8f69bba53 modules-initfs
10d4ee62e5f7a9e4c368c460dd4c3ef282476e47d8cc40e4e3b83e971d04c493b801e5628ebdfe721f869e2fd68c521cf192cba1a973c8e03a61445534a28811 phoc.ini
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-motorola-harpia
pkgdesc="Motorola Moto G4 Play"
pkgver=8
pkgrel=2
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -41,6 +41,6 @@ nonfree_firmware() {
}
sha512sums="
53b3a15b67cb81b50afb095172748e6c562a78854b83b59f519bb3915ffdcbc833b494336222f3005f5ac9c8d39afec03097a1ae9003d2f4478f3d0dfdf8d924 deviceinfo
aebe4b604357b068fb8fd2c67ba68db12f0d81a807afddb58fbd92706c29100753656f8a1f7f33bea19540e24fe2a6e0bf47d3e608a6c817d41647c62a8fcca9 deviceinfo
525a3e20672a7dff26b885b99ee157e0ece33efa10db34c90aed45dc47d7f1c2e90d7082dc84f2724892f199b5adaca04d5864f0aa1d1e4b8ea695f840346d60 modules-initfs
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
+3 -3
View File
@@ -2,7 +2,7 @@
# Maintainer: Sicelo <absicsz@gmail.com>
# Co-Maintainer: Danct12 <danct12@disroot.org>
pkgname=device-nokia-n900
pkgver=10
pkgver=10.1
pkgrel=0
pkgdesc="Nokia N900"
url="https://postmarketos.org"
@@ -148,7 +148,7 @@ xkeyboard_config() {
i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
depends="unclutter-xfixes feh i3blocks rxvt-unicode upower"
depends="unclutter-xfixes i3blocks rxvt-unicode upower"
install -D -m644 "$srcdir"/i3wm.conf \
"$subpkgdir"/etc/skel/.config/i3/config
install -D -m644 "$srcdir"/i3blocks.conf \
@@ -195,7 +195,7 @@ e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b11
2463008d270ed09342f15b51f24ea455bd884021f95397991b85616b6840a6608d91cd1fc43186094f5c3d1bd25e88c16aa9ead07b018aea3d93cd2359bba0b1 deviceinfo
f48b8dd7297d03008f73e1ecd55b77ace535ecb03f9bdf021123b96fb5f4fb491ff4c532e226b835c8118fa8d505cc4c635a2b604a3e42a162746021552a551c modules-initfs
826a3790b49324c1e61c75b6c0ffc043a2a1d7c13a8c554fb5eae4977af47a1ca93d70ef8c783d712b953b70e18ae58fa4c6a49bf97263398a01a0c4f91ebc8f i3blocks.conf
2b26f551b86c5d71119a518d18b49c3c6a9a6cfcc1ce4f19bb533ce415c698b1b3f200071e3f54b1abb11d8ae1add348e0a3f01ce21805607dd7beebdebf72c0 i3wm.conf
e06ae2ba1c8c8d3fd76c5d2fa6480561d5221c616d7ff50ed590e2cdbbc1dd0cb8232ee5cde43b79ec059876f49c1d1ae182bd016805a4e90b6331ce75bf4426 i3wm.conf
0b80af9fd1f36e6bc06bdfdf48352897234ac7457210649016665da8570a5a64b8a0841b4fbeb64fd7054a5246a64718cf4412f8a53024ce39b28a80984972d8 protip_shell.sh
6c6a70667f37807089adbb343c09d1f62d47b8e6c9c0a54f44790b822f8bff3dccae73341ef736b799fd6740bbd6e1f48e6e122c2e08520f71f6ad7434a47d2c battery-bq27200
d9ef88c714e9fce8822f63b7a9d7fc3e1ed472c8c876b44ba524d44efea322839f13ddd2fa652420608427ecf7279bfaac302c9b67667f32796ca21da332164d calendar
@@ -85,9 +85,6 @@ bar {
}
}
# Wallpaper
exec_always --no-startup-id feh --bg-fill /usr/share/wallpapers/postmarketos.jpg
# Hide mouse cursor
exec --no-startup-id unclutter-xfixes --fork
@@ -6,7 +6,7 @@
pkgname=device-nvidia-tegra-armv7
pkgdesc="NVIDIA Tegra ARMv7"
pkgver=1.1
pkgver=1.2
pkgrel=1
url="https://postmarketos.org"
license="MIT"
@@ -45,6 +45,6 @@ x11() {
}
sha512sums="
e8d7c637130642a5ee5438e7f401c1870ecd1dcdca0305ab73fabf3d8548db5f054aeeacaf48abc46189bc1efdcbb5549e8afed263880e07b4932aee418041fc deviceinfo
b5f81887b9d78906a880d89b862dbe445129e8444fa7e41b17deaa0ff494e25455bf47f5864a219ae394b660f63061c01c00ef370e88086367a3efcbf12a4f91 deviceinfo
8ea2030fb0c1ae181778b86dc36ed71a904dd51e1fb08114c2a124a693fc7b464cfbb14efa8422db716fb9a647afa367df094abcc14f1ccc51af8b9063de8847 modules-initfs
"
@@ -16,8 +16,6 @@ deviceinfo_chassis="tablet"
deviceinfo_external_storage="true"
# Bootloader related
deviceinfo_flash_method="fastboot-bootpart"
deviceinfo_flash_fastboot_partition_kernel="system"
deviceinfo_flash_fastboot_partition_system="userdata"
deviceinfo_flash_method="none"
deviceinfo_generate_extlinux_config="true"
deviceinfo_kernel_cmdline="console=ttyS0,115200n8 rw gpt"
+1 -1
View File
@@ -4,7 +4,7 @@
pkgname=device-odroid-xu4
pkgdesc="ODROID XU4"
pkgver=0.2
pkgrel=2
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -4,7 +4,7 @@
pkgname=device-oneplus-enchilada
pkgdesc="OnePlus 6"
pkgver=13
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -4,7 +4,7 @@
pkgname=device-oneplus-fajita
pkgdesc="OnePlus 6T"
pkgver=13
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -1,9 +1,9 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
# Maintainer: Quade Curry <qc8086@qc8086.com>
pkgname=device-pine64-pinebookpro
pkgdesc="PINE64 Pinebook Pro"
pkgver=16
pkgrel=4
pkgrel=5
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -2,8 +2,8 @@
# Maintainer: Jan Jasper de Kroon <jajadekroon@gmail.com>
pkgname=device-pine64-pinephonepro
pkgdesc="PINE64 PinePhone Pro"
pkgver=3.8
pkgrel=5
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -145,7 +145,7 @@ c5006c38828eb519917d57756f7831c4552feffef2d4922a384073f6a551535f615ad397d784e313
420ee1d7522d4d56c2909580fd6ba7580483ca5455b13eb6d22e700063ce0c1a5c6d2f5b161dfce0d777636fe9a712aa82f38a0585f2feabea3785b02bae7515 setup-modem.sh
1684514a6b814a83473e9da8855fd776cf3f31a2be1f8834c370f710428b4ee305559e275be52894d167ccd1e32f8f1c8586f8a072f19e44b46caec9f504d453 HiFi.conf
9c6edbe7ea387baf9bfa6c4a46b28c4fe274ab0994e0a1640012048407e6679c437de43cc50e6778c9a852132eaa680de3fd4e0256d36455d1dd57aa729ac8be PINE64-PinePhonePro-.conf
e4d721163a844c68c0240be62a4692e7b9983054aee6d717f70687b901f569c6008e0c64a5bddf37e20f41b3936b4ef80909d7cbf09feeb0813303b3b46de80f VoiceCall.conf
27214fcf94823c3a9deff01c4b7a1cfc6dc8c117d9b5643fea9a15835a04e59524d2a90f522aa3c7440b94cd1b9d9938413abcfdaa838efb008c87eeae7de2e8 VoiceCall.conf
bb11151e246d16e071761ebb35ca7f8b8cedbad8366e9bac6aed30554a795877cc9dccbe69ecca4b19b6f72bd87e613705f3ae4f2f40d2f9c2d09cc179999d59 sway-pinephone-keyboard.conf
a7b49a638f664f7682ce6b00eb4d1ae26a429e89354056de05fb49d25fc9555d7f80e6d8f4b0a250878a4e7823860fd156068ed6604ce6cf58badef45c545161 x11-pinephone-keyboard.conf
"
@@ -39,9 +39,10 @@ SectionVerb {
cset "name='Mono ADC R2 Mux' DMIC R1"
cset "name='Mono ADC Capture Switch' on"
# Set capture volume to 0dB so modem audio doesn't overdrive the ADC
cset "name='ADC Capture Volume' 160"
cset "name='Mono ADC Capture Volume' 160"
# Set capture volume to 0dB (47) so modem audio doesn't overdrive the ADC
# Bobby: switch down to 0, mic is way to sensitive since kernel ~6.5
cset "name='ADC Capture Volume' 0"
cset "name='Mono ADC Capture Volume' 47"
# The second 'Mono ADC' path does not have a 'Boost Gain',
# set this to 0dB so that the volume of the AIF1 and AIF2 paths is equal.
@@ -50,7 +51,7 @@ SectionVerb {
# Set IN1 internal mic boost to 8 (max)
# Set IN2 headset-mic boost to 1, headset mics are quite loud
# Set IN3 (modem audio) boost to 0 as it's already loud enough
cset "name='IN1 Boost' 8"
cset "name='IN1 Boost' 0"
cset "name='IN2 Boost' 1"
cset "name='IN3 Boost' 0"
@@ -107,7 +108,7 @@ SectionVerb {
# Set playback volumes to 0dB
cset "name='HP Playback Volume' 31"
cset "name='Speaker Playback Volume' 31"
cset "name='Speaker Playback Volume' 48"
]
DisableSequence [
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=device-pine64-rockpro64
pkgver=3
pkgrel=6
pkgrel=7
pkgdesc="PINE64 ROCKPro64"
url="https://postmarketos.org"
license="MIT"
+3 -3
View File
@@ -4,8 +4,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-samsung-a3
pkgdesc="Samsung Galaxy A3 (2015)"
pkgver=11.2
pkgrel=1
pkgver=12
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -57,7 +57,7 @@ phosh() {
}
sha512sums="
69e0c697ea7c082f578cc412ca8da918ad39114a8f61ac3c39fd003f361eebf4cdbb568252bc38fbeb78334e5b660d1e25a3969c961c967d8154e14eee7fe126 deviceinfo
a2437b8c6f420d4c67f57fd4940974e3cacfd86de9727a72cc524e17837aa7860181da401b501f12980b8c02ec66ef92d4f276a21daa1d64ebef2a40fb5e62ca deviceinfo
3754688b2a61c204f37944d700b6fc273f68a01e25d444a3c3f2dd2531d8538650a2e571657e18e7a96a2db96b19f2f738d6f465bde477efd66ab31a78edfb91 modules-initfs
e8f734a2f8d154813dbb493f0d58af50a7f624ffed41967a81493b975a6211efc6d30743b23825562cfd126791cbdd3348bfbed32eeece9b8acec0a37c3c51b6 phoc.ini
"
@@ -25,6 +25,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
+3 -3
View File
@@ -3,8 +3,8 @@
# Co-Maintainer: Alexey Min <alexey.min@gmail.com>
pkgname=device-samsung-a5
pkgdesc="Samsung Galaxy A5 (2015)"
pkgver=10.2
pkgrel=1
pkgver=11
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -42,6 +42,6 @@ nonfree_firmware() {
}
sha512sums="
9740a2ed7187c596d60da355a7423a800a1cc5a1c71c88ed80eb25837a1051d5e3edfca3e12d4f098b5b43e31d403984817569a0916ec0aaa9b652928cb837d8 deviceinfo
72cbc4f8e5ec234b5a9b7eb8da40cdabaf3dbe0cee5665aab5107b1795897c30b88a3ec32e3bc4327bf1a512a64fe09a5c1b79baaee9aa2e19ea9d04381550b8 deviceinfo
13ba472485d757332b46a21fe771ae2779d0c5f1e997b6e51a4c0acce902256f0a2c724828251acf0150d7de919b691053de59041fea0b983569a004dcb75256 modules-initfs
"
@@ -25,6 +25,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
+3 -3
View File
@@ -2,8 +2,8 @@
# Maintainer: Raymond Hackley <raymondhackley@protonmail.com>
pkgname=device-samsung-e7
pkgdesc="Samsung Galaxy E7"
pkgver=1.2
pkgrel=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -37,6 +37,6 @@ nonfree_firmware() {
}
sha512sums="
42ca0cf76fc0d7122925dd8fa4297ef0f5160fdb99cff960e5eab19dbe00d9e824d18e72c05699006a28079818f61085fc97945ccabee90cb385ca3a0d16490d deviceinfo
eac74a530dfec9136cbce8fbfb4e4548416374609e3db26d7ebc05b2af8d2344f4120aca5dda98007ce6fb790554236ec077875dfa0e41ffbed56c1409dd252e deviceinfo
659b6cdc0e9be756cfae34031d407175356edc331a8d4f51fb70b0beea4f8067c5ded39e158054c02811df0964d967d3a790bfef99675ca2587ef867d02db8db modules-initfs
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -3,7 +3,7 @@
pkgname=device-samsung-espresso10
pkgdesc="Samsung Galaxy Tab 2 (10.1 inch)"
pkgver=1
pkgrel=1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -28,5 +28,5 @@ nonfree_firmware() {
}
sha512sums="
e0f270451abf1d3b67dad9f7a46cd399e08c74c52ac152dfffde46ec3151ef44982302d53e58dc48fd24e5a01f5796d36fc22a85d182bc0df8eaf3f880025579 deviceinfo
29a4c46717d12e054ceeb94bb220111aea2a2f6c29522b9d100ae5337579a1ca5f772756ccfb329d47c5e9a745fa9ee91815d4b74cac6fc863adb92743518707 deviceinfo
"
@@ -29,4 +29,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_system="FACTORYFS"
deviceinfo_flash_heimdall_partition_rootfs="FACTORYFS"
@@ -4,7 +4,7 @@
pkgname=device-samsung-espresso7
pkgdesc="Samsung Galaxy Tab 2 (7.0 inch)"
pkgver=1
pkgrel=1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -31,5 +31,5 @@ nonfree_firmware() {
}
sha512sums="
103fe306c0bf2c55a45256946dcd77356dc926abc854f40c11bf9a691f21c09148b7213bbe163666755f028164d31f070d677fc8197cb1dc2332afc6afb51b60 deviceinfo
91e9188aad38540444db4261416bb9e79b11ca64d10821b2148b4fd49c17be49391de75d878618c04a09016c437b2e26897f78c25564b53b4aca35eaebae0899 deviceinfo
"
@@ -29,4 +29,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_system="FACTORYFS"
deviceinfo_flash_heimdall_partition_rootfs="FACTORYFS"
@@ -2,8 +2,8 @@
# Maintainer: Raymond Hackley <raymondhackley@protonmail.com>
pkgname=device-samsung-grandmax
pkgdesc="Samsung Galaxy Grand Max"
pkgver=1.2
pkgrel=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -37,6 +37,6 @@ nonfree_firmware() {
}
sha512sums="
f37451a95c8a2a045feb4b319332fae6fecbb3cec370415a3ba04362d12060b4a67420a9378df3a27d24780bd42865516cba4c3154dcf8d3818e5423e06df7ca deviceinfo
41bad63b5c0839357a608b2d56917eb8798bb8e6f260dcba0ba8b4e2f6faf7455406d18460ad9b33f112bd5f89ca5843c7327b6d52d29f640b35f3839b85f421 deviceinfo
24b1b199ca26d902807038faa20b44d6060c039900df5c7aa263cdb22b35930e726c2bfd86e32b1f1dd6fa8ab3b57a6c8ff430ce9aae2dd04c04565ea56c8a43 modules-initfs
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -2,8 +2,8 @@
# Maintainer: Nikita Travkin <nikita@trvn.ru>
pkgname=device-samsung-gt510
pkgdesc="Samsung Galaxy Tab A 9.7 (2015)"
pkgver=5
pkgrel=1
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -51,7 +51,7 @@ phosh() {
}
sha512sums="
1a74a79351173ab960846474b5b60c82becc2291ff34cc0cc528e830c9ce7e036268a41dfd34e76d966ba84b204a1b3cbb9fa6edbbb710f58efb40e5f068e872 deviceinfo
dda91e0c78a369450a9584f1404350a6bd09541ee498231382f50ebc02b85b9659a9fed1f3cfda4e766eebec48b2e610d0a67fb3ce580447be1cc2b92959da58 deviceinfo
77e32266772a201ba42d91586dce32bd93ff81f1a49c5f5b157847e3107d0b2c9a2f0478b383416ca37ddfb820fe6c9147abe8ccd7e07ad704c3c4c9d4683f3a modules-initfs
6aedd5eeac4d21356678f5399f3f0946392c9a7477ac21d39b8e761133dc8ed67adb4966647314f71d5263483ab68cad92847dacff95ffa45eabfc33c9f405b5 pointercal
ed612b090c1ee512fc257368082fe0c88ca6c98a9d673ece68593739c7a41b4f9dca5d9360de6f84d206f297feba480a9f1982301132e08a14a5ff920a2675a6 phoc.ini
@@ -23,6 +23,7 @@ deviceinfo_gpu_accelerated="true"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00080000"
deviceinfo_flash_offset_ramdisk="0x02000000"
@@ -2,8 +2,8 @@
# Maintainer: Nikita Travkin <nikita@trvn.ru>
pkgname=device-samsung-gt58
pkgdesc="Samsung Galaxy Tab A 8.0 (2015)"
pkgver=5
pkgrel=1
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -47,7 +47,7 @@ phosh() {
}
sha512sums="
7f3a261029ecf69b490f804db9ef3ff642d173e2a0a441f6a81d65ad374db2066de23306bb468746a271886d820ee22991a5a3e0b83f4c1fc3911b7d111bb181 deviceinfo
eef08e96e77c1620f50a0296e709e9898a3313da2539632c3434c261d3790ab008b59bcb934a7d669ff9d50280692dc4adf9f6d81c88dc3faf3ef0710e4555d2 deviceinfo
8071b89c832619c74d3bb50d638653aeaab99fee209cde425a7e8425d46d424bad9e8ab76d2d7360bd4c7ff093a712d51c3ca1b6086e1f70812224bbb115b04f modules-initfs
ed612b090c1ee512fc257368082fe0c88ca6c98a9d673ece68593739c7a41b4f9dca5d9360de6f84d206f297feba480a9f1982301132e08a14a5ff920a2675a6 phoc.ini
"
@@ -23,6 +23,7 @@ deviceinfo_getty="ttyMSM0;115200"
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_generate_bootimg="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
+1 -1
View File
@@ -3,7 +3,7 @@
pkgname=device-samsung-m0
pkgdesc="Samsung Galaxy S III"
pkgver=6.3
pkgrel=2
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -1,22 +1,31 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
# Co-Maintainer: Alexandre Marquet <tb@a-marquet.fr>
pkgname=device-samsung-manta
pkgdesc="Google Nexus 10"
pkgver=1
pkgver=7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-postmarketos-exynos5 mkbootimg"
depends="
linux-postmarketos-exynos5
mkbootimg
postmarketos-base
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
modules-load.conf
modules-initfs
100-wlan-mac.rules
wifi-macaddr.sh
networkmanager.conf
hwclock
"
replaces="openrc" # for hwclock configuration
build() {
devicepkg_build $startdir $pkgname
@@ -33,6 +42,13 @@ package() {
install -Dm644 "$srcdir"/100-wlan-mac.rules \
-t "$pkgdir"/usr/lib/udev/rules.d/
mkdir -p "$pkgdir"/etc/modprobe.d
echo "options ds2482 active_pullup=0" \
> "$pkgdir"/etc/modprobe.d/ds2482.conf
install -Dm644 "$srcdir"/hwclock \
-t "$pkgdir"/etc/conf.d/
}
nonfree_firmware() {
@@ -46,9 +62,10 @@ nonfree_firmware() {
}
sha512sums="
ec542216d7ee2608781c41b6afc82a7ae272c2e032dbdbb88343b5e6140e0e298a2243ddba7b48ebccffbe0ebd79f8dfb816767a0502067acf278a73cc7647ff deviceinfo
fe65b8e792e5d69dfff707e7b9a415ce7c4786fbcc1ad0aba638450c8470e81b0eb3cf170bc95a38e1234e1a3a5d6a013cc06d771a6c61015fbd12c07038e918 modules-load.conf
63db3dc101ffd25ea43a8d6f02005cb1a21d7e2b0872d9142c5f5db11a1baea4639df3eacb10177ed5748769796fb4560148e48094a2bce36d745668ab4cac2e deviceinfo
e00c58936fa4340f8531538136ad028d002342a4399b68d26190b931831108007486257f9d8a48c3ed454696b45d176b1497d624c33ace21e61eba33ac7ce136 modules-initfs
37a18d36e1e08ddcc605de73214dc02a9e7737f6a66b2e4be301fca816bbf3c2ba6b5ead1f12c745fd0fa019e2a8e959e4fc20386ad94ca7277d4c7d7f9fb703 100-wlan-mac.rules
ef18bd3e5c4c8c69dce3293c9e70fa0b30820ba12cb8217346b63392db95513169c31e9bf730aac5cecea15e2cda4166b093bbf0e456055a5432e57400ecb9b1 wifi-macaddr.sh
cfba48f87335ed8810004e02db165203149532ade7be206947f8195bbcc14d61bf3a898378566aca7295ba08784665f462442bf5e74d7f58b2cc62d996376317 wifi-macaddr.sh
5c3a692f22a29fca792c114c6d94ff1bf0d6921f068f207a2894a8f99c73dcc319e7c803ed7adfe64eb3e60088f37e2a2730118b2ed57aa01b35415664085567 networkmanager.conf
8a9756c66bf1eacd6a9717abf772a198123391deac7e32a520666dd6f72c4c5b09d1a4791437c8902f62cf4b49106ace195d57082972b1cb4c843c8e1b065875 hwclock
"
Loaded 100 of 1188 files, more files were not shown because too many files have changed in this diff. Show more