Commit graph

452 commits

Author SHA1 Message Date
Luca Weiss
b5895c0e19
linux-htc-memul: fix strace (MR 1690)
[ci:skip-build]: already built successfully in CI
2020-11-11 13:11:46 +01:00
Luca Weiss
6d0e79bbdb
linux-fairphone-fp2: fix strace & elogind (MR 1690) 2020-11-11 13:11:38 +01:00
Luca Weiss
863240f6c7
device-fairphone-fp2: configure serial console for downstream kernel (MR 1690) 2020-11-11 13:11:33 +01:00
Luca Weiss
51a635d236
device/testing/linux-*: remove unused compiler-gcc6.h files (MR 1696)
These haven't been used since converting the APKBUILDs to use
devicepkg-dev, so remove them.

[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-10 10:27:23 +01:00
Luca Weiss
c3fb621111
device/testing/linux-*: deduplicate timeconst patch (MR 1695)
[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-10 10:25:55 +01:00
Martijn Braam
a853105c74
device-pine64-pinetab: fix too long uboot setenv 2020-11-06 16:29:33 +01:00
Martijn Braam
25399a1136
device-pine64-pinetab: force partition resize on boot (MR 1685)
Since the installer leaves the partition in a state where the initramfs
needs to resize it. But without the force parameter the postmarketOS
initramfs won't touch the partitions
2020-11-06 14:01:29 +01:00
Luca Weiss
81f8ca8e77
device/testing/linux-*: get building again (MR 1684)
Mostly the GCC10 yylloc failure was seen but several others have been
observed:

* wireguard script was silently failing
* several gcc10 x86 errors
* a checksum from kernel.org has changed

Now we have 3 different gcc10 yylloc patches:

gcc10-extern_YYLOC_global_declaration.patch:
    Linux < 4.2

linux4.2-gcc10-extern_YYLOC_global_declaration.patch:
    Linux 4.2+

linux4.17-gcc10-extern_YYLOC_global_declaration.patch:
    Linux 4.17+

[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-05 09:55:11 +01:00
Richard Qian
95c008a545
acer-picasso: Upgrade kernel to 5.10.0-rc1 (MR 1675)
[ci:skip-build]: already built successfully in CI
2020-11-04 10:43:14 +01:00
Dominduchami
59c6a25c36
htc-leo: new device (MR 1666) 2020-11-02 16:17:08 +01:00
Henrik Grimler
7bdce27e31
linux-samsung-chagallwifi: switch kernel sources (MR 1672)
With these kernel sources the device boots successfully,
sometimes. Usually, kernel panics and device reboots a couple of
times, but after a few attempts (maybe 1, maybe 7) it succeeds to
boot. The problems seem to be related to FIMC IS, unfortunately it
does not seem to be possible to just disable it in the kernel config,
as that leads to compilation errors.

I have so far just experimented with getting wifi up and running, but
it does not work out of the box even after adding firmware package
with files from TheMuppets, wpa_supplicant fails to connect and dmesg
is filed with lines like:

```
[  112.509235]  [L0: wl_event_handle:  3109] CFG80211-INFO2) wl_escan_handler : Couldn't find P2PIE in probe response/beacon
```

[ci:skip-build]: already built successfully in CI
2020-11-02 11:10:12 +01:00
Oliver Smith
a09cd2ada8
lg-mako: fix elogind not starting (MR 1606)
[ci:skip-build]: CI times out. According to z3ntu, all of them build
		 fine.
2020-10-30 18:27:31 +01:00
Luca Weiss
ce501c83a2
device/*: share Linux 3.4 patch for elogind not starting (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
813a78a74f
linux-sony-eagle: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
fdacb76e7e
linux-alcatel-pop7lte: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
49566d48bd
linux-huawei-y530: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
6ec15b58ee
linux-samsung-ms013g: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
32Linux
ebc26c92e2
wiko-ufeel: fix wifi firmware path (MR 1609)
[ci:skip-build]: already built successfully in CI
2020-10-26 11:33:31 +01:00
Andrei Ostanin
628f799ab2
xiaomi-libra: new device (MR 1454) 2020-10-26 09:17:02 +01:00
Minecrell
8a36bb744e
oneplus-oneplus3(t): explicitly install + activate qrtr-ns (MR 1640)
qrtr-ns is now part of the Linux kernel (as of version 5.9), so
there is no need to start it in userspace anymore. It does not seem
to be needed (or working) on downstream either.

linux-postmarketos-qcom-msm8996 is the only mainline kernel which
is still on < 5.9. In preparation to make the qrtr dependency optional
for rmtfs, let's explicitly enable qrtr-ns for MSM8996 devices to avoid
causing regressions.
2020-10-25 18:34:29 +01:00
Caleb Connolly
4dd597d8a0
linux-oneplus-sdm845: update to 5.9 (MR 1635)
Update to kernel 5.9 with the following changes:
* Change tri-state key to macro keys instead of 'A', 'B' and 'C' keys.

[ci:skip-build]: already built successfully in CI
2020-10-20 22:30:55 +02:00
Hendrik Borghorst
86adf2a7ce
pine64-pinetab: provide choice of panel and fix audio (MR 1614)
* add LCD panel type selection
* adjust alsa configs

Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-10-20 18:02:24 +02:00
WTechNinja
25a0dbe27d
samsung-gprimeltecan: new device (MR 1401) 2020-10-13 21:16:24 +02:00
Otto Urpelainen
97fa300bc7
sony-tuba: new device (Sony Xperia XA) (MR 1613)
Initial support for Sony Xperia XA (codename: sony-tuba). Builds, can be
flashed, ssh connection through usb works, display works, touchscreen works,
no wifi or anything else.
2020-10-13 10:07:59 +02:00
Thiago Foganholi
a248ec3e55
Remove armhf from firmware-samsung-i9305 (MR 1631)
As the device samsung-i9305 was updated to armv7, there is no need to
keep the armhf architecture on the firmware package anymore.
2020-10-13 10:04:42 +02:00
Thiago Foganholi
7fc133578e samsung-i9305: Update architecture to armv7
According to the wiki pages, some interfaces can't be built for the
armhf architecture. This device is configured to armhf but it actually
supports armv7 architecture. Tested with a samsung-i9300.
2020-10-13 10:04:35 +02:00
fengjiongmax
da72051070
motorola-nash: new device (Moto Z2 Force) (MR 1567) 2020-10-08 10:26:18 +02:00
Aphrodite
5ae1207392
oppo-a51f: new device (Oppo Mirror 5s) (MR 1503)
[ci:skip-build]: already built successfully in CI
2020-10-05 20:24:12 +03:00
timbz
0bc009892f
samsung-i9100: fix wifi firmware loading for mainline kernel (MR 1598)
[ci:skip-build]: already built successfully in CI
2020-10-05 14:18:43 +02:00
timbz
93f6b3dab9
samsung-i9100: enable drm backend for weston (MR 1598) 2020-10-05 14:18:24 +02:00
timbz
ffd5fd8b2b
samsung-i9100: add mainline kernel (MR 1598) 2020-10-05 14:18:18 +02:00
Minecrell
c64f29713f
xiaomi-wt88047: add mainline port for Xiaomi Redmi 2 (MR 1604)
Replace the old downstream port with a new aarch64 port running the
linux-postmarketos-qcom-msm8916 close-to-mainline(TM) kernel.
Most of the functionality is working:

  - USB Network
  - Storage (eMMC, SD card)
  - Display, brightness control
  - Touchscreen, buttons
  - IMU (accelerometer+gyroscope)
  - Notification LED
  - Sound (Speaker, Headphones, Microphones)
  - WiFi, Bluetooth
  - Modem (SMS, voice calls, mobile data)

Coming soon (hopefully): Battery/Charging, USB-OTG (not working yet)

There are many variants of the device, so more changes to handle
differences between them may be needed in the future. For now,
the only relevant difference is the required modem firmware:

  - wt88047 (global variant)
  - wt86047 (China variant)

... have different kind of modems and they do not seem to work with
the firmware of the other one. The way this is handled in this device
package is that there is a separate kernel variant for both of them.
All other required firmware can be shared, and therefore there is no
differentiation needed when using the kernel variant without modem.

I renamed "wingtech-wt88047" to "xiaomi-wt88047".
My reasoning for that is the following:

  - Wingtech is the ODM (original design manufacturer), they designed the
    hardware and (probably) manufactured it. But postmarketOS port applies
    to the combination of both hardware and firmware, and the firmware was
    at least partially provided by Xiaomi.

  - wt88047 looks lonely with the "wingtech" vendor, when all other Xiaomi
    devices use "xiaomi", even though many from them were probably also
    designed by Wingtech.

  - We don't use the ODM hardware name for other devices either, e.g.
    "wileyfox-crackling" would be "longcheer-l8150" with the same approach.

I think the port is better visible as "xiaomi-wt88047" (too bad Xiaomi
seemingly did not have a proper codename for this device...)
2020-10-05 04:00:56 +03:00
Minecrell
7ab48c472a
wingtech-wt88047: remove downstream device port (MR 1604)
In preparation for adding mainline device port for Xiaomi Redmi 2
(wt88047), remove the downstream device port. It's still armhf
which makes it clear that it hasn't been tested for a long time.

The mainline port has many more features, also it is aarch64, which
is not compatible with the downstream kernel.
2020-10-05 04:00:56 +03:00
Dolphin von Chips
620b695e5c
sony-castor: armv7, rename, mainline, cleanup (MR 1199) 2020-10-04 15:38:58 +02:00
Luca Weiss
6cf28e4329
device/testing/firmware-sony-castor: new aport (MR 1199) 2020-10-04 15:38:34 +02:00
Ultracoolguy
1ff589c0a2
firmware-motorola-ocean: Add additional blobs (MR 1558)
firmware-motorola-ocean: Change package() syntax
Also add linux-firmware-qcom dependency
2020-09-22 14:35:27 -04:00
Ultracoolguy
c45eccd80d
device-motorola-ocean: Modify for mainline support (MR 1558)
device-motorola-ocean: Add support for both downstream and mainline
kernel

device-motorola-ocean: Update dependency for downstream kernel
The dependency mentioned is wcnss-wlan.

Apply 1 suggestion(s) to 1 file(s)
2020-09-22 14:35:27 -04:00
timbz
b0f78029cd
linux-samsung-kylepro: build with gcc 6 (MR 1574) 2020-09-22 15:48:29 +03:00
HenriDellal
d0c585b98b
huawei-lua-u22: remove non-working port (MR 1592)
This port got hit by regressions recently and doesn't boot anymore. Tried with different GCC versions.
2020-09-22 11:50:19 +02:00
fengjiongmax
2447419fc6
motorola-athene:fix compiler error (MR 1594) 2020-09-22 11:48:47 +02:00
HenriDellal
7a01611214
finepower-f1: update device- and linux- packages (MR 1596)
Device package changes:
- Replace ALSA configs with dependency (soc-sprd-audio-sc8830)
- Add reboot-mode as dependency

Kernel package changes:
- Use dtbtool-sprd instead of dtbtool
- Move code and device tree to external repo
- Add patch for GCC10
- Add patches for framebuffer
2020-09-22 11:45:43 +02:00
dzmitry
f23e4627ce linux-samsung-a5y17lte : fix linter issues
Add descriptions to patches
Prefix custom variable with '_'
Refactoring change, [ci:skip-vercheck]
2020-09-21 15:38:14 +03:00
Yassine Oudjana
4d8473e255
xiaomi-scorpio: new device (Xiaomi Mi Note 2) (MR 1576)
* use shared multiple yylloc definition patch (MR 1576)
2020-09-20 19:29:38 +03:00
Dolphin von Chips
2a34837dc7
cubietech-cubieboard: new device (Cubietech Cubieboard) (MR 1589) 2020-09-20 16:58:04 +02:00
Chris
7d1d03164b
motorola-addison: new device (Moto Z Play) (MR 1577) 2020-09-20 16:50:39 +02:00
Gianluca Boiano
ebbbbf19d3
linux-xiaomi-vince: upgrade to 4.9.236 (MR 1586) 2020-09-18 16:01:29 +03:00
dzmitry
000f01b835
linux-samsung-herolte : add patch to fix kernel compilation with gcc10 (MR 1578)
Patch makes yyloc declaration extern.
2020-09-17 09:39:48 +02:00
dzmitry
ccfdf8b2b7
linux-samsung-a5y17lte : add patch to fix kernel compilation with gcc10 (MR 1578)
Patch makes yyloc declaration extern.
2020-09-17 09:39:48 +02:00
antonialoytorrens
e40ecc2fc2
asus-tf101: enable wifi (MR 1534)
[ci:skip-build]: already built successfully in CI
2020-09-14 14:21:50 +02:00
antonialoytorrens
a96b1f87f9
linux-asus-tf101: fix module loading (MR 1534) 2020-09-14 14:21:18 +02:00
Rohan Mishra
f6b004f3f5
sony-tulip: fix missing new line in deviceinfo (MR 1511) 2020-09-12 14:32:56 +02:00
Antoine Fontaine
3eee9b8460
linux-fairphone-fp1: make pmb kconfig edit work (MR 1565)
[ci:skip-build]: already built successfully in CI
2020-09-11 16:10:42 +02:00
antonialoytorrens
c2ef92ab86
asus-tf101: change arch from armhf to armv7 (MR 1506)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]: arch change
2020-09-07 18:57:03 +02:00
David Heidelberg
b4eb58582a
device/testing/device-asus-grouper: add kernel variants (MR 1532)
- E1565 is original "grouper" and it's for modern devices similar to
tilapia
- PM269 is earlier produced Nexuses with different PMIC (not very often
seen)

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/647
2020-09-04 16:22:26 +02:00
David Heidelberg
bdd0cb7bb3
device/testing/device-asus-tilapia: set new upstream DTS name (MR 1528)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-09-02 15:41:47 +02:00
David Heidelberg
fa6c1b12bb
device/testing/device-asus-grouper: set new upstream DTS name (MR 1528)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-09-02 15:41:47 +02:00
David Heidelberg
2b1d50eab5
device/testing/linux-asus-grouper: bump kernel to 5.9 (MR 1528)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-09-02 14:35:05 +02:00
Rian McGuire
ac6de72a97
linux-xiaomi-tissot: Fix build on gcc 10 (MR 1502) 2020-08-30 18:48:30 +02:00
Rian McGuire
7ca3d64721
linux-xiaomi-tissot: Re-add Xorg support (MR 1502)
This fix for Xorg was lost during the 4.9.188 upgrade (!1485).
2020-08-30 18:48:30 +02:00
Luca Weiss
cafeecb043
linux-fly-iq4404: don't add mtk header to zImage (MR 1483)
This is now handled by postmarketos-mkinitfs. Remove the code from the
APKBUILD.
2020-08-22 10:39:28 +02:00
Luca Weiss
0511b83771
fairphone-fp1: modernize (MR 1483)
This also removes the code to add the mediatek header to the zImage as
this is now handled by postmarketos-mkinitfs.
2020-08-22 10:39:22 +02:00
Ultracoolguy
f7ce83577b
motorola-ocean: new device (Motorola Moto G7 Power) (MR 1470)
As of now only USB networking and screen (partially) works.
2020-08-21 15:54:16 +02:00
Dahrkael
aef4ae08a5
vernee-k506: add nonfree firmware package (MR 1456) 2020-08-20 22:11:54 +02:00
Dahrkael
872fc74aee
linux-vernee-k506: adjust hardcoded firmware paths (MR 1456) 2020-08-20 22:11:12 +02:00
Danct12
11c6587dca
device/*: switch to Alpine Mesa (MR 1496)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-18 14:53:31 +07:00
atipls
34f8efd1bc
samsung-gtelwifi: new device (MR 1355)
This patch adds basic support for the Samsung Galaxy Tab E 9.6" (SM-T560).
Current status: Kernel builds successfully, flashing boot.img works along with ssh.
2020-08-16 00:28:19 +02:00
Caleb Connolly
d84e4b4ade
device/testing/linux-oneplus-sdm845: upgrade to 5.8-rc6 (MR 1425)
Update to Linux 5.8 and bring some nice improvements:

* Use geni for touch instead of CPU driven bitbang, this gives
noticeable performance gains in phosh when scrolling.
* Enable bluetooth (using firmware in updated firmware package), was
able to test bluetooth audio with bluetoothctl but phosh UI shows no
Bluetooth adapter.
* Add testing battery node using bq27541, battery always reported being
plugged in and at 100%.
* Fix UFS error spam due to a bug where writeboost is enabled for all
qcom devices - even though it isn't supported.
* Add quirk to wifi device to fix host capability request rather than
the dodgy driver edit that was used before.
* Minimise .config size to improve build times.
* Make schedutil the default governer
* Fix power button
2020-08-13 12:26:51 +02:00
Caleb Connolly
167c6841fa
device/testing/firmware-oneplus-sdm845: add missing firmware (MR 1425)
Add bluetooth firmware and .jsn files needed by pd-mapper.
Add adsp/cdsp firmware as the linux-firmware versions fail to load now.
2020-08-13 12:26:51 +02:00
Richard Qian
0f21dcaa74
linux-postmarketos-grate: upgrade to latest git version, enable module stripping (MR 1493)
Also remove unnecessary drivers, and add support for more USB Wi-Fi adapters
2020-08-12 12:57:48 +02:00
Wiktor Tkaczyński
582a2237e2
linux-xiaomi-tissot: upgrade to 4.9.188 (MR 1485) 2020-08-11 17:13:28 +02:00
Oliver Smith
ad113c487e
acer-picasso: fix deviceinfo
Remove _downstream, _mainline in deviceinfo as there is only the
mainline kernel now. Fixup taken from a comment by Richard Qian in the
initial device port merge request. I've verified that the device package
builds. [ci:skip-build]

Fixes: 949effc0 ("acer-picasso: new device (Acer Iconia Tab A500) (MR 1308)")
2020-08-11 11:05:59 +02:00
Richard Qian
949effc0ed
acer-picasso: new device (Acer Iconia Tab A500) (MR 1308)
Everything is working well, but the camera the 3D acceleration are not.
These two are due to the lack of drivers in mainline kernel.
2020-08-10 19:30:16 -05:00
Oliver Smith
dbf4d13907
treewide: avoid "More than one maintainer" error (MR 1480)
Alpine's abuild is soon going to complain if an APKBUILD has more than
one "Maintainer:" listed. Work around it by renaming the additional
maintainers to "Co-Maintainer:". While at it, move the devicepkg reference
link to the top in device-xiaomi-santoni for consistency.

In postmarketOS, we require at least two maintainers for devices in
main, therefore it does not make sense to drop additional maintainers
from the file.

In Alpine, this change was made because pkgs.alpinelinux.org apparently
can't handle more than one maintainer. I looked into it, and it would
require a database change to add it there, so it does not seem worth the
effort. I also thought about extending abuild to add an environment
variable to skip the check, but then the package would not build with
plain abuild without using the env var.

Related: dd4cd9d606
[ci:skip-build] [ci:skip-vercheck]
2020-08-08 22:07:20 +02:00
Luca Weiss
489651bc90
fairphone-fp2: add phosh config (MR 1479) 2020-08-04 15:53:26 +02:00
Minecrell
5bc854a2a4
samsung-skomer: remove _mainline suffix from deviceinfo (MR 1475)
samsung-skomer only has mainline packaged and no "-kernel-mainline"
subpackage, so the suffix does not work in this case.
2020-08-03 15:53:14 +02:00
Oliver Smith
124f740af8
xiaomi-santoni: remove hybris 2020-08-03 10:11:34 +02:00
Oliver Smith
2455a3bb21
planet-geminipda: remove hybris 2020-08-03 10:11:29 +02:00
Mark Hargreaves
df1e368e8c
samsung-klte: disable downstream libhybris subpackages (MR 1469)
[ci:skip-build]: build in CI is currently failing with 'BAD signature'
errors; probably caused by outdated Alpine packages in the dl-cdn
mirror, related to the musl-1.2 rebuild in Alpine edge.
2020-08-03 09:23:05 +02:00
Amy Grace
72f7f69b2e
motorola-channel: fix touchscreen (MR 1460) 2020-07-31 18:00:15 +02:00
Danct12
0a99b6c27d
linux-xiaomi-lavender: unbreak libinput (MR 1444)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-28 13:51:52 +02:00
Dahrkael
33ab18c54b
vernee-k506: new device (MR 1439) 2020-07-24 13:49:41 +02:00
Nikita Travkin
dea5488d93
samsung-a3lte: new device (Samsung Galaxy A3 - SM-A300F) (MR 1433)
SM-A300F is pretty much identical to SM-A300FU (note the U),
but it needs different firmware for some reason.
2020-07-21 21:31:54 +02:00
Daniele Debernardi
8819a30f05
device-samsung-i927: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:27 +02:00
Daniele Debernardi
2ce3dfed34
device-samsung-p4wifi: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:27 +02:00
Daniele Debernardi
8a5f29913e
device-ouya-ouya: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:22 +02:00
Minecrell
aca8b8551e
samsung-skomer: new device (Samsung Galaxy Xcover 2) (MR 1424)
Move kwin.sh to extra subpackage in samsung-golden.
2020-07-20 18:44:39 +02:00
Minecrell
ab02b3416e
firmware/firmware-samsung-u8500: rename from firmware-samsung-golden (MR 1424)
samsung-skomer basically uses the same BCM4334 WiFi/BT chip as
samsung-golden, and the WiFi/BT firmware is also the same.

There seems to be a slightly different NVRAM file, so we package
that just to do things properly.
2020-07-20 18:44:38 +02:00
Danct12
df50bddb6b
linux-xiaomi-lavender: halium-friendly defconfig and USER_NS (MR 1411)
Signed-off-by: Danct12 <danct12@disroot.org>
(cherry picked from commit f509c39642341c7d4fb5d0d215a6cb581b4156d1)

[ci:skip-build] Takes too long. Builds fine locally
2020-07-12 19:37:05 +03:00
Alexey Min
5ece330273
linux-xiaomi-willow: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:34:44 +03:00
Alexey Min
01cf31e75d
linux-xiaomi-vince: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:18:25 +03:00
Alexey Min
1bd981b9d0
linux-xiaomi-cactus: enable CONFIG_USER_NS (MR 1411) 2020-07-12 19:11:53 +03:00
Alexey Min
558b08b31d
linux-xiaomi-beryllium: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:54:42 +03:00
Alexey Min
d5af8012d1
linux-teclast-x80pro: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:43:58 +03:00
Alexey Min
450a23600a
linux-sony-suzu: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:12:34 +03:00
Alexey Min
5e77369afc
linux-sony-nicki-mainline: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:12:26 +03:00
Alexey Min
cfff7eb23f
linux-sony-castor-windy: enable CONFIG_USER_NS (MR 1411) 2020-07-12 18:00:53 +03:00
Alexey Min
1c897c1cdd
linux-samsung-p4wifi: enable CONFIG_USER_NS (MR 1411) 2020-07-12 17:21:38 +03:00
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
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