Commit graph

1053 commits

Author SHA1 Message Date
Oliver Smith
017376be29
cross/busybox-static-*: update to 1.29.3-r4 2018-12-10 07:45:05 +01:00
Свободные Мобильные Технология
f5e57dc9fd
linux-samsung-i9003: install kernel modules (!98)
The modules wl12xx, mac80211 and cfg80211.ko are assembled as modules,
but due to the lack of the command 'make modules_install' in APKBUILD,
these modules are not included in the finished package. Because of this,
it was impossible to launch Wi-Fi on Samsung-i9003.
2018-12-10 06:54:37 +01:00
Robert Yang
d7b3ea9b5f
linux-samsung-p4wifi: update to kernel 4.19 (!97)
Modernize the APKBUILD. Load reboot mode kernel module, and uinput
kernel module (used by bluetoothd).

User facing changes:
* Uses some mainline sensor drivers.
* Fixes bluetooth audio stuttering (needs some userspace fixes though).

Various code refactoring happened. I tried to write a better looking
display panel driver rather than reuse the downstream driver. Not
quite there yet though.
2018-12-06 08:02:26 +01:00
Daniele Debernardi
bde7c3b90b
linux-samsung-klte: modernize, update sources (!94)
Use latest sources from LineageOS, instead of the ones from andip71.
The APKBUILD is modernized to use the devicepkg-dev but unfortunately
compiling with gcc8 it doesn't boot.

The kernel config is updated with the required options to start the
lxc-android container and xf86-video-hwcomposer works
(tested with xfce4).

My plan was to add the firmware-samsung-klte with the subpackages for
the wifi blobs and a precompiled android system.img to use with
libhybris, but my device just died and I'm not able to power it on (I've
probably burnt the Power IC 😢)
2018-12-06 07:16:45 +01:00
Grant Miller
b99764378c
linux-samsung-jflte: disable virtual framebuffer (!96)
Weston and Plasma Mobile were incorrectly choosing the virtual
framebuffer instead of the real one.
2018-12-05 08:55:16 +01:00
Piotr Halama
dfedbf6485
samsung-s6500d: fix red screen (!95)
Fix red screen by setting CONFIG_FB_MSM_DEFAULT_DEPTH_ARGB8888=y, the
other patch from the wiki didn't work on this kernel:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-12-05 08:13:35 +01:00
Grant Miller
15a1f45a4d
linux-samsung-jflte: modernize and use gcc8 (!92)
Kernel still compiles and boots.
2018-12-04 07:42:48 +01:00
NeKit
4c085ddf54
libhybris: replace 7.1-caf pkg with separate test_hwcomposer binary (!88)
As observed on UBPorts, hwcomposer implementation on Android 7 CAF (non-Nexus
Qualcomm) devices has slight differences in employed structs, which makes
them binary incompatible with AOSP headers.

Halium 7.1 android-headers extracted from LineageOS include those
modifications (e. g. https://github.com/Halium/android-headers/blob/halium-7.1/hardware/hwcomposer.h#L290),
so it is enough to add QTI_BSP/QCOM_BSP to defines of programs utilizing
those headers. In case of libhybris, only test_hwcomposer is affected so
far on 7.1 (might be not true for Android 5.1/6!).

This change avoids providing libhybris-7.1-caf package by building a
separate binary of test_hwcomposer for affected devices.
2018-12-04 07:16:25 +01:00
Sicelo
ec1016b385
Set tabbed layout as default for i3 on N900 (!91)
For i3 on the N900, which seems to be the only device using i3 at the
moment, I thought using Tabbed workspace layout as the default would be
best, since the screen is quite small, and having two split windows can
quickly make it impractical.

With this commit, all new windows will be created in tabbed
configuration. It is still possible to switch to stacking or standard
layout as needed, using the appropriate shortcut keys.
2018-12-03 23:40:17 +01:00
Daniele Debernardi
e090a0a498
msm-fb-refresher: also do ioctl on errors (!89)
I noticed that some times the framebuffer driver gets configured in a
way that the ioctl performed by msm-fb-refresher returns something lower
than zero:

0ed263db09/drivers/video/fbmem.c (L877-L911)

For example when the Xorg starts I noticed it does a ioctl BLANK and
UNBLANK, but if msm-fb-refresher performs a ioctl in that moment it
stops its loop and exit.

For this reason I lost a lot of time trying to understand what was the
problem with Xorg not displaying anything until I noticed that I had
to restart the msm-fb-refresher.

With this change we don't have to care about msm-fb-refresher as it will
continue call ioctl PAN even if the framebuffer returns some negative
error code.
2018-12-03 23:33:03 +01:00
Piotr Halama
aaf1fbe17a
samsung-s6500d: use gcc8 (!86)
It finally compiles with GCC8 and modernized prepare()

Signed-off-by: Piotr Halama <skrzynka@halamix2.pl>
2018-12-03 22:56:11 +01:00
Grant Miller
242ab9ac7a
Recreate gcc8-fix-put-user.patch without context (!87)
gcc-fix-put-user.patch doesn't apply cleanly to any kernel that
includes commit 538094 ("ARM: 8051/1: put_user: fix possible data
corruption in put_user") or a backport of it because the surrounding
lines (context) of the patch are different:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=537094b64b229bf3ad146042f83e74cf6abe59df

This commit fixes the problem by removing the context from the patch. It
also changes linux-sony-amami, linux-sony-aries, and linux-sony-taoshan
to use the shared patch.

I have confirmed that all six affected kernels still compile. [skip ci]
2018-12-03 22:37:05 +01:00
rendeko
6e7c39bbe7
New device: Ouya (!80)
Ouya boots. Install instructions are being refined, but device does
boot through fastboot. Hoping to merge into master to encourage others
to contribute to the device.
2018-12-03 21:19:18 +01:00
Oliver Smith
7aded95988
Revert "linux-*: use upstream gcc6 [skip ci]"
This reverts commit ee659a5bb4
and increases the pkgrels of all affected linux pmaports.

I have compiled *every single kernel* that was modified with this
commit, and it worked. That took 12 hours. So I'm pretty confident that
this is a good commit. Let's roll it out and go back to stability \o/

I'll kick off the binary repo building directly after pushing this, but
it will take some time until all binary packages are available again.

[skip ci]: it wouldn't finish in time.
2018-12-01 12:10:10 +01:00
Oliver Smith
a1acf0128d
linux-infocus-flatfish: fix race condition
Add -j1 to compiling the standby code, which is compiled separately
already. This change seems to make the kernel always compile, I've
tried it 6 times, 3 times of that with pmbootstrap's "--no-ccache"
option. It got past an error about 30 seconds into the build, which
happened roughly 2 out of 10 times:

gcc6-armv6-alpine-linux-muslgnueabihf-ld: cannot find standby.o: No such file or directory

I thought, this was related to gcc6 changes, or to changes in abuild,
but both were not the case.

Grant Miller confirmed that this fixed the build, he was able to
compile the kernel ten times in a row with this commit.
2018-12-01 12:03:15 +01:00
Oliver Smith
afd26b3b97
Revert "main/gcc6: delete in favor of Alpine's gcc6"
This reverts commit d56a2facfb
and changes the main/gcc6 pkgrel to 9999, so it will always be higher
than Alpine's version.
2018-12-01 11:59:48 +01:00
Oliver Smith
9a009ca393
various kde: increase pkgrel after soname bumps 2018-12-01 03:03:41 +01:00
Oliver Smith
1c0108f836
main/pmbootstrap: update to 1.0.4 2018-12-01 02:54:17 +01:00
Oliver Smith
9933a27128
temp/gcc6: remove again
The purpose of this package was to fill in until it is built in Alpine.
However, it takes forever to build the foreign arch versions. That's
due to the fact that GCC is compiling it self, and then the distcc
cross compiler magic does not work. Not worth it. [skip ci].
2018-11-30 19:34:37 +01:00
Oliver Smith
fd20344cff
temp/gcc6: adjust the APKBUILD so it builds with pmbootstrap
Further adjustments. It would have been better if I tried to build
it first, sorry for that. Another patch is coming in the pmbootstrap
repo, which makes it work even without the gcc6 pmaport.
2018-11-30 09:51:38 +01:00
Oliver Smith
7a6e8aa044
temp/gcc6: remove misleading second pkgname line
Remove the pkgname="$pkgname" line from the APKBUILD, this confuses
pmbootstrap.
2018-11-30 08:59:36 +01:00
Oliver Smith
5cef6135da
temp/gcc6: add until Alpine builds it for arm
Copy Alpine's gcc6 aport to temp. They don't have it built for aarch64
and armhf at the moment. Due to dependency checks, this means we can't
build the kernels that need gcc6, even when cross compiling with
gcc6-armhf etc. See #138 for details.
2018-11-30 08:53:28 +01:00
Grant Miller
ee659a5bb4
linux-*: use upstream gcc6 [skip ci]
Adjust HOSTCC to work with Alpine's version.
2018-11-29 09:16:00 +01:00
Grant Miller
d56a2facfb
main/gcc6: delete in favor of Alpine's gcc6
Alpine Linux ships their own GCC6 package now (side by side with GCC8):
https://git.alpinelinux.org/cgit/aports/commit/?id=f76673fb030820b2053cad7e5b81ece31079d4cc
2018-11-29 09:16:00 +01:00
Oliver Smith
a9570538e2
weston: update to 5.0.0
pmaport recreated on top of Alpine's current aport. The --pixman-type
patches were removed, it would have needed to be rewritten to work with
newer Weston source code. It is a Weston specific workaround for a
problem with the downstream kernels, so this is better fixed in the
kernel source code:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21

The ABGR patch was rebased and submitted for upstreaming here:
https://gitlab.freedesktop.org/wayland/weston/merge_requests/61

Fixes #136.
2018-11-29 07:52:48 +01:00
Oliver Smith
0ab7ce3676
tests: check for deviceinfo_weston_pixman_type
Make sure this obsolete option won't be used by future devices.
2018-11-29 07:31:06 +01:00
Oliver Smith
81c3b3c2dd
devices: remove deviceinfo_weston_pixman_type
This is not supported anymore, see previous commit for reasoning.
2018-11-29 07:31:06 +01:00
Oliver Smith
b4e50f18be
postmarketos-ui-weston: remove --pixman-type hack
Do not add --pixman-type to the commandline, when
deviceinfo_weston_pixman_type is filled out.

--pixman-type was enabled in Weston with a custom patch, that currently
prevents us from upgrading Weston (#136).

The option allowed working around broken framebuffer drivers in
Android downstream kernels, which reported the wrong color format.
But it only works for Weston, the right way to patch this would be
patching the kernels, and we have some approaches here:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-11-29 07:31:06 +01:00
Oliver Smith
d4e4d02774 pmos-ui-plasma-mobile: enable software rendering
When rendering on framebuffer, always do software rendering. This
should make it possible to boot up Plasma Mobile on most devices with
downstream kernels, although terribly slow. Still better than a black
screen though. Tested and working on the samsung-i9100.

We can improve the code and possibly make the rendering mode
configurable per device once we experimented more with:
* llvmpipe vs. softpipe on various devices
* armv7 (around the corner in Alpine)
* a proper display manager like lightdm
2018-11-28 06:31:40 +00:00
Luca Weiss
069a27c331
mkbootimg-osm0sis: update to 2018.10.27 2018-11-27 20:18:58 +01:00
Konrad Dybcio
542acc1953
sony-tulip: new device (!77) 2018-11-27 07:52:26 +01:00
PureTryOut
48b497e22d
kde-frameworks/*: update to 5.52.0 [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
ffee5d6a4a
cross/busybox-static-*: update to 1.29.3-r3 2018-11-27 07:47:11 +01:00
Martijn Braam
18366bb90b
main/postmarketos-splash: add --raw (!75) 2018-11-27 07:50:28 +01:00
Daniele Debernardi
e371209b29
fbdebug: Add options to retrieve the colormap and set the fb mode 2018-11-27 07:47:11 +01:00
Oliver Smith
4468cf9b97
Various N900 improvements, change default i3 terminal to "st" 2018-11-27 07:47:11 +01:00
PureTryOut
7728b65460
temp/qt5-qtdeclarative: rebuild to resolve graphic issue introduced by !63 2018-11-27 07:47:11 +01:00
Piotr Halama
87434c2062
sony-taoshan: add Sony Xperia L 2018-11-27 07:47:11 +01:00
Oliver Smith
1358b1a91d
cross/gcc-*: update to upstream (8.2.0-r1) 2018-11-27 07:47:11 +01:00
Oliver Smith
80a704e1c6
cross/binutils-*: regenerate aports (update src url)
Download URL was changed from HTTP to HTTPS in Alpine's binutils
aport. Adjust our automatically generated binutils-* aports.
2018-11-27 07:47:11 +01:00
Martijn Braam
ab939626f5
device/device-tablet-x64uefi: new aport (!68) 2018-11-27 07:49:03 +01:00
Oliver Smith
4dbbfbc0ba
main/postmarketos-ui-i3wm: fix lightdm autostart 2018-11-27 07:47:11 +01:00
Oliver Smith
a777bf071b
kfilemetadata: bump pkgrel after soname bump 2018-11-27 07:47:11 +01:00
PureTryOut
eb582ea44e
main/postmarketos-ui*: use lightdm for X11 UIs 2018-11-27 07:47:11 +01:00
Michael Hamann
aefde918c3
linux-samsung-n5110: backport getrandom syscall #107
This is a simple backport of the getrandom syscall. It does not
include other changes to the random interface like periodic or
late re-seeding which might be necessary to get good random numbers.
2018-11-27 07:47:11 +01:00
Oliver Smith
2f125587fe
cross/busybox-static-*: update to 1.29.3-r2 2018-11-27 07:47:11 +01:00
Oliver Smith
46aaf093f0
pmos-ui-plasma-mobile: disable angelfish, vvave
Both depend on qt5-qtwebengine, which needs to be rebuilt in Alpine
after the soname bump of libavformat [1]. Disable them for now, so
plasma mobile can still be installed, and the pmbootstrap test case
that installs it runs through again.

[1]: https://github.com/alpinelinux/aports/pull/5586
2018-11-27 07:47:11 +01:00
Oliver Smith
c7096e13ad
kde/kfilemetadata: rebuild after soname bump
in libavformat.so
2018-11-27 07:47:11 +01:00
Oliver Smith
70a3d3b9d5
cross/*-x86_64: remove aports
These can be manually generated when one really wants to cross compile
from arm to x86_64. Usually this is not needed, so let's save the
compile time. [skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
9b250a94a7
samsung-p4wifi: Add grate driver as dependency
[skip-ci]
2018-11-27 07:47:11 +01:00