Commit Graph
744 Commits
Author SHA1 Message Date
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*
    (https://github.com/alsa-project/alsa-lib/blob/29041c522071172af2c6bf086b3a0c19510a6660/include/use-case.h#L136)
  - DigitalMic -> Mic
    (https://github.com/alsa-project/alsa-lib/commit/1ad660ddeecb2a364f1ca62aa60f256f7029cfdc)
  - HeadsetMic -> Headset
    (https://github.com/alsa-project/alsa-lib/blob/29041c522071172af2c6bf086b3a0c19510a6660/include/use-case.h#L137)
  - Add .conf suffix for verb configurations
  - Set Playback/CaptureChannels as integer, not as string
  - Remove empty Enable/DisableSequence sections
    (https://github.com/alsa-project/alsa-ucm-conf/commit/d6a150d34f6e3a327215ad3452cfcfe164671717)
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