Commit graph

979 commits

Author SHA1 Message Date
Pierre Parent
5db8fd724c
main/pmos-mkinitfs: wait for rootfs, framebuffer
Fix Nexus 5 (hammerhead) boot and framebuffer issues at startup by
waiting up to 10 seconds until the rootfs and /dev/fb0 have been
found. Waiting for the framebuffer device can be disabled by setting
deviceinfo_no_framebuffer=true in the deviceinfo.
2018-11-27 07:47:11 +01:00
Luca Weiss
ea0040efc1
pmos-android-recovery-install: copy mtk symlinks
Copy Mediatek /emmc@partitionname symlinks to the chroot. This is
needed on Mediatek devices because the fstab file references the
partitions using those symlinks (which the kernel creates - for
whatever reason - in the root directory) and otherwise we don't know
which partition is which.
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
Bart Ribbers
bd38a672bb
main/pmbootstrap: update to 1.0.2 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
PureTryOut
2d2e53e95b
maemo/hildon*: update to latest upstream versions 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
Robert Yang
da08bebb0b
devicepkg-dev: Make downstreamkernel_prepare callable from any folder
Removes the need to cd $builddir before calling downstreamkernel_prepare
in a kernel APKBUILD prepare function.
2018-11-27 07:47:11 +01:00
PureTryOut
2274c1326d
Remove internal qmltermwidget from index, resolves #111 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Daniele Debernardi
632dac179d
chocolate-doom: Remove package 2018-11-27 07:47:11 +01:00
Danct12
b790d6f764
new device: ASUS Zenfone Go (Z00VD) 2018-11-27 07:47:11 +01:00
PureTryOut
9e7e7c4bc4
Add some new KDE applications 2018-11-27 07:47:11 +01:00
Bart Ribbers
c62b3642dc
Remove unnecessary source of /etc/deviceinfo 2018-11-27 07:47:11 +01:00
Daniele Debernardi
f1841337e7
apk-file: Remove package 2018-11-27 07:47:11 +01:00
Oliver Smith
c7dd66ad40
increase min. required pmbootstrap version
Also related to the GCC6/GCC8 kernel changes.
2018-11-27 07:47:11 +01:00
Oliver Smith
652105d7fc
increase pmaports version
After all the GCC6-as-extra-package related changes.
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
ea45d2d4ed
devicepkg-dev: ship compiler-gcc.h for GCC8
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.

The file is from Decatf's android_kernel_samsung_p4 repository, where
it was taken from upstream Linux, but adjusted to work with older
vendor kernels (different #ifndef check at the top etc).

bd0772df21/include/linux/compiler-gcc.h
2018-11-27 07:47:11 +01:00
Oliver Smith
b90a4abbe0
add shared patches for GCC8 compatibility
This introduces a new .shared-patches folder. New
"pmbootstrap aportgen" code will make use of this, and create symlinks
to the patches inside that folder when running
"pmbootstrap aportgen linux-..." (or using the new device wizard).
2018-11-27 07:47:11 +01:00
Pierre Parent
7dca9c4703
Fix hammerhead (Nexus 5) backlight. 2018-11-27 07:47:11 +01:00
Pierre Parent
45d4d7ec58
Remove CONFIG_SERIAL_MSM_CONSOLE from conf to avoid booting loops when no serial cable plugged in.
see https://gitlab.com/postmarketOS/pmaports/issues/105
partial revert of f2a27fc0df
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
Bart Ribbers
1303b77c08
Bump pkgrel of qt5-qtbase and libphonenumber to resolve soname 2018-11-27 07:47:11 +01:00
Oliver Smith
c2f57b050e
bump pkgrel 2018-11-27 07:47:11 +01:00
Sebastian Fleer
e7f828b07f
networkmanager: use built in dhcp client
Network Manager does not support dhcpcd with IPv6. Fixes issue #45
2018-11-27 07:47:11 +01:00
Daniele Debernardi
084663e6cc
linux-postmarketos-qcom: Enable serial console 2018-11-27 07:47:11 +01:00
Luca Weiss
12d0e92bf5
Add editorconfig file from Alpine
(this text is copied too)
If a user has an editorconfig plugin for their editor,
it will enforce tabs instead of spaces for indentation
for APKBUILD files. It ignores other files in the repo.
2018-11-27 07:47:11 +01:00
NotKit
d3c369bc43
Update libhybris and add more related packages 2018-11-27 07:47:11 +01:00
Daniele Debernardi
e07a79aa5d
Add initfs hook which causes a kernel panic (useful for debugging) 2018-11-27 07:47:11 +01:00
Oliver Smith
dd17dc5c06
*/gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1b78e64748
*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith
7e89296ab4
*/gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbef543cd
*/gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith
1ffa59d892
cross/gcc-*, cross/gcc6-*: regenerate [skip ci]
GCC6 cross compiler packages, based on the latest pmbootstrap
aportgen code. Related: #103
2018-11-27 07:47:11 +01:00
Oliver Smith
7bff136eea
main/gcc6: symlink for objcopy is also required
With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

Details described in #103.
2018-11-27 07:47:11 +01:00
Oliver Smith
4101340742
main/gcc6: first changes for gcc6 cross compilers
* remove everything that causes conflicts when installing gcc6 and
  gcc6-armhf side by side
* fix up the existing "if cross compiling" code path to use the
  /usr/gcc6 prefix
* link binutils binaries to the locations they are expected to be
  by gcc (this took me hours to figure out....) as well as by the
  linux build system with CROSS_COMPILE
* link all gcc binaries to /usr/bin/gcc6-*
2018-11-27 07:47:11 +01:00
Oliver Smith
479055e896
cross/busybox-*: update to 1.29.3-r0 2018-11-27 07:47:11 +01:00
Oliver Smith
737cff798a
Add gcc6 aport
Based on the last version from Alpine, but installed to /usr/gcc6 and
with pretty much everything disabled except for the C compiler.

We can probably throw out a lot of patches, and make the APKBUILD much
smaller. But let's focus on making it possible to compile old kernels
again first. There's still a lot to do for that, see #103.
2018-11-27 07:47:11 +01:00
Oliver Smith
56f1e0c10f
cross/gcc-*: upgrade to gcc 8.2.0 [skip ci]
Skipping CI, because it would probably not finish building all of them.
Major breakage incoming. Details discussed here:
<https://gitlab.com/postmarketOS/pmaports/issues/103>
2018-11-27 07:47:11 +01:00
Oliver Smith
022240425a
cross/binutils-*: update to 2.31.1-r1 (+ patches)
I've missed the patch files in the previous commit, my bad.

This reverts commit 71ffb78557d34408286681d03e41dc612c0b63e1.
2018-11-27 07:47:11 +01:00
Oliver Smith
17ba355220
cross/binutils-*: update to 2.31.1-r1 2018-11-27 07:47:11 +01:00