Commit graph

279 commits

Author SHA1 Message Date
Nick Boone
761162b678
htc-m8: add proprietary Wi-Fi firmware files (MR 1386) 2020-07-04 12:41:58 +03:00
Joe Blos
39c74596c0
samsung-crespo: initial support (MR 1374)
Initial support for Samsung Nexus S, using vendor kernel.
2020-06-30 12:12:22 +02:00
laserbeamh
536c19797c
essential-mata: new device (Essential Phone) (MR 1194) 2020-06-29 15:09:04 +02:00
Federico Braghiroli
88073cd686
motorola-falcon: change arch to armv7 (MR 1369)
Signed-off-by: Federico Braghiroli <federico.braghiroli@gmail.com>
2020-06-26 00:57:38 +03:00
Paul Cercueil
08594dba17
u-boot-samsung-i9100: New package (MR 1154)
This is the downstream u-boot port for the Galaxy S2.

The load script has been slightly altered to load the kernel from the
KERNEL partition at the 512 KiB offset, instead of loading it from the
RECOVERY partition, since PostmarketOS places the second initramfs in
the RECOVERY partition.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-06-25 15:51:25 +02:00
unxcepted
34297845c1
huawei-alice: new device (MR 1306) 2020-06-25 13:53:47 +02:00
Minecrell
8e080015d7
modem/msm-modem: rename msm-modem-mainline to msm-modem-rpmsg (MR 1356)
Newer Qualcomm SoCs (e.g. SDM845. MSM8953) seem to use a different
method to talk to the modem. There are no longer separate rpmsg/SMD
channels for QMI messags, instead the modem is also available through QRTR.

On these newer SoCs, installing msm-modem-mainline is pointless,
because the created /dev/modem device will not actually allow
communicating with the modem. However, you still need the part from
the base package (msm-modem), which installs+enables rmtfs.

To avoid confusion, rename the msm-modem-mainline subpackage to
msm-modem-rpmsg. Install only "msm-modem" on SDM845 because that
likely does not allow communication with the modem through RPMSG
anyway.
2020-06-25 09:41:35 +02:00
Clayton Craft
d44056eef7
linux-purism-librem5: move to 'community' (MR 1344) 2020-06-24 10:12:13 +02:00
Clayton Craft
2a5247cf73
device-purism-librem5: move to 'community' (MR 1344) 2020-06-24 10:12:13 +02:00
Minecrell
5d1529f27b
arrow-db410c: move from testing to community (MR 1318) 2020-06-23 11:05:25 +02:00
jonathan
02aaf4620f
bq-paella: move from testing to community (MR 1319) 2020-06-23 10:37:51 +02:00
jonathan
04ccad39ac
bq-paella: add Minecrell as co-maintainer, fix package description (MR 1319) 2020-06-23 10:37:51 +02:00
Minecrell
caa2018bce
main/linux-postmarketos-stericsson: rename from -novathor (MR 1360)
In the Linux kernel, the ST-Ericsson NovaThor U8500 SoC is barely
ever mentioned under the "NovaThor" name, more common are names like
U8500, Ux500, ST-Ericsson, STE, ...

Let's rename the kernel package to linux-postmarketos-stericsson
to make that more clear. Also cleanup the APKBUILD a bit while we're
at it, HOSTCC is unneeded, remove unnecessary depends, ...
2020-06-22 11:50:44 +02:00
Hayden Peto
e5dd049cba
sony-hollyss: new device (Sony Xperia M5) (MR 1349)
working: Display, Touch, Charging, USB Network, X11
2020-06-21 20:54:11 +03:00
Antoine Fontaine
92779b2e0c
pine64-pinetab: unbreak audio (MR 1350)
see https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1323 for the pinephone counterpart.
2020-06-21 17:24:09 +02:00
Shuhao Wu
1a72946609
linux-amazon-douglas: disable sound in kernel (MR 1304)
Accessing the sound system causes freezes of the system, so it is
disabled for now.
2020-06-21 17:42:15 +03:00
Shuhao Wu
552c5c93bc
amazon-douglas: new device (Amazon Fire HD 8) (MR 1304) 2020-06-21 17:41:06 +03:00
Emanuel Tankovic
2f29de7ec9
samsung-i8200: deviceinfo_external_storage=true (MR 1288) 2020-06-21 10:59:39 +02:00
Minecrell
40f13a19e2
bq-paella: install newer WCNSS firmware from DB410c by default (MR 1315)
bq-paella allows running unsigned firmware from other devices.
We can use that advantage to replace some of the original firmware
with newer versions from other devices. The DB410c has updated WCNSS
firmware that reportedly improves WiFi/BT coexistence (i.e. behavior
when both WiFi/BT are active at the same time).

Depend on the virtual "firmware-qcom-msm8916-wcnss" package to give
the user the choice which firmware version they would like to run.
The newer version from "firmware-qcom-db410c-wcnss" is installed by
default (since it has a higher "provider_priority"), but the user
can choose to replace it by running "apk add firmware-bq-picmt-wcnss".
2020-06-20 12:10:20 +02:00
Minecrell
39363bd2bf
bq-picmt: install firmware-bq-picmt-wcnss-nv (MR 1315)
The WCNSS firmware configuration was moved to firmware-bq-picmt-wcnss-nv,
ensure to install it additionally.
2020-06-20 12:10:20 +02:00
Antoine Fontaine
e3042a6ffa
raspberry-pi{,0,3,4}: enable swclock (MR 1336)
Following discussions in
https://gitlab.com/postmarketOS/pmaports/-/issues/398, swclock has been
removed from postmarketos-base to avoid setting time incorrectly on
devices with a hardware clock. The various raspberry pi don't have
an hardware clock. This activate swclock back.
2020-06-19 12:31:20 +02:00
Antoine Fontaine
b23860aba6
pine64-pinetab: remove dmenu dep from sway subpackage (MR 1324) 2020-06-19 12:27:15 +02:00
Federico Amedeo Izzo
754fbcd7b7
oneplus-onyx: move to armv7, port re-done from scratch (MR 1341) 2020-06-19 09:12:22 +02:00
Mark Hargreaves
578b616452
samsung-codina: new device (Samsung Galaxy Ace 2) (MR 1275) 2020-06-16 21:32:24 +03:00
Mark Hargreaves
710aaefa55 samsung-j53g: new device(Samsung Galaxy J5 2015 3G SM-J500H) (MR 1317) 2020-06-16 16:47:54 +02:00
Danct12
0ac7142c2e
device-pine64-pinetab: add ucm files (MR 1191)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-16 13:32:15 +02:00
Gianluca Boiano
ce9623de68
xiaomi-vince: New Device (Xiaomi Redmi Note 5 Plus) (MR 1249) 2020-06-16 13:26:16 +02:00
Martijn Braam
f388ee29ce
device-pine64-pinebookpro: trackpad and audio fixes (MR 1303)
This adds a hwdb override for the trackpad that fixes the reported size, this fixes
the acceleration profile and palm detection in libinput.

Pulse now follows alsa paths for ucm files so the path for the rk3399 ucm has been
updated to match.
2020-06-16 13:04:17 +02:00
Clayton Craft
322d87bcb0
linux-purism-librem5: upgrade to upstream 5.7.0 (MR 1310)
This also removes an unused patch.
2020-06-16 12:58:36 +02:00
Minecrell
87a0624e93
arrow-db410c: new device (Arrow DragonBoard 410c) (MR 1293)
The DB410c is a SBC with APQ8016 SoC. It runs on mainline without
any patches. This port makes use of the existing linux-postmarketos-qcom-msm8916
kernel package that is used for other mainline MSM8916 devices.

Tested functionality:
  - USB Network, USB Host (e.g. an USB keyboard)
  - Flashing (Fastboot)
  - Display (HDMI)
  - WiFi/BT
  - GPU
  - Audio (HDMI)
  - FDE

Not tested:
  - GPS

Note: The firmware package is called firmware-qcom-db410c (instead of arrow)
because the firmware is provided directly by Qualcomm, not Arrow.
2020-06-16 12:46:40 +02:00
Dyna
7e2554714a
motorola-payton: new device (Motorola Moto X4) (MR 1301)
What works:
- Booting
- Display
- Touch
- USB Ethernet

What doesn't:
- Sound
- Wi-Fi
- Modem
- Camera

(NOTE: If the display doesn't work, try flashing your phone back to stock, then trying again.)
2020-06-15 09:44:49 +02:00
Federico Braghiroli
bed9029ff2
motorola-falcon: add wifi firmware (MR 1290)
Signed-off-by: Federico Braghiroli <federico.braghiroli@gmail.com>
2020-06-15 09:40:30 +02:00
Martijn Braam
057fa02f90
nokia-n900: move to community (MR 1177) 2020-06-11 14:41:26 +02:00
Mark Hargreaves
50d8465d41
sony-sumire: new device (Sony Xperia Z5) (MR 1056)
[ci:skip-build]: already built successfully in CI
2020-06-10 09:46:49 +02:00
Jonathan Albrieux
6ef253a9d8
bq-paella: add option to enable modem (MR 1294) 2020-06-10 00:22:17 +03:00
Federico Amedeo Izzo
c8cc5b4131
lg-mako: change arch from armhf to armv7 (MR 1291) 2020-06-08 20:20:02 +03:00
Shana
f15fa76d38
amazon-mustang: new device (MR 1263)
Just got done with my second port of postmarketOS, here's the device:
Amazon Fire 7 (2019) postmarketOS
Mediatek MT8163
600x1024 display
1GB RAM
Linux 4.9.77 (downstream kernel)

Untested:
- Wi-Fi
- Audio
Pretty much everything else

Works:
- Boots
- Touchscreen
- Battery percentage seems to show in Xfce
2020-06-08 19:22:10 +03:00
km2
bd57bf30c3
fly-iq4404: fix boot.img and kernel freezes at high disk load (MR 1285) 2020-06-07 11:01:25 +02:00
Snejp
71ed65d2db
samsung-s3ve3g: new device (Samsung Galaxy S III Neo) (MR 1278)
* change arch to armv7
 * working framebuffer
 * disable v4l udev rules
2020-06-06 12:03:19 +03:00
SUNGOLDSV
daa2ea2956
xiaomi-ferrari: new device (Xiaomi Mi 4i) (MR 1207) 2020-06-05 14:23:51 +02:00
Maxnet
0e28a47d9f
htc-enrc2b: new device (HTC One X+) (MR 1269)
[ci:skip-build]: already built successfully in CI
2020-06-05 13:22:40 +02:00
Joshua Trees
e821fe3fb7
samsung-hero2lte: get wi-fi working (MR 1268)
This is essentially a recreation of a merge request by @WilliamO7 that
was abandoned due to inactivity. The original can be found here:

https://gitlab.com/postmarketOS/pmaports/-/merge_requests/631
2020-06-04 03:36:55 +03:00
sicelo
c364462462
device/nokia-n900: remove unnecessary escaping (MR 1283) 2020-06-03 21:15:58 +02:00
Julian Braha
eeac0f1383
motorola-ali: updated arch to arm64, updated gcc version, and removed unused patches (MR 1281) 2020-06-03 14:53:45 +02:00
Nikita Travkin
ff5fb6fdcc
wileyfox-crackling: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Mis012
ab271276e4
samsung-a3ulte: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Ruby Iris Juric
08f312a0c1
motorola-harpia: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Minecrell
1a82353f10
samsung-serranovelte: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Minecrell
d021832955
samsung-a5(u)lte: move from testing to community (MR 1273)
a5lte and a5ulte are almost identical hardware-wise, the separate
package is mainly necessary because they use different firmware
signatures.

Alexey Min agreed to do some testing occasionally :)
2020-06-03 13:46:00 +02:00
km2
a20c2697be
samsung-i9003: change to armv7, remove isorec code (MR 1277)
I noticed that the Samsung i9003 is actually a heimdall-bootimg device.
But at the same time, the kernel is assembled as if it is isorec.

[ci:skip-build]: already built successfully in CI
2020-06-02 13:43:44 +02:00
Caleb Connolly
80f332c9d2
linux-oneplus-sdm845: upgrade to 5.7-rc6 (MR 1271)
Update to a new kernel based on v5.7-rc6, adding the following new
features:

* Remoteproc support and firmware loading
* Panel drivers for OnePlus 6/T
* Adreno 630 support
* Anbox support

The new firmware-oneplus-sdm845 is required for these features and
devices will not have working display output without firmware

[ci:skip-build] Already built on CI
2020-06-02 11:20:24 +03:00
Caleb Connolly
9a08f2747a
enchilada/fajita: update device packages (MR 1271)
Add nonfree_firmware subpackage and depend on new soc-qcom-sdm845 common
package.
2020-06-02 11:20:24 +03:00
Caleb Connolly
5fcc6297c3
soc-qcom-sdm845: new aport (MR 1271)
Add a generic qcom SDM845 aport for common packages like rmtfs,
pd-mapper and tqftpserv which are required in order to get the Modem and
WLAN booted.
2020-06-02 11:20:01 +03:00
Caleb Connolly
a4f2d33eae
enchilada/fajita: add back removed aports (MR 1272) (MR 1271)
After removing packages and updating repos they can now be added back
with fixed pkgvers :D

This reverts commit 0004a7bac6.
2020-06-02 11:19:50 +03:00
dzmitry
6b49a8685e
samsung-a5y17lte: bump pkgrel (!1270)
This fixes https://gitlab.com/postmarketOS/pmaports/-/issues/578.
2020-05-27 14:36:41 +02:00
Bart Ribbers
f315904740
pine64-rockpro64: fix boot part start position in deviceinfo (!1262)
Otherwise the firmware image is too big and can't be written to the
specified storage
2020-05-27 14:28:33 +02:00
Caleb Connolly
0004a7bac6
linux-oneplus-sdm845: remove package to fix pkgver (MR 1272)
Also requires removing device package.

Will be added back and fixed in pma!1271
2020-05-27 02:49:03 +03:00
lastramses
fafac1bd9b
motorola-perry: new device (Motorola E4) (MR 1111) 2020-05-27 00:14:35 +03:00
Minecrell
bbba372ac3
bq-picmt: generate sparse rootfs, correct some bootimg offsets (MR 1265)
Generating a sparse rootfs speeds up flashing through Fastboot.
Also change some bootimg offsets to be more accurate to the one
actually used by the bootloader. (They will actually just be ignored,
since the bootloader always uses its own hard-coded ones.)
2020-05-25 10:26:52 +02:00
Minecrell
7d278ccca7
device/testing/soc-qcom-msm8916: install+enable q6voiced for modem (MR 1233)
Make voice call audio work out of the box by starting q6voiced on
all installations with the modem. It might be nice to start it only
when oFono is installed and enabled, but q6voiced is quite minimal
so it does not seem worth the effort.
2020-05-25 10:19:09 +02:00
Luca Weiss
8437d79df7
device/*: Improve device name for some devices (MR 1248)
[ci:ignore-count]
2020-05-25 10:15:12 +02:00
Luca Weiss
a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02:00
Federico Amedeo Izzo
b6ea0ba1de
{nokia-n900,samsung-i9070}: move swclock initial timestamp back to postmaketos-base.post-install (MR 1166) 2020-05-23 17:57:40 +02:00
Federico Amedeo Izzo
859772a915
*/*: add missing exit 0 in post-install scripts (MR 1166) 2020-05-23 17:57:36 +02:00
Federico Amedeo Izzo
fd12790ead
nokia-n900: fix post-install script (MR 1166) 2020-05-23 17:57:33 +02:00
Federico Amedeo Izzo
3b54062859
samsung-i9070: enable post-install script (MR 1166) 2020-05-23 17:57:31 +02:00
Federico Amedeo Izzo
0e502a5139
postmarketos-base: disable swclock for all devices, enable it for nokia-n900 and samsung-i9070 (MR 1166) 2020-05-23 17:57:27 +02:00
Clayton Craft
220796eb88
linux-purism-librem5: upgrade to 5.6.5 (MR 1231) 2020-05-23 17:38:20 +02:00
Luca Weiss
e350b00b9b
treewide: chmod -x files (MR 1237)
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports.
Remove the executable bit from those files.

[ci:skip-build]
[ci:skip-vercheck]
2020-05-23 17:29:18 +02:00
Jonathan Albrieux
e5b604db00
device-bq-paella: enable display and touchscreen on boot (MR 1261) 2020-05-22 15:11:17 +03:00
Antoine Fontaine
29d75cbf9c
linux-*: add pmb:cross-native to the kernel that don't have it. (MR 1247)
[ci:skip-build], [ci:skip-vercheck]
2020-05-21 07:29:25 +03:00
knuxify
e248abf6f1
samsung-baffinlite: disable CONFIG_CFG80211_INTERNAL_REGDB (MR 1256) 2020-05-20 15:41:36 +03:00
Caleb Connolly
546a70f039
oneplus-fajita: new device (OnePlus 6T) (MR 1221)
Device package for mainline OnePlus 6T

[ci:skip-build]
2020-05-19 22:18:00 +03:00
Caleb Connolly
7484c0154c
oneplus-enchilada: new device (OnePlus 6) (MR 1221)
Device package for mainline OnePlus 6
2020-05-19 21:55:26 +03:00
Caleb Connolly
41dd83c65a
linux-oneplus-sdm845: new aport (MR 1221)
Mainline kernel for SDM845 powered OnePlus devices (OnePlus 6 / 6T)
2020-05-19 20:03:29 +03:00
knuxify
1cf1f79677
samsung-baffinlite: fix flash values (MR 1243) 2020-05-19 19:17:31 +03:00
timbz
64201d3a66
samsung-i9100: fix flashing rootfs (MR 1255) 2020-05-19 18:35:44 +03:00
timbz
1106c234fe
samsung-kylepro: fix flashing rootfs (MR 1254) 2020-05-19 18:27:34 +03:00
Eli Riggs
3993e7197e
linux-xiaomi-willow: downstream changed url, point to mirror instead (MR 1252) 2020-05-19 13:35:43 +03:00
Максим
2886f1d445
fly-iq4404: new device (Fly Spark) (MR 1213) 2020-05-17 20:47:20 +03:00
Jeremy O'Brien
8f8ef59133
motorola-channel: add mdss patch fix xorg (MR 1239) 2020-05-17 19:39:32 +03:00
Bart Ribbers
557a83d1ca
pine64-pinephone: move to community (MR 1175)
[ci:skip-build]: already built successfully in CI
2020-05-17 15:00:12 +02:00
Andrew Gigena
df3196f548
sony-mango: new device (Sony Ericsson Xperia Mini Pro) (MR 1206)
[ci:skip-build]: already built successfully in CI
2020-05-17 13:56:22 +02:00
Iskren Chernev
d6db7122ec
linux-samsung-klte: fix firmware path to match mainline (MR 1214) 2020-05-15 23:22:34 +03:00
timbz
16bb203cfc
samsung-kylepro: change arch to armv7 (MR 1236) 2020-05-15 16:56:52 +03:00
j.r
f094aaddb7
samsung-j5nlte: new device (Samsung Galaxy J5 2015) (MR 1196) 2020-05-13 17:14:19 +02:00
Minecrell
1b2b5a6b97
device/testing/soc-qcom-msm8916: update UCM files (MR 1228)
- Add speaker for samsung-a5u/a3u
2020-05-13 15:52:55 +02:00
Minecrell
94e11e17e9
pine64-pinephone: align more closely to ALSA UCM specification (MR 1204)
Some of the recommendations have changed upstream and a few devices
should be called differently now. The following changes are made:

  - Headphone -> Headphone*s*
    (29041c5220/include/use-case.h (L136))
  - DigitalMic -> Mic
    (1ad660ddee)
  - HeadsetMic -> Headset
    (29041c5220/include/use-case.h (L137))
  - Add .conf suffix for verb configurations
  - Set Playback/CaptureChannels as integer, not as string
  - Remove empty Enable/DisableSequence sections
    (d6a150d34f)
2020-05-11 10:18:53 +02:00
eli
ffcc6acd0c
xiaomi-willow: new device (Xiaomi Redmi Note 8T) (MR 1197)
Add support for the Xiaomi Redmi Note 8t.
Works: UART, USB RNDIS, Weston on DRM, touchscreen
Doesn't: fbdev, everything else
2020-05-05 14:58:55 +03:00
Alexey Min
38de3498aa
linux-xiaomi-lavender: remove unneeded python2 dep (MR 1202)
compiles fine without it

[ci:skip-build] will never finish in time
2020-05-03 16:32:13 +03:00
Alexey Min
da9a6ab4a7
linux-nokia-frt: python3 compatibility (MR 1202) 2020-05-03 16:32:10 +03:00
Alexey Min
c06bb44624
linux-planet-geminipda: py3 compat and use out-of-source build (MR 1202) 2020-05-03 16:32:06 +03:00
Alexey Min
f919b3e05a
linux-huawei-cameron: py3 compat and use out-of-source build (MR 1202) 2020-05-03 16:32:02 +03:00
Alexey Min
db671ccead
linux-xiaomi-ido: python3 compatibility (MR 1202) 2020-05-03 16:31:40 +03:00
Luca Weiss
7e6d63b1f2
sony-sirius: add modules to initfs (MR 1140) 2020-05-03 12:05:25 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
c05987b8d7
asus-me176c: move to community (MR 1185) 2020-05-02 17:38:31 +02:00
Arnav Bhatt
c1f9e6e36f
samsung-ms013g: new device (Samsung Galaxy Grand 2) (MR 1200) 2020-05-02 13:17:48 +03:00
Jean-Étienne Tremblay
965150f646
motorola-channel: new device (MR 1195)
Booting, with USB network, display, touch screen, and wifi.
2020-05-02 10:19:40 +02:00
Hadi Charara
f45890b631
amazon-suez: new device (MR 1193)
Boots into weston with touch support.
2020-04-30 12:37:50 +02:00
Audun-Marius Gangstø
6159e2837c
sony-leo: new device (MR 1190)
Initial effort for sony-leo. It has working touch, screen and
wifi.
2020-04-30 00:00:03 +03:00
Michael Orishich
1c60afc94d
semc-smultron: switch to armv7 and fix boot issues (MR 768) 2020-04-29 21:03:51 +03:00
Venji10
a7553d6f3c
xiaomi-beryllium: new device (MR 1156)
xiaomi-beryllium: update checksums

xiaomi-beryllium: set mainline pkgver to 5.2.0

fix linter

xiaomi-beryllium: add firmware package

firmware-xiaomi-beryllium: fix linting warnings

firmware-xiaomi-beryllium: fix linting warnings

xiaomi-beryllium: set rootfs sector size to 4096

xiaomi-beryllium: fix deviceinfo checksum

Apply suggestion to device/testing/device-xiaomi-beryllium/deviceinfo

Apply suggestion to device/testing/device-xiaomi-beryllium/deviceinfo

xiaomi-beryllium: unquote pkgnames

xiaomi-beryllium: fix checksums

[ci:skip-build]: already built successfully in CI
2020-04-26 20:05:55 +02:00
Bruce Blore
0bcd26fb0e
samsung-espresso10: Change arch from armhf to armv7 (MR 1181)
[ci:skip-vercheck]
2020-04-26 20:21:48 +03:00
Antoine Fontaine
f54c2b67c3
linux-samsung-chagallwifi: use pmb:cross-native (MR 1187)
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1169 got
merged a bit too early (that's not a breaking change though)

[ci:skip-vercheck]
[ci:skip-build]
2020-04-25 13:42:46 +03:00
Minecrell
c3dcc196ea
*: remove quotes around pkgname (MR 1186)
TP:[AL3]:APKBUILD:5:pkgname must not be quoted

[skip ci]: won't finish within 3 hours
2020-04-25 12:06:47 +02:00
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
David Heidelberg
4743398054
testing/device-*-*: drop libdrm-grate leftovers (MR 1184)
Normal libdrm is enough for everything now.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-04-25 09:55:08 +02:00
km2
510c6ecee7
device-zte-p731a20: add soc-sprd-audio dependency (MR 1182) 2020-04-25 01:45:46 +03:00
Minecrell
fa48c74443
device/testing/linux-asus-me176c: upgrade to 5.4.35 (MR 1180)
[ci:skip-build] Already built on CI in MR
2020-04-25 01:40:32 +03:00
David William Richmond Davies-Jones
bef5dc9ae8
samsung-chagallwifi: new device (MR 1174)
This gets the Samsung Galaxy Tab S 10.5 Wifi (samsung-chagallwifi) working at a very basic level.
Full instructions of how to flash the device etc are already on the wiki at
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_S_10.5_WiFi_(chagallwifi)
2020-04-23 18:37:24 +02:00
lazzardo
0b0f1a8c44
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition) (MR 1159)
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)
2020-04-22 22:10:04 +02:00
Minecrell
53a58e9bd7
device/testing/soc-qcom-msm8916: upgrade (!1167)
- Enable speaker on samsung-gt510wifi/matissevewifi
- Replace deprecated mesa-dri-freedreno package with mesa-dri-gallium
- Build natively (this is just a trivial copy)
2020-04-22 20:12:31 +02:00
Martijn Braam
7fe23a3b33
device-pine64-pinephone: update for 5.6 kernel (!1143) 2020-04-22 12:06:38 +02:00
Martijn Braam
f8adf2b16c
device-pine64-pinebookpro: fix ucm paths (!1172) 2020-04-21 20:28:59 +02:00
HenriDellal
467ed09ec3
nobby-230: update device- and linux- packages (MR 1165)
Changes:
- Add audio package dependency;
- Replace panel driver with one from stock kernel (thanks to bnister);
- Change keyboard layout so it's fully supported in X11.

[ci:skip-build]: already built successfully in CI
2020-04-20 20:38:42 +02:00
Martijn Braam
a134f3fc22
device/pine64-{pinebookpro,rockpro64}: new device (MR 882)
[ci:skip-build]
2020-04-20 14:39:00 +03:00
Federico Amedeo Izzo
b887fb2139
bq-gohan: new device (BQ Aquaris X5 Plus) (MR 1164)
[ci:skip-build] Already built successfully on CI in MR
2020-04-19 16:14:50 +03:00
Julian Braha
606b723450
motorola-ali: new device (Motorola Moto G6) (MR 1071)
[ci:skip-build] already built on CI in MR
2020-04-19 02:17:28 +03:00
HenriDellal
9e923e0561
testing/soc-sprd-audio: new package (MR 1162)
This commit adds initial support for sprdphone sound card and sc8830-audio
device. sc8830-audio is common audio device used in different Spreadtrum SoCs.
This configuration was tested on Nobby 230 (SC7715GA), Finepower F1 (SC7731C),
Samsung Galaxy J1 mini (SC8830). It should work for many other SoCs as well.
Now, if someone wants to have somewhat working audio, they just have to add
soc-sprd-audio-sc8830 package to depends of device- package and that's it.
soc-sprd-audio is only for generic configuration (set sprdphone as default
sound card and provide headphone jack detection).
What works:
- Speaker and headphones output;
- Headphone jack detection (based on udev rules from device-xiaomi-santoni);
- Microphone works on both headphones and device itself.
Spotted issues:
- Recording volume is low;
- Recording is done only on right channel.
2020-04-18 23:39:36 +03:00
Niklas Cathor
99d6f504e6
samsung-kminilte: disable v4l udev rules (MR 1160)
With the camera driver (VIDEO_EXYNOS_FIMC_IS) enabled, the system
would randomly panic during startup. Even though the camera does
not currently work on this system, the driver is nonetheless enabled
to make the flashlight work.

The panics seem to be triggered by udev's "v4l_id", which queries
capabilities of video4linux devices.

This change adds a udev rules file, to override the behavior of udev's
default rules for v4l.
2020-04-16 10:06:55 +02:00
Minecrell
e129e3ddb0
device/device-<msm8916-mainline>: minor cleanup and fixes (MR 1125)
- Cleanup kernel cmdline:
  - earlycon can automatically detect the memory address of
    the UART controller based on the device tree
  - the comma before n8 in console=ttyMSM0,115200,n8 is actually
    invalid so this was not parsed correctly. However, it is the
    default anyway so we might as well remove it completely

- Configure deviceinfo_getty for all devices

- Workaround probe issue of display by adding a softdep on the panel
  module. This allows the display to work when excluding proprietary
  firmware (just a weird side effect, see comment in modprobe.conf...)
2020-04-14 12:48:04 +02:00
Minecrell
9444bb309c
wileyfox-crackling: remove downstream kernel (MR 1125)
The device port gets increasingly hard to maintain with all the differences
between the downstream and the mainline kernel. Especially deviceinfo
has quite some duplication only because the downstream kernel needs to be
handled as well.

The mainline port has much more features working. The only limitation
compared to the downstream kernel is the lack of a proper charging driver.
But even on downstream postmarketOS the battery driver is not working
properly for some reason.

For charging, a downstream installation in recovery seems more suitable
at the moment. Eventually we will build some functionality into the
bootloader to load a simple downstream initramfs when the device gets
booted for charging.
2020-04-14 12:42:58 +02:00
Danct12
7282dcdcbb
linux-xiaomi-lavender: add patch to fix framebuffer on X11 (MR 1142)
Signed-off-by: Danct12 <danct12@disroot.org>
[ci:skip-build]
2020-04-14 01:40:23 +02:00
Federico Amedeo Izzo
41735b5190
oneplus-bacon: enable mainline kernel (MR 1137)
The dts for oneplus bacon was already present in linux-postmarketos.

I adjusted the APKBUILD and deviceinfo to be able to use both downstream and mainline kernels
2020-04-14 01:15:42 +02:00
lazzardo
424266950b
bq-picmt: new device (BQ Aquaris X5) (MR 1134) 2020-04-14 00:51:28 +02:00
rxbnDE
0fa3ead28e
leeco-s2: add firmware, fix fbdev, initial support for audio (MR 1129) 2020-04-13 22:52:04 +03:00
rxbnDE
95498daf1f
linux-leeco-s2: upgrade to 3.10.108 (MR 1129) 2020-04-13 22:52:02 +03:00
RedFox arch
8a99b46f8d
xiaomi-cacus: new device (MR 1145)
Splash logo displayed.
SSH over USB works,
Weston works.
Port build scripts to python3.
2020-04-13 21:02:13 +03:00
Niklas Cathor
5acf41a60e
linux-samsung-kminilte: add flashlight support (MR 1150)
These changes enable the flashlight LED driver (fled_rt5033), and add
support for switching the light on and off from userspace.

In more detail:

* CONFIG_FLED_RT5033 enables the flashlight driver
* CONFIG_VIDEO_EXYNOS_FIMC_IS is required for the flashlight driver to
  compile (there seems to be a lot of cross-dependency between the two
  drivers)
* patch 0001 fixes the use of usleep (which no longer exists), to make
  the kernel compile with those settings

With these changes, /sys/class/flashlight/rt-flash-led shows up in
sysfs, but it's only possible to control the brightness of the LED,
not to switch it on.

Patch 0002 is what actually makes the flashlight usable: it makes
the /sys/class/flashlight/rt-flash-led/mode file writable.

Writing "Torch" there enables the flashlight, writing "Off" disables
it again. "Mixed" mode works like "Torch" as well. I have not figured
out yet how to trigger the camera flash, so setting the mode to
"Flash" is possible, albeit pointless.
2020-04-13 19:08:19 +03:00
Minecrell
900cb19576
qemu-*: move from testing to main (!1121)
For testing changes for device categorization, it is useful to have
a device in each of the categories. The PinePhone is close to being
moved to main/, but it doesn't fulfill all requirements yet.

The QEMU "device ports" are very simple since QEMU currently only
emulates a rather limited set of hardware features. All available features
are working correctly (especially after the recent rework of the QEMU
packages). I suppose it is also usable as a "daily driver", at least for
its intended purpose (a virtual machine for testing postmarketOS changes). :)

Given that everyone can run QEMU, everyone could potentially maintain
it. For now I have added myself as maintainer since I did most of the
recent cleanup. Add drebrez as second maintainer.

Overall it seems useful to have qemu-* in main/, especially because
it is now the device that is selected by default in pmbootstrap.
2020-04-11 15:47:49 +02:00
Niklas Cathor
153f7ca342
samsung-kminilte: add wifi firmware package (!1127)
linux-samsung-kminilte: adjust paths where the bcmdhd driver expects firmware
device-samsung-kminilte: add "nonfree-firmware" subpackage
firmware-samsung-kminilte: new package

firmware post-install actions:
- enable "deferred-initcalls" in sysinit for wlan0 to be available
- force wpa_supplicant to use wlan0 instead of p2p0
(both based on script from device-samsung-klte package)

[ci:skip-build]: already built successfully in CI
2020-04-11 02:10:17 +02:00
Niklas Cathor
22db6d0541
samsung-kminilte: change arch to armv7 (!1130)
- disable CONFIG_CRYPTO_SHA256_ARM, since it causes the build to fail with:
    arch/arm/crypto/sha256-core.S:1831: Error: thumb conditional instruction should be in IT block
2020-04-07 08:56:59 +02:00
Alexey Min
3456f5fad0
xiaomi-lavender: new device (Xiaomi Redmi Note 7) (!1095)
[ci:skip-build] already built on CI (in 1.5 hours)
2020-04-06 04:38:56 +03:00
Zhuowei Zhang
129f93ec5b
google-crosshatch: update downstream kernel to LineageOS 17.1 kernel (!1040)
This updates google-crosshatch's downstream kernel to Lineage 17.1's
version (4.9.200, shared with Lineage's Pixel 3a port).

The newer kernel is needed because this device's kernel requires a
matching dtbo partition. The previous kernel would fail to boot with an
Android 10 dtbo partition.

Two patches were removed: Android 10's bootloader no longer passes the dm
or skip_initramfs boot arguments because of the new dynamic partitions
(https://source.android.com/devices/tech/ota/dynamic_partitions/ab_legacy).

Changes from the LineageOS kernel config:
https://gist.github.com/zhuowei/89b4135ff27e88f5a3dd3e4bf3cd31ab

Tested by booting to USB networking and debug-shell: I have not tested
flashing full pmOS using this kernel yet.

For some reason, on this kernel, when pmOS can't find system partitions
during the "Trying to mount subpartitions for 10 seconds..." stage, it
waits for 70 seconds instead of 10 seconds. I'm not sure why. It does go
to debug-shell correctly after a minute.

[ci:skip-build]: already built successfully in CI
2020-04-05 14:27:17 +02:00
Dolphin von Chips
176555a4a1
**/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +02:00
Luca Weiss
7e8259ca58
pine64-pinephone: fix microphone in ucm (!1113)
Both internal microphone and headset microphone are working reasonably well now out of the box.
2020-04-05 02:20:17 +02:00
Minecrell
612d29d598
device-*: remove redundant installation of modules-load.conf/modprobe.conf (!1124)
This is now automatically installed in devicepkg_package.

[ci:ignore-count]: this should build fine in CI.
2020-04-04 21:17:22 +03:00
Minecrell
6127a5b4b2
samsung-i927: remove mesa-demos from depends (!1124)
mesa-demos is currently broken in Alpine since it needs a rebuild.
However, a device port shouldn't force installation of something like
mesa-demos so we should remove it anyway.
2020-04-04 21:17:15 +03:00
Alexey Min
469265294e
samsung-klte: refactor firmware packages, add modules to initfs (!1090)
* make modules_initfs same as lg-hammerhead
  (fixes postmarketOS splash logos at boot)
* split out downstream-firmware and mainline-firmware
* add firmware-adreno to firmware-mainline subpkg
* prepare deviceinfo file to mainline kernel
2020-03-30 20:34:34 +02:00
Luca Weiss
d01f1c73a2
fairphone-fp2: add modules into initramfs (!1090) 2020-03-30 20:34:34 +02:00
Daniele Debernardi
f2fed1f6f0
device-nokia-n900: switch speaker/headset with jack detection (!1087) 2020-03-29 19:07:20 +02:00
Daniele Debernardi
87ea0c5519
device-raspberry-pi*: fix boot error caused by missing dtb files (!1047)
The upstream linux-rpi package has been modified: the dtb files
are now located in /boot/dtbs.
2020-03-29 13:48:53 +02:00
Jami Kettunen
d2484443d6
oneplus-dumpling: new device (OnePlus 5T) (!1110)
These files are just a copy paste of the regular OnePlus 5 ones with
adjusted codename, display name and screen height.

The used kernel is linux-oneplus-msm8998 (shared with cheeseburger).
2020-03-28 22:30:15 +02:00
Jami Kettunen
6f4cd8c4ab
oneplus-cheeseburger: remove dev_touchscreen entry from deviceinfo (!1110)
The line is redundant as the touchscreen is detected and works fine
without it.
2020-03-28 22:30:15 +02:00
Jami Kettunen
dbdb5d5b3f
oneplus-cheeseburger: rename kernel package to linux-oneplus-msm8998 (!1110)
This is in preparation for adding in support for the OnePlus 5T
(dumpling) on top of the regular OnePlus 5 (cheeseburger).

Both devices use the same kernel so the name change just makes sense.
2020-03-28 22:30:14 +02:00
Jami Kettunen
f2bf1b2f5f
linux-oneplus-cheeseburger: update to v4.4.217 (!1110)
Might as well update the downstream kernel when someone (nathanchance)
is merging in updates as they come out for the linux-stable 4.4.y series
¯\_(ツ)_/¯
2020-03-28 22:30:14 +02:00
Dolphin von Chips
400835b6e3
samsung-j1mini3g: switch to dtbtool-sprd (!1103) 2020-03-26 20:04:31 +01:00
Maksym Pertsov
75afbd7b72
nokia-beatles: new device (Nokia 2720 Flip) (!1097) 2020-03-26 13:41:32 +01:00
Clayton Craft
b020c93299
librem5/librem5dev: upgrade package (!1102)
This fixes a bug where the package does not install some files as
expected.

For the librem5 package, this also generates the modemmanager
subpackage, which was missed in testing/review earlier.
2020-03-25 23:23:58 -07:00