Commit Graph
3279 Commits
Author SHA1 Message Date
Gaëtan André af2dc4cb94 samsung-matissevewifi: new device (Samsing Galaxy Tab 4 10.1 WiFi (SM-T533)) (!1030)
Adds samsung-matissevewifi support using msm8916-mainline/linux kernel.

- Device can boot.
- USB network is working.
- Can connect to device using SSH.
2020-03-11 19:14:44 +01:00
Minecrell b566e05cf9 main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc5 (!1055)
- Update to Linux 5.6-rc5
- Basic audio support on samsung-gt510wifi (speaker is WIP)
- Initial support for samsung-matissevewifi
- Enable some kernel config options for elogind/Anbox/fbkeyboard
2020-03-11 20:12:06 +03:00
Minecrell 63583355e4 samsung-a5lte: new device (Samsung Galaxy A5 - SM-A500F) (!1024)
SM-A500F is pretty much identical to SM-A500FU (note the U),
but it needs different firmware for some reason.
2020-03-11 20:02:19 +03:00
Alexey Min 5e7e254e08 main/avbtool: new aport (!1019)
Tools to work with Android Verified Boot 2.0 images (vbmeta)
2020-03-10 21:01:43 +01:00
Minecrell 1cc0348301 device/device-*: remove remaining deviceinfo_dev_keyboard (!1048)
This property was never actually used anywhere, as far as I can tell.
2020-03-10 18:28:09 +03:00
Daniele Debernardi de6deb8201 main/postmarketos-mkinitfs: check if initramfs-extra is missing (!1046) 2020-03-10 01:23:14 +01:00
HenriDellal 36a2e78c2c main/dtbtool-sprd: new aport (!1041)
dtbtool-sprd is a version of dtbtool which is meant for
Spreadtrum devices. Spreadtrum uses different header magic.
2020-03-09 19:21:21 +03:00
Minecrell 48b6e76b5e device/device-*: bump pkgrel (!1036)
All device ports have been changed in one of the previous commits,
so do one pkgrel bump for all of them using:
  $ pmbootstrap pkgrel_bump device-*

[ci:ignore-count]
2020-03-09 10:06:11 +01:00
Minecrell c4477f9105 device/device-*: manually fix up remaining deviceinfo_year (!1036)
Don't set any deviceinfo_year for qemu-* and tablet-x64uefi,
it wouldn't be very accurate.
2020-03-09 10:06:08 +01:00
Minecrell de2bba9e58 device/device-*: automatically add deviceinfo_year from wiki (!1036)
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv

cd device
for device in device-*; do
	year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv)
	[[ -n "$year" ]] || continue
	sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo"
done

devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo)
pmbootstrap checksum $devices
2020-03-09 10:06:06 +01:00
Minecrell 7ef5bc00d1 device/device-*: remove invalid deviceinfo_dev_touchscreen lines (!1036)
Attempting to use a stable device path there does not actually work,
so we might as well remove it and hope that directfb can now automatically
detect the touchscreen for osk-sdl.
2020-03-09 10:06:03 +01:00
Minecrell e302eff0bc device/device-*: remove empty touchscreen(_calibration) / dev_keyboard (!1036)
Most devices do not need to set any of these variables.
directfb can now automatically detect touchscreens, calibration is
only needed for resistive touchscreens and dev_keyboard is unused.

Automatically done using:
  - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
2020-03-09 10:06:00 +01:00
Minecrell be740c3cf7 temp/ofono: update with upstream changes (!1035)
https://gitlab.alpinelinux.org/alpine/aports/commit/5b1910ff5917ab7659d1258519d4ff27a84f7f3f

- use supervise-daemon
- build against system ell
- package ofono test scripts
- minor cleanup
2020-03-09 10:00:36 +01:00
Danct12 52f04befaf device/linux-xiaomi-santoni: fixed framebuffer colors (!1037)
Change the framebuffer depth from RGBA8888 to BGRA8888.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-08 21:05:30 +01:00
Danct12andAsriel Dreemurr 4e794694a3 xiaomi-santoni: update UCM to UCM2 and improvements (!1039)
Audio stopped working after alsa-lib-1.2.1, this patch fixes it
by adapting it to ucm2 format.

As well as some improvements to HiFi:
- Remove SpeakerMic as it was just HandsetMic without conflict
with Speaker
- Remove some unnecessary conflicts with ports
- Add input/output priorities

Co-Authored-By: Asriel Dreemurr <asriel.danctnix@gmail.com>
2020-03-08 21:00:23 +01:00
Luca Weiss f332c7d29e main/qmi-ping: new aport (!1031) 2020-03-08 02:47:10 +03:00
ky0ko 33cce38062 motorola-def: new device (Moto One Hyper) (!1023)
This adds basic functionality for the Moto One Hyper.
The device boots with rootfs on sd, booted by 'pmbootstrap flasher boot'.
USB net works, and i can ssh in. There is no framebuffer device, but
weston works with the drm backend instead of fbdev. Touchscreen support
is not implemented yet, but i will update this with support when i get
the chance. Most other functionality either does not seem to work yet or
has not been tested (wifi, audio, modem, etc).
2020-03-06 20:23:46 +03:00
Alexey Min 490443bf9b cross/musl-*: upgrade to 1.1.24-r2 (!1028)
see https://gitlab.alpinelinux.org/alpine/aports/commit/4cf38b14cc2bd7ac030a5f88d045fec8da4f1b65
2020-03-05 23:24:53 +03:00
TAKIZAWA Fumiya b8b2308aa4 sharp-shl22: new device (SHARP SHL22) (!1011) 2020-03-05 19:59:03 +03:00
David Heidelberg 64ba17490b device/device-asus-tilapia: create standalone device for tilapia (!1025)
Previously (after switch to mainline) it was used device-asus-grouper.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg 9d2b37dc34 device/device-asus-grouper: switch from tilapia back to grouper (!1025)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg 8ddb2ccf85 firmware/firmware-asus-grouper: support also original grouper (!1025)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg b527515cde device/linux-asus-grouper: upgrade to 5.6_rc2-next (!1025)
CONFIG options added:
- nvidia tegra partition support (now it's kernel option)
- CONFIG_SECCOMP support (needed for Epiphany and lot of others)
- CONFIG_USER_NS required for bubble wrap (used by Epiphany)
- CONFIG_TEGRA_SOCTHERM as module, required for thermal management

DTS change:
- grouper we all have has codename "tilapia" (w/ GSM), since no-one had "older" grouper
- in future, when we get testing, we'll add "real" grouper (wo/ GSM)
- no functional change in DTS (except wiring SMB347 driver)

Kernel changes:
- added SMB347 driver support (now it's able report charging state)

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:19 +03:00
Bart Ribbers d26933bb50 temp/kwin: fork from Alpine (!1021)
Add a patch to fix an issue where the virtualkeyboard if open before
locking the screen, would not disappear when locked
2020-03-05 13:47:53 +01:00
Bart Ribbers 05d72f4821 temp/plasma-workspace: fork from Alpine (!1021)
Add a patch to fix an issue with word wrapping on the language KCM
2020-03-05 13:47:48 +01:00
Bart Ribbers 28b10068a9 temp/kdeclarative: fork from Alpine (!1021)
Add a patch that fixes an issue with an empty info message being shown
on the top of the wifi KCM
2020-03-05 13:47:45 +01:00
David Heidelberg 91a1447917 device/*-asus-flo: switch to ARMv7
v2:
- Also switch firmware/firmware-asus-flo
- fix linting warnings
device/linux-asus-flo/APKBUILD: IC:[AL6]:device/linux-asus-flo/APKBUILD:36:prefix custom variable with _: HOSTCC="${CC:-gcc}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:37:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:39:prefix custom variable with _: ksrcdir="$srcdir/linux-$pkgver"
MC:[AL5]:device/linux-asus-flo/APKBUILD:10:variable set to empty string: depends=""
MC:[AL5]:device/linux-asus-flo/APKBUILD:13:variable set to empty string: install=
MC:[AL5]:device/linux-asus-flo/APKBUILD:30:variable set to empty string: subpackages=""
MC:[AL31]:device/linux-asus-flo/APKBUILD:36:variables must not have capital letters
MC:[AL31]:device/linux-asus-flo/APKBUILD:37:variables must not have capital letters
MP:[AL32]:device/linux-asus-flo/APKBUILD:3:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:4:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:32:unnecesary usage of braces: ${pkgver}
firmware/firmware-asus-flo/APKBUILD: MC:[AL28]:firmware/firmware-asus-flo/APKBUILD:12:literal integers must not be quoted
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_version_broadcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_version_qcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:22:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_url_other}

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 13:09:41 +01:00
Bart Ribbers 152e709d9d main/postmarketos-ui-hildon: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers ff18340fb8 main/postmarketos-ui-gnome: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers 205280cb39 main/postmarketos-ui-phosh: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers b8485512c7 main/postmarketos-ui-plasma-mobile: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers 98f9320f35 main/postmarketos-base: remove unnecessary dependencies (!1018)
These dependencies don't belong here.
- iw: should be installed by the user themselves when wanted
- nano: should be installed by the user themselves when wanted
- pulseaudio: should be installed by the UI meta packages that need it
  instead
- pulseaudio-alsa: should automatically be installed when both
  PulseAudio and alsa are installed

https://gitlab.alpinelinux.org/alpine/aports/merge_requests/4820
2020-03-03 21:39:27 +03:00
KuroLevin b16bff03fb main/powersupply: add missing dependency (!1020)
py3-setuptools is not only a build dependency, but a runtime
dependency too.
2020-03-02 23:26:12 +03:00
Antoine Fontaine 3e12edb9cb linux-postmarketos-allwinner: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:36 +03:00
Antoine Fontaine eed04e1e13 linux-postmarketos-stable: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:30 +03:00
Antoine Fontaine 94f54a4da9 main/postmarketos-anbox: new aport (!956) 2020-03-01 23:58:20 +03:00
Antoine Fontaine 56dd569e56 main/anbox-image: new aport (!956) 2020-03-01 23:58:14 +03:00
Zhuowei Zhang 4fe8ceeee1 google-crosshatch: fix build with downstream kernel (!1016)
The downstream kernel doesn't provide a separate dtb file,
but the experimental mainline kernel does.

Previously, the deviceinfo specified a dtb file for both kernels,
and pmbootstrap ignored the missing file for downstream kernel.

pmbootstrap now errors when the dtb file is missing, so this
fixes the downstream kernel by specifying a dtb file only for
the upstream kernel.
2020-03-01 15:57:13 +03:00
Oliver Smith 73e8627ee2 pmaports.cfg: upgrade min pmbootstrap to 1.16.0
Require new pmbootstrap that gives the boot partition enough space
required for latest mkinitfs script changes. Besides that, latest
pmbootstrap has a big number of improvements. Refer to the changelog for
details.

Related: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1884
Related: https://gitlab.com/postmarketOS/pmbootstrap/-/tags (changelog)
2020-03-01 11:58:30 +01:00
Luca Weiss 3fe7e1601c main/devicepkg-dev: remove Image.gz from list of kernels to consider (!1014)
This breaks booting on Librem 5 and is not needed on any device
currently using downstreamkernel_package, so remove it.
2020-03-01 10:35:04 +01:00
Antoine Fontaine 325ac07381 main/postmarketos-ui-phosh: force qt apps to use wayland (!1008)
Phosh handles very badly X, so let's avoid using it.
2020-03-01 00:51:36 +01:00
Martijn Braam ec83ab9a06 postmarketos-mkinitfs: fix unlocking with pmos_root (!943)
Fix --fde on the PinePhone (actually it fixes it for devices that
uses the pmos_root cmdline).
2020-03-01 00:43:08 +01:00
Minecrell ed3eeeeebb main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983)
Partial revert of 24fa68c9 ("avoid storing initramfs-extra twice").

Some people have (rightfully) complained that including the hash
in the filename of the initramfs-extra prevents the device from booting
whenever the boot partition gets out of sync with the boot image.

In general we should assume that those two are in sync, but there is
no need to unnecessarily break this if previously booting the outdated
extra initramfs worked just fine.

At the end, the hash is just an implementation detail for the caching
mechanism - we need it when (re-)generating the initramfs, but it does
not have to be within the filename. Instead, we can simply append the
hash to the file contents. GZIP will simply ignore the trailing garbage.

The boot partition will then look like:
    $ cat /boot/initramfs-<flavor>-extra
    <GZIP data>d3c7b449c6fc811d97351bbc46852b66 (the hash)

This makes the filename of initramfs-extra nice and stable again.
It also fixes a regression where the initramfs-extra would no longer
get symlinked by "pmbootstrap export" (I was going to fix that in
pmbootstrap but now this solution is more appealing...)

While we're at it: Make the script more resilient again by writing
to a temporary file first, then move it (atomically) to the real path.
2020-03-01 00:31:27 +01:00
Bart Ribbers 820c3a3a31 main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00
Bart Ribbers be59b67d6a main/postmarketos-ui-phosh: enable modemmanager by default (!971) 2020-02-29 22:35:01 +01:00
Oliver Smith 484ca0a24b main/postmarketos-ui-gnome: disable for armhf (!1015)
gdm is missing in Alpine for armhf [ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/160896
2020-02-29 22:01:18 +01:00
Martijn Braam d5c046c74e main/postmarketos-ui-gnome: new aport (!990) 2020-02-29 21:40:12 +01:00
Bart Ribbers 33fcf64f90 kde/spacebar: improve APKBUILD (!979)
Stop manually making the build dir in a custom prepare() function, but
rather use the CMake -B argument to automatically make this directory.

[ci:skip-vercheck]: since this doesn't change the resulting package
compared to our previous APKBUILD a pkgrel bump is not necessary.

[ci:skip-build]: already built successfully in CI
2020-02-29 20:40:32 +01:00
Antoine Fontaine 60693e6a6d main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
Minecrell 6254328c35 device/linux-*: remove empty variables (!1007)
Using commands like sed -i '/^subpackages=""$/d' linux-*/APKBUILD

[ci:skip-build]
[ci:skip-vercheck]
2020-02-28 18:33:55 +01:00