Commit graph

4865 commits

Author SHA1 Message Date
Bobby The Builder
b795e65785
temp/arm-trusted-firmware: common build for rk3328, rk3399 and pinephone (MR 2315)
Include:
  smaeul: "all idle entry attempts will return PSCI_E_INVALID_PARAMS, and Linux
  isn't smart enough to stop trying without these patches:
  https://github.com/crust-firmware/arm-trusted-firmware/commits/d6ebf5dab2daab8"

  Extra patches custom to pinephone
2021-08-13 23:19:28 -07:00
bademux
d96467bbad
linux-xiaomi-tissot: enable Realtek usb ethernet adapters (MR 2419)
[ci:skip-build] already built successfully in CI
2021-08-12 08:56:31 -07:00
Clayton Craft
ac6c5bcb61
temp/sdl2: drop fork (MR 2425)
2.0.16 is in alpine aports, and includes the fixes carried in this fork
2021-08-11 16:24:34 +02:00
Clayton Craft
fb452cc3d0
channels.cfg: mark v21.03 as unsupported (MR 2424) 2021-08-10 11:33:48 -07:00
Caleb Connolly
3e86acc9d9
postmarketos-mkinitfs: flashing: fix wrong flavor (MR 2401)
The flavor string was naively parsed using sed by removing everything
before the first hyphen, this breaks for -rc kernels. Instead lets glob
/usr/share/kernel for the installed kernel flavor. This will also
prevent the kernel being flashed if the running kernel has a different
localversion than the updated one.

[ci:skip-build] already built successfully in CI
2021-08-10 00:09:34 -07:00
Jakob Hauser
4baa805b41
main/postmarketos-base: change permission on tm2-touchkey leds (MR 2380)
Allow users in group "input" to control the tm2-touchkey leds.

Additionally correcting the udev rule for disabling the tm2-touchkey leds by default.

[ci:skip-build] already built successfully in CI
2021-08-10 00:03:50 -07:00
Bobby The Builder
13af7396e9
main/linux-postmarketos-allwinner: upgrade to 5.13.6 (MR 2390)
[ci:skip-build] already built successfully in CI
2021-08-10 00:01:27 -07:00
Caleb Connolly
9e3b3700d1
gitlab-ci: shellcheck ttyescape (MR 2309)
[ci:skip-build] already built successfully in CI
2021-08-09 23:57:24 -07:00
Caleb Connolly
20f93d942d
main/ttyescape: new aports (MR 2309)
Add ttyescape, a script and triggerhappy configuration to allow mobile device
users to access and use a shell without having to plug in to a computer.

One of the largest limitations with a mobile device is the lack of keyboard, for
mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack
is built to automatically recover in case of a crash / hang, hiding the internal
state of affairs from users and making use of careful design to minimise the
impact.  When bringing Linux to mobile, we carry not only the benefits of the
Linux desktop but also it's limitations. In the event that your desktop manager
goes haywire or hangs completely, or your graphics drivers get unhappy, the
ability to quickly jump to a tty and start killing bad behaving programs or
reset your display manager is one that most of us take for granted.  But when
hit by similar errors on a mobile device there is no such recourse available,
users either have to reboot and hope that the issue doesn't occur again, or pull
out a laptop and pull up a shell (assuming ssh is enabled and the rndis
interface comes up).

ttyescape proposes to solve this issues by pieceing together several already
available tools, notably:
 - triggerhappy, a tool used to perform actions when
certain buttons or key combinations are pressed with no dependencies on the
display manager in use.
 - fbkeyboard, a framebuffer keyboard for tty's, it
renders on top of the current tty and uses the device touchscreen as input.
2021-08-09 23:57:24 -07:00
Bart Ribbers
2a185f64d5
pine64-rockpro64: add myself as co-maintainer (MR 2362)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI]
2021-08-09 20:16:28 -07:00
Bart Ribbers
80d5c34ac7
pine64-rockpro64: move to community (MR 2362)
This device runs on linux-postmarketos-rockchip which at the moment of
writing is 5.13.0 with (only) 6 patches applied, so close-to mainline.
I personally use 2 of these devices with postmarketOS installed daily as
my homeserver setup and it has worked really well. It's also a good
target to run Plasma Bigscreen on as a TV setupbox
2021-08-09 20:06:37 -07:00
Caleb Connolly
9e2a6201d4
firmware-oneplus-sdm845: add venus firmware (MR 2418)
I forgot to include this firmware in the list, lets deal with that now
>.<

[ci:skip-build] already built successfully in CI
2021-08-09 20:04:03 -07:00
Newbyte
b17df00654
main/linux-postmarketos-exynos4: compress with xz (MR 2410)
gzip results in a boot.img that's too big (over 8 MB) for e.g.
samsung-i9300, so let's replace it with something that produces
smaller kernels. With this, the entire boot.img is 6,3 MB (down
from 8MiB, or 8.5458944 MB) which leaves plenty of space on the
8 MB partition and prevents the recovery from being overwritten
when this kernel is flashed.

Tested and works on samsung-i9300.

[ci:skip-build] already built successfully in CI
2021-08-09 20:02:03 -07:00
afeuerstein
8e6824c6e0
{main,cross}/gcc*: sync makedeps with Alpine (remove paxmark) (MR 2421)
[ci:skip-build] gcc never builds on CI, let alone 11 gccs
[ci:skip-vercheck]
2021-08-10 01:54:18 +03:00
Newbyte
8e3224d1f0
main/postmarketos-ui-phosh: add lollypop to recommends (MR 2417)
This provides a mobile-friendly music player in the default
installation which is something that's currently lacking.

[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2021-08-09 16:02:41 +03:00
Martijn Braam
a52e82b3ee
main/postmarketos-config-nftables: fix hotspot with networkmanager (MR 2408)
The networkmanager hotspot needs to have DHCP input enabled on the wifi
interfaces so the temporary dnsmasq instance can work. The
networkmanager backend is also switched to the nftables one so it can
create the ad-hoc hotspot forwarding/masquerade table.
2021-08-07 16:54:59 +02:00
Oliver Smith
be2fdfe491
cross/busybox-static-*: upgrade to 1.33.1-r5 2021-08-07 16:54:01 +02:00
Oliver Smith
2ac6c742ba
main/postmarketos-ondev: depend on ttf-dejavu (MR 2400)
Proper fix for the monospace fonts seen when postmarketos-ondev is
installed without also installing osk-sdl. This doesn't happen anymore
with pmbootstrap install --ondev, because it will always pull in osk-sdl
again for other reasons. However, since postmarketos-ondev is using this
font, let's directly depend on it instead of having it pulled in as side
effect of also having osk-sdl installed.
2021-08-05 18:44:32 +02:00
Henrik Grimler
103a46094c
postmarketos-exynos4: change kernel config CMDLINE (MR 2404)
And extend bootloader CMDLINE per default, giving us the option to
change the CMDLINE both via the kernel config and from samsung's
S-BOOT shell.

Note: the default console in exynos_defconfig (which this config is
based on) is ttySAC1, but all midas devices uses ttySAC2, so set it to
ttySAC2 instead. Also remove all other variables. They are not needed,
and (at least) root=/dev/ram0 seem to prevent us from booting pmos.

[ci:skip-build] already built successfully in CI
2021-08-05 18:37:26 +02:00
Henrik Grimler
25152c0fc0
device-samsung-i9300: fix name of dtb variables (MR 2404)
When kernel variants were renamed in
69cd6ff843
these dtb vars were forgotten, making it impossible to boot a kernel
build with `pmbootstrap build linux-postmarketos-exynos4`, no dtb is
appended to the zImage and we get stuck on samsungs boot logo.
2021-08-05 18:36:57 +02:00
Martijn Braam
e447dbafc4
main/postmarketos-tweaks: upgrade to 0.7.3 (MR 2406)
Fixes a crash introduced in 0.7.2
2021-08-05 14:03:53 +03:00
Martijn Braam
a698e2b38b
main/postmarketos-tweaks: upgrade to 0.7.2 (MR 2405)
Bugfix release that fixes the css writing and parsing

[ci:skip-build] already built successfully in CI
2021-08-04 17:22:07 -07:00
Yassine Oudjana
0939e710e3
main/linux-postmarketos-qcom-msm8996: upgrade to 5.14_rc4 (MR 2403)
- Introduce interconnect driver
- Fix CPU passive cooling to avoid overheating

[ci:skip-build] Already built in MR
2021-08-03 14:42:34 +03:00
Clayton Craft
f9932a0850
device-pine64-pinebookpro: add Clayton as maintainer (MR 2352) 2021-08-02 11:30:50 -07:00
Clayton Craft
0001e6cad8
device-pine64-pinebookpro: move to community (MR 2352) 2021-08-02 11:30:50 -07:00
Clayton Craft
30d41b8e89
firmware-pine64-pinebookpro: move to community (MR 2352) 2021-08-02 11:21:34 -07:00
Nikita Travkin
0d7726bf19
modem/msm-modem: fix uim-selection service dependencies (MR 2399)
uim-selection has "after *" in it's dependencies to make sure the
theoretical up to ~1min delay can't be observed. Unfortunaely this
causes incorrect dependencies ordering if one of other services depends
on ofono or modemmanager. Drop "after *" so modem can always be started
properly.
2021-08-01 15:54:12 +03:00
Bart Ribbers
d95ce7966b
main/postmarketos-ui-plasma-bigscreen: install and run NymphCast by default (MR 2398)
NymphCast is a FOSS Chromecast replacement (not a drop-in one though)
and allows you to "cast" audio and video to your device running the
nymphcast server. Plasma Bigscreen seems like an ideal use-case for this
so let's install and launch it by default. People can always uninstall
it anyways
2021-08-01 14:48:01 +02:00
Maarten van Gompel
d1ae76d586
main/postmarketos-ui-sxmo: upgrade to 1.5.0 (MR 2393) 2021-08-01 13:04:30 +02:00
David Heidelberg
0824beed8a device-asus-grouper: update (MR 2397)
Address inputs noted in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1599#note_418265619
2021-08-01 13:03:15 +02:00
David Heidelberg
8f01907609 device-asus-tilapia: update (MR 2397)
Address inputs noted in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1599#note_418265619

Signed-off-by: David Heidelberg <david@ixit.cz>
2021-08-01 13:03:11 +02:00
David Heidelberg
76a449d085 linux-asus-grouper: upgrade prepare, build and package procedure (MR 2397)
Signed-off-by: David Heidelberg <david@ixit.cz>
2021-08-01 13:03:06 +02:00
David Heidelberg
a52fe87b9b linux-asus-grouper: format according to linux-postmarketos-grate (MR 2397)
No functional changes.

Signed-off-by: David Heidelberg <david@ixit.cz>
2021-08-01 13:03:02 +02:00
David Heidelberg
c79fe518e0 linux-asus-grouper: bump kernel to 5.14-rc3-next-grate (MR 2397)
Merged in mainline since 5.9-rc2-next-grate:
 - all previously applied patches specific for Tegra and Nexus 7

New features, not merged yet in mainline (only in -next-grate):
 - improved power management
 - implemented USB OTG

New configuration options
 - enable F2FS support (incl. compression), which leads to prolonging
 eMMC life

Tested on E1565.

Signed-off-by: David Heidelberg <david@ixit.cz>
2021-08-01 13:02:58 +02:00
Clayton Craft
dd64d952d2
main/osk-sdl: upgrade to 0.66 (MR 2396)
https://gitlab.com/postmarketOS/osk-sdl/-/releases/0.66
2021-07-31 12:01:34 +03:00
Clayton Craft
399b51e949
main/linux-postmarketos-rockchip: enable hwmon for power/nvme/thermal (MR 2394)
This allows using lm_sensors to read temperature data on the pinebook
pro (and probably other devices too)

    ❯ sensors
    gpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +41.1°C  (crit = +95.0°C)

    tcpm_source_psy_4_0022-i2c-4-22
    Adapter: rk3x-i2c
    in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
    curr1:         2.50 A  (max =  +2.50 A)

    cw2015_battery-i2c-4-62
    Adapter: rk3x-i2c
    in0:           4.24 V
    curr1:         0.00 A

    cpu_thermal-virtual-0
    Adapter: Virtual device
    temp1:        +47.5°C  (crit = +95.0°C)

    nvme-pci-0100
    Adapter: PCI adapter
    Composite:    +31.9°C  (low  = -273.1°C, high = +80.8°C)
                           (crit = +80.8°C)
    Sensor 1:     +31.9°C  (low  = -273.1°C, high = +65261.8°C)
    Sensor 2:     +37.9°C  (low  = -273.1°C, high = +65261.8°C)

[ci:skip-build] Already built on CI
2021-07-31 11:45:38 +03:00
Clayton Craft
fdfe78b6a1
main/linux-purism-librem5: upgrade to 5.13.1 (MR 2389)
kconfig changes here are just me rebasing on config generated with the
new kernel.

[ci:skip-build] already built successfully in CI
2021-07-30 18:51:17 +02:00
pcworld
bef6ef93cd
temp/gnome-clocks: wake device after snoozing (MR 2375)
Add waked for snoozing as well

[ci:skip-build] already built successfully in CI
2021-07-30 18:45:17 +02:00
Clayton Craft
d26e7305c0
main/linux-postmarketos-rockchip: upgrade to 5.13.5, fix usb-c (MR 2386)
5.13.5 had some rockchip-related fixes in the changelog, so I figured
why not upgrade to it.

These patches from Manjaro seem to be the bare minimum required to get
usb-c charging and device peripherial support working again (external
display still doesn't work)

[ci:skip-build] already built successfully in CI
2021-07-30 18:26:31 +02:00
Clayton Craft
35388f3ced
device-pine64-pinebookpro: add udev rule for setting backlight perm (MR 2374)
There's a generic udev rule to set group ownership of backlights to
'video', but it only runs on the ADD action, which seems to be too
late(?) since the backlight device is never owned by 'video' on boot.

This rule will run on CHANGE too, which might be overkill but seems to
get the job done. It's now possible to set the backlight brightness on
the PBP as a normal user.
2021-07-30 18:20:48 +02:00
Martijn Braam
0329f2cbcb
main/postmarketos-tweaks: upgrade to 0.7.1 (MR 2392) 2021-07-30 19:09:16 +03:00
jenneron
87cb591f2d
microsoft-surface-rt: fix touchscreen detection in osk-sdl, clean up (MR 2388)
[ci:skip-build] already built successfully in CI
2021-07-28 16:16:57 -07:00
Alex Xu (Hello71)
c97344a64b
linux-samsung-jflte: upgrade to 3.4.113
Tested boot, display, touch input, USB network OK on my SGH-I337M.
Camera still broken. Didn't test other functionality.
2021-07-27 22:20:08 -07:00
Oliver Smith
8cfa9176bf
main/linux-postmarketos-allwinner: enable USB_MON (MR 2383)
In order to have a reliably working modem, let's make it easier to debug
it by enabling this by default.

Related: https://wiki.postmarketos.org/wiki/Create_usbmon_capture

[ci:skip-build] already built successfully in CI
2021-07-25 22:19:50 -07:00
Clayton Craft
60447285a7
main/postmarketos-ui-console: fix wifi support (MR 2382)
tested with nmtui on a pinebook pro

[ci:skip-build] already built successfully in CI
2021-07-24 17:47:09 -07:00
Clayton Craft
79134095a2
main/linux-postmarketos-rockchip: upgrade to 5.13.4, use GCC (MR 2372)
llvm was left over from Martijn's efforts to reduce the kernel size

The drivers for external DP are enabled here, but all patches from
manjaro that deal with DP/typec alt mode, etc are dropped since they do
not solve anything on their own and may cause display instability
issues...

[ci:skip-build]: already built successfully in CI
2021-07-24 12:00:11 +02:00
Ollie Reardon
9d5fecc206
amazon-thor: change arch to armv7 (MR 2378)
[ci:skip-build] already built successfully in CI
2021-07-23 18:06:45 -07:00
Clayton Craft
93c1490886
linux-postmarketos-qcom-msm8939: enable support for nftables (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
d51f521081
linux-postmarketos-qcom-msm8953: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:55 -07:00
Clayton Craft
6747bf38ce
linux-postmarketos-exynos4: enable nftables support (MR 2366)
[ci:skip-build] too many changed kernels in series for CI to build
2021-07-23 17:40:54 -07:00