Commit graph

897 commits

Author SHA1 Message Date
Nikolay
12f0b3ce80 Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido) (#1415)
* Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido)

* Update APKBUILD

* Update APKBUILD

* Wifi support for Xiaomi Redmi Note 4

* Update APKBUILD

* Download firmware from different repo for Xiaomi Redmi Note 4

* Split up cat line
2018-04-25 11:40:16 +02:00
Oliver Smith
f5d5a9be19 msm-fb-refresher: use initfs hook (#1438)
The `msm-fb-refresher` updates the screen for msm based devices. It is
not needed for all devices, so we had some extra code in the initramfs,
that would only add it when the `deviceinfo_msm_refresher` variable was
set. However, we are able now to add files to initramfs hooks, so this
hack can be removed and simplify everything.

Changes:
* Remove `deviceinfo_msm_refresher` from all deviceinfos
* Add sanity check for it
* Move all `deviceinfo` sanity checks to an extra function
* `postmarketos-mkinitfs`: remove code for msm refresher
* `msm-fb-refresher`: add initramfs hook
2018-04-24 21:09:53 +00:00
Sicelo
2f52a22248 Fix issues with lock.sh for i3wm/N900 (#1439) 2018-04-23 21:04:31 +00:00
Oliver Smith
340a17d98f Set all of user's groups in "pmbootstrap install" (#1432)
The postmarketos-base package used to make the user part of the "video"
and "audio" groups. However, this did not work reliably, and we were
adding the "wheel" group in "pmbootstrap install" anyway.

Now all groups get added in "pmbootstrap install", and the names of the
groups have been moved to `pmb.config.install_user_groups`.
2018-04-23 20:52:03 +00:00
j0ki
eda9b90f02 samsung-i9195: WiFi support (#1324)
* firmware-samsung-i9195: new wlan subpackage
* samsung-i9195: add wlan firmware to nonfree-firmware dependencies
* firmware-samsung-i9195: change pkgver to sequential numbering.
this breaks package management. be careful when updating this package.
the old version was `201707.1`, which is higher than `1.1.0`.
2018-04-23 20:43:46 +00:00
Jacob Juric
fae7e7a3df Initial support for Motorola Moto G4 Play (motorola-harpia) (#1437)
Currently, Weston boots with a working touch interface, and USB networking.
2018-04-22 21:12:48 +00:00
Oliver Smith
3bfc752cf3 Remove uboot-tools again (upstream is fixed)
Reverts 83633a9237026a86f34799cca326e14306682b69.
2018-04-21 20:39:25 +02:00
Nikk Saan
1acb17b164 Upgrade linux-pmos-stable to 4.16.2 (#1435)
Fix for n900 audio not working
2018-04-21 16:21:35 +00:00
Callum A. D. Thomson
ed35fbc94d Device samsung i8190 (Galaxy SIII mini) (#1428)
Working: Display, Touch, USB networking, FDE
2018-04-21 14:55:39 +00:00
alive4ever
844ef18c0c xiaomi-armani: load wlan module on default runlevel
Previous post install action results in loading wlan module during
sysinit. This is not possible since wlan device is only exposed after
wcnss-wlan service. This also delays ssh startup for approximately 3
minutes.

Loading wlan module should only be done on default runlevel, after
wcnss-wlan service has been started.

Also add a reference fb.modes file, although directfb applications still
doesn't work and cause the framebuffer driver to crash.
2018-04-21 01:17:51 +02:00
Bhushan Shah
21469fdb7e Properly style the plasma-mobile
This provides some configuration which provides better plasma mobile
experience in terms of scaling, fonts and theme
2018-04-21 00:37:57 +02:00
Bhushan Shah
2928b2ecbc Fix wireless on hammerhead after mainline move (#1430)
- Ship the wifi calibration data where upstream driver expects it
- Ship modules-load.conf to load wifi driver automatically

Fixes #1426
2018-04-20 17:21:22 +02:00
Duncan Guthrie
044c496fc5 New UI: matchbox (#1420)
Add matchbox-window-manager, matchbox-desktop, and their associated
dependencies.
2018-04-19 19:01:02 +00:00
Bhushan Shah
5d56b2855d Remove the linux-lg-hammerhead
The King is dead, long live the King!
2018-04-19 20:22:09 +02:00
Bhushan Shah
8a158f6fe8 switch the lg-hammerhead to linux-postmarketos-qcom
- Currently just graphics along with weston tested
- Depend on firmware-adreno from device-lg-hammerhead
- Reduce dep of linux-firmware
- Just pull qcom, bracm and adreno firmware
2018-04-19 20:22:09 +02:00
Bhushan Shah
f235a384db Modify adreno firmware package
- Remove a300_*.fw as they are in linux-firmware-qcom
- Install to /lib/firmware/qcom
2018-04-19 20:22:09 +02:00
Bhushan Shah
3930a95f9b Add newer version of libdrm (2.4.91) 2018-04-19 20:22:09 +02:00
Bhushan Shah
ef66300eee Add the linux-postmarketos-qcom package
This is based on the linux-postmarketos-mainline, uses the fork of
<https://github.com/postmarketOS/linux>
2018-04-19 20:22:09 +02:00
Oliver Smith
e7551a4d33 Temporarily package uboot-tools as workaround
This package is currently broken in Alpine's binary packages for
the testing repository, and their build bot is stuck with another
package. In turn, this makes our package building for the repo get
stuck, as we can't build device-nokia-n900 (and it stops there).

See also: #1408
2018-04-17 17:31:09 +02:00
Sicelo
9a80884957 Less Firmware Dependencies for N900 (#1414) [skip ci] 2018-04-15 21:33:41 +00:00
Bart Ribbers
bc0cf15634 Update KDE Frameworks to 5.45 (#1413) 2018-04-15 21:24:48 +00:00
fjmax
5d5071573e Initial support for motorola-athene (#1412)
Working: USB network, display
Known not working: "pmbootstrap flash kernel" (kernel size too big)
2018-04-15 18:15:34 +00:00
Mayeul Cantan
69fdf24589 Add initial device support for Sony Xperia T3 (sony-seagull) (#1389) 2018-04-13 18:04:13 +00:00
Oliver Smith
97f94c593e Update musl-* to upstream (1.1.19-r7) 2018-04-11 23:45:58 +02:00
NotKit
c9b6e30e76 Package libhybris (#1402)
As discussed in #1039, I want to split feature/hybris branch into
smaller sensible pull requests.

This is the first one that simply adds android-headers and libhybris
packaging. libhybris allows apps compiled with glibc (musl in our case)
to load Android libraries that utilize bionic libc, which is used to
load proprietary userspace drivers.

The package isn't very useful on its own and requires core (non-UI/Java)
Android services to be running in some way - either in Halium-style LXC
container or in same root as main OS with modified init (Mer/Sailfish do
it this way). Both ways are tested to work in postmarketOS.

libhybris also includes some tests, not all of them are known to be
representative, but test_vibrator and test_egl_configs are usually good
indicators if system is set up correctly.
2018-04-10 21:13:42 +00:00
Oliver Smith
386dec5c1a Update musl-* to upstream (1.1.19-r6) 2018-04-10 22:18:07 +02:00
Nick Boone
9ff62bc5da Initial Work for HTC One M8 Port (#1392)
* Progress can be followed in #1206
* Kernel boots with device tree from LineageOS and can
  be installed by android recovery zip
* Networking comes up at boot but there's not display yet
2018-04-09 22:11:32 +00:00
Bart Ribbers
d372f6f000 Bump pkgrel due to libressl soname upgrade (#1400)
Affected packages:
* qca-qt5
* qt5-qtbase
* libsamsung-ipc
2018-04-09 16:29:57 +00:00
Lionel Duboeuf
26d23c674d update oneplus2 kernel (#1399) 2018-04-06 18:37:23 +00:00
Oliver Smith
a7e49ff158 Remove sdl2 aport again (fix is merged in Alpine) 2018-04-05 00:08:19 +02:00
Michael Hamann
24b2c2f799 Add SDL2 from Alpine Linux, force-enable directFB 2018-04-04 23:30:12 +02:00
Alexandroid99
fc18a8cf75 New device: htc-flounder (#1309) 2018-04-04 00:27:11 +00:00
Oliver Smith
63f921fbac pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363)
* As discussed in IRC/matrix, we're removing `linux-postmarketos-lts`
  for now. The kernel isn't used right now, and we save lots of
  maintenance effort with not updating it every week or so.
* new config option `"kernel"` with possible values:
  `"downstream", "mainline", "stable"` (downstream is always
  `linux-$devicename`)
* ask for the kernel during `pmbootstrap init` if the device package
  has kernel subpackages and install it in `_install.py`
* postmarketos-mkinitfs: display note instead of exit with error when
  the `deviceinfo_dtb` file is missing (because we expect it to be
  missing for downstream kernels)
* device-sony-amami:
  * add kernel subpackages for downstream, mainline
  * set `deviceinfo_dtb`
* device-qemu-amd64: add kernel subpackages for stable, lts, mainline
* test cases and test data for new functions
* test case that checks all aports for right usage of the feature:
  * don't mix specifying kernels in depends *and* subpackages
  * 1 kernel in depends is maximum
  * kernel subpackages must have a valid name
  * Test if devices packages reference at least one kernel
* Remove `_build_device_depends_note()` which informs the user that
  `--ignore-depends` can be used with device packages to avoid building
  the kernel. The idea was to make the transition easier after a change
  we did months ago, and now the kernel doesn't always get built before
  building the device package so it's not relevant anymore.
* pmb/chroot/other.py:
  * Add autoinstall=True to kernel_flavors_installed(). When the flag
    is set, the function makes sure that at least one kernel for the
    device is installed.
  * Remove kernel_flavor_autodetect() function, wherever it was used,
    it has been replaced with kernel_flavors_installed()[0].
* pmb.helpers.frontend.py: remove code to install at least one kernel,
  kernel_flavors_installed() takes care of that now.
2018-04-03 23:50:09 +00:00
Decatf
0a5bbce93c Update linux-samsung-p4wifi to kernel 4.16 (#1386)
* Specify a device tree binary file for p4wifi kernel
Previously the p4wifi kernel was using Android patches which append the
dtb to zImage in the kernel makefile.

Now follow mainline kernel convention of leaving the zImage and dtb
separate. Follow postmarketOS convention of specifying dtb file in
deviceinfo.
* Use linux-postmarketos-mainline APKBUILD build functions for p4wifi
* Update linux-samsung-p4wifi to kernel 4.16
- Use mainline broadcom bluetooth hci driver
- Use mainline atmel_mxt_ts driver
- Use mainline stmpe811 mfd driver and add stmpe811 ADC block
2018-04-03 23:29:11 +00:00
Decatf
eb6b3d22fe Update busybox-static-* to upstream (1.28.2-r3) (#1387) 2018-04-02 23:33:34 +02:00
Daniele Debernardi
bfce4aae18 apk-file: Update to version 0.3.0 and new repository (#1382) 2018-04-02 00:02:12 +00:00
Oliver Smith
30076c1acc qt5-qtbase: bump pkgrel because of soname bump
This doesn't exist anymore:
so:libmysqlclient.so.18
2018-04-01 01:38:23 +02:00
Oliver Smith
eedbcf05d3 musl-*: use default Alpine mirror
Otherwise the test/test_aportgen.py case fails.
2018-03-31 20:46:39 +02:00
Oliver Smith
da846f1441 Update musl-* to upstream (1.1.19-r4) 2018-03-31 17:27:49 +02:00
Oliver Smith
25b2af90c7 Update musl-* to upstream (1.1.19-r3) 2018-03-30 23:46:45 +02:00
Aerotinge
e024767d05 New device: hTC Desire 816 (htc-a5ul) (#1378)
Signed-off-by: Aerotinge <wang.wander@gmail.com>
2018-03-30 19:28:45 +00:00
Oliver Smith
3ff97e906c Update busybox-static-* to upstream (1.28.2-r1) 2018-03-30 18:48:51 +02:00
Lionel Duboeuf
99c649cb5b re-enable RDP for weston (#1377)
RDP is the Remote Desktop Protocol. Usage information:
https://wiki.postmarketos.org/wiki/Weston
2018-03-30 16:44:40 +00:00
Oliver Smith
e6f9e31426 Update musl-* to upstream (1.1.19-r2) 2018-03-30 18:07:04 +02:00
Aerotinge
d25edc898b New device: hTC Incredible S (htc-vivo) (#1365) 2018-03-30 00:05:41 +00:00
Lionel Duboeuf
5c65c3e95c New device: oneplus oneplus2 (#1366)
Based on work by @NotKit, thanks!
2018-03-28 21:10:12 +00:00
Oliver Smith
f468d3ed7e Disable metadata_csum when generating ext4 rootfs (#1367)
Some downstream kernels don't support this, and this recently became
the default in e2fsprogs.
2018-03-28 18:00:18 +00:00
Oliver Smith
914fda97fd Bump pkgrels for soname bump: libboost_filesystem
This doesn't exist anymore: so:libboost_filesystem.so.1.62.0
Affected packages are all from LuneOS UI:
* activitymanager
* mojoservicelauncher
* nodejs-module-webos-dynaload
2018-03-28 19:37:29 +02:00
Oliver Smith
c300dde6a4 Update busybox-static-* to upstream (1.28.2-r0) 2018-03-28 19:35:33 +02:00
Daniele Debernardi
5f6afd3b39 Add additional files into initramfs when debug-shell is installed (#1358) 2018-03-26 18:12:58 +00:00