Commit Graph
1180 Commits
Author SHA1 Message Date
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
Danct12andAsriel Dreemurr 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: https://github.com/msm8916-mainline/alsa-ucm-conf/commits/fed543629e6c63429414cf41588cab1c65030775
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: https://gitlab.com/postmarketOS/pmaports/-/commit/132423e942420738ef56f3f9b61a1a25f0bdf965
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