Commit graph

3030 commits

Author SHA1 Message Date
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
Minecrell
900cb19576
qemu-*: move from testing to main (!1121)
For testing changes for device categorization, it is useful to have
a device in each of the categories. The PinePhone is close to being
moved to main/, but it doesn't fulfill all requirements yet.

The QEMU "device ports" are very simple since QEMU currently only
emulates a rather limited set of hardware features. All available features
are working correctly (especially after the recent rework of the QEMU
packages). I suppose it is also usable as a "daily driver", at least for
its intended purpose (a virtual machine for testing postmarketOS changes). :)

Given that everyone can run QEMU, everyone could potentially maintain
it. For now I have added myself as maintainer since I did most of the
recent cleanup. Add drebrez as second maintainer.

Overall it seems useful to have qemu-* in main/, especially because
it is now the device that is selected by default in pmbootstrap.
2020-04-11 15:47:49 +02:00
Minecrell
69efae2e0b
CI: test_directory_structure: Allow device/{community,main} (!1121) 2020-04-11 15:47:49 +02:00
Oliver Smith
e42d8487bd
pmaports.cfg: add channel (!1141)
Replace branch_pmos and branch_alpine keys (that were never used) with a
new channel key. pmbootstrap will look up the branches related to a
channel in channels.cfg of the master branch. While at it, modernize the
file.
2020-04-11 02:26:03 +02:00
Oliver Smith
c80d1c5fb2
channels.cfg: new file (!1141)
Let's add a nice file that defines the available release channels.
Upcoming pmbootstrap patches will make use of this in 'pmbootstrap init'
for example:

[20:46:22] Choose the postmarketOS release channel.
[20:46:22] Available (2):
[20:46:22] * edge: Rolling release channel
[20:46:22] * stable: Upcoming beta release (WIP, DO NOT USE!)
[20:46:22] Channel [edge]:

Closes: #519
2020-04-11 02:25:31 +02:00
Niklas Cathor
153f7ca342
samsung-kminilte: add wifi firmware package (!1127)
linux-samsung-kminilte: adjust paths where the bcmdhd driver expects firmware
device-samsung-kminilte: add "nonfree-firmware" subpackage
firmware-samsung-kminilte: new package

firmware post-install actions:
- enable "deferred-initcalls" in sysinit for wlan0 to be available
- force wpa_supplicant to use wlan0 instead of p2p0
(both based on script from device-samsung-klte package)

[ci:skip-build]: already built successfully in CI
2020-04-11 02:10:17 +02:00
Danct12
7f64e287e7
main/linux-postmarketos-allwinner: use rtl8723cs driver from kernel tree (!1002)
We'll use the new RTL8723CS driver in the kernel tree instead
of using the one that we have to fetch from GitHub.

Signed-off-by: Danct12 <danct12@disroot.org>
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>

[ci:skip-build]: already built successfully in CI
2020-04-11 01:48:52 +02:00
Antoine Fontaine
dafe96e37e
main/postmarketos-ui-weston: launch dbus with weston (!1118) 2020-04-11 01:44:18 +02:00
Luca Weiss
a81946781a
cross/crossdirect: fix rust breakage (!1139)
See:
* https://gitlab.alpinelinux.org/alpine/aports/issues/11349
* 7bb907ec23
2020-04-10 19:57:36 +02:00