Commit graph

337 commits

Author SHA1 Message Date
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Wouter Franken
001de9e6dc linux-sony-yuga: modernize, use latest GCC (!107) 2018-12-18 08:00:09 +01:00
Zhuowei Zhang
e735c3f008
New device: google-crosshatch (Google Pixel 3 XL) (!83)
A lot of patching was necessary, see the merge request and device wiki
page for details. Thanks to opendata26 for helping with the port.

https://wiki.postmarketos.org/wiki/Google_Pixel_3_XL_(google-crosshatch)

[skip ci]: this hits the compile timeout
2018-12-12 06:56:17 +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
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
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
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
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
Konrad Dybcio
542acc1953
sony-tulip: new device (!77) 2018-11-27 07:52:26 +01:00
Oliver Smith
4468cf9b97
Various N900 improvements, change default i3 terminal to "st" 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
Martijn Braam
ab939626f5
device/device-tablet-x64uefi: new aport (!68) 2018-11-27 07:49:03 +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
Robert Yang
9b250a94a7
samsung-p4wifi: Add grate driver as dependency
[skip-ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
771612344d
other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00
Oliver Smith
9814d78e73
device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00
sylvieon
31386bfc02
wingtech-wt88047: initial support (xiaomi redmi 2) 2018-11-27 07:47:11 +01:00
Valentin Marinov
a5c1b210c9
linux-sony-amami: Backport getrandom to support libressl on linux < 3.17 2018-11-27 07:47:11 +01:00
Grant Miller
f30758fb4a
samsung-jflte: Modernize and fix splashscreen and osk-sdl 2018-11-27 07:47:11 +01:00
Rogier Oudshoorn
f02b100ee9
samsung-serranodsdd: new device (!48) 2018-11-27 07:47:11 +01:00
Luca Weiss
98c88bd9f6
Fairphone 1 support 2018-11-27 07:47:11 +01:00
Konrad Dybcio
9d8928f2a0
linux-sony-nicki: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Valentin Marinov
a82204c127
linux-sony-aries: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Valentin Marinov
9666ffaa98
device-sony-amami: Xperia Z1 compact needs /etc/fb.modes for charging-sdl 2018-11-27 07:47:11 +01:00
Valentin Marinov
6c015c95ae
linux-sony-amami: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
unrznbl
3324b51fdd
first step of porting motorola-harpia to motorola-surnia (Moto E) 2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Robert Yang
10cbdc7225
linux-samsung-i9100: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Danct12
b790d6f764
new device: ASUS Zenfone Go (Z00VD) 2018-11-27 07:47:11 +01:00
Oliver Smith
3d99fad482
linux-lg-mako: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Oliver Smith
4472448e6b
device/linux-*: make all kernels compile again
All kernels compile again, after the GCC 8 upgrade.

All 3.x kernels have been changed to use GCC 6 now, because we can't
say for sure that they boot with GCC 8 even if we made them compile
with that newer GCC. If someone wants to test a kernel for a newer
device which they can test, see the instructions on
<https://postmarketos.org/vendorkernel>.

The linux-sony-castor-windy 4.x kernel did not compile out of the box
with the latest GCC, so we set it to GCC 6 as well. This can probably
be fixed easily.

linux-teclast-x80-pro: removed Werror and updated to latest 4.14 kernel
from kernel.org, otherwise this would not compile anymore (tested with
both GCC 6 and 8, probably incompatibility with the latest binutils or
something).

This commit will take too long to compile in CI, so let's [skip ci].
I've compiled all kernels multiple times and fixed them up until all of
them were working again.

Related: #103
2018-11-27 07:47:11 +01:00
Martijn Braam
4e940e519d Enabled QCDT for motorola-osprey 2018-09-24 22:02:54 +00:00
Oliver Smith
13c1745f54
device/device-pine-a64lts: fix checksums 2018-09-17 06:46:06 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Paakke
ea51a511e0 Add new device: lg-w5 (LG L70) 2018-09-13 06:13:34 +00:00
Krait Bosheit Takoj
2fa7835e8a
added xorg.conf: explicitly declares to not use glamor, which was causing slowdown 2018-09-04 09:00:57 +02:00
Luca Weiss
8b39bafb50 Refresh Fairphone 2 packages 2018-08-23 18:40:19 +00:00
Oliver Smith
5f01e6c68b deviceinfo: prepend manufacturer to device name 2018-08-23 00:44:46 +00:00
Grant Miller
83312980ac Rename samsung-i9505 to samsung-jflte 2018-08-22 22:34:11 +00:00
JBBgameich
9804dc2e58 Update kernel config from Halium 2018-08-15 21:35:16 +00:00