Commit graph

2938 commits

Author SHA1 Message Date
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
David Heidelberg
4743398054
testing/device-*-*: drop libdrm-grate leftovers (MR 1184)
Normal libdrm is enough for everything now.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-04-25 09:55:08 +02:00
Alexey Min
af415ffd65
temp/qt5-qtbase: rebuild against icu-67.1
Follow-up to cbc6b9fcd7

Build locally for both armv7 and aarch64 fine.

[ci:skip-build] x86_64 build is disabled anyway

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2020-04-25 03:06:36 +03:00
km2
510c6ecee7
device-zte-p731a20: add soc-sprd-audio dependency (MR 1182) 2020-04-25 01:45:46 +03:00
Minecrell
fa48c74443
device/testing/linux-asus-me176c: upgrade to 5.4.35 (MR 1180)
[ci:skip-build] Already built on CI in MR
2020-04-25 01:40:32 +03:00
David William Richmond Davies-Jones
bef5dc9ae8
samsung-chagallwifi: new device (MR 1174)
This gets the Samsung Galaxy Tab S 10.5 Wifi (samsung-chagallwifi) working at a very basic level.
Full instructions of how to flash the device etc are already on the wiki at
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_S_10.5_WiFi_(chagallwifi)
2020-04-23 18:37:24 +02:00
David Heidelberg
c26e8fc454
temp/libdrm-grate: library is inside mesa/opentegra/vdpau-tegra, drop (MR 1179)
All parts using it already has it inside, no standalone build required.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-04-23 18:28:20 +02:00
David Heidelberg
02e1144b23
temp/libvdpau-tegra: bump version, remove libdrm-grate dependency (MR 1179)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-04-23 18:28:20 +02:00
David Heidelberg
4b011c82cf
temp/xf86-video-opentegra: update, remove dep on libdrm-grate (MR 1179)
- remove dep on libdrm-grate, libdrm is enough
- add armv7 (keep deprecated armhf for now)

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-04-23 18:28:19 +02:00
Antoine Fontaine
5adbde19ba
main/postmarketos-ui-kodi: disable armhf build (MR 1178)
fixes https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1176

[ci:skip-vercheck] does not require rebuild
2020-04-23 15:57:39 +03:00
Antoine Fontaine
dc9160c2af
main/postmarketos-ui-kodi: fix startup and missing deps (MR 1176)
fixes the desktop file:
* add -- to make cage ignore kodi's arguments
* add --standalone to kodi's arguments

update the dependencies:
* add upower as kodi tries to communicate with it to read battery status
* add pulseaudio as kodi complains it is missing
* add elogind as it is required for cage to run
* remove xorg-server

Fixes #469
2020-04-23 11:31:24 +03:00
lazzardo
0b0f1a8c44
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition) (MR 1159)
bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)

bq-paella: new device (BQ Aquaris X5 Cyanogen Edition)
2020-04-22 22:10:04 +02:00
Minecrell
bfe15c5c85
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7-rc2 (!1167)
- Update to Linux 5.7-rc2
- Initial support for BQ Aquaris X5 (bq-paella/picmt)
- Add speaker for samsung-gt510wifi/matissevewifi
- Add flash LED for wileyfox-crackling
2020-04-22 20:12:31 +02:00
Minecrell
53a58e9bd7
device/testing/soc-qcom-msm8916: upgrade (!1167)
- Enable speaker on samsung-gt510wifi/matissevewifi
- Replace deprecated mesa-dri-freedreno package with mesa-dri-gallium
- Build natively (this is just a trivial copy)
2020-04-22 20:12:31 +02:00
Martijn Braam
7fe23a3b33
device-pine64-pinephone: update for 5.6 kernel (!1143) 2020-04-22 12:06:38 +02:00
Martijn Braam
e5ae9d8e2d
main/linux-postmarketos-allwinner: update to 5.6.0_git20200410 (!1143) 2020-04-22 12:06:35 +02:00
Martijn Braam
8782f12e22
temp/u-boot-rockpro64: upgrade to 2020.04 (!1171)
* Upgrade to the released stable version of upstream u-boot.
* Added patch to make the led on the Pinebook Pro light up earlier
* Added the update-u-boot script from Alpine with updates for the rk3399
  devices
2020-04-22 10:34:24 +02:00
Martijn Braam
f8adf2b16c
device-pine64-pinebookpro: fix ucm paths (!1172) 2020-04-21 20:28:59 +02:00
Oliver Smith
3f613360c4
channels.cfg: adjust to latest reference
Remove mirrordir_pmos and change stable branch name to v20.05.

Related: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1912#note_327544608
2020-04-20 21:57:22 +02:00
HenriDellal
467ed09ec3
nobby-230: update device- and linux- packages (MR 1165)
Changes:
- Add audio package dependency;
- Replace panel driver with one from stock kernel (thanks to bnister);
- Change keyboard layout so it's fully supported in X11.

[ci:skip-build]: already built successfully in CI
2020-04-20 20:38:42 +02:00
Martijn Braam
a134f3fc22
device/pine64-{pinebookpro,rockpro64}: new device (MR 882)
[ci:skip-build]
2020-04-20 14:39:00 +03:00
Martijn Braam
02435b0b41
temp/u-boot-rockpro64: new aport (MR 882) 2020-04-20 14:09:42 +03:00
Martijn Braam
f9a19babd6
temp/arm-trusted-firmware: new aport (MR 882) 2020-04-20 14:09:39 +03:00
Raatty
57ca8a9987
main/lightdm-mobile-greeter: upgrade to version 2 (MR 1161) 2020-04-20 05:07:27 +03:00
Federico Amedeo Izzo
b887fb2139
bq-gohan: new device (BQ Aquaris X5 Plus) (MR 1164)
[ci:skip-build] Already built successfully on CI in MR
2020-04-19 16:14:50 +03:00
Julian Braha
606b723450
motorola-ali: new device (Motorola Moto G6) (MR 1071)
[ci:skip-build] already built on CI in MR
2020-04-19 02:17:28 +03:00
HenriDellal
9e923e0561
testing/soc-sprd-audio: new package (MR 1162)
This commit adds initial support for sprdphone sound card and sc8830-audio
device. sc8830-audio is common audio device used in different Spreadtrum SoCs.
This configuration was tested on Nobby 230 (SC7715GA), Finepower F1 (SC7731C),
Samsung Galaxy J1 mini (SC8830). It should work for many other SoCs as well.
Now, if someone wants to have somewhat working audio, they just have to add
soc-sprd-audio-sc8830 package to depends of device- package and that's it.
soc-sprd-audio is only for generic configuration (set sprdphone as default
sound card and provide headphone jack detection).
What works:
- Speaker and headphones output;
- Headphone jack detection (based on udev rules from device-xiaomi-santoni);
- Microphone works on both headphones and device itself.
Spotted issues:
- Recording volume is low;
- Recording is done only on right channel.
2020-04-18 23:39:36 +03:00
Daniele Debernardi
5ead73e86c
CI: use pmbootstrap lint for checking packages (MR 1132) 2020-04-18 11:50:02 +02:00
Daniele Debernardi
233ec0d21c
CI: return output of common.run_pmbootstrap (MR 1132) 2020-04-18 11:49:57 +02:00
Niklas Cathor
99d6f504e6
samsung-kminilte: disable v4l udev rules (MR 1160)
With the camera driver (VIDEO_EXYNOS_FIMC_IS) enabled, the system
would randomly panic during startup. Even though the camera does
not currently work on this system, the driver is nonetheless enabled
to make the flashlight work.

The panics seem to be triggered by udev's "v4l_id", which queries
capabilities of video4linux devices.

This change adds a udev rules file, to override the behavior of udev's
default rules for v4l.
2020-04-16 10:06:55 +02:00
Minecrell
e129e3ddb0
device/device-<msm8916-mainline>: minor cleanup and fixes (MR 1125)
- Cleanup kernel cmdline:
  - earlycon can automatically detect the memory address of
    the UART controller based on the device tree
  - the comma before n8 in console=ttyMSM0,115200,n8 is actually
    invalid so this was not parsed correctly. However, it is the
    default anyway so we might as well remove it completely

- Configure deviceinfo_getty for all devices

- Workaround probe issue of display by adding a softdep on the panel
  module. This allows the display to work when excluding proprietary
  firmware (just a weird side effect, see comment in modprobe.conf...)
2020-04-14 12:48:04 +02:00
Minecrell
9444bb309c
wileyfox-crackling: remove downstream kernel (MR 1125)
The device port gets increasingly hard to maintain with all the differences
between the downstream and the mainline kernel. Especially deviceinfo
has quite some duplication only because the downstream kernel needs to be
handled as well.

The mainline port has much more features working. The only limitation
compared to the downstream kernel is the lack of a proper charging driver.
But even on downstream postmarketOS the battery driver is not working
properly for some reason.

For charging, a downstream installation in recovery seems more suitable
at the moment. Eventually we will build some functionality into the
bootloader to load a simple downstream initramfs when the device gets
booted for charging.
2020-04-14 12:42:58 +02:00
Danct12
7282dcdcbb
linux-xiaomi-lavender: add patch to fix framebuffer on X11 (MR 1142)
Signed-off-by: Danct12 <danct12@disroot.org>
[ci:skip-build]
2020-04-14 01:40:23 +02:00
Antoine Fontaine
9f6c41c832
main/postmarketos-ui-xfce4: set XDG_RUNTIME_DIR (MR 1151)
working towards #458. See [1] for an explaination

 [1]: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1131#note_318923711
2020-04-14 01:33:08 +02:00
Federico Amedeo Izzo
41735b5190
oneplus-bacon: enable mainline kernel (MR 1137)
The dts for oneplus bacon was already present in linux-postmarketos.

I adjusted the APKBUILD and deviceinfo to be able to use both downstream and mainline kernels
2020-04-14 01:15:42 +02:00
lazzardo
424266950b
bq-picmt: new device (BQ Aquaris X5) (MR 1134) 2020-04-14 00:51:28 +02:00
Oliver Smith
8f79b6f5b2
CI: use install-pmbootstrap.sh from ci-common repo (MR 1147)
This script is used by multiple repositories by now, let's make sure we
only have one place where we need to maintain it. The version in
ci-common is shellchecked and displays less output for 'pmbootstrap
init' again (unless it fails, then it shows the whole log).
2020-04-14 00:43:44 +02:00
Oliver Smith
1ca30ec53f
.bpo/install_pmbootstrap.sh: remove (MR 1147)
This file is not used anymore by the bpo code, so remove it.
2020-04-14 00:43:44 +02:00
rxbnDE
0fa3ead28e
leeco-s2: add firmware, fix fbdev, initial support for audio (MR 1129) 2020-04-13 22:52:04 +03:00
rxbnDE
95498daf1f
linux-leeco-s2: upgrade to 3.10.108 (MR 1129) 2020-04-13 22:52:02 +03:00
rxbnDE
86d0ff673f
firmware-leeco-s2: new aport (MR 1129) 2020-04-13 22:51:58 +03:00
RedFox arch
8a99b46f8d
xiaomi-cacus: new device (MR 1145)
Splash logo displayed.
SSH over USB works,
Weston works.
Port build scripts to python3.
2020-04-13 21:02:13 +03:00
Niklas Cathor
5acf41a60e
linux-samsung-kminilte: add flashlight support (MR 1150)
These changes enable the flashlight LED driver (fled_rt5033), and add
support for switching the light on and off from userspace.

In more detail:

* CONFIG_FLED_RT5033 enables the flashlight driver
* CONFIG_VIDEO_EXYNOS_FIMC_IS is required for the flashlight driver to
  compile (there seems to be a lot of cross-dependency between the two
  drivers)
* patch 0001 fixes the use of usleep (which no longer exists), to make
  the kernel compile with those settings

With these changes, /sys/class/flashlight/rt-flash-led shows up in
sysfs, but it's only possible to control the brightness of the LED,
not to switch it on.

Patch 0002 is what actually makes the flashlight usable: it makes
the /sys/class/flashlight/rt-flash-led/mode file writable.

Writing "Torch" there enables the flashlight, writing "Off" disables
it again. "Mixed" mode works like "Torch" as well. I have not figured
out yet how to trigger the camera flash, so setting the mode to
"Flash" is possible, albeit pointless.
2020-04-13 19:08:19 +03:00
Dolphin von Chips
ef7f4514a7 cross/grub-efi-x86: upgrade to 2.04-r1 2020-04-13 12:40:23 +05:00
Niklas Cathor
6e75bf0e40
main/postmarketos-mkinitfs: fix mkbootimg call for devices w/o dtb (MR 1148)
Don't pass empty arguments to mkbootimg, when _second or _dt are not set.
2020-04-12 19:51:22 +02:00
Oliver Smith
961e14dcac
cross/musl-*: upgrade to 1.1.24-r6 2020-04-12 15:27:26 +02:00
Dolphin von Chips
e5b9623017
mrhlpr.json: change suffix in commit names (MR 1146) 2020-04-12 03:52:48 +03:00
Oliver Smith
23c58a681f
main/postmarketos-mkinitfs: modules from files (!1123)
Read kernel module names from files in
/etc/postmarketos-mkinitfs/modules and print out which modules are
required by which of these files as the initramfs gets generated. Put
the default modules into a new 00-default.modules. This allows mkinitfs
hooks to add modules to the initramfs.

Parse the modules from a file similar to modules-load.d, with commented
lines and empty lines ignored. Add a simple test script for that and run
it in check().
2020-04-12 00:56:22 +02:00
Oliver Smith
3e7604601a
main/postmarketos-mkinitfs: split mkinitfs funcs (!1123)
Split mkinitfs.sh into two files, so the functions (now in
mkinitfs_functions.sh) can be sourced in a test. Such a test will be
added in the next commit.

Move $BINARIES_EXTRA into the get_binaries_extra() function, so its
$(find...) does not get executed when sourcing the functions file. Move
$BINARIES into get_binaries() too for consistency.
2020-04-12 00:56:22 +02:00
Oliver Smith
74f42ebeb0
main/postmarketos-mkinitfs: pass shellcheck (!1123)
Make it pass shellcheck by fixing obvious mistakes like '==' instead of
'='. Add "shellcheck disable" lines for things that are intentionally done
or would be a bit more complicated to rewrite. It would be nice to
refactor some things like '${outfile/initramfs-/uImage-}', but this should
be done in a separate change (patches welcome).

Remove unused variable "modules_path". While at it, add two new fatal
error messages instead of just "exit 1" without any comment and remove
redundant mkdir in APKBUILD.
2020-04-12 00:56:17 +02:00