Commit graph

879 commits

Author SHA1 Message Date
Pops Dylan
7e3ee23622
device/device-raspberry-pi: fix boot error caused by missing dtb file (!870)
The upstream linux-rpi package has been modified: the dtb files
are now located in /boot/dtbs.
2020-01-12 18:06:35 +03:00
red-black-bonsai
0bc495cf44
medion-kai: new device (!866) 2020-01-10 18:19:29 +01:00
HenriDellal
b97c340c36
nobby-230: new device (!865) 2020-01-09 00:33:52 +03:00
George Hopkins
ef4a30d29c
device/linux-huawei-y530: fix lookup of symbolic links (!856) 2020-01-04 14:04:23 +03:00
George Hopkins
685f838c8b
huawei-y530: change to armv7 (!850)
[ci:skip-build]: already built successfully in CI
2020-01-03 04:45:57 +01:00
Harsh Lathwal
4250586168
yu-tomato: new device (YU Yureka) (!844)
[ci:skip-build]: already built successfully in CI
2020-01-03 03:41:06 +01:00
Daniele Debernardi
18e5124cba
raspberry-pi4: new device (!843) 2020-01-03 03:16:17 +01:00
Minecrell
cd6d1b82e3
device-samsung-golden: add mainline kernel (!833) 2019-12-30 19:19:40 +01:00
Minecrell
281504d6af
device-samsung-golden: split downstream kernel into separate package (!833)
Prepare for mainline by moving the downstream-specific files
into a separate downstream package.
2019-12-30 19:19:40 +01:00
Minecrell
6171f6de66
device-samsung-golden: use U-Boot Fastboot interface instead of Heimdall (!833) 2019-12-30 19:19:40 +01:00
DolphinChips
9018537264
device-samsung-klte: remove nonfree-firmware from depends of kernel-downstream (!837) 2019-12-30 18:41:56 +01:00
Nikita Travkin
f152e1d636
wileyfox-crackling: optimize module load order (!836)
This fixes warnings on boot.
2019-12-29 02:41:23 +03:00
Bhushan Shah
543598e81a
pine64-pinephone: start eg25 service at boot (!842)
This should enable modem properly on the pinephone
2019-12-28 21:35:29 +05:30
Icenowy Zheng
5bf2defdcf
pine64-pinephone: add script to bring up EG25 on current sample (!620)
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-12-28 20:43:05 +05:30
Icenowy Zheng
f8ba7b6a20
pine64-pinephone: drop out-of-date force-fbdev configuration (!620)
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2019-12-28 20:42:06 +05:30
Nikita Travkin
4ae1e76e73
device-wileyfox-crackling: enable display on boot (!830)
This commit adds necessary kernel modules to initramfs to enable
display early on boot which allows FDE and charger-sdl to work
2019-12-25 17:20:53 +01:00
Minecrell
3a70f3748f
samsung-serranovelte: new device (Samsung Galaxy S4 Mini Value Edition) (!828)
samsung-serranovelte runs Linux mainline (linux-postmarketos-qcom-msm8916)
with support for:

  - Display
  - Touchscreen
  - Sound
  - GPIO keys
  - NFC
  - Vibrator
  - IMU (Accelerometer + Gyroscope)
  - Battery

The primary limitation of samsung-serranovelte is that it can only run
ARMv7 (32-bit) binaries, even though its hardware (MSM8916) is 64-bit
capable. This is because it was never updated with 64-bit compatible
firmware (usually introduced together with the Android 5.0 update).

[ci:skip-vercheck]: only added new architectures
2019-12-24 03:14:54 +03:00
Minecrell
cf8b2f605d
device/soc-qcom-msm8916: enable on armv7 (!828) 2019-12-24 03:14:54 +03:00
Luca Weiss
62a557ab97
device-fairphone-fp2: configure getty using deviceinfo_getty variable (!817) 2019-12-22 11:38:15 +00:00
Alexey Min
bd5e3ed159
pine64-pinetab: fix emmc booting (!801) 2019-12-21 19:16:19 +03:00
Martijn Braam
36427e16da
pine64-pinephone: fix emmc booting (!801) 2019-12-21 19:04:24 +03:00
Rudy
9bc9ff2170
samsung-expressatt: new device (Samsung Galaxy S3 I437) (!808) 2019-12-21 15:40:54 +03:00
Minecrell
4ecef0e962
samsung-golden: update firmware packaging (!807)
- Update WiFi firmware to newer version
- Change paths so that (eventually) mainline could load the same firmware
2019-12-21 15:19:25 +03:00
Daniele Debernardi
6e237d9d3d
device-surftab-wintron7.0: replace linux-vanilla with linux-lts (!814)
[ci:skip-build]: already built successfully in CI
2019-12-21 11:01:40 +01:00
Daniele Debernardi
132423e942
device-tablet-x64uefi: replace linux-vanilla with linux-lts (!814) 2019-12-21 03:09:47 +01:00
Pops Dylan
7ca42afe42
device-purism-librem5dev: configure getty using deviceinfo_getty variable (!796)
Move getty configuration from the .post-install script to deviceinfo.
2019-12-14 02:58:53 +01:00
Drew DeVault
b6482e4571
device/device-pine64-pinephone: add ofono-openrc (!805)
The post-install depends on the -openrc files being present, and if the
dependency isn't explicitly specified then the device-* package may be
installed before the -openrc package, causing the post-install to fail.
2019-12-14 02:27:58 +01:00
Hunter Sell
8baf04df3c
hisense-m470bsa: new device (Hisense Sero 7 Pro) (!721)
[ci:skip-build]: already built successfully in CI
2019-12-14 00:52:45 +01:00
Antoine Fontaine
bb49d85ca8
wiko-lenny2: new device (Wiko Lenny 2) (!773) 2019-12-12 12:51:38 +03:00
Pops Dylan
2deca0969f
lg-hammerhead: configure getty using deviceinfo_getty variable (!795)
Move getty configuration from the .post-install script to deviceinfo.
2019-12-11 02:00:55 +03:00
Pops Dylan
9a5da8f65a
pine64-pinephone: configure getty using deviceinfo_getty variable (!797)
Move getty configuration from the .post-install script to deviceinfo.
2019-12-10 17:33:39 +03:00
Pops Dylan
2c803889d6
pine64-pinetab: configure getty using deviceinfo_getty variable (!798)
Move getty configuration from the .post-install script to deviceinfo.
2019-12-10 01:15:56 +03:00
HenriDellal
77a160c94d
htc-primou: new device (!791) 2019-12-09 19:37:22 +03:00
Antoine Fontaine
805ba03d87
raspberry-pi: fix sway, phosh startup (!775)
Both sway and phosh require hardware acceleration (DRM) to work. Let's
activate that when we request one of them. Also don't let them fail
during startup on inputless setups (which is common on a raspberry pi).

Phosh is too slow to be unsable, but now, it'll at least be unusable out
of the box ;-)
2019-12-07 15:27:10 +01:00
Konrad Dybcio
201573b4f6
sony-nicki: fix elogind/cgroups regression, remove unused defconfig (!776)
Without this MR, elogind, and therefore weston will not start as it will
complain about cgroup mess:

[   21.387150] elogind-daemon[1538]: Failed to determine whether /sys/fs/cgroup is a mount point: Symbolic link loop
[   21.388341] elogind-daemon[1538]: Failed to mount cgroup at /sys/fs/cgroup/elogind: No such file or directory

Fix by applying this patch, thanks minlexx for pointing me to it! This
might possibly also be applicable to other kernel 3.4-based ports.

[ci:skip-build]: already built successfully in CI
2019-12-07 13:48:05 +01:00
Mike
d23549a251
samsung-golden: rename from samsung-i8190 (!719) 2019-12-06 16:25:01 +03:00
Mike
d19dd5d51d
samsung-i8190: change to armv7 (!719) 2019-12-06 16:24:58 +03:00
Sireesh Kodali
16891e81f9
motorola-potter: fix touchscreen (!774)
This adds an initfs-hook that enables the sceen, similar
to how the motorola-lux works. Touchscreen now shows
output on `libinput debug-events`
2019-12-06 14:38:31 +03:00
Martijn Braam
727e21b20f
device-pine64-pinephone: add alsa ucm config (!772)
This provides alsa usecase profiles for the audio routing in the
pinephone, pulseaudio also picks up this config.

[ci:skip-build]: already built successfully in CI
2019-12-04 22:16:51 +01:00
km2
53ee5b4c8b
zt3-p731a20: add asound.state from finepower-f1 (!761)
[ci:skip-build]: already built successfully in CI
2019-11-30 15:49:48 +01:00
Alexander Polynomdivision
b88862a624
samsung-herolte: use dtbtool-exynos (!764)
Since dtbtool-exynos is packaged, we can use it to generate the DT image
outside the kernel tree.

[ci:skip-build]: already built successfully in CI
2019-11-27 22:45:33 +01:00
pedro
d3fedc4b0c
lg-mako: fix wifi (!763)
Add config file including 1 second delay when activating wlan driver.

Related: #46
2019-11-24 20:56:06 +01:00
Martijn Braam
277817162d
device-pine64-pinephone: hardcode partitions (!756)
[ci:skip-build]: already built successfully in CI
2019-11-24 20:16:53 +01:00
Dolphin von Chips
1a1a703fe9
samsung-j1mini3g: fix X11 and framebuffer colors (!753)
[ci:skip-build]: already built successfully in CI
2019-11-24 20:10:17 +01:00
Dolphin von Chips
b1db5f1a53
samsung-j1mini3g: use armv7 and msm-fb-refresher (!753) 2019-11-24 20:09:15 +01:00
alxndrpsclt
66ec738e63
lg-hamerhead: fix X11 UIs based on frammebuffer (!745)
[ci:skip-build]: already built successfully in CI
2019-11-20 23:14:08 +01:00
Luca Weiss
3362660cae
htc-memul: new device (HTC One Mini 2) (!641)
[ci:skip-build]: alraedy built successfully in CI
2019-11-20 22:30:34 +01:00
Daniele Debernardi
6dd9e47ba9
qemu-amd64: fix xfce4 background (!728)
[ci:skip-build]: already built successfully in CI
2019-11-20 21:49:01 +01:00
Daniele Debernardi
12e1ab59cf
qemu-amd64: set default gateway (!728) 2019-11-20 21:48:07 +01:00
Daniele Debernardi
d7c69d9e89
nokia-n900: fix xfce4 background (!748)
[ci:skip-build]: already built successfully in CI
2019-11-20 21:42:13 +01:00
Luca Weiss
66db4dff0c
main/xf86-video-opentegra: remove (!754)
The package doesn't build anymore and blocks the binary repository.

See postmarketOS/pmaports#339
2019-11-19 19:53:55 +01:00
Luca Weiss
1d966578d2
fairphone-fp2: reorganize dependencies (again), add mainline subpackage (!692)
Remove all firmware-support dependencies from the firmware package and
add them to -downstream-firmware and -mainline-firmware packages which
have an install_if on the downstream or mainline kernel subpackage.

[ci:skip-build]: already built successfully in CI
2019-11-17 16:28:30 +01:00
Alexey Min
d4f39c5a44
samsung-klte: customize USB idVendor and idProduct (!741)
Use values from the stock Android:
 * 0x04e8 (Samsung Electronics Co., Ltd) as vendor
 * 0x6860 (Galaxy (MTP)) as product
2019-11-17 15:49:45 +01:00
Alexey Min
ac0fe90355
pine64-pinetab: use Allwinner USB IDs (!739)
Stock Android on PineTab is detected as 1f3a:1007.
Use those values as USB idVendor and idProduct on
postmarketOS, too.

  idVendor 1f3a is "Allwinner Technology Co., Ltd."
  idProduct 1007 is unknown to databases.
2019-11-17 15:40:10 +01:00
Danct12
90341ef720
xiaomi-santoni: use Xiaomi USB IDs (!740)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-11-17 15:36:49 +01:00
Luca Weiss
11e2b269ab
device/linux-lg-vee7e: fix build with new binutils
[ci:skip-build]: already built successfully in CI
2019-11-10 13:20:37 +01:00
Luca Weiss
37123b4fdb
device/linux-htc-bravo: fix build with new binutils 2019-11-10 13:19:44 +01:00
Luca Weiss
a185318feb
device/linux-lg-lenok: switch mirror
I cannot find a repository with the original commit anymore, but Oliver
has already put the repo onto pmsourcedump, so use that.
2019-11-10 13:19:09 +01:00
Luca Weiss
3846d4628f
device/linux-samsung-espresso10: switch mirror
The original repository was deleted.
2019-11-10 13:18:15 +01:00
lambdadroid
9c78722059
device/linux-samsung-lt023g: enable CONFIG_CGROUPS=y (!724)
[ci:skip-build]: already built successfully in CI
2019-11-10 09:24:52 +01:00
lambdadroid
cf49130779
device/linux-samsung-i8200: enable CONFIG_CGROUPS=y (!724) 2019-11-10 09:24:26 +01:00
Bart Ribbers
f2c41d7e5e
device/linux-nokia-n9: fix checksums (!722) 2019-11-05 12:18:31 +01:00
Muhammad Firman Yassin
05a38c3280
samsung-royss: kernel compiler upgrade and several fixes (!701)
[ci:skip-build]: already built successfully in CI
2019-11-03 16:41:19 +01:00
Danct12
ed2a658bd3
device/linux-asus-z00vd: add python3 support (!707)
Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built successfully in CI
2019-11-03 16:28:46 +01:00
lambdadroid
fe4bd3ab4d
asus-me176c: rework packages (!699)
device/device-asus-me176c:
  - Install me176c-factory to apply correct MAC addresses for
    WiFi and BT
  - Use FAT32 for boot partition. This allows flashing the boot
    partition directly as ESP (EFI System Partition).
  - Overall cleanup

device/linux-asus-me176c:
  - Update kernel fork to 4.19.80
  - Cleanup APKBUILD
  - Stop building patched ACPI DSDT table directly into kernel

firmware/firmware-asus-me176c:
  - Package WiFi firmware

firmware/firmware-asus-me176c-acpi:
  - New package for the patched ACPI DSDT table
  -> Separate from firmware-asus-me176c because it is always required,
     (not optional)

[ci:skip-build]: runs into timeout
2019-11-03 15:58:37 +01:00
Martijn Braam
23a3f904bf
lg-hammerhead: set phosh scale to 3 (!697) 2019-10-26 01:59:57 +02:00
Bart Ribbers
6c47283e2c
linux-samsung-royss: use lzma compression rather than lzo (!693)
This removes the dependency on the lzop package which is in Alpine's
testing repository

[ci:skip-build]: already built successfully in CI
2019-10-26 01:36:53 +02:00
HenriDellal
6e5723a69d
finepower-f1: add sound output support (!691) 2019-10-23 23:36:17 +02:00
Mariusz Chryc
b57d83247e
xiaomi-kenzu: fix charging-sdl, osk-sdl (!688)
[ci:skip-build]: already built successfully in CI
2019-10-23 23:22:12 +02:00
Luca Weiss
bd67629606
fairphone-fp2: reorganize dependencies, install modem firmware by default (!686)
The modem boots up properly without causing any problems, so let's
install the firmware and support packages by default.

Also install adsp-audio now by default to boot up the adsp for audio and
other services provided by the processor.

[ci:skip-build]: already built successfully in CI
2019-10-18 23:38:16 +02:00
Jasper Korten
4576d1b334
samsung-gt510wifi: new device (Samsung Galaxy Tab A 9.7 Wifi (2015) (SM-T550)) (!683)
[ci:skip-build]: already built successfully in CI
2019-10-18 22:13:31 +02:00
Muhammad Firman Yassin
692f088c8e
samsung-royss: new device (Samsung Galaxy Young) (!670)
[ci:skip-build]: already built successfully in CI
2019-10-13 23:21:07 +02:00
Martijn Braam
840ba65730
nokia-n900: replace i3status with i3blocks (!513)
Thanks to drebrez for lots of additional improvements to this patch.
2019-10-13 23:07:03 +02:00
lambdadroid
2c57359b8a
main/postmarketos-mkinitfs: include ext4 and usb_f_rndis in initramfs (!673)
The initramfs needs ext4 (to mount the rootfs) and usb_f_rndis
(to enable USB networking on devices that use USB configfs).
If these are built as modules, they need to be included in initramfs.

[ci:skip-build]: already built successfully in CI
2019-10-13 21:22:42 +02:00
Bart Ribbers
1280bde87b
purism-librem5dev: start ofono on boot (!679) 2019-10-11 18:11:19 +02:00
Bart Ribbers
f6ebf07606
pine64-dontbeevil: start ofono on boot (!678) 2019-10-11 18:09:17 +02:00
Bart Ribbers
3e4ff90ef7
pine64-pinephone: start ofono on boot (!678) 2019-10-11 18:09:00 +02:00
Daniele Debernardi
0f3e1cc882
qemu-amd64: enable framebuffer in initramfs (!493) 2019-10-09 23:22:32 +02:00
lambdadroid
a855164812
main/linux-postmarketos-qcom: rename to linux-postmarketos-qcom-msm8974 (!662)
We have linux-postmarketos-qcom and linux-postmarketos-qcom-msm8916 now,
which is quite confusing. linux-postmarketos-qcom was originally added
for MSM8974 devices (e.g. Nexus 5) and its patches on top of mainline
are therefore quite focused on MSM8974.

linux-postmarketos-qcom-msm8916 on the other hand, has patches specific
to MSM8916. The two packages do not have any patch in common, therefore
merging the two would only cause signficiant overhead to coordinate
testing for devices of the two SoCs.
Therefore, it is better to keep them separate.

To avoid confusion, rename linux-postmarketos-qcom to
linux-postmarketos-qcom-msm8974 to make it clear that it is really
a close-to-mainline kernel for MSM8974 devices.

[ci:skip-build]: already built successfully in CI
2019-10-08 00:51:38 +02:00
lambdadroid
bdb1bdc87b
main/libsparse: remove (!661)
The sparse image tools (img2simg, simg2img, append2simg) are now
part of Alpine's android-tools package where they are continously
updated. (See https://github.com/nmeum/android-tools/pull/8)

Remove "libsparse" as depends from all packages because it is either:

 - installed automatically by pmbootstrap when needed for
   deviceinfo_flash_sparse="true"
    (device-chuwi-hi10plus, device-htc-flounder, device-lg-bullhead,
     device-semc-anzu, device-xiaomi-kenzo)

 - seemingly unused(?)
    (device-asus-z00t, linux-motorola-falcon, linux-motorola-peregrine)

[ci:skip-build]: already built successfully in CI
2019-10-07 23:06:31 +02:00
Martijn Braam
c2cb2a17d4
device-pine64-pinetab: added phosh config (!655) 2019-10-05 17:56:25 +02:00
Alastair Horn
61ca6a1fdf
samsung-j3nxlte: new device (Samsung Galaxy J3 (2016)) (!653)
Display and touchscreen (with a kernel driver patch) working.

[ci:skip-build]: already built successfully in CI
2019-10-02 21:23:20 +02:00
Bhushan Shah
af386c96fe
purism-librem5dev: use card1 on the plasma-mobile (!590)
in Librem 5 devkit, card0 is coming from etnaviv and is not usable for
kms/drm. So force usage of card1 for kwin_wayland.

[ci:skip-build]: won't finish in time
2019-10-02 21:00:00 +02:00
Clayton Craft
2f3b5469b2
purism-librem5dev: update deviceinfo and uboot script (!590)
This simplifies the uboot script and updates it to use correct address
offsets for kernel, ramdisk and fdt. Appending the dtb to the kernel is
no longer necessary. This also changes the dtb to the one used on
PureOS.
2019-10-02 20:59:53 +02:00
Clayton Craft
31aa0b5f4b
purism-librem5dev: upgrade to purism's 5.2 kernel (!590) 2019-10-02 20:59:48 +02:00
Clayton Craft
aeeda11fa1
device-pine64-a64lts: enable serial console after boot (!651) 2019-10-01 15:36:34 +02:00
silver
bce5f4feec
samsung-apexq: kernel 3.4.104 with loadable modules working (!650)
linux-samsung-apexq/APKBUILD updated with newer kernel commit
sha from d2 repo, and now builds and packages modules into the
rootfs in /lib/modules/. prima wifi module not yet working.
2019-09-27 16:41:42 +00:00
Oliver Smith
b6deac3f1c
amazon-thor: don't use fastboot_vendor_id anymore
Fastboot doesn't support this option anymore, so remove it. If
you are sure that you need this option, we can probably convince
upstream fastboot to add it again, or find another solution. Just
let us know in the issues.

Related: https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1818
Related: https://gitlab.com/postmarketOS/pmbootstrap/issues/1830
2019-09-26 22:59:54 +02:00
smd
a4f38c41c0
finepower-f1: new device (Finepower F1) (!645)
[ci:skip-build]: already built successfully in CI
2019-09-25 23:16:59 +02:00
Oliver Smith
d0f76807d7
sony-nicki: remove -dev subpkg from kernel
The subpackage depends on the "kernel-scripts" package, which has been
removed from pmaports.git. Therefore the -dev package could not be
installed, and our CI check of the binary repo noticed this and was
failing.

Related: https://gitlab.com/postmarketOS/pmaports/merge_requests/329
2019-09-25 22:52:38 +02:00
Mathias Roux
136ef57fd5
wiko-ufeel: new device (Wiko U FEEL) (!573)
[ci:skip-build]: already built successfully in CI
2019-09-25 21:47:50 +02:00
Oliver Smith
e09aa15c08
temp/mesa-grate: removed (!648)
This depends on non-existing package py2-mako, and therefore blocks
building the binary repository.

Related: #370
2019-09-25 21:17:41 +02:00
Konrad Dybcio
1573a80619
sony-nicki: add a WIP mainline kernel adaptation (!640)
[ci:skip-build]: already built successfully in CI
2019-09-22 21:59:23 +02:00
Oliver Smith
58fcf794d3
pine64-*: fix post-install filename
Make the renamed pine packages build again, by giving their post-install
files the new pkgname.

(So much for trivial package renames, needs better testing next time :p)
2019-09-20 01:04:02 +02:00
Luca Weiss
1094359fe0
device/device-pine64-pinetab: rename (!623)
[ci:skip-build]: mesa binary package is currently being built, let's
                 not make CI build the mesa package too for this trivial
                 rename
2019-09-19 01:18:59 +02:00
Luca Weiss
e5c060110d
device/device-pine64-pinephone: rename (!623) 2019-09-19 01:18:39 +02:00
Luca Weiss
89953efaab
device/device-pine64-dontbeevil: rename (!623) 2019-09-19 01:18:18 +02:00
Luca Weiss
1baee138e2
device/device-pine64-a64lts: rename (!623) 2019-09-19 01:17:38 +02:00
Bart Ribbers
23df7156de
device/linux-oneplus-bacon: remove non-used Python 2 dependency (!606)
[ci:skip-build] The kernels won't succeed in time anyway
2019-09-14 06:42:50 +02:00
Bart Ribbers
b03bbbe80b
device/linux-leeco-s2: remove non-used Python 2 dependency (!606) 2019-09-14 06:42:50 +02:00
Bart Ribbers
d9f799f65b
device/linux-oneplus-onyx: remove non-used Python 2 dependency (!606) 2019-09-14 06:42:50 +02:00
Bart Ribbers
969b71919f
device/linux-lg-d285: remove non-used Python 2 dependency (!606) 2019-09-14 06:42:50 +02:00
Bart Ribbers
571e00e112
device/linux-huawei-angler: remove non-used Python 2 dependency (!606) 2019-09-14 06:42:50 +02:00
Martijn Braam
d041549b58
pine-pinephone: add hwtest data (!617) 2019-09-14 04:57:14 +02:00
Daniele Debernardi
13fa90dc88
nokia-n900: Bind square brackets to us keymap (!572) 2019-09-14 04:31:08 +02:00
Bhushan Shah
350ac7af21
device-pine-pinephone: new device (PINE64 PinePhone) (!583)
* Added display in final pinephone to the kernel
* Added getty
* Use RGB led to signify booting status in u-boot
* Enable CONFIG_GPIO_SYSFS

[ci:skip-build]: won't finish in time
2019-09-05 18:49:54 +02:00
Bart Ribbers
682d7fbbd6
pine-dontbeevil: remove outdated weston launch script and fix boot shortts (!594) 2019-09-05 17:10:45 +02:00
Ingo Feinerer
28f0e5d4e1
htc-protou: new device (HTC Desire X) (!588)
Changes in the kernel defconfig:
- disable ANDROID_PARANOID_NETWORK (removes network restrictions)
- enable CONFIG_USB_G_ANDROID and CONFIG_DIAG_CHAR (for USB networking)
- enable DEVTMPFS (needed for udev -> touch support in weston)
- enable FB_MSM_DEFAULT_DEPTH_RGB565 (for 16-bit support to avoid red
  screen)
- enable SYSVIPC (so busybox' syslogd can log to a ringbuffer in the
  kernel)
- enable VT (for virtual terminal over USB)

[ci:skip-build]: already built successfully in CI
2019-08-31 21:19:16 +02:00
Oliver Smith
0619729a04
oppo-find-7a: linux: fix depends in dev subpackage
Insert missing space into the depends line, so it reads "gmp-dev bash"
instead of "gmp-devbash". This did not cause a build failure, but made
the upstream compat CI check fail after the binary package had been
built and uploaded. It would also cause an error if one tried to install
the package. The CI check will pass once the fixed package is built and
uploaded.

[ci:skip-build]
2019-08-31 20:06:48 +02:00
Nikita Travkin
422a4b1201
wileyfox-crackling: add mainline kernel (!582)
[ci:skip-build]: already built successfully in CI
2019-08-31 19:47:49 +02:00
Mis012
59088ec5b8
samsung-a3ulte: new device (Samsung Galaxy A3 (SM-A300FU)) (!582) 2019-08-31 19:47:20 +02:00
lambdadroid
780adc8cec
samsung-a5ulte: new device (Samsung Galaxy A5 (SM-A500FU)) (!582) 2019-08-31 19:47:20 +02:00
lambdadroid
e80aabe73f
soc-qcom-msm8916: Add common packages for mainline MSM8916 devices (!582)
Add main/linux-postmarketos-qcom-msm8916 as shared mainline kernel
for all MSM8916 devices.
2019-08-31 19:47:15 +02:00
Tito Ragusa
292e742220
oppo-find-7a: linux: various improvements (!580)
* add dev-package
* modularize some kernel drivers
* modernize Makefile to silence some warnings
* fix various warnings
* add some CVE patches

[ci:skip-build]: already built successfully in CI
2019-08-31 15:30:38 +02:00
Martijn Braam
1544b5da95
device-pine-dontbeevil: fix u-boot script (!586) 2019-08-29 14:53:03 +02:00
Dolphin von Chips
5d5ab279f2
motorola-montana: use aarch64 (!581)
[ci:skip-build]
2019-08-29 11:18:27 +02:00
Gavin Lilly
82cdba421e
device-motorola-lux: enabled touchscreen (!584) 2019-08-29 11:05:27 +02:00
Zhuowei Zhang
a900d77ebc
google-crosshatch: upgrade mainline kernel to 5.3-rc5 (!577)
This rebases the Pixel 3 XL patches on top of Linux 5.3-rc5.

Also enabled more kernel modules related to modem, and applied
Bjorn Andersson's patch for resetting the UFS memory.

See
https://gitlab.com/postmarketOS/pmaports/issues/153
for more information.

[ci:skip-build] because kernel takes more than one hour to build
2019-08-25 22:31:48 +02:00
Grant Miller
2966c8aeff
linux-purism-librem5dev: update kernel config (!575)
Update kernel config to this commit
<e7b9b21a89>
so that we can drop `!pmb:kconfigcheck`

Closes #189

[ci:skip-build]: already built successfully in CI
2019-08-25 21:21:35 +02:00
Gavin Lilly
7bef09b474
motorola-lux: new device (Moto X Play) (!562)
[ci:skip-build]: already built successfully in CI
2019-08-24 01:10:20 +02:00
Danct12
322be48523
pine-pinetab: enable uart, add weston cfg (!570)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-24 00:21:09 +02:00
Bart Ribbers
7eaffd519c
temp/u-boot-librem5dev: move from device (!571) 2019-08-23 21:27:40 +02:00
smd
969a4f876c
huawei-lua-u22: new device (!559)
[ci:skip-build]: already built successfully in CI
2019-08-20 22:30:01 +02:00
MartenBE
36af9305a3
samsung-matissewifi: new device (!560) 2019-08-19 22:12:18 +02:00
Dzmitry Sankouski
ccd9d6ba43
samsung-a5y17lte: add wlan kernel module (!555)
qcacld-2.0 external kernel module from code aurora forum, master branch
2019-08-19 17:03:04 +02:00
Danct12
d44646737e
device-pine-pinetab: enable bluetooth (!553)
[ci:skip-build]: does not finish on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-19 16:57:22 +02:00
Dzmitry Sankouski
4c48457589
samsung-a5y17lte: kconfig: add muic debug option (!556)
Some Samsung muic's have debug possibility, but seems kernel config
option for that was deleted. Muic debug can be useful for attaching UART
cable to phone.

[ci:skip-build]: already built successfully in CI
2019-08-17 12:28:01 +02:00
dzmitry
de80777e1a
samsung-a5y17lte: add universal7880 firmware. (!544)
Firmware for Exynos 7880 SOC from https://github.com/TheMuppets
It is needed to enable wifi, and possibly other hardware. All of firmware found on Muppets has been packaged.
Also contains wlan module configuration.
2019-08-15 18:08:29 +02:00
Danct12
9d6a3540ad
device-pine-pinetab: change compose key to meta on pinetab keyboard (!552)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-10 14:02:11 +02:00
Danct12
370a9fbbb1
device-pine-pinetab: rotate framebuffer console (!550)
[ci:skip-build] because kernel changes

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-10 13:19:48 +02:00
Luca Weiss
8f39bfd95c
device/*: Adjust for non-modified dtb filename (!536) 2019-08-06 12:37:12 +02:00
Daniele Debernardi
e4e38c2001
main/postmarketos-mkinitfs: add deviceinfo_framebuffer_landscape (!546)
Use deviceinfo_framebuffer_landscape during splash screen generation.
Also add the postmarketos-splash arguments variable to the computation
of the hash for the cache.

Adjust device-pine-pinetab to use the new variable, and therefore rotate
its splash screen.

[ci:skip-build]: already built successfully in CI
2019-08-06 12:00:31 +02:00
Luca Weiss
fef416f198
pine-pinetab: new device (Pine PineTab) (!528)
Thanks to Martijn Braam for additional patches that were squashed into
this one.

[ci:skip-build]: won't finish in time
2019-08-03 02:27:39 +02:00
Dzmitry Sankouski
1c335b552e
samsung-a5y17lte: new device (Samsung A5 2017) (!510)
[ci:skip-build]: already built successfully in CI.
2019-08-03 00:58:08 +02:00
Joey Hewitt
212b3c8643
samsung-i9195: fix red screen (!535)
[ci:skip-build]: already built successfully in CI
2019-08-02 23:03:41 +02:00
Daniele Debernardi
e259e5f420
device-nokia-n900: various improvements (!534)
- rename 'ch-de' keymap to 'ch' as in X keyboard config file
- add PMOS_NO_OUTPUT_REDIRECT to kernel cmdline (fixes debug-shell)
- add all keymap files in initramfs
- load default us keymap in initramfs
2019-07-31 01:25:27 +02:00
Dolphin von Chips
18d199c498
samsung-j1mini3g: new device (Samsung Galaxy J1 mini) (!533)
[ci:skip-build]: already built successfully in CI
2019-07-30 20:45:19 +02:00
Bart Ribbers
bb00212b21
device-sony-sirius: use mesa-git (!524) 2019-07-27 20:38:22 +02:00
Bart Ribbers
02bc1dd064
device-sony-castor-windy: use mesa-git (!524) 2019-07-27 20:37:34 +02:00
Bart Ribbers
3b4d876521
device-asus-flo: use mesa-git (!524) 2019-07-27 20:36:04 +02:00
Bart Ribbers
b11d96dcbb
device-lg-hammerhead: use mesa-git (!524) 2019-07-27 20:35:27 +02:00
Bart Ribbers
944460fa76
device-pine-dontbeevil: use mesa-git (!524) 2019-07-27 20:34:27 +02:00
Bart Ribbers
a8d7b80444
device-pine-a64lts: use mesa-git (!524) 2019-07-27 20:33:38 +02:00
Luca Weiss
e8482cfb39
device/linux-htc-vision: fix wrong source handling (!516)
Also fix a few spaces->tabs issues while we're at it.

Should result in the exact same commit being download as before, the
checksum is different because GitHub puts the commit instead of the
branch name into the archive.

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-07-25 20:50:47 +02:00
Luca Weiss
be9615a763
temp/mesa-freedreno: fix mesa-freedreno-gl conflict (!520) 2019-07-23 21:04:32 +02:00
Danct12
5eb0b74350
asus-z00vd: use armv7 (!498)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-18 22:00:47 +02:00
Federico Amedeo Izzo
3dd4d8f220
samsung-zanin: new device (Samsung Galaxy Chat) (!496)
The phone boots pmOS, and the basic functionalities are ready.

[ci:skip-build]: already built successfully in CI
2019-07-17 00:39:03 +02:00
Sergey Larin
5ccbcf999d
samsung-i927: update kernel to 5.2.1, more updates (!452)
- OTG support
- Charger
- WiFi 5GHz
- RTC bug "fixed" (always-on interrupt - made device overheat!)
- Kernel version bumped to 5.2.1
- Memory timings
- New WM8994 codec board driver (fixes suspend/resume)
- Camera's regulator supported now (saves power at least!)
- Updated panel driver (still not in mainline, idk why)
- MHL support in kernel (fixes boot times and screen, currently disabled in X,
  not tested)
- Other minor kernel chagnes

[ci:skip-build]: already built successfully in CI
2019-07-17 00:15:26 +02:00
Danct12
861fb8e553
device-xiaomi-santoni: fix post-install script (!420)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:29 +02:00
Asriel Dreemurr
cec2a9de58
linux-xiaomi-santoni: add hci smd for bluetooth support (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:24 +02:00
Danct12
4499ff72c7
device-xiaomi-santoni: add pulseaudio support through hybris (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:18 +02:00
Asriel Dreemurr
19c1762248
device-xiaomi-santoni: remove asound.conf (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:08:14 +02:00
Asriel Dreemurr
3d513070ad
device-xiaomi-santoni: move alsa ucm files and sound dependencies to nonfree_firmware (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:08:02 +02:00
Asriel Dreemurr
0ea7b9a70a
xiaomi-santoni: tweak kernel config for hybris-boot, add X11 config for xf86-video-hwcomposer (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:07:33 +02:00
Danct12
206b763d56
device-xiaomi-santoni: add contributors and maintainers (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:07:22 +02:00
Danct12
c4110b60a7
xiaomi-santoni: workaround for long boot times with hybris userland (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:07:13 +02:00
Asriel Dreemurr
e3921e5d5e
xiaomi-santoni: add android adaptation (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:07:10 +02:00
Oliver Smith
5406010320
nokia-900: fix wallpaper in i3wm (!473)
The wallpaper has been broken, since we intentionally removed the N900
specific wallpaper from the postmarketos-wallpapers package. Just use
the default wallpaper, and tell feh to scale it nicely.
2019-07-11 19:38:56 +02:00
hacker12455
f1339bdba1
samsung-lt023g: fix WiFi (!489)
[ci:skip-build]: already built successfully in CI
2019-07-11 18:37:04 +02:00
Nikita Travkin
536da1c1a7
Add device: wileyfox-crackling (!485)
Initial support for Wileyfox Swift
- System boots
- USB networking works
- Display and touch works
- Weston, XFCE4, Plasma Mobile works with software rendering
- fb.modes added but charging-sdl still don't work
- System allways reports charge level at zero

[ci:skip-build]: already built successfully in CI
2019-07-11 17:59:27 +02:00
Konrad Dybcio
3003f25696
sony-suzu: new device (Sony Xperia X) (!482)
Also known as: SoMC Loire Suzu RoW

[ci:skip-build]: already built successfully in CI
2019-07-09 22:20:33 +02:00
Luiz Silva
5b77b0ff25
lg-p700: new device (LG Optimus L7) (!471)
[ci:skip-build]: already built successfully in CI
2019-07-09 21:45:31 +02:00
Alexey Min
2fb18b5d30
samsung-klte: backport memfd_create() syscall (!479)
This brings in several patches needed to add support for a
memfd_create() syscall into kernel version 3.4 from kernel
version 3.17. This is required for running lxc >= 3.1.0-r1
with security patch that fixes CVE-2019-5736.

In short, security issue was: in a privileged container root
process could overwrite lxc-start executable by opening its
file descriptor and rewriting executable contents. This is
where memfd comes to help: you can create an in-memory file,
copy your executable there, and place a set of SEALS to protect
it from modifying at a deep level. Then you fexecve() that fd
and you're safe.

For example, pulseaudio also can benefit from having
memfd_create() implemented.

This backports the following commits from upstream linux:
 - dd37978c50bc8b354e5c4633f69387f16572fdac: cache the value
   of file_inode() in struct file

   commit from linux-3.10 to have an f_inode member inside
   struct file and a helper function file_inode() that is
   used in some of the following commits

 - 40e041a2c858b3caefc757e26cb85bfceae5062b shm: add sealing API

   from 3.17: security measure called SEALS, that you can put
   on memfd file to restrict operations on it

 - 9183df25fe7b194563db3fec6dc3202a5855839c shm: add memfd_create()
   syscall

   also from 3.17

 - 503e6636b6f96056210062be703356f4253b6db9 asm-generic: add
   memfd_create system call to unistd.h

 - e57e41931134e09fc6c03c8d4eb19d516cc6e59b ARM: wire up
   memfd_create syscall

The last two are needed to make the syscall visible/usable from
userspace, one in generic context, other for ARM arch.

The test program (https://github.com/minlexx/test_memfd/) was
written to verify that this works.

[ci:skip-build]: already built successfully in CI
2019-07-09 21:17:33 +02:00
Alexander Polynomdivision
17ab67d2b6
samsung-herolte: fix indent in nonfree_firmware (!478)
As spaces instead of tabs were used, pmbootstrap would error out when
using `samsung-herolte` during init.
2019-07-06 09:13:19 +02:00
Luca Weiss
7c079a69fd
QEMU: fix case sensitivity, unify device names (!480)
[ci:skip-vercheck]
2019-07-06 03:30:37 +02:00
Federico Amedeo Izzo
9620435c92
samsung-ariesve: new device (Samsung Galaxy S Plus) (!474)
Also known as gt-i9001.

[ci:skip-build]: already built successfully in CI
2019-07-03 21:10:28 +02:00
hacker12455
e2e4bb3df2
samsung-lt023g: Enable WiFi, switch arch to armv7 (!470)
[ci:skip-build]: already ran successfully in CI
2019-06-30 19:13:31 +02:00
Oliver Smith
24d0ce16e5
asus-flo, sony-castor-windy: use mesa-freedreno (!450)
Let all remaining devices that depend on mesa-dri-freedreno use the new
mesa-freedreno package.

[ci:skip-build]: won't finish in time. I'm verifying that the whole
                 merge request builds before merging.
2019-06-30 18:54:08 +02:00
Martijn Braam
624c965b41
lg-hammerhead: mesa-freedreno, serial tty0, fix X (!450)
Use the new mesa-freedreno package. Configure inittab to start a
terminal on ttyMSM0 (serial). Remove fbdev from xorg.conf and set
SWCursor on.

Based on patches from Brian Masney.
2019-06-30 18:54:08 +02:00
Oliver Smith
71a9fec125
sony-sirius: use mesa-freedreno, change to armv7 (!450)
Switch to armv7, because we're not building linux-postmarketos-qcom for
armhf anymore.
2019-06-30 18:54:08 +02:00
Oliver Smith
ec14336927
teclast-x80pro: enable CONFIG_UEVENT_HELPER (!472)
[ci:skip-build]: will not finish in time. I've built linux-asus-me176c
                 and it builds fine. I'm assuming that
                 linux-teclast-x80pro will also build, since it is
                 pretty much the vanilla kernel.
2019-06-30 18:46:37 +02:00
Oliver Smith
58bb1ab8f3
asus-me176c: enable CONFIG_UEVENT_HELPER (!472)
Make busybox mdev work in the postmarketOS initramfs.
2019-06-30 17:10:31 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Kenneth Endfinger
258e92e942
google-glass: Add non-free firmware and initialize the display (!462)
[ci:skip-build]: already built successfully in CI
2019-06-26 23:56:33 +02:00
Idan Horo
624e777a6f
xiaomi-kenzo: new device (Xiaomi Redmi Note 3) (!461)
Boots succsfully, SSH over USB works fine, display and touch screen
works fine. WiFi is also confirmed to be working.

[ci:skip-build]: already built successfully in CI
2019-06-26 23:26:14 +02:00
Daniele Debernardi
fb477bab21 samsung-maguro: migrate to armv7 architecture (!455)
[ci:skip-build]: already built successfully in CI
2019-06-24 20:44:08 +00:00
Martijn Braam
d591cd2a38
device/pine-dontbeevil: Seperate version for longts (!407)
This adds a seperate dts for the longts version of the devkit (which was
the un-inverted version before) and adds a shortts version which was
inverted before, but didn't exist in pmaports yet because I manually
edited the dts for every release.

This MR abuses the kernel switching feature to switch the dtb instead so
shortts/longts can be selected in the init step.

[ci:skip-build]: build won't finish in time
2019-06-20 00:19:29 +02:00
Tito Ragusa
3209440946 oppo-find-7a: fix refresh rate (!438)
[ci:skip-build]: already built successfully in CI
2019-06-13 23:47:10 +00:00
Alexey Min
40754def82
linux-samsung-klte: update to latest LineageOS-14.1 kernel (!435)
Fix elogind sending device to a reboot on session start by lightdm.

Fixes #274

[ci:skip-build]: already built successfully in CI
2019-06-13 22:17:18 +02:00
Alexey Min
c7265011db
device-samsung-klte: don't replace NM unmanaged devices (!434)
Do not overwrite NM unmanaged devices, append instead.

[ci:skip-build]: already built successfully in CI
2019-06-13 22:08:39 +02:00
Shuhao Wu
f4b127356f
hammerhead: enable all cpus (!426)
Previous cmdline is disabling cpu2,3 by default.

Fixes #282.

[ci:skip-build]: already built successfully in CI
2019-06-11 22:43:13 +02:00
hacker12455
dc8128f2dc
device/htc-k2ul: 16 bit color mode, remove v4l udev rules (!427)
16 bit color mode is needed for Xorg to work properly, udev rules are
removed due to crashes and hangs.

[ci:skip-build]: already built successfully in CI
2019-06-09 21:10:20 +02:00
hacker12455
aebe74f61e
device/htc-k2ul: add deviceinfo touchscreen device (!422) 2019-06-07 23:47:31 +02:00
hacker12455
2e31fbb242
Add WiFi firmware and enable it. (!419) 2019-06-07 15:42:18 +02:00
Danct12
92454681aa
linux-chuwi-hi10plus: upgrade to 5.1.7, optimize config (!416)
I've upgraded the kernel to 5.1.7 stable for this tablet, boots and
working perfectly fine.

I have also added support for initramfs touch screen using mainline
silead and as well as optimized the kernel configuration a little bit,
it should now compile faster on ollieparanoid's computer (where the
official binary packages are currently built).

[ci:skip-build]: won't finish in time on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-06 22:40:35 +02:00
hacker12455
3336552bef
htc-k2u: new device (HTC One SV) (!412)
Device boots, USB networking works.

[ci:skip-build]: already built successfully in CI
2019-06-06 22:27:37 +02:00
Alexey Min
e4cc96d27e samsung-klte: downstream: add android adaptation (!332)
Lots of device-specific configurations:

* android mount points and mounts
* android groups and users (needed for udev rules)
* android udev rules for platform devices (needed for android services to run)
* NetworkManager device-specific config
* wpa_supplicant device-specific config
* device-specific openrc service for late initcalls to bring up Wi-Fi hardware
* extra helper scripts to call logcat, set backlight brightness,
  get battery status, unlock kde screenlocker session
* use kernel cmdline from downstream android to keep it as close to
  android as possible. Important for android in lxc container later
2019-06-02 02:49:02 +00:00
Luca Weiss
693079abb5
mkinitfs: Introduce deviceinfo_append_dtb variable (!387)
We don't need to append the dtb to the kernel image in all cases, with
e.g. the u-boot bootloader we can load the dtb seperately from the
kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
"true", append the dtb, otherwise just copy the dtb file to the boot
partition.

Fixes #260

[ci:ignore-count]
2019-06-02 03:13:43 +02:00
Tito Ragusa
e25a233534
oppo-find-7a: add firmware subpackage (!402) 2019-06-02 03:00:58 +02:00
misaka4e21
dd3d5cda92
motorola-titan: fix boot.img flashing and booting (!399)
1. Set deviceinfo_flash_offset_base to 0x00000000.
2. Enable deviceinfo_bootimg_qcdt, and make dt.img for it.
Directly use zImage instead of zImage-dtb for smaller boot.img size.
3. Reduce kernel size by disable xz, lzma and bz2 compressing.
4. Update kernel to the last version in LineageOS repository.

Please note that it is ONLY TESTED on XT1079 "thea", aka Moto G 2014 LTE.
However, "thea" and "titan" are nearly identical, sharing same kernel
and defconfig on LineageOS, etc.

[ci:skip-build]: already built successfully in CI
2019-05-31 03:25:21 +02:00
Alexander Polynomdivision
3cdb983863
samsung-herolte: add nonfree_firmware subpackage (!395) 2019-05-31 02:23:00 +02:00
Danct12
458d6e80e1
linux-chuwi-hi10plus: update to 5.1.5 (stable) (!386)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-05-31 00:47:06 +02:00
Piotr Halama
dcc2ce2438 nokia-frt: adjust to fixed upstream repo (!380)
Nokia only provides .zip files without any git history, so I had to
download the kernel git repo for 3.18.79 and then apply all downstream
changes as one singular commit to preserve at least some of the history.

My previous PC had big problems with creating patch files for symlinks
so I added some commits that should have been in patchfiles instead.
This merge request fixes that, leaving in repo just 3.18.79+downstream
patches and all my patches as patchfiles inside aports.

[ci:skip-build]: already built successfully in CI
2019-05-26 18:07:11 +00:00
Asriel Dreemurr
abb5302992
linux-xiaomi-santoni: rebased to 3.18.140 (!378)
[ci:skip-build]: aready built successfully in CI
2019-05-25 00:47:56 +02:00
silver
a31cc23571
samsung-apexq: fix red screen (!377) 2019-05-23 20:51:08 +00:00
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Danct12
5d478a8e48
chuwi-hi10plus: fix pwm lpss backlight (!372)
[ci:skip-build]: kernel takes more than an hour to compile on CI.
2019-05-21 19:18:10 +02:00
Danct12
94d5efbc96
chuwi-hi10plus: new device (CHUWI Hi10 Plus) (!347)
This port uses the Android bootloader (kernelflinger) instead of
Gummiboot or rEFInd,... just in case if people still want to easily
reflash Android later without going through some DNX Fastboot, Intel
Flash Tool blah blah.

Chuwi violates GPLv2 by not releasing the kernel sources of Android to
the public. This port uses Linux mainline (5.1-rc7), and almost
everything works properly, so thankfully we don't have to use the 3.10
kernel which is outdated and EOL.

[ci:skip-build]: kernel takes more than an hour to compile on CI.
                 ollieparanoid made sure that everything builds.
2019-05-19 21:45:44 +02:00
Tito Ragusa
da260f4652
oppo-find-7a: fix display, touchscreen (!369)
Make the display work, set virtual_size and add
msm-fb-refresher and 0001-fix-video-argb-setting.patch.

[ci:skip-build]: already built successfully in CI
2019-05-19 20:09:20 +02:00
Luca Weiss
a49f691f49
temp/mesa: fix symlink, refactor, split dri-kmsro (!362)
Fix missing symlink for the first driver in mv_dri() (caused by "shift"
at the wrong position). Build freedreno for arm only, not for all
arches.

Lima is for rendering and sun4i-drm (part of kmsro) for the display, so
split it into its own subpackage and use it in device-pine-*.

[ci:skip-build]: ollieparanoid made sure, that this builds. This won't
                 finish in time in CI.
2019-05-14 21:51:39 +02:00
Bart Ribbers
85dfee5b75
temp/mesa: update to latest git master to include Lima (!359)
temp/mesa: enable mesa-dri-lima subpackage
temp/mesa: add a fix for Wayland on Lima
temp/mesa-purism-gc7000: update to latest Git and try to resolve conflicts with mesa
temp/mesa: switch version to 19.1.0-rc1
device/device-pine-a64lts: add mesa and mesa-dri-lima to depends
device/device-pine-dontbeevil: add mesa to depends
device/device-purism-librem5dev: remove now defunct mesa-purism-gc7000-dri-imx from depends
temp/mesa*: re-add X11 support
temp/mesa-purism-gc7000: fix build error which for some reason didn't cause problems earlier
temp/mesa*: fix X11 DRI symlinks
2019-05-14 16:26:21 +02:00
Tito Ragusa
1f8095771c
oppo-find-7a: new device (Oppo Find 7a)
I only tested the usb network feature by ssh'ing in to the device.
Nothing else works yet.

[ci:skip-build]: already built successfully in CI
2019-05-11 21:26:43 +02:00
humanleftswatch
b4b7f1ffdc
lg-vee7e: new device (LG Optimus L7 II) (!358)
This is the beginning of a port to the the LG devices with the codename
vee7e, the one i have is the LG-P710 but according to the xda forum
there are some others, so if someone could test those that would be
nice.

I have not done any work besides making the kernel build and checking if
it boots so there still are some rather obvious issues but it boots and
has working USB-networking as well as a partially working screen and
touchscreen.

[ci:skip-build]: already built successfully in CI
2019-05-10 00:20:02 +02:00
K-laus
1528be93f3 samsung-gts210vewifi: use devicepkg-dev (!353)
Instead of doing it step by step in APKBUILD, use
downstreamkernel_prepare.

[ci:skip-build]: already built successfully in CI
2019-05-09 21:39:16 +00:00
K-laus
2978dfd42a samsung-gts210velte: new device (SM-T819) (!346)
device is very similar to samsung-gts210vewifi (SM-T813),
just has additional LTE modem.

Have to use gcc6 for kernel compilation, otherwise get
'Unhandled fault: alignment fault (0x96000061) at 0xffffff8001787f4c'
errors on kernel startup, and device always reboots.

[ci:skip-build]: already built successfully in CI
2019-05-09 21:33:42 +00:00
Danct12
eb0622513b
xiaomi-santoni: various improvements (!335)
* Add support for osk-sdl
* Use latest commit from bitrvmpd
* Add udev rules, scripts for charging led
* Add (hacky) udev rule for jack detection
* Add pulseaudio files
* Silence substream kernel messages
* Change charging script path
* Move adsp-audio dependency to firmware to avoid watchdog

[ci:skip-build]: already built successfully in CI
2019-05-09 22:56:12 +02:00
Lofenyy Wilson
28cc2ecfe4
samsung-kylessopen: Modernized APKBUILD (!345)
Kernel repository changed to backup, see this new workflow:
https://wiki.postmarketos.org/wiki/How_to_properly_backup_downstream_kernels

[ci:skip-build]: already built successfully in CI
2019-05-08 22:19:41 +02:00
Luca Weiss
4ce7075d67
fairphone-fp1: fix touchscreen and display (!343)
Install msm-fb-refresher, it's needed for the screen to refresh.
Update the kernel to a new commit with several patches applied to fix
the touchscreen - before it wasn't working properly.
Switch architecture from armhf to armv7.

[ci:skip-build]: already built successfully in CI
2019-05-06 22:35:34 +02:00
Zhuowei Zhang
f3bd8707a1
linux-google-crosshatch-mainline: rebase to 5.1-rc7 (!341)
This rebases the Pixel 3 XL patches on top of current
linux master branch (5.1-rc7 + a few more commits since then)

Also enabled KASLR in the defconfig.

[ci:skip-build]: this kernel takes more than one hour to build.
2019-05-03 00:17:34 +02:00
Federico Amedeo Izzo
ba8a3ac375 lg-e610: new device (LG Optimus L5) (!340)
The phone boots postmarketOS and shows logo.
USB networking and flashing via fastboot works.
Display is currently broken but I will try to fix it soon.

[ci:skip-build]: already built successfully in CI
2019-05-02 22:13:44 +00:00
Martin Piatka
938fe1a52a
htc-ace: Switch initfs compression to lzma (!339)
With this change the boot.img finally fits in the 4MB boot partition
making pmOS flashable

[ci:skip-build]: already built successfully in CI
2019-05-02 23:26:29 +02:00
Martijn Braam
badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
km2
1788bb25a3
zte-p731a20: new device (ZTE Blade AF3) (!325)
[ci:skip-build]: already successfully built in CI
2019-04-26 22:58:24 +02:00
Andrea Scarpino
0ca885b592
asus-z00t: fix nonfree_firmware's pkgdesc (!333)
Fixes: "Could not find pkgdesc of subpackage function 'nonfree_firmware'
(spaces used instead of tabs?)"
2019-04-26 22:17:27 +02:00
Alexey Min
b758c7a4b2
samsung-klte: add nonfree_firmware() to device package (!327) 2019-04-24 15:52:04 +02:00
Martijn Braam
74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Danct12
f05374fa1c
xiaomi-santoni: rebase to 3.18.138, add firmware and audio, fix splash (!328)
device-xiaomi-santoni:
* Added initial audio support (generated by xml2ucm)
* Fixed splash screen size (720x1280), which also fixes the screen
  showing "posma"

firmware-xiaomi-santoni:
* Firmware files are added (contains ADSP and WCNSS firmwares), these
* files are from Developer ROM 03/29 by Xiaomi.

linux-xiaomi-santoni:
* Kernel updated to 3.18.138.
* Modernized GCC, it'll now compile with the latest GCC from Alpine.

[ci:skip-build]: already built successfully in CI
2019-04-21 22:39:58 +02:00
Oliver Smith
ffbbe41d63
main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

If somebody wants to bring back *and maintain* the wireguard
out-of-tree kernel module, I've documented how we had done it here:
https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Alexey Min
28ab7dc9f3
linux-samsung-klte: tidy up patches and add new: (!321)
* fix patch file names and reorder them properly
* add patch to fix framebuffer memory allocation
* add patch to fix compile warning for iptables plugin xt_connbytes
* add patch to properly assign MAC address for USB RNDIS
* add backport patch from upstream about O_PATH file descriptors

[ci:skip-build]: already went through successfully in CI
2019-04-18 23:19:03 +02:00
Alexey Min
e4623227ef
linux-samsung-klte: base downstream kernel source on lineage-14.1 branch (!321)
@drebrez originally based klte port on lineage-16.0 branch (Android 9),
but we need compatibility with Android 7.1, so use lineage-14.1 branch.

Also tidy up downstream kernel config a little bit (pass it through
pmbootstrap kconfig edit, change nothing, exit with saving).
2019-04-18 23:17:53 +02:00
Martijn Braam
9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Alexander Polynomdivision
8a58003d56
samsung-herolte: fix wifi firmware path (!316)
This patches the path that the kernel tries to load the Wifi chip's
firmware from. If someone with an Galaxy S7 Edge would test this -
although I have no reason to believe that it would not work on the Edge
- then this patch could also be applied to the linux-samsung-hero2lte
package.

[ci:skip-build]: already built successfully in CI
2019-04-15 20:28:26 +02:00
Federico Amedeo Izzo
6b9ef9fda0 nokia-n900: The power button suspends the device in i3. (!313)
With this patch the power button (the one you use to turn it on)
suspends the device. This should allow to save more energy with respect
to just turning the screen off (slider button).

I tested myself on Nokia N900.

[ci:skip-build]: already built successfully in CI
2019-04-12 23:00:02 +00:00
Alexander Polynomdivision
eadb61205e
device-samsung-herolte: new device (Samsung Galaxy S7) (!314)
This is basically just the packages for the Galaxy S7 Edge (hero2lte).
I only needed to change a few Kernel config options, so that the
colors are displayed correctly. The options regarding
CONFIG_PANEL_S6E3HF4_WQHD and CONFIG_PANEL_S6E3HA3_DYNAMIC probably
solve this issue, but I modified the other options as well. I got the
differences by diffing:
arch/arm64/configs/exynos8890-{hero2lte,herolte}_defconfig

Booting, USB networking and the display work! I can't say anything about
flashing via heimdall as this tool scares me. Following what WilliamO7
wrote on the device page, I flashed it by sideloading the android
recovery zip.

[ci:skip-build]: already built successfully in CI
2019-04-13 00:25:10 +02:00
Luca Weiss
a169c1335a
all: remove install scripts from source (!310) 2019-04-12 00:38:38 +02:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
km2
2e9beef9f2
samsung-i9003: support gcc8 (!307)
This patch forces the kernel to compile with gcc8 and includes by
default INSTALL_MOD_STRIP=1.
2019-04-08 20:45:42 +02:00
Tadeo Kondrak
1c4980bda5
htc-m7: new device (HTC One M7) (!306)
usb networking works

echo 100 > /sys/devices/platform/msm_fb.590593/leds/lcd-backlight/brightness
cat /sys/devices/virtual/graphics/fb0/modes > /sys/devices/virtual/graphics/fb0/mode

to get screen working

[ci:skip-build]: already built successfully in CI
2019-04-08 20:40:24 +02:00
Martin Piatka
e4aa322e33
htc-ace: switch to armv7 (!304)
Switches htc-ace to armv7. I was able to boot to xfce and everything
seemed to work fine.

[ci:skip-build]: already built successfully in CI
2019-04-07 16:06:53 +02:00
Nick Reitemeyer
39971739fa
surftab-wintron7.0: new device (TrekStor Surftab wintron 7.0) (!290)
This device is x86_64 and has a 32-bit UEFI, so I need to install
32-bit grub (AFAIK it's the only bootloader capable of loading a 64-bit
kernel from 32-bit).

The grub-efi-x86 package has been generated with pmbootstrap.
2019-04-04 19:58:24 +02:00
Luca Weiss
40d110fcc9 Change default NetworkManager DHCP client to dhcpcd (!278)
Remove the override in ouya-ouya (and in postmarketos-base) and add an
override for raspbery-pi3

Fixes #210
2019-03-29 14:53:47 +01:00
Federico Amedeo Izzo
97fd10aed4
oneplus-bacon: fix incorrect framebuffer refresh rate in Xorg (!294)
After this patch is applied, the phone boots in Xorg UIs like XFCE.

[ci:skip-build]: already built successfully in CI
2019-03-29 10:19:38 +01:00
Federico Amedeo Izzo
1ee8db41db samsung-klte: fix swapped red and blue (!291)
The problem behind swapped red and blue is inverted byte order in
framebuffer driver pixel format.
This patch sets the correct byte order in the framebuffer driver,
solving the swapped red and blue problem.

[ci:skip-build]: already built successfully in CI
2019-03-29 07:23:27 +00:00
Jakub Strzelecki
b19509a8fa
motorola-montana: new device (Motorola Moto G5s) (!286)
Initial starting point to get the device booting. The downstream kernel
repository can be improved, see discussion in the merge request.

[ci:skip-build]: already built successfully in CI
2019-03-29 08:04:13 +01:00
silver
568e035837 galaxy s relay support 2019-03-28 20:51:18 +00:00
Luca Weiss
874a309eed fairphone-fp2: fix swapped red and blue (!292)
Fixes the problem described in #211
2019-03-28 15:06:54 +00:00
Danct12
95198e12e9
xiaomi-santoni: use msm-3.18 upstream kernel (!289)
device-xiaomi-santoni: use mdss-fb-init-hack to refresh the display, and
swapfile to fix "out of memory" when loading proprietary blobs.

I have tested the kernel, USB Networking, Display, USB OTG, Wi-Fi (with
proprietary blobs) works fine, through I haven't figured out how to get
Bluetooth and among of other stuff to work. Audio works. For more
information on how to get Wi-Fi and Audio to work, check out the wiki
page for this device, I have updated it.

[ci:skip-build]: already built successfully in CI
2019-03-26 23:21:06 +01:00
Mis012
481bd4493b
asus-me176c: update kernel repository name (!251)
[ci:skip-build]: building takes longer than one hour
2019-03-25 09:50:30 +01:00
Federico Amedeo Izzo
38dbafb98e
oneplus-one: fix swapped red and blue (!287)
The problem behind swapped red and blue is inverted byte order in
framebuffer driver pixel format.
This patch sets the correct byte order in the framebuffer driver.

The previous workaround patch is removed because it fixes improperly
the red-screen issue, causing the swapped red and blue problem
that this commit solves

[ci:skip-build]: already built successfully in CI
2019-03-25 09:43:16 +01:00
knuxfanwin8
1672f9f5d3
samsung-lt01wifi: new device (Samsung Galaxy Tab 3 8.0) (!283)
[ci:skip-build]: already built successfully in CI
2019-03-20 08:14:38 +01:00
Robert Yang
2651b565e0
linux-ouya-ouya-mainline: Update kernel (!281)
- Initial memory frequency scaling driver
- Enable eMMC 1.8v DDR signaling mode
- Limit CPU frequency to avoid overheating
- Fix crash in xf86-video-opentegra driver

[ci:skip-build]: already built successfully in CI
2019-03-18 07:36:16 +01:00
Federico Amedeo Izzo
eebeb32a6c device-nokia-n900: Increase simple terminal font size to 12 (!280)
Also hardcode st instead of i3-sensible-terminal, because the font
parameter may not work with all terminals, and we want to use st on the
n900 anyway.
2019-03-16 12:47:56 +00:00
Konrad Dybcio
9efaad6d21 firmware: Move fw-sony-amami to fw-sony-rhine (!271)
Rename the firmware so it's clear that it's specific to the platform and
not only the amami device. Sony rhine platform includes as follows:
Xperia Z1 (honami)
Xperia Z1 Compact (amami)
Xperia Z Ultra (togari)
2019-03-12 06:49:09 +00:00
Luca Weiss
7a604328ac
fairphone-fp2: switch to armv7 (!273)
[ci:skip-build]: already built successfully
2019-03-11 09:50:32 +01:00
Michal Guba
3a9ab3c7e6 samsung-klte: Switch to armv7 (!272)
Tested. Works fine on klte. Boots to weston.

[ci:skip-build]: already built successfully
2019-03-11 08:41:05 +00:00
RONTheCookie
bc6d1dae35
lg-d722: new device (LG G3 Beat) (!267)
USB networking is functional.

[ci:skip-build]: already built successfully
2019-03-11 09:09:10 +01:00
Clayton Craft
d5888c52cc
device-purism-librem5dev: Depend on include mesa-purism-gc7000 packages (!236)
This changes the librem5dev package to depend on the new
mesa-purism-gc7000 packages, which provide support for the vivante
gc7000 GPU in this device.

[ci:skip-build]: already built successfully
2019-03-11 08:50:48 +01:00
Robert Yang
e0b9afc15e
device-ouya-ouya: Add Ouya mainline kernel (!269)
[ci:skip-build]: already built successfully in CI
2019-03-10 02:19:57 +01:00
Robert Yang
8f7ee135c3 device-ouya-ouya: Add NetworkManager config (!269)
Makes dhcp work on mainline and downstream kernel.

Disables p2p0 on downstream kernel. This isn't working on either kernel
anyways. It breaks wifi on the downstream kernel.
2019-03-10 02:19:51 +01:00
Robert Yang
e29c8ede3d device-ouya-ouya: Set cooling governor in initfs hook (!269)
This governor is meant for simple on/off cooling fans.
2019-03-10 02:19:51 +01:00