Commit graph

924 commits

Author SHA1 Message Date
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