Commit graph

255 commits

Author SHA1 Message Date
Alexey Min
809fd0df5e
linux-samsung-i927: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:16:35 +03:00
Alexey Min
9966992619
linux-ouya-ouya-mainline: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:04:00 +03:00
Alexey Min
e12a6f3e8f
linux-nokia-n9: enable CONFIG_USER_NS (MR 1411) 2020-07-12 16:40:50 +03:00
Alexey Min
4c227722ae
linux-motorola-payton: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:55:43 +03:00
Alexey Min
e3f8ed8467
linux-motorola-def: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:44:27 +03:00
Alexey Min
4e6585aa1e
linux-motorola-channel: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:26:54 +03:00
Alexey Min
a7ad522868
linux-huawei-cameron: enable CONFIG_USER_NS (MR 1411) 2020-07-12 15:02:09 +03:00
Alexey Min
e0369cdbc7
linux-google-crosshatch: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:40:47 +03:00
Alexey Min
bb6952f256
linux-essential-mata: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:26:28 +03:00
Alexey Min
f609fa1a71
linux-amazon-mustang: enable CONFIG_USER_NS (MR 1411) 2020-07-12 14:13:37 +03:00
gompa
4b45d93ef7
firmware-lge-h815: new aport (MR 1404)
add new firmware package
change kernel wifi firmware location
2020-07-11 17:28:16 +02:00
Oliver Smith
7463d92293
device/*: clarify "close to mainline" (cosmetic) (MR 1408)
Make it clear, that these kernels are not mainline, but "close to
mainline".

[ci:skip-build] [ci:skip-vercheck]: just changing pkgdesc

Related: https://wiki.postmarketos.org/wiki/(Close_to)_Mainline
2020-07-11 16:06:16 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Oliver Smith
3679e6018d
samsung-i9100: fixup for linux prepare_isorec() (MR 1405)
Fixes: 10cbdc72 ("linux-samsung-i9100: modernize with new gcc8 linux aportgen code")
2020-07-11 15:26:34 +02:00
Oliver Smith
1bdafe5aa0
wiko-lenny2: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ca883ecf9d
gp-peak: delete 'rm .config' in linux pmaport (MR 1405)
Remove it, to prevent the following error:
	rm: can't remove '.config': No such file or directory

This must have been necessary before, because the prepare script was
different, or abuild did something differently.
2020-07-11 15:26:34 +02:00
Oliver Smith
e794dde79e
gp-peak: use _outdir in linux pmaport (MR 1405) 2020-07-11 15:26:34 +02:00
Oliver Smith
ae35afd208
asus-z00vd: use _outdir in linux pmaport (MR 1405)
Make it possible to find the kernel config with "pmbootstrap kconfig
edit". While at it, also remove redundant -C "$builddir" arguments for
make (since prepare is running in $builddir already).
2020-07-11 15:26:34 +02:00
Oliver Smith
e62c87a4e8
oneplus-sdm845: adjust to linux source rename (MR 1405) 2020-07-11 15:26:29 +02:00
Oliver Smith
dfd81314b0
device/testing/firmware-google-glass: fix distfiles collision (MR 1399)
Add a $_commit prefix infront of each distfile, so bcmdhd.cal and
fw_bcmdhd.bin do not conflict with firmware-sony-sumire.
2020-07-08 05:27:50 +03:00
Minecrell
c590ed74cf
firmware/*: move rest of firmware packages to device/testing (MR 1362)
After moving the firmware packages used by devices in community to
device/community, move the rest of the firmware packages to device/testing.
2020-07-07 16:05:58 +02:00
Minecrell
1eff900dcb
firmware/firmware-pine64-rtl8723bt: add -pine64-, cleanup, install license (MR 1362)
For most firmware packages we use a vendor- prefix to make it clear
who has provided the firmware. The firmware-rtl8723bt package is only
used for Pine64 devices and actually contains configs that are specific
to Pine64 hardware (e.g. rtl8723bs_config-pine64.bin).

Let's rename it to firmware-pine64-rtl8723bt to make this more clear.
Also cleanup the APKBUILD a bit and provide the LICENSE file in a -doc
subpackage so we can legally redistribute that firmware.
2020-07-07 15:48:52 +02:00
Andrea Scarpino
18e5129f3e sony-eagle: new device (Sony Xperia M2) (MR 1338) 2020-07-05 20:18:51 +02:00
Nick Boone
9f7c7752c1 htc-m8: fix red screen issue (MR 1384) 2020-07-05 20:07:28 +02:00
realaravinth
416f80d659
samsung-gtel3g: new device (Galaxy Tab E 9.6) (MR 1385) 2020-07-05 19:59:28 +02:00
Hendrik Langer
385792983c
htc-vision: change arch to armv7 (MR 1395) 2020-07-04 23:09:10 +02:00
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