Commit graph

2807 commits

Author SHA1 Message Date
Luca Weiss
ae769fd180
main/ofonoctl: upgrade to 0.4.1 (!986) 2020-03-16 03:13:20 +03:00
Lauren Kelly
16e73360dc
alcatel-pop7lte: new device (Alcatel OneTouch Pop 7S) (!1072)
This commit adds support for the Alcatel OneTouch Pop 7S (pop7lte),
a 2014 MSM8226-based tablet, using manufacturer's downstream kernel.

Currently working: display, USB networking, Weston

Firmware is packaged for WiFi and audio but the downstream kernel tree
doesn't seem to include drivers for the qcom wlan chip, only wcnss.

Additionally, audio mixer config is missing as I haven't been able to
find it in the stock Android 4.2.x ROM's filesystem yet.

Please note that this commit adds support *only* for model P330X,
which is not to be confused with similarly-named incompatible devices,
the Pop 7 (also 2014 w/ MT8312) and the Pop 7 LTE (2016 w/ MSM8909).

Signed-off-by: Lauren Kelly <lauren.kelly@msn.com>
2020-03-15 21:47:07 +03:00
Minecrell
796f2d097d
CI: skip all dot folders for now (!1068)
At the moment we assume that all files except in /.* belong to
a package. Now that .shared-patches was moved to device/.shared-patches
that does not work correctly anymore.

This method should really check to which package the files belong
(e.g. walk up directories until it finds an APKBUILD) instead of
assuming they are directly in the same directory as the APKBUILD.

For now just ignore **/.* (i.e. all files in dot folders),
to unblock the MR since it's a critical fix.
2020-03-15 16:24:28 +03:00
Minecrell
83d1f27196
device: move .shared-patches to device/.shared-patches (!1068)
All the downstream kernels reference ../../.shared-patches in their
symlinks. Now that we have moved device ports to device/testing/*,
those symlinks are no longer working.

Changing the path would require fixing all downstream packages *and*
a new pmbootstrap release. Overall it seems easier to move the
.shared-patches folder to device/.shared-patches.

Since it is only relevant for downstream kernel packages in device/
that might be a better place in general.
2020-03-15 16:24:28 +03:00
Daniele Debernardi
5e68cafad9
main/postmarketos-demos: remove leftover files (!1062)
The application has now it's own repository and is not built anymore using these files.
2020-03-14 13:16:58 +01:00
Minecrell
2bfba9106a
CI: update for device/* -> device/testing/* move (!1067) 2020-03-14 09:41:26 +01:00
Oliver Smith
7c5f01d892
run_testcases.sh: adjust to new device structure (!1066)
Fix error:
ERROR: Could not find deviceinfo file for selected device
2020-03-14 09:12:57 +01:00
Oliver Smith
6c1dfc1557
pmaports.cfg: require pmbootstrap 1.17.0
Require support for new device directory structure.
2020-03-14 09:08:01 +01:00
Oliver Smith
64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00
Minecrell
ac7650f9ae
qemu-*: cleanup, use consistent hardware (!1029)
pmbootstrap now configures consistent QEMU hardware for all architectures.
This means that the device package for amd64/aarch64 is now almost identical,
except for the architecture and the name of the serial port.

pmbootstrap always uses virtio-gpu now (but not necessarily virgl),
so there is only one consistent set of initfs modules we need to configure
for both architectures.

Also add the xfce4 package from amd64 to aarch64, exactly the same
problem with the wallpaper exists there.
2020-03-14 07:58:28 +01:00
Minecrell
8edb11157b
qemu-*: drop linux-postmarketos-mainline/stable kernel option (!1029)
We haven't been maintaining linux-postmarketos-mainline/stable very
well. Let's recommend use of one of the Alpine kernels which are actively
updated with new LTS updates (see #464).

This simplifies upcoming refactoring of the QEMU device ports,
which may (or may not) work with the more minimal kernel configurations
in linux-postmarketos-mainline/stable.
2020-03-14 07:58:28 +01:00
Minecrell
7a52ff4b46
qemu-*: set screen resolution to 1024x768 (!1029)
For some reason, the default SDL UI has been using 1024x768 for a while
now. This causes the splash screen to look weird because it is too small.

Now that pmbootstrap tries to configure 1024x768 in all cases
we can change the resolution for the device ports.
2020-03-14 07:58:28 +01:00
Minecrell
6bfe39d804
qemu-*: remove "USB" Internet hack, disable dhcpcd (!1029)
QEMU has its own DHCP server, which provides the necessary routes
and DNS server to access THE INTERNET. Trying to make QEMU provide
something similar to our usual USB network (by starting our our DHCP
server) will just confuse everything and break Internet access in most
cases.

Remove all our custom setup and let QEMU handle all the hard work.
2020-03-14 07:58:28 +01:00
Minecrell
97f3533128
qemu-*: install mesa-dri-gallium (!1029)
mesa-dri-swrast and mesa-dri-virtio are actually provided by the same
package in Alpine now, so the selection in pmbootstrap does not have
any use. Always install mesa-dri-gallium instead.
2020-03-14 07:58:28 +01:00
Minecrell
15e8bc344a
qemu-vexpress: remove (!1029) 2020-03-14 07:58:13 +01:00
Minecrell
10581d2755
asus-me176c: load goodix touchscreen module in initfs (!1042)
This is needed for touchscreen input in osk-sdl.
2020-03-14 05:58:06 +01:00
Minecrell
24d4ccb827
asus-me176c: add alsa-ucm-conf to dependencies (!1042)
This is needed for audio to work properly.

Also change meson buildtype to "plain", see
https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
2020-03-14 05:57:29 +01:00
Oliver Smith
1783d28bcc
main/postmarketos-ui-plasma-desktop: !armhf
Plasma isn't available in Alpine for armhf.

[ci:skip-vercheck]
2020-03-14 05:19:23 +01:00
Danct12
5029f563be
main/postmarketos-ui-plasma-desktop: new aport (!1005)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-14 03:50:21 +01:00
Dolphin von Chips
a5a2d0b5f4
device/linux-motorola-montana: use downstreamkernel_package (!1026)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2020-03-14 01:39:47 +01:00
Dolphin von Chips
2ec1db16b5
main/devicepkg-dev: allow specifying kernel image in downstreamkernel_prepare (!1026) 2020-03-14 01:39:33 +01:00
Oliver Smith
e38738d1ee
cross/busybox-static-*: upgrade to 1.31.1-r13 2020-03-14 00:30:52 +01:00
Dr. Git
212b03dc36
{oneplus-oneplus3,oneplus-oneplus3t}: new device (OnePlus 3/3T) (!923) 2020-03-13 12:39:25 +01:00
Bart Ribbers
8a2e7e251d
temp/plasma-workspace: fix notifications location (!1050)
Fixes an issue where notifications aren't centered on the screen
2020-03-13 11:34:23 +01:00
Bart Ribbers
98b2620f5e
kde/voicememo: new aport (!1043) 2020-03-13 11:32:02 +01:00
Bart Ribbers
c4b7832ccd
kde/plasma-camera: upgrade to 0_git20200305 and cleanup (!1045) 2020-03-13 11:28:30 +01:00
Konrad Dybcio
b2512db132
motorola-thea: new device (!1058) 2020-03-13 00:32:11 +01:00
Antoine Fontaine
ca0d788edd
main/anbox-image: drop input patch (!1054)
It is no longer necessary, as input patch has been backported
https://gitlab.alpinelinux.org/alpine/aports/merge_requests/5277
2020-03-11 20:57:24 +01:00
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)
5b1910ff59

- 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
Danct12
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 4cf38b14cc
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