Commit graph

6940 commits

Author SHA1 Message Date
Clayton Craft
d42edaaa65
temp/megapixels-purism: remove (MR 3815)
moved to aports as "millipixels"
2023-03-01 08:42:46 +01:00
Clayton Craft
8bac6d45cf
xiaomi-scorpio: add -camera subpackage (MR 3815) 2023-03-01 08:42:45 +01:00
Clayton Craft
5e9e19b7a7
pine64-pinephone: add -camera subpackage (MR 3815) 2023-03-01 08:42:45 +01:00
Clayton Craft
d49b2087e5
purism-librem5: add -camera subpackage (MR 3815) 2023-03-01 08:42:45 +01:00
Clayton Craft
ce40d054ce
pine64-pinephone: create "kirigami" subpackage (MR 3815)
kirigami may be installed outside of plamo, however there are some
changes that should only be applied when plamo is installed
2023-03-01 08:42:45 +01:00
Clayton Craft
a8450a53f2
purism-librem5: replace -phosh subpkg with -gnome (MR 3815)
Installing wys and anything else on all gnome-related UIs is better than
just having a special case for phosh. Phosh should pull in
pmos-base-ui-gnome.
2023-03-01 08:42:45 +01:00
Clayton Craft
8c29eaed6e
main/pmos-base-ui: add postmarketos-default-camera dummy package (MR 3815)
This is a dummy package that other packages can install_if on to install
the appropriate camera app for the device/UI. It's intended to be added
to pmb_recommends= for pmos-ui-* packages that want to have a camera by
default.
2023-03-01 08:42:45 +01:00
Arnavion
69773b8cc5
main/shutdown-clear-rtc-wakealarm: new aport (MR 3905)
This contains an OpenRC service that clears the RTC wake alarm.
Users who don't want the RTC wake alarm to power on their phone from
powered-off state can use this service to clear the alarm during shutdown.

Fixes #1970

[ci:skip-build] already built successfully in CI
2023-02-28 14:45:04 -08:00
Oliver Smith
c30dd812f2
linux-postmarketos-exynos4: add V=1 to build (MR 3914)
Fix the build running silently, and running into the timeout for not
printing anything for a long time.

Related: https://builds.sr.ht/~postmarketos/job/948827#task-pmbootstrap_build-462
2023-02-28 08:04:18 +01:00
Pablo Correa Gómez
264d171a88
testing/firmware-samsung-manta: check that /etc/conf.d/wpa_supplicant exists (MR 3909)
Not all UIs depend on it

Fixes #1971

[ci:skip-build] already built successfully in CI
2023-02-27 09:38:54 -08:00
Affe Null
c293b03642
samsung-t0lte: add panel selection (MR 3549)
Let the user select between two kernel variants using the different
device trees for the different panel variants (ea8061 and s6evr02)

[ci:skip-build]: Already built successfully in CI
2023-02-27 17:25:01 +01:00
Affe Null
8b470375a9
samsung-t03g: add panel selection (MR 3549)
Let the user select between two kernel variants using the different
device trees for the different panel variants (ea8061 and s6evr02)
2023-02-27 17:24:45 +01:00
Affe Null
d4b54d1249
linux-postmarketos-exynos4: Add missing ea8061 panel driver (MR 3549)
Add a driver for the Magnachip EA8061 panel found on some Samsung
Galaxy Note II devices. Split the device trees into two (one for devices
with the already supported S6EVR02 panel and one for the new EA8061
panel).

Note: I didn't write this driver myself. Just like the old S6EVR02
driver, it has been ported from https://github.com/fourkbomb/linux
to the latest mainline Linux version.
2023-02-27 17:24:45 +01:00
Anton Bambura
e960066058
google-dumo: enable panel on initramfs stage (MR 3904) 2023-02-26 21:24:46 +01:00
Anton Bambura
caa285b8d1
google-druwl: enable panel on initramfs stage (MR 3904) 2023-02-26 21:24:46 +01:00
Anton Bambura
ad4d27e134
google-dru: enable panel on initramfs stage (MR 3904) 2023-02-26 21:24:46 +01:00
Anton Bambura
45adf82081
linux-postmarketos-rockchip: enable elan touchscreen for scarlet devices (MR 3903) 2023-02-26 19:57:32 +01:00
Alistair Francis
e1efe18136
device-purism-librem5: Disable modem power management (MR 3902)
According to
https://source.puri.sm/Librem5/linux/-/issues/303#note_160864 enabling
the modem power management results in a unreliable modem, but more power
savings.

With power management on the modem can disconnect at any time,
including during calls. This makes the Librem 5 a very bad phone.
Instead let's ensure it works as a phone with a semi-reliable modem
(there is still the sleep/resume issue
https://source.puri.sm/Librem5/linux/-/issues/423) at the cost of
battery life.

As the Librem5's battery life is already poor, a little bit worse
isn't much different. Either way you need an external battery pack.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2023-02-25 22:38:27 -08:00
Oliver Smith
92efdacfbf
linux-purism-librem5: add Clayton's rebase comment (MR 3896)
Taken from here:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3896#note_1287206744

[ci:skip-build]: already built successfully in CI (without this cosmetic
		 comment, but it shouldn't change anything.)
[ci:skip-vercheck]: this patch just modifies comments
2023-02-24 09:27:06 +01:00
Newbyte
2affe723e2
linux-purism-librem5: upgrade to 6.2.0 (MR 3896)
I unset CONFIG_ARM64_PTR_AUTH_KERNEL because the i.MX 8 CPU in the
Librem 5 doesn't support features from ARMv8.1-A and above anyway.
Same rationale applies to CONFIG_ARM64_TLB_RANGE being unset.
2023-02-24 09:25:34 +01:00
Kieran Bingham
de591be7d8
community/linux-postmarketos-rockchip: Add ATH10K wireless support (MR 3899)
The google-dru package provides the linux-postmarketos-rockchip as a
kernel and supports linux-firmware-ath10k linux-firmware-rockchip
packages as additional non-free firmware.

Enable the ATH10K kernel module in the kernel config
config-postmarketos-rockchip.aarch64 to enable wifi on devices such as
the Acer Chrometab 10.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
[ci:skip-build]: already built successfully in CI
2023-02-24 09:20:00 +01:00
Kieran Bingham
d43748aa9c
community/linux-postmarketos-rockhip: Migrate to linux-6.2 (MR 3899)
Update the kernel base and migrate the kernel config.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-02-24 09:19:43 +01:00
Kieran Bingham
60821d3a09
community/linux-postmarketos-rockchip: Update install for packaging (MR 3899)
Add the missing kernel.release file to support packaging and fix builds
with:

 `pmbootstrap build --envkernel linux-postmarketos-rockchip`

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2023-02-24 09:19:38 +01:00
Newbyte
60fc4a2df5
samsung-matisselte: new device (MR 3813)
[ci:skip-build]: already built successfully in CI
2023-02-24 08:55:34 +01:00
Newbyte
954fd59706
linux-postmarketos-qcom-msm8226: new aport (MR 3813) 2023-02-24 08:55:16 +01:00
Clayton Craft
e73187d343
postmarketos-ui-{xfce4,mate}: don't fail if tinydm can't be disbled (MR 3897)
Fixes this failure on a new install:
        ERROR: postmarketos-ui-xfce4-0.5.1-r11.post-install: script exited with error 1

[ci:skip-build]: already built successfully in CI
2023-02-23 08:38:57 +01:00
Caleb Connolly
d08da30b5a
main/pbsplash: upgrade to 0.3.0 (MR 3885)
[ci:skip-build] already built successfully in CI
2023-02-22 21:48:07 -08:00
Newbyte
c3540b4678
device-purism-librem5: don't specify cma size in U-Boot bootargs (MR 3889)
This allows the back camera to work reliably for me as the CMA size then
grows to what's specified in the kernel configuration which is slightly
larger (320 MiB).

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1947

See https://source.puri.sm/Librem5/millipixels/-/issues/65

[ci:skip-build] already built successfully in CI
2023-02-22 15:17:10 -08:00
Richard Acayan
9678ab7b38
google-sargo: enable GPU-accelerated UIs (MR 3898)
This port has been compatible with GPU-accelerated UIs like Phosh and
Plasma Mobile for quite a while now. Enable these UIs in the
`pmbootstrap init` menu.

See #1939.
2023-02-22 11:49:36 +01:00
Newbyte
8496464c47
linux-purism-librem5: upgrade to 6.1.12 (MR 3888)
Includes more power management fixes.

[ci:skip-build]: Already built successfully in CI
2023-02-21 14:39:40 +01:00
Caleb Connolly
4e2507c9e5
Revert "postmarketos-ui-mate: switch to tinydm (MR 3887)" (MR 3893)
This reverts commit 2c5c22f3e3.
2023-02-21 08:40:50 +01:00
Caleb Connolly
2d100dcbdf
Revert "postmarketos-ui-xfce: switch to tinydm (MR 3887)" (MR 3893)
This reverts commit 5915d1630b.
2023-02-21 08:40:23 +01:00
Caleb Connolly
fe29c9ab34
main/postmarketos-bootsplash: kill pbsplash before display-manager (MR 3893)
If pbsplash is running when a display manager starts it often causes
issues as display managers want to run on a particular VT, but are
unable to switch the active VT since pbsplash has exclusive control of
the framebuffer.

Making DMs not start until after local would solve the issue but
it would also needlessly delay the boot process.

Until we have a better way to detect display managers starting and react
to it, this will at least get devices working again. Though due to how
openrc resolves service start order it may mean the splash is killed
earlier than necessary.
2023-02-20 19:37:19 +00:00
Julian Winkler
ca5e6cab1b
device/testing/petitboot-motorola-smi: build petitboot image for motorola-smi (MR 3880)
[ci:skip-build]: Already built successfully in CI
2023-02-20 13:19:56 +01:00
Julian Winkler
f567cebd8f
temp/petitboot: new package petitboot (MR 3880) 2023-02-20 13:19:51 +01:00
Julian Winkler
2b16e5837a
temp/kexec-tools: fork from alpine to support devicetree on x86 (MR 3880) 2023-02-20 13:19:51 +01:00
Clayton Craft
5915d1630b
postmarketos-ui-xfce: switch to tinydm (MR 3887)
[ci:skip-build]: already built successfully in CI
2023-02-20 08:00:39 +01:00
Clayton Craft
2c5c22f3e3
postmarketos-ui-mate: switch to tinydm (MR 3887) 2023-02-19 20:42:58 -08:00
Arnavion
025105c5a4
device/main/linux-postmarketos-allwinner: enable CONFIG_ARM_SUN8I_A33_MBUS_DEVFREQ and devfreq governors (MR 3864)
This enables the DRAM frequency stats driver that can be useful for debugging
issues with the PinePhone. This came up in a discussion in #pinephone on IRC
where megi was helping a pmos user with idle power draw issues.

This also enables the performance, powersave and userspace devfreq governors.

Ref: 8bfd4858b4

[ci:skip-build]: already built successfully in CI
2023-02-19 20:49:05 +01:00
Oliver Smith
fa292406df
linux-motorola-panelli: store full kernel config (MR 3883)
Store the full kernel config instead of a fragment, so
"pmbootstrap kconfig check" can properly verify that all required kernel
options are there. Without this, it would fail an upcoming check for
BINFMT_ELF and BINFMT_SCRIPT:
https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/38508

With the full config, pmbootstrap found that ANDROID_PARANOID_NETWORK
was enabled while it should be disabled, so disable it.

Fix the mediatek drvgen related build failure with
00_disable_drvgen.patch from linux-wiko-ufeel and including cust.dtsi:
https://wiki.postmarketos.org/wiki/Porting_to_a_new_device#Removing_python2_dependency

[ci:skip-build]: already built successfully in CI
2023-02-19 20:44:50 +01:00
Clayton Craft
ac9bff857c
main/postmarketos-mkinitfs: trigger on /etc/pmos-mkinitfs/* (MR 3876)
These directories should also trigger a rebuild so that any changes are
reflected in the initramfs.
This will include things like 'files', 'modules' and so on that weren't
previously triggering rebuilds of the initramfs...

[ci:skip-build]: already built successfully in CI
2023-02-19 19:33:32 +01:00
Newbyte
624a384a9f
linux-purism-librem5: disable CONFIG_LOGO (MR 3881)
This gets rid of the Tux army on bootup. While it hurts my soul,
removing Tux from bootup makes it less flickery.

[ci:skip-build]: already built successfully in CI
2023-02-19 19:26:21 +01:00
Newbyte
604a5ee097
sourceparts-pocketpc: fix u-boot-tools name (MR 3882)
uboot-tools was the previous name of the package I think.

[ci:skip-build]: already built successfully in CI
2023-02-19 16:40:54 +01:00
Newbyte
9769f5a149
sipeed-licheezero: fix u-boot-tools name (MR 3882)
uboot-tools was the previous name of the package I think.
2023-02-19 16:40:34 +01:00
Andreas Kemnade
c32221096a
linux-kobo-clara-mainline: upgrade to 6.1.12 (MR 3878)
6.1 was not a valid kernel version causing the wlan module installed
into wrong location. 6.1.0 would be correct. Fix that
problem by upgrading to 6.1.12 and make the wlan installation
more robust.

[ci:skip-build]: already built successfully in CI
2023-02-19 15:38:14 +01:00
Newbyte
66735f8db9
main/postmarketos-mkinitfs: remove references to charging-sdl (MR 3872)
As it was dropped in the previous commit.

[ci:skip-build]: already built successfully in CI
2023-02-19 14:04:17 +01:00
Newbyte
05bce12847
main/charging-sdl: remove (MR 3872)
It has almost been two years since pma#1064 was created[1], and nothing
has changed since really. If someone wants to revive charging-sdl, they
can just revert these commits, but given the status quo I don't think
there is any reason to keep this around until it changes.

 [1] https://gitlab.com/postmarketOS/pmaports/-/issues/1064

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1064
2023-02-19 13:53:27 +01:00
Newbyte
60ba45e9e2
main/triggerhappy: remove (MR 3872)
This is no longer used by anything in pmOS as far as I can tell. One
previous user, ttyescape, has been reworked to use hkdm instead, and the
other previous user, charging-sdl, is no longer available in pmOS.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1929
2023-02-19 13:53:27 +01:00
Caleb Connolly
b93203a035 main/postmarketos-splash: drop in favour in pbsplash (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
80eb55a604 main/devicepkg-dev: don't generate splash images (MR 2878) 2023-02-18 01:40:28 +00:00