Commit graph

1290 commits

Author SHA1 Message Date
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
Clayton Craft
38607b7f12
device-purism-librem5: select dtb based on device rev (MR 1673)
[ci:skip-build]: already built successfully in CI
2020-11-02 09:07:26 +01:00
Clayton Craft
48d1727d15
linux-purism-librem5: upgrade to 5.9.1 (MR 1673)
This also includes a patch from Purism that is the best workaround so
far for the hang that plagues Dogwood phones.
2020-11-01 19:15:42 -08: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
Minecrell
421095284a
device/community/soc-qcom-msm8916: fork alsa-ucm-conf entirely (MR 1655)
Upstream keeps making breaking changes in patch releases.
Let's fork alsa-ucm-conf entirely for now instead of just patching
in some files to ensure that these files don't break every few months.

This fixes audio on MSM8916 devices when not using the modem.
2020-10-30 17:10:18 +01:00
clayton craft
737f33e561
pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660)
This subpackage was removed when a proper fix for suspend was merged,
however apk doesn't know to purge this subpackage, so the old elogind
hook workaround stuck around. This workaround could probably be removed
once we're sure all folks on edge have installed this upgraded package
with the 'provides'...
2020-10-28 22:34:56 -07:00
Martijn Braam
07a7853b50
device-pine64-pinephone: add autofocus firmware (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:32 -07:00
Pedro Moreno
e4366d5f8a
Pinephone: Fix excessive mic noise on call (MR 1652)
Fix ucm2 settings to lower mic boost and increase mic volume.

Fixes: #720
2020-10-28 11:45:02 -07:00
Bhushan Shah
378904d076
device-pine64-pinephone: remove the elogind hook (MR 1651)
musb_hrdc bug is fixed properly with kernel patch, so we do not need to
do this bind/unbind dance anymore.

This partially reverts commit f7d743a213.
2020-10-27 13:58:34 +05:30
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
clayton craft
f7d743a213
device-pine64-pinephone: fix suspend with elogind (MR 1636)
- re-enable console suspend, which seems to be broken with elogind when
  suspending (kernel gets hung up indefinitely in vt_waitactive)

- add a suspend hook to work around the musb driver not allowing the
  device to suspend

Based on my testing, this option seems to prevent suspending via
elogind (using `loginctl suspend`). When console suspend is disabled,
the kernel gets hung up in the call to vt_waitactive, and elogind times
out trying to suspend.
2020-10-25 11:17:34 -07: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
Oliver Smith
517f905b84
pine64-pinephone: update devicepkg for 5.9 kernel (MR 1614)
* update modem init for modem_power
* adjust alsa configs
* remove obsolete megapixels config file

Related: https://xnux.eu/log/#020
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
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
clayton craft
bdf120c6a7
device-purism-librem5: upgrade to 1.6 (MR 1628)
This new version:
        - Upgrades device config from upstream to v25
        - Fixes a problem using modesetting driver on Xorg (lightdm
          was broken because it now uses Xorg)
        - Override GDK to use GLES (change from upstream Purism)
2020-10-08 22:08:35 -07:00
clayton craft
d2cf30ae66
linux-purism-librem5: upgrade to 5.9.0-rc8 (MR 1628) 2020-10-08 22:08:35 -07:00
fengjiongmax
da72051070
motorola-nash: new device (Moto Z2 Force) (MR 1567) 2020-10-08 10:26:18 +02:00
Luca Weiss
ce76c867df
qemu-aarch64: configure getty on serial console (MR 1626) 2020-10-07 21:49:40 +03:00
Luca Weiss
808b73ca43
qemu-amd64: configure getty on serial console (MR 1626) 2020-10-07 21:49:36 +03:00
Martijn Braam
879bd336b7 device/pine64-pinephone: remove megapixels config (MR 1587)
(cherry picked from commit 2ac5e8f90a9f491520b880a98d16a7a4fe0a5c43)
2020-10-07 12:55:20 +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
Minecrell
e9925b4a72
device/community/soc-qcom-msm8916: update ALSA UCM configurations (MR 1603)
- Add UCM configuration for Xiaomi Redmi 2 (wt88047)
- Add UCM configuration for Xiaomi Redmi Note 4 (xiaomi-mido)
- Some fixes to UCM configuration for BQ Aquaris X5 (bq-paella)
2020-10-05 02:16:19 +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
Minecrell
2c491df415
bq-paella: enable splash screen (MR 1602)
Actually the display has been working in initramfs since MR 1261
(device-bq-paella: enable display and touchscreen on boot).
We should make it explicit in deviceinfo.
2020-09-28 14:49:14 +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