Commit graph

1400 commits

Author SHA1 Message Date
Oliver Smith
c6e854b186
main/gcc{4,6}, cross/gcc{4,6}*: fix depends
Explicitly depend on mpc1. Our generated gcc aports use the !tracedeps
option, so we need to explicitly set the libraries it depends on.

This has mostly not been an issue, as we are installing our gcc
packages together with Alpine's gcc package, which causes the libraries
to get installed anyway.

Fixes #236.

[ci:skip-build]: takes too long to build.
2019-04-26 22:45:54 +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
Oliver Smith
7a0543c414
temp/libical: remove (fix was merged upstream)
See: https://github.com/alpinelinux/aports/pull/6986
2019-04-26 21:03:49 +02:00
Oliver Smith
b4ed4fce33
cross/busybox-static-*: update to 1.30.1-r1 2019-04-26 21:02:37 +02:00
Oliver Smith
e91b7e780e
main/pmbootstrap: update to 1.6.0
First release with crossdirect support, meaning crossdirect is stable
now!
2019-04-24 16:10:54 +02:00
Alexey Min
b758c7a4b2
samsung-klte: add nonfree_firmware() to device package (!327) 2019-04-24 15:52:04 +02:00
Alexey Min
973654c90a
firmware-samsung-klte: Samsung Galaxy S5 firmware (!327)
* only Wi-Fi for now (Broadcom bcmdhd)
2019-04-24 15:51:59 +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
d0f5d25e4d
hybris/lxc-android: patched config for the latest lxc version (!330)
The config file for container from Halium repo is outdated, and will not
load on latest version of LXC, here is the error when you start the container:

postmarketos:~$ sudo lxc-start android
lxc-start: android: confile.c: parse_line: 2447 Unknown configuration key "lxc.rootfs"
lxc-start: android: parse.c: lxc_file_for_each_line_mmap: 142 Failed to parse config file "/var/lib/lxc/android/config" at line "lxc.rootfs = /var/lib/lxc/android/rootfs"
Failed to load config for android
lxc-start: android: tools/lxc_start.c: main: 264 Failed to create lxc_container
postmarketos:~$

This pull request updates the config file, but also use the latest
commit.
2019-04-21 22:52:22 +02: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
Alexander Polynomdivision
548e9465f9
samsung-herolte: add wifi firmware (!309)
This adds the required firmware to allow ip link set wlan0 up, which
then enables Samsung Hero-Devices, the Galaxy S7 (herolte) and the
Galaxy S7 Edge (hero2lte), to connect to the Internet.
2019-04-18 23:08:43 +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
Robert Yang
5aa8866347
android-recovery-installer: Use an explicit list of zip file contents (!324)
The working directory can contain other files. For example pmbootstrap uses
the same directory for generating android recovery zip files. Extra files
can end up being archived into the recovery zip.

This change explicitly passes the list of files to be archived.
2019-04-18 21:10:21 +02:00
Oliver Smith
db9611cdab
py3-brotlipy: bump pkgrel after soname bump
Library doesn't exist anymore, so we need to rebuild the package:
so:libpython3.6m.so.1.0
2019-04-18 20:49:58 +02:00
Betty Cooper
4c42992532
main/postmarketos-artwork-wallpapers: new wallpaper (!320)
Use new wallpaper instead of the old one, and only install one wallpaper
file.
2019-04-18 20:34:40 +02:00
Bart Ribbers
3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00
Luca Weiss
de62525708
temp/weston: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:10 +02:00
Luca Weiss
517e93edc0
temp/lightdm: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:04 +02: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
Oliver Smith
1031ff82a6
CI: enable crossdirect again
All bugs should be ironed out now. Let's get some more testing by
enabling crossdirect in CI again. The crossdirect feature is still only
in pmbootstrap master, not in the latest pmbootstrap release. But if it
works without problems for some time, we're ready to make a release.

This reverts commit 6e3252e401.
2019-04-14 04:11:01 +02:00
Oliver Smith
2c07f28419
cross/crossdirect: use qemu when linking (!318)
Cross linker (e.g. ld from binutils-armhf) does not support any method
of setting additional link paths, and this causes problems when building
various packages. Work around this problem by calling the qemu binary
instead of the cross binary from the native chroot, whenever we are
linking.

I have tested that this allows successfully building hello-world,
coreinfo, libhybris for armhf. So this fixes #227 and fixes #228.

Regarding performance, this is the same way as distcc does it. We would
get a performance gain if we were able to use the cross-linker. But so
far I could not figure out how to patch the binutils source to make it
work like we want to have it. Maybe I'll ask on some binutils mailing
list for advice. In the meantime, this workaround should make
crossdirect work for all use-cases, and it is still faster than the
previous distcc setup, because we can avoid the overhead of setting up
and running a ssh server locally to work around missing authentication
in distcc (see pmbootstrap!1649). Let's test this for some more time,
and then make a pmbootstrap release that rolls out crossdirect for
everyone.
2019-04-14 04:03:21 +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
Robert Yang
77706b3b73
temp/qemu: Override upstream qemu package version (!312)
[ci:skip-build]: won't finish in time
2019-04-12 23:17:29 +02:00
Robert Yang
3f05e11467
temp/qemu: Link qemu static against jemalloc (!312)
Work around for issue #1715

Link qemu static binaries to jemalloc. This malloc implementation does not
appear to be susceptible to the deadlock after fork issue.
2019-04-12 23:16:37 +02:00
Robert Yang
1ec81fcdfe
temp/qemu: Package for x86 and x86_64 only (!312)
This is package is meant to work around the qemu static deadlock while
cross-compiling.

- pmbootstrap binfmt_misc chroots on arm hosts are untested
- upstream jemalloc package has armv7 disabled. It is uncertain what is
  wrong with jemalloc for armv7.

For these reasons, disable the arm packages.
2019-04-12 23:16:37 +02:00
Robert Yang
ea072f89f5
temp/qemu: Import qemu from upstream aports (!312) 2019-04-12 23:16:26 +02:00
Robert Yang
d4a468c24a
temp/jemalloc: Package for x86 and x86_64 only (!312) 2019-04-12 23:14:45 +02:00
Robert Yang
d6fdf52351
temp/jemalloc: Import jemalloc from upstream aports unmaintained repo (!312)
Taken from upstream aports @ 7af8be0e7aab4a5fe4315fb162850fad66aa7cb0
2019-04-12 23:14:38 +02:00
Robert Yang
24814b2ccb
xf86-video-opentegra: Compositing improvements (!311)
Includes pull request 51 from upstream.

[ci:skip-build]: already built successfully in CI
2019-04-12 01:03:28 +02:00
Robert Yang
e66967c06e
libdrm-grate: Caching improvements (!311)
Includes pull request 43 from upstream.
2019-04-12 01:02:57 +02:00
Robert Yang
e752240ee7
libvdpau-tegra: Fix drawing problems on tegra30 (!311) 2019-04-12 01:02:52 +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
Oliver Smith
9b6ea60690
cross/musl-*: update to 1.1.22-r0 2019-04-11 23:48:26 +02:00
Oliver Smith
467338098e
temp/libical: fix db.h: No such file or directory
Fix kcalcore build error. The same fix has been submitted to Alpine.

In file included from /home/pmos/build/src/kcalcore-18.12.3/src/icalformat.cpp:45:
/usr/include/libical/icalss.h:492:10: fatal error: db.h: No such file or directory
 #include <db.h>
          ^~~~~~

Related:
* https://gitlab.com/postmarketOS/pmaports/issues/229
* https://github.com/alpinelinux/aports/pull/6986
2019-04-08 21:55:12 +02:00
Bart Ribbers
40c126b925
kde/plasma*: upgrade to 5.15.4 (!298)
[ci:skip-build]: ollieparanoid made sure that this builds for x86_64,
                 armhf, armv7, aarch64
2019-04-08 21:12:15 +02:00
Oliver Smith
de7e9c1456
kde/kcalcore: rebuild after soname bump
missing depends: so:libical.so.2, so:libicalss.so.2, so:libicalvcal.so.2
2019-04-08 21:10:49 +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
Martin Piatka
7e742e2ca3 firmware/firmware-aosp-broadcom-wlan: add armv7 arch (!303) 2019-04-06 21:12:51 +02:00
Oliver Smith
3928475fd6 cross/grub-efi-x86: update to 2.02-15 (!302) 2019-04-06 01:30:29 +02:00
Oliver Smith
dfebf60c9b CI: upstream compatibility: add grub-efi-x86 (!302)
Make sure we keep it in sync with Alpine's version.
2019-04-06 01:29:32 +02:00
Alexey Min
fb784b6236
hybris/*: enable building for armv7 (!297)
[ci:skip-build]: simple arch change, building will probably take too
                 long
2019-04-06 00:29:55 +02:00
Oliver Smith
6e3252e401 CI: disable crossdirect for now (!301)
Disable it, until more bugs are ironed out (see pmaports issues,
everything related to crossdirect that is still open). Will be enabled
again soon.
2019-04-06 00:17:55 +02:00
rahmanshaber
8a22cce65e
coreapps/*: update to 2.5.0 (!296)
[ci:skip-build]: already built successfully in CI
2019-04-04 23:42:38 +02:00