Commit graph

1131 commits

Author SHA1 Message Date
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
km2
b80714ba8a
device/linux-zte-p731a20: fix starting Xorg (!877) 2020-02-20 04:18:16 +03:00
misaka4e21
1c46348201
motorola-titan: fix broken framebuffer, touchscreen and switch to armv7 (!815) 2020-02-20 03:47:46 +03:00
Luca Weiss
652b7d7dbb
device-pine64-pinephone: Add GNSS/GPS configuration (!494) 2020-02-19 19:46:58 +01:00
Martijn Braam
61ed09aca6
device/device-pine64-pinephone: add ucm for voicecalls (!938)
This updates the UCM2 files for the 5.5 kernel and adds a voicecall
profile that enables the audio between the modem and the speaker/mic
2020-02-19 10:10:50 +05:30
Antoine Fontaine
ff484f36e1
device-tablet-x64uefi: make it work again (!960)
fixes up this commit: 132423e942
2020-02-18 01:01:17 +03:00
Maxnet
98001dce42
nokia-rm846: new device (!959)
Note: This port is a revised copy of the nokia-rm885 port
2020-02-17 17:14:08 +03:00
Minecrell
b8d90a1f02
asus-me176c: upgrade mainline kernel to 5.4.20, enable Anbox options (!942)
The patch set for asus-me176c is really small at this point, and there
is no need to make a new tag for each minor kernel update. Usually the
previous patch set will still apply correctly.

Refactor the APKBUILD to build the kernel similar to linux-lts in Alpine,
and use the original kernel tarball together with a small patch file on top.

Also enable Android-related options in the kernel so we can test
Anbox on asus-me176c.
2020-02-17 14:45:26 +03:00
Minecrell
1611c6c70f
samsung-serranovelte: add option to enable modem (!907) 2020-02-16 12:47:57 +01:00
Minecrell
a5a4df3881
wileyfox-crackling: add option to enable modem (!907) 2020-02-16 12:47:54 +01:00
Minecrell
82b83ea011
samsung-a3ulte: add option to enable modem (!907) 2020-02-16 12:47:49 +01:00
Minecrell
d31c4c44db
samsung-a5ulte: add option to enable modem (!907) 2020-02-16 12:47:47 +01:00
Minecrell
43135b4258
device/soc-qcom-msm8916: add -modem subpackage (!907) 2020-02-16 12:47:43 +01:00
Minecrell
eec966d19f
wileyfox-crackling: use appended DTB instead of QCDT (!907)
The Wileyfox Swift is the only mainline MSM8916 device using QCDT
at the moment. The other devices do not have unique qcom,board-ids
that could be used within QCDT.

So far this has worked fine for the Wileyfox Swift. However,
in preparation to *optionally* load the modem we now need two separate
pairs of DTBs (one with modem and one without modem). This is simple
to implement using appended DTBs, but not possible with QCDT.

So let's stop using QCDT entirely for mainline,
and use appended DTBs for wileyfox-crackling.
2020-02-16 12:47:36 +01:00
Minecrell
876cf19755
device/soc-qcom-msm8916: update to ucm2, add support for qdsp6 (!907)
Audio must be routed through QDSP6 when using the modem.
2020-02-16 12:43:27 +01:00
David Heidelberg
6ed77fd5fd
asus-grouper: bump to mainline + firmware adaptation (!933)
- use mesa-git (until we have functional mesa-grate-git)

Works:
- USB
- WiFi (tested with IWD) + Bluetooth
- Touchscreen
- Phosh rotation (rootston.ini)
- IIO Light sensor
- NFC

Not works:
- 3D
- GPS
- GSM (tilapia)
- Camera

Signed-off-by: David Heidelberg <david@ixit.cz>

[ci:skip-build]: already built successfully in CI
2020-02-15 23:09:26 +01:00
Théo Friberg
9e1d95cb88
samsung-nevisp: new device (!954) 2020-02-14 09:47:26 +01:00
red-black-bonsai
c9f970ff28
zte-kis3: revive device; ported ZTE Open C (also known as Kis 3) from scratch again (!949) 2020-02-12 13:01:54 +00:00
Clayton Craft
48d65c0cea
device/purism-librem5-*: Enable OOT redpine wifi driver (!936)
This enables the out of tree redpine wifi driver currently included in
the Purism kernel that these devices boot.
There's at least one MR @ purism needed before the mainline wifi driver
can be used:
        https://source.puri.sm/Librem5/linux-next/merge_requests/66

This is based on input from Sebastian Krzyszkowi.
2020-02-11 09:23:56 +05:30
cunidev
2e1868dfa0
fujitsu-m532: new device (Fujitsu Stylistic M532) (!914) 2020-02-10 13:51:41 +01:00
Danct12
0d82bb48dd
device/device-xiaomi-santoni: tidy up device folder (!941) 2020-02-10 15:02:58 +03:00
Minecrell
f9cb1dff3d
asus-me176c: use fastboot-bootpart flasher (!930)
Flash (split) boot partition to the "APD" partition.
It's a rather useless partition with media files for demo purposes.
Perfect for a small(-ish) boot partition with ~300 MB.
2020-02-10 01:45:10 +03:00
Danct12
a415548b1d
device/*: remove deviceinfo_nonfree (!935)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-10 00:58:03 +03:00
Federico Amedeo Izzo
9d9f36604d
amazon-tank: new device (Amazon Fire TV Stick) (!939) 2020-02-10 00:17:25 +03:00
Clayton Craft
048a5524f5
purism-librem5: add patch for enabling host usb mode on devkit (!925)
This addresses the issue here, but only for the devkit:
https://source.puri.sm/Librem5/linux-next/issues/114

I didn't patch the dts for the phone because:
1) I don't have one to test
2) it might negatively impact batter life (I'm only speculating)

[ci:skip-build]: already built successfully in CI
2020-02-07 19:16:13 +01:00
Clayton Craft
38a23b2aa0
purism-librem5: upgrade to latest 5.3 purism kernel (!925) 2020-02-07 19:16:13 +01:00
silver
5807363964
samsung-apexq: add wifi firmware package (!919) 2020-02-03 20:33:30 +01:00
Minecrell
fcc2a2a1ac
asus-me176c: upgrade mainline kernel to 5.4.17 (LTS) (!922) 2020-02-03 02:45:18 +03:00
srxl
c2fd969169
motorola-harpia: upgrade to mainline kernel (!682)
Support for the downstream kernel has been removed entirely. This is
because the downstream kernel only has support for the armhf
architecture, whereas linux-postmarketos-qcom-msm8916 is only built
for aarch64. Since pmbootstrap has no way to handle having two
kernels on differing architectures, the decision was made to remove
the downstream kernel and only support mainline.
2020-02-01 15:19:53 +03:00
Minecrell
83a0a953af
asus-me176c: remove -x11 subpackage (!917)
So far, the -x11 subpackage for asus-me176c was used to install
the Xorg Intel driver (xf86-video-intel). But these days many
distributions actually recommend using the standard Xorg modesetting
driver instead, see e.g.
  - Debian: https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/
  - Fedora: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/
  - KDE: https://community.kde.org/Plasma/5.9_Errata#Intel_GPUs

The standard Xorg modesetting driver is included in the main xorg-server
package. Not installing xf86-video-intel saves about ~73 MiB of disk space
(because it also pulls in many unneeded dependencies).

Xfce seems to be working just fine with the modesetting driver.
(And most users will probably prefer Wayland anyway...)
2020-01-30 22:50:57 +01:00
Ferenc Bakonyi
14eef2d5f4
lg-hammerhead: fix framebuffer console and power key in initfs (!915) 2020-01-30 22:48:42 +03:00
Minecrell
b9ca5e66ff
asus-me176c: install mesa-vulkan-intel as Vulkan driver (!910)
The Intel graphics in asus-me176c have (incomplete) Vulkan support
in Mesa. Make it possible to use Vulkan by installing the Intel
driver that is necessary for it.
2020-01-29 01:09:53 +03:00
Minecrell
4a844dc630
asus-me176c: reduce rootfs size by installing only needed Mesa driver (!910)
The mesa-dri-intel package is deprecated since it was replaced with
mesa-dri-classic and mesa-dri-gallium. Installing mesa-dri-intel
causes both packages to be installed.

The Intel graphics in asus-me176c are not supported by the new
Gallium "iris" driver, therefore asus-me176c can only use the old
i965 driver available in mesa-dri-classic.

Removing mesa-dri-gallium reduces the disk space needed for a minimal
installation on asus-me176c:
  - Before: 329M
  - After:  256M (-73M)
2020-01-29 01:09:45 +03:00
Bart Ribbers
71557f7f0c
device-*: rebuild for the new splash screen generation 2020-01-28 15:40:18 +01:00
HenriDellal
a5cf21b4d4
device/device-samsung-p4wifi: fix APKBUILD (!889) 2020-01-28 15:21:10 +01:00
HenriDellal
e5d0607625
device/device-samsung-i927: fix APKBUILD (!889) 2020-01-28 15:21:07 +01:00
HenriDellal
583d2fce32
device/device-ouya-ouya: fix APKBUILD (!889) 2020-01-28 15:21:01 +01:00
Jami Kettunen
264f5dccb1
oneplus-cheeseburger: new device (OnePlus 5) (!908) 2020-01-28 14:28:09 +03:00
CUI Hao
0326ffefa7
zuk-z2-row: new device (!898) 2020-01-28 02:13:31 +03:00
Minecrell
227c63f18c
sony-sirius: use stable mesa-dri-freedreno (!895) 2020-01-26 23:23:17 +01:00
Minecrell
93ee2de6c8
sony-castor-windy: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
1af1fbb490
lg-hammerhead: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
e599774662
asus-flo: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
6ea8296ac6
samsung-golden: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:10 +01:00
Minecrell
d4f0417a1d
purism-*: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:10 +01:00
Minecrell
38ed2425f1
pine64-*: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:09 +01:00
red-black-bonsai
10d8f5d4b0
medion-kai: get wifi working (!904) 2020-01-23 15:43:30 +01:00
Clayton Craft
83d79ea914
purism-librem5: new device (Purism Librem 5) (!869)
This adds a device package for the Librem 5 phone

[ci:skip-build]: already built successfully in CI
2020-01-19 11:57:54 +01:00
Clayton Craft
dc18bfba2e
purism-librem5dev: rebase on upstream flasher script & uboot image format, new kernel/uboot (!869)
This updates the uuu flasher script to conform to what Purism uses, and
changes the package to use the new M4 + uboot image that is generated by
the librem5 u-boot package.

It also changes the kernel/uboot to the 'generic' librem5 kernel/uboot.
2020-01-19 11:58:47 +01:00
Clayton Craft
0d291a4f42
device/linux-purism-librem: rename package & upgrade to Purism 5.3 kernel (!869)
The librem5 devkit and phone share the exact same kernel/branch, so this
package is renamed to be a bit more generic, and update to the latest
version in the Purism kernel tree.
2020-01-19 11:58:06 +01:00
Minecrell
29b692df69
purism-librem5dev: use mesa-git instead of custom mesa fork (!869)
The package is quite outdated - most patches should have already landed
upstream now, so we can make use of mesa-git instead of a custom fork.
2020-01-19 11:57:04 +01:00
1Maxnet1
947378c5cd
samsung-kylessopen: change arch: armhf -> armv7 (!851)
[ci:skip-build]: already built successfully in CI
2020-01-19 10:34:59 +01:00
Konrad Dybcio
b52b745ae0
sony-honami: modernize, use latest gcc (!885) 2020-01-18 21:58:18 +01:00
HenriDellal
be556bee37
device/device-oneplus-bacon: fix APKBUILD (!874)
[ci:ignore-count] [ci:skip-build]
2020-01-17 18:39:52 +01:00
HenriDellal
1164a8fb20
device/device-pine64-pinetab: fix APKBUILD (!874) 2020-01-17 18:39:30 +01:00
HenriDellal
7bd3713462
device/device-nokia-n900: fix APKBUILD (!874) 2020-01-17 18:39:27 +01:00
HenriDellal
797f98a49e
device/device-zte-p731a20: fix APKBUILD (!874) 2020-01-17 18:39:25 +01:00
HenriDellal
13e3c7d856
device/device-htc-vision: fix APKBUILD (!874) 2020-01-17 18:39:24 +01:00
HenriDellal
70a8b1363b
device/device-xiaomi-kenzo: fix APKBUILD (!874) 2020-01-17 18:39:22 +01:00
HenriDellal
6faab8c72b
device/device-t2m-flame: fix APKBUILD (!874) 2020-01-17 18:39:21 +01:00
HenriDellal
897a06807b
device/device-sony-honami: fix APKBUILD (!874) 2020-01-17 18:39:20 +01:00
HenriDellal
dcd83e579e
device/device-sony-amami: fix APKBUILD (!874) 2020-01-17 18:39:18 +01:00
HenriDellal
868b67e32a
device/device-semc-smultron: fix APKBUILD (!874) 2020-01-17 18:39:17 +01:00
HenriDellal
a082b4d3df
device/device-samsung-maguro: fix APKBUILD (!874) 2020-01-17 18:39:15 +01:00
HenriDellal
6c0a5adc88
device/device-samsung-lt023g: fix APKBUILD (!874) 2020-01-17 18:39:14 +01:00
HenriDellal
b268780990
device/device-samsung-kminilte: fix APKBUILD (!874) 2020-01-17 18:39:12 +01:00
HenriDellal
4cc65595ec
device/device-samsung-i9195: fix APKBUILD (!874) 2020-01-17 18:39:11 +01:00
HenriDellal
be621aed08
device/device-samsung-i9100: fix APKBUILD (!874) 2020-01-17 18:39:09 +01:00
HenriDellal
adcd4e6f8e
device/device-samsung-golden: fix APKBUILD (!874) 2020-01-17 18:39:08 +01:00
HenriDellal
8fb6575074
device/device-raspberry-pi3: fix APKBUILD (!874) 2020-01-17 18:39:07 +01:00
HenriDellal
ad9b5be90e
device/device-raspberry-pi: fix APKBUILD (!874) 2020-01-17 18:39:05 +01:00
HenriDellal
4fb3b0677a
device/device-qemu-vexpress: fix APKBUILD (!874) 2020-01-17 18:39:03 +01:00
HenriDellal
0328a95883
device/device-qemu-amd64: fix APKBUILD (!874) 2020-01-17 18:39:02 +01:00
HenriDellal
bd112124bf
device/device-qemu-aarch64: fix APKBUILD (!874) 2020-01-17 18:38:59 +01:00
HenriDellal
3ca414a4ce
device/device-purism-librem5dev: fix APKBUILD (!874) 2020-01-17 18:38:57 +01:00
HenriDellal
414dd9d74e
device/device-pine64-pinephone: fix APKBUILD (!874) 2020-01-17 18:38:56 +01:00
HenriDellal
0dba888ca4
device/device-pine64-dontbeevil: fix APKBUILD (!874) 2020-01-17 18:38:53 +01:00
HenriDellal
72c6faab83
device/device-pine64-a64lts: fix APKBUILD (!874) 2020-01-17 18:38:36 +01:00
HenriDellal
038943efdd
device/device-nokia-n9: fix APKBUILD (!874) 2020-01-17 18:12:52 +01:00
HenriDellal
3430d3e782
device/device-motorola-titan: fix APKBUILD (!874) 2020-01-17 18:12:50 +01:00
HenriDellal
7491b245f4
device/device-motorola-potter: fix APKBUILD (!874) 2020-01-17 18:12:49 +01:00
HenriDellal
26bfb17181
device/device-motorola-osprey: fix APKBUILD (!874) 2020-01-17 18:12:48 +01:00
HenriDellal
ec580123be
device/device-motorola-harpia: fix APKBUILD (!874) 2020-01-17 18:12:46 +01:00
HenriDellal
b40ff71d5f
device/device-motorola-athene: fix APKBUILD (!874) 2020-01-17 18:12:45 +01:00
HenriDellal
57d2dbe88b
device/device-lg-mako: fix APKBUILD (!874) 2020-01-17 18:12:44 +01:00
HenriDellal
630e18e1df
device/device-lg-hammerhead: fix APKBUILD (!874) 2020-01-17 18:12:43 +01:00
HenriDellal
da11be3bf3
device/device-htc-flounder: fix APKBUILD (!874) 2020-01-17 18:12:42 +01:00
HenriDellal
fbb494ec1f
device/device-htc-ace: fix APKBUILD (!874) 2020-01-17 18:12:40 +01:00
HenriDellal
05ae9a300c
device/device-asus-tf101: fix APKBUILD (!874) 2020-01-17 18:12:39 +01:00
HenriDellal
4dd592d189
device/device-asus-me176c: fix APKBUILD (!874) 2020-01-17 18:12:38 +01:00
HenriDellal
d8b45af3ee
device/device-amazon-thor: fix APKBUILD (!874) 2020-01-17 18:12:36 +01:00
HenriDellal
32f8b3d007
device/device-planet-geminipda: fix APKBUILD (!874) 2020-01-17 18:12:35 +01:00
HenriDellal
0e4562e82f
device/device-samsung-a5ulte: fix APKBUILD (!874) 2020-01-17 18:12:33 +01:00
HenriDellal
12db6cdcc6
device/device-oneplus-oneplus2: fix APKBUILD (!874) 2020-01-17 18:12:32 +01:00
HenriDellal
89eb954b9d
device/device-motorola-maserati: fix APKBUILD (!874) 2020-01-17 18:12:31 +01:00
HenriDellal
ff05d53ce1
device/device-asus-t00f: fix APKBUILD (!874)
[ci:skip-build]
[ci:skip-vercheck]
2020-01-17 18:12:29 +01:00
HenriDellal
4a8178e536
device/device-sony-sirius: fix APKBUILD (!874) 2020-01-17 18:12:28 +01:00
HenriDellal
746d5e3d1d
device/device-zte-kis3: fix APKBUILD (!874) 2020-01-17 18:12:27 +01:00
HenriDellal
05ef1bd67a
device/device-yu-tomato: fix APKBUILD (!874) 2020-01-17 18:12:25 +01:00
HenriDellal
3788a93d5e
device/device-xiaomi-tissot: fix APKBUILD (!874) 2020-01-17 18:12:24 +01:00
HenriDellal
d49494ad59
device/device-xiaomi-santoni: fix APKBUILD (!874) 2020-01-17 18:12:23 +01:00
HenriDellal
e8240f8c9c
device/device-xiaomi-mido: fix APKBUILD (!874) 2020-01-17 18:12:21 +01:00
HenriDellal
e5457d9459
device/device-xiaomi-ido: fix APKBUILD (!874) 2020-01-17 18:12:20 +01:00
HenriDellal
62730f9cee
device/device-xiaomi-cancro: fix APKBUILD (!874) 2020-01-17 18:12:18 +01:00
HenriDellal
051e993606
device/device-xiaomi-armani: fix APKBUILD (!874) 2020-01-17 18:12:17 +01:00
HenriDellal
bc7a57612c
device/device-xiaomi-aries: fix APKBUILD (!874) 2020-01-17 18:12:15 +01:00
HenriDellal
71bc4d7a5c
device/device-wingtech-wt88047: fix APKBUILD (!874) 2020-01-17 18:12:14 +01:00
HenriDellal
268d2e0803
device/device-wileyfox-crackling: fix APKBUILD (!874) 2020-01-17 18:12:13 +01:00
HenriDellal
de79e9b1bc
device/device-wiko-ufeel: fix APKBUILD (!874) 2020-01-17 18:12:11 +01:00
HenriDellal
fb1160d735
device/device-wiko-lenny3: fix APKBUILD (!874) 2020-01-17 18:12:09 +01:00
HenriDellal
e093128e17
device/device-wiko-lenny2: fix APKBUILD (!874) 2020-01-17 18:12:08 +01:00
HenriDellal
570f87fada
device/device-teclast-x80pro: fix APKBUILD (!874) 2020-01-17 18:12:07 +01:00
HenriDellal
181c41596e
device/device-tablet-x64uefi: fix APKBUILD (!874) 2020-01-17 18:12:05 +01:00
HenriDellal
4f726b8d28
device/device-surftab-wintron7.0: fix APKBUILD (!874) 2020-01-17 18:12:04 +01:00