Commit graph

1244 commits

Author SHA1 Message Date
Minecrell
d7306531f5
soc-qcom-msm8916: add ALSA UCM configuration for bq-paella (MR 1295)
bq-paella has an external speaker amplifier connected to the right
channel of the headphones output. Add an extra UCM configuration
to handle this properly.
2020-06-09 23:18:38 +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
Minecrell
8013cad133
<msm8916-mainline>: add myself as co-maintainer (MR 1273)
I cannot test on most of them (at the moment), but I was involved
in porting all of them so I could "guess" certain changes at least.

[ci:skip-vercheck]: just moved and some maintainers
2020-06-03 13:46:00 +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
Antoine Fontaine
6041d4eed0
Support Anbox explicitly in some kernels: (MR 1232)
* linux-postmarketos-allwinner
* linux-postmarketos-qcom-msm8916
* linux-asus-me176c

They support anbox already.

It will make CI catch errors such as the removal of anbox support in
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205 when
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1916 will
be merged.

[ci:skip-vercheck] and [ci:skip-build]: no need to rebuild the package.
2020-05-19 22:23:39 +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
Clayton Craft
f4f2dfa635
linux-purism-librem5: upgrade to 5.6.0_rc7+librem5.1 (!1102)
Changelog:
8adc003c8d
2020-03-25 20:39:14 -07:00
Clayton Craft
4e24b4e791
librem5: upgrade package to enable new features (!1099)
This upgrades the package to include:

        - Support for usb serial console (only in OS, not in u-boot)
        - udev rule to fix phone calls with modemmanager using the
          broadmobi modem in the phone
        - The beginnings of usb network support (still not functional
          yet)
        - Enable framebuffer in the deviceinfo, pmos logo on boot!

The udev rule and module configs were gathered from upstream Purism
PureOS.
2020-03-25 19:39:09 -07:00
Ferenc Bakonyi
f9dc6ff15c
lg-hammerhead: add rmi_i2c module into initramfs for early touchscreen (!1101) 2020-03-25 14:36:08 +00:00
Clayton Craft
b895c2ecb6
librem5{dev}: upgrade and bump pkgrel (!1033)
This adds new subpackages for phosh, plasma, and a new dependency on the
phone device package for wys (in Alpine Linux)

This adds subpackages for pulseaudio, phosh, and plasma mobile, and
includes some configuration files from upstream Purism for udev and
pulseaudio that help with audio a bit (though phone audio routing is
still weird/broken for now..)

The separate subpackages for phosh and plasma are necessary becuase they
each use a different modem handling daemon (modem manager and ofono,
respectively).
2020-03-23 14:09:27 -07:00
Clayton Craft
6dd6cb5b5c
linux-purism-librem5: upgrade to 5.6.0+librem5.1 (!1033) 2020-03-23 14:03:38 -07:00
Icenowy Zheng
1e97a59bcf
pine64-pinephone: add vibration when booting (!1089)
Add a vibration feedback, along with the LED feedback when booting.
This is suggested by TL Lim.

When trying to power up the phone with holding it in the hand, vibration
feedback is more obvious than LED.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-03-23 10:17:57 +01:00
javabird25
790cda59be
xiaomi-whyred: new device (Xiaomi Redmi Note 5 Pro) (!1088)
Started porting pmOS to Xiaomi Redmi Note 5 Pro (whyred).
What works so far:
 - Booting
 - SSH over USB
 - SD card detection (haven't tried flashing to internal storage because
   i'm afraid of bricking the device due to anti-rollback)
 - Vibration and LEDs
 - Screen
 - Hardware buttons
 - Touchscreen

Untested:
 - WiFi
 - Camera
 - Audio
 - Bluetooth
 - GPS
 - Calls, SMS, Cellular network
2020-03-23 10:15:48 +01:00
mgulin
3bbd79925d
tokio-techbook: new device (!579)
[ci:skip-build]: already built successfully in CI
2020-03-21 22:55:49 +01:00
knuxify
630c9c2af9
samsung-lt01wifi: updates (!1081)
- Proper WiFi support (building modules, firmware package)
- Architecture change to armv7
- Fix no MAC address on USB networking

[ci:skip-build]: already built successfully in CI
2020-03-21 22:04:37 +01:00
Paul Cercueil
b14dcd097f
samsung-i9100: Change arch to armv7 (!1074)
The Samsung GT-I9100 is armv7, not armhf.

[ci:skip-build]: already built successfully in CI

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-21 21:59:51 +01:00
Mayeul Cantan
e638031a65
pine64-pinephone: setup modem audio before starting ofono (!978)
This commit sets setup-modem-audio.initd to be executed before ofono, as
it changes the modem configuration and resets it.
2020-03-21 21:37:31 +01:00
Mayeul Cantan
3ca081f4dd
pine64-pinephone: reset modem after applying configuration (!978)
The datasheet says that the AT+QDAI audio routing configuration is saved
to non-volatile memory directly, and therefore needs a modem reset to be
applied.

This commits changes the audio routing configuration script to first
check for the current configuration, and only change it if it is
different from the one wanted.

The new configuration is then sent, and modem is reset to apply
configuration.
2020-03-21 21:37:05 +01:00
Daniele Debernardi
d4181b1926
testing/device-nokia-n900: use linux-nokia-n900 (!1073) 2020-03-21 21:11:39 +01:00
Daniele Debernardi
57556f30da
testing/linux-nokia-n900: new aport (!1073) 2020-03-21 21:11:34 +01:00
Krzysztof Bezrąk
e1e1d7fa07
motorola-peregrine: change arch to armv7 (!1083) 2020-03-21 16:55:20 +01:00
Dolphin von Chips
f8dc44354c
motorola-montana: add support for WiFi (!1082) 2020-03-21 12:42:50 +01:00
knuxify
aa32a4df76
samsung-baffinlite: new device (!1057) 2020-03-20 23:28:27 +03:00
Dolphin von Chips
edc20209d8
motorola-montana: activate touchscreen (!1077) 2020-03-19 16:11:26 +01:00
Minecrell
b5983e7939
samsung-i9195: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:14 +01:00
Minecrell
b1e88f5583
lg-hammerhead: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:10 +01:00
Minecrell
d2bbd7056b
fairphone-fp2: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:05 +01:00
Dolphin von Chips
909181402b
device/device-oneplus-oneplus3t: update dependencies (!1076) 2020-03-18 21:28:17 +03:00
Dolphin von Chips
dbd40179fb
device/device-oneplus-oneplus3: update dependencies (!1076) 2020-03-18 21:28:12 +03:00
Minecrell
942861a3cb
modem/modem-qcom-msm-{mainline,downstream}: combine to msm-modem (!1032)
Combine modem-qcom-msm-{mainline,downstream}-common to a single APKBUILD
with mainline and downstream subpackages.

Enable rmtfs service here instead of directly in the package.

[ci:skip-vercheck]: for qrtr version fix
2020-03-18 14:09:29 +01:00
Martijn Braam
9389a83f40
device/pine64-pinetab: use faster u-boot (!1049) 2020-03-18 13:57:31 +01:00
Martijn Braam
7dc2a08552
device/pine64-pinephone: use faster u-boot (!1049) 2020-03-18 13:57:28 +01:00
Minecrell
2854a798be
sony-amami: use linux-postmarketos-qcom-msm8974 for mainline (!1064)
This device is probably broken at this point, but since we want to
remove linux-postmarketos-mainline/stable it really has best chances
to work (somewhat) on linux-postmarketos-qcom-msm8974.
2020-03-18 13:38:44 +01: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
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
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
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
Dr. Git
212b03dc36
{oneplus-oneplus3,oneplus-oneplus3t}: new device (OnePlus 3/3T) (!923) 2020-03-13 12:39:25 +01:00
Konrad Dybcio
b2512db132
motorola-thea: new device (!1058) 2020-03-13 00:32:11 +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
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
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
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
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
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
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
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
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
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
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
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
Minecrell
ea583fc601
device/linux-*: various custom linter fixes (!1007) 2020-02-28 18:33:52 +01:00
Minecrell
fde2a02e8a
device/linux-*: remove unneeded braces from variables (!1007)
sed -i -E 's/\$\{(\w+)\}/$\1/g' linux-*/APKBUILD

Manually revert ${CROSS_COMPILE} in linux-motorola-maserati.
2020-02-28 18:32:26 +01:00
Minecrell
ed2333c279
device/linux-*: remove all usages of _vendor (!1007)
Those are pretty stupid.
2020-02-28 18:32:26 +01:00
Minecrell
447b2e6fd2
device/linux-*: remove HOSTCC for kernels using latest GCC (!1007) 2020-02-28 18:32:26 +01:00
Luca Weiss
464d13296c
device/linux-*: use downstreamkernel_* helpers (!976)
[ci:skip-build]
[ci:skip-vercheck]
2020-02-27 23:29:38 +01:00
Luca Weiss
1526bdc0ea
device/linux-*: remove legacy menuconfig functions (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
44771cae20
device/linux-leeco-s2: convert spaces to tabs (!976) 2020-02-27 23:29:38 +01:00
Alexey Min
23aea77343
samsung-klte: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:32 +03:00
Dolphin von Chips
7d674ef759
samsung-j1mini3g: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:25 +03:00
Théo Friberg
f88b94ba7d
samsung-nevisp: add Wi-Fi support (!995) 2020-02-27 18:42:34 +03:00
Minecrell
456d068b4d
device/soc-qcom-msm8916: add a lot of hacks to make it work again (!992)
Upstream changes in alsa-lib have completely broken these UCM files.
Add a number of hacks to make them work again... Yay!

See: fed543629e
2020-02-27 16:28:24 +03:00
Minecrell
2bb26bc855
qemu-aarch64: add option to use Alpine's linux-lts/linux-virt (!981) 2020-02-25 20:49:31 +03:00
Minecrell
ad5f5af881
qemu-amd64: add option to use Alpine's linux-lts/linux-virt (!981) 2020-02-25 20:49:27 +03:00
Alexey Min
40c93fde19
samsung-klte: downstream: add audio support, reorganize deps (!967)
* move msm-fb-refresher dependency to downstream kernel package,
  it is useless on mainline

* disable msm-fb-refresher service when using libhybris
  adaptation, it is only required for downstream kernel *without*
  libhybris. It interferes with qcom kgsl-adreno driver badly
  (causes screen flickering)

* set CPU governor to conservative on system startup (it lowers
  CPU frequency in idle state from initial 2.4 Ghz to 300 MHz)

* add hybris_pulse subpackage that gets installed only when
  device-samsung-klte-hybris AND pulseaudio are installed. It
  pulls in pulseaudio-modules-droid-7.1-caf and alsa integration

* add system.img symlink to lxc-android installation. With this
  you can have Android container successfully running already
  at the first boot without need to do it manually. Halium
  installation process puts your system.img to /data partition
  by default, so follow their recommendation. We can use a
  symlink to save some space on /system partition.

[ci:skip-build]: already built successfully in CI
2020-02-22 21:49:48 +01:00
Bart Ribbers
8026da9b3c
pine64-pinephone: setup modem audio on first boot (!974) 2020-02-21 16:56:46 +05:30
Luca Weiss
c297be43b5
device-pine64-pinetab: disable sysrq (!947)
Headphone output interferes with the serial console on the headphone
jack somehow, as is the case on most other A64-based products from
PINE64.
2020-02-21 00:35:27 +03:00
Luca Weiss
2a32d5b864
device-pine64-pinephone: disable sysrq (!947)
Headphone output interferes with the serial console on the headphone
jack somehow, as is the case on most other A64-based products from
PINE64.
2020-02-21 00:35:27 +03:00
Luca Weiss
e173b8e08b
device/device-pine64-pinetab: setup Bluetooth (!820) 2020-02-20 23:12:26 +03:00
Luca Weiss
fab02c69bf
device/device-pine64-pinephone: setup Bluetooth (!820) 2020-02-20 23:12:26 +03:00
Martijn Braam
04701fc87c
device/device-pine64-pinephone: enable ofono-auto-enable service (!965) 2020-02-20 17:14:35 +01:00
Ruby Iris Juric
bd9f601337
motorola-harpia: add option to enable modem (!958) 2020-02-20 18:44:12 +03:00
Martijn Braam
0140393925
device/pine64-pinephone: fix input/output priorities in ucm (!973) 2020-02-20 16:31:22 +01:00