Commit graph

1055 commits

Author SHA1 Message Date
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
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
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
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
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
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
Niklas Cathor
22db6d0541
samsung-kminilte: change arch to armv7 (!1130)
- disable CONFIG_CRYPTO_SHA256_ARM, since it causes the build to fail with:
    arch/arm/crypto/sha256-core.S:1831: Error: thumb conditional instruction should be in IT block
2020-04-07 08:56:59 +02:00
Alexey Min
3456f5fad0
xiaomi-lavender: new device (Xiaomi Redmi Note 7) (!1095)
[ci:skip-build] already built on CI (in 1.5 hours)
2020-04-06 04:38:56 +03:00
Zhuowei Zhang
129f93ec5b
google-crosshatch: update downstream kernel to LineageOS 17.1 kernel (!1040)
This updates google-crosshatch's downstream kernel to Lineage 17.1's
version (4.9.200, shared with Lineage's Pixel 3a port).

The newer kernel is needed because this device's kernel requires a
matching dtbo partition. The previous kernel would fail to boot with an
Android 10 dtbo partition.

Two patches were removed: Android 10's bootloader no longer passes the dm
or skip_initramfs boot arguments because of the new dynamic partitions
(https://source.android.com/devices/tech/ota/dynamic_partitions/ab_legacy).

Changes from the LineageOS kernel config:
https://gist.github.com/zhuowei/89b4135ff27e88f5a3dd3e4bf3cd31ab

Tested by booting to USB networking and debug-shell: I have not tested
flashing full pmOS using this kernel yet.

For some reason, on this kernel, when pmOS can't find system partitions
during the "Trying to mount subpartitions for 10 seconds..." stage, it
waits for 70 seconds instead of 10 seconds. I'm not sure why. It does go
to debug-shell correctly after a minute.

[ci:skip-build]: already built successfully in CI
2020-04-05 14:27:17 +02:00
Dolphin von Chips
176555a4a1
**/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +02:00
Luca Weiss
7e8259ca58
pine64-pinephone: fix microphone in ucm (!1113)
Both internal microphone and headset microphone are working reasonably well now out of the box.
2020-04-05 02:20:17 +02:00
Minecrell
612d29d598
device-*: remove redundant installation of modules-load.conf/modprobe.conf (!1124)
This is now automatically installed in devicepkg_package.

[ci:ignore-count]: this should build fine in CI.
2020-04-04 21:17:22 +03:00
Minecrell
6127a5b4b2
samsung-i927: remove mesa-demos from depends (!1124)
mesa-demos is currently broken in Alpine since it needs a rebuild.
However, a device port shouldn't force installation of something like
mesa-demos so we should remove it anyway.
2020-04-04 21:17:15 +03:00
Alexey Min
469265294e
samsung-klte: refactor firmware packages, add modules to initfs (!1090)
* make modules_initfs same as lg-hammerhead
  (fixes postmarketOS splash logos at boot)
* split out downstream-firmware and mainline-firmware
* add firmware-adreno to firmware-mainline subpkg
* prepare deviceinfo file to mainline kernel
2020-03-30 20:34:34 +02:00
Luca Weiss
d01f1c73a2
fairphone-fp2: add modules into initramfs (!1090) 2020-03-30 20:34:34 +02:00
Daniele Debernardi
f2fed1f6f0
device-nokia-n900: switch speaker/headset with jack detection (!1087) 2020-03-29 19:07:20 +02:00
Daniele Debernardi
87ea0c5519
device-raspberry-pi*: fix boot error caused by missing dtb files (!1047)
The upstream linux-rpi package has been modified: the dtb files
are now located in /boot/dtbs.
2020-03-29 13:48:53 +02:00
Jami Kettunen
d2484443d6
oneplus-dumpling: new device (OnePlus 5T) (!1110)
These files are just a copy paste of the regular OnePlus 5 ones with
adjusted codename, display name and screen height.

The used kernel is linux-oneplus-msm8998 (shared with cheeseburger).
2020-03-28 22:30:15 +02:00
Jami Kettunen
6f4cd8c4ab
oneplus-cheeseburger: remove dev_touchscreen entry from deviceinfo (!1110)
The line is redundant as the touchscreen is detected and works fine
without it.
2020-03-28 22:30:15 +02:00
Jami Kettunen
dbdb5d5b3f
oneplus-cheeseburger: rename kernel package to linux-oneplus-msm8998 (!1110)
This is in preparation for adding in support for the OnePlus 5T
(dumpling) on top of the regular OnePlus 5 (cheeseburger).

Both devices use the same kernel so the name change just makes sense.
2020-03-28 22:30:14 +02:00
Jami Kettunen
f2bf1b2f5f
linux-oneplus-cheeseburger: update to v4.4.217 (!1110)
Might as well update the downstream kernel when someone (nathanchance)
is merging in updates as they come out for the linux-stable 4.4.y series
¯\_(ツ)_/¯
2020-03-28 22:30:14 +02:00
Dolphin von Chips
400835b6e3
samsung-j1mini3g: switch to dtbtool-sprd (!1103) 2020-03-26 20:04:31 +01:00
Maksym Pertsov
75afbd7b72
nokia-beatles: new device (Nokia 2720 Flip) (!1097) 2020-03-26 13:41:32 +01:00
Clayton Craft
b020c93299
librem5/librem5dev: upgrade package (!1102)
This fixes a bug where the package does not install some files as
expected.

For the librem5 package, this also generates the modemmanager
subpackage, which was missed in testing/review earlier.
2020-03-25 23:23:58 -07:00
Clayton Craft
f4f2dfa635
linux-purism-librem5: upgrade to 5.6.0_rc7+librem5.1 (!1102)
Changelog:
8adc003c8d
2020-03-25 20:39:14 -07:00
Clayton Craft
4e24b4e791
librem5: upgrade package to enable new features (!1099)
This upgrades the package to include:

        - Support for usb serial console (only in OS, not in u-boot)
        - udev rule to fix phone calls with modemmanager using the
          broadmobi modem in the phone
        - The beginnings of usb network support (still not functional
          yet)
        - Enable framebuffer in the deviceinfo, pmos logo on boot!

The udev rule and module configs were gathered from upstream Purism
PureOS.
2020-03-25 19:39:09 -07:00
Ferenc Bakonyi
f9dc6ff15c
lg-hammerhead: add rmi_i2c module into initramfs for early touchscreen (!1101) 2020-03-25 14:36:08 +00:00
Clayton Craft
b895c2ecb6
librem5{dev}: upgrade and bump pkgrel (!1033)
This adds new subpackages for phosh, plasma, and a new dependency on the
phone device package for wys (in Alpine Linux)

This adds subpackages for pulseaudio, phosh, and plasma mobile, and
includes some configuration files from upstream Purism for udev and
pulseaudio that help with audio a bit (though phone audio routing is
still weird/broken for now..)

The separate subpackages for phosh and plasma are necessary becuase they
each use a different modem handling daemon (modem manager and ofono,
respectively).
2020-03-23 14:09:27 -07:00
Clayton Craft
6dd6cb5b5c
linux-purism-librem5: upgrade to 5.6.0+librem5.1 (!1033) 2020-03-23 14:03:38 -07:00
Icenowy Zheng
1e97a59bcf
pine64-pinephone: add vibration when booting (!1089)
Add a vibration feedback, along with the LED feedback when booting.
This is suggested by TL Lim.

When trying to power up the phone with holding it in the hand, vibration
feedback is more obvious than LED.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
2020-03-23 10:17:57 +01:00
javabird25
790cda59be
xiaomi-whyred: new device (Xiaomi Redmi Note 5 Pro) (!1088)
Started porting pmOS to Xiaomi Redmi Note 5 Pro (whyred).
What works so far:
 - Booting
 - SSH over USB
 - SD card detection (haven't tried flashing to internal storage because
   i'm afraid of bricking the device due to anti-rollback)
 - Vibration and LEDs
 - Screen
 - Hardware buttons
 - Touchscreen

Untested:
 - WiFi
 - Camera
 - Audio
 - Bluetooth
 - GPS
 - Calls, SMS, Cellular network
2020-03-23 10:15:48 +01:00
mgulin
3bbd79925d
tokio-techbook: new device (!579)
[ci:skip-build]: already built successfully in CI
2020-03-21 22:55:49 +01:00
knuxify
630c9c2af9
samsung-lt01wifi: updates (!1081)
- Proper WiFi support (building modules, firmware package)
- Architecture change to armv7
- Fix no MAC address on USB networking

[ci:skip-build]: already built successfully in CI
2020-03-21 22:04:37 +01:00
Paul Cercueil
b14dcd097f
samsung-i9100: Change arch to armv7 (!1074)
The Samsung GT-I9100 is armv7, not armhf.

[ci:skip-build]: already built successfully in CI

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2020-03-21 21:59:51 +01:00
Mayeul Cantan
e638031a65
pine64-pinephone: setup modem audio before starting ofono (!978)
This commit sets setup-modem-audio.initd to be executed before ofono, as
it changes the modem configuration and resets it.
2020-03-21 21:37:31 +01:00
Mayeul Cantan
3ca081f4dd
pine64-pinephone: reset modem after applying configuration (!978)
The datasheet says that the AT+QDAI audio routing configuration is saved
to non-volatile memory directly, and therefore needs a modem reset to be
applied.

This commits changes the audio routing configuration script to first
check for the current configuration, and only change it if it is
different from the one wanted.

The new configuration is then sent, and modem is reset to apply
configuration.
2020-03-21 21:37:05 +01:00
Daniele Debernardi
d4181b1926
testing/device-nokia-n900: use linux-nokia-n900 (!1073) 2020-03-21 21:11:39 +01:00
Daniele Debernardi
57556f30da
testing/linux-nokia-n900: new aport (!1073) 2020-03-21 21:11:34 +01:00
Krzysztof Bezrąk
e1e1d7fa07
motorola-peregrine: change arch to armv7 (!1083) 2020-03-21 16:55:20 +01:00
Dolphin von Chips
f8dc44354c
motorola-montana: add support for WiFi (!1082) 2020-03-21 12:42:50 +01:00
knuxify
aa32a4df76
samsung-baffinlite: new device (!1057) 2020-03-20 23:28:27 +03:00
Dolphin von Chips
edc20209d8
motorola-montana: activate touchscreen (!1077) 2020-03-19 16:11:26 +01:00
Minecrell
b5983e7939
samsung-i9195: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:14 +01:00
Minecrell
b1e88f5583
lg-hammerhead: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:10 +01:00
Minecrell
d2bbd7056b
fairphone-fp2: bump pkgrel (!1079)
The pkgrel bump in !1032 got lost during a rebase, rebuild the package to fix:
ERROR: Could not find dependency 'modem-qcom-msm-mainline-common' in any aports folder or APKINDEX.
2020-03-19 15:31:05 +01:00
Dolphin von Chips
909181402b
device/device-oneplus-oneplus3t: update dependencies (!1076) 2020-03-18 21:28:17 +03:00
Dolphin von Chips
dbd40179fb
device/device-oneplus-oneplus3: update dependencies (!1076) 2020-03-18 21:28:12 +03:00
Minecrell
942861a3cb
modem/modem-qcom-msm-{mainline,downstream}: combine to msm-modem (!1032)
Combine modem-qcom-msm-{mainline,downstream}-common to a single APKBUILD
with mainline and downstream subpackages.

Enable rmtfs service here instead of directly in the package.

[ci:skip-vercheck]: for qrtr version fix
2020-03-18 14:09:29 +01:00
Martijn Braam
9389a83f40
device/pine64-pinetab: use faster u-boot (!1049) 2020-03-18 13:57:31 +01:00
Martijn Braam
7dc2a08552
device/pine64-pinephone: use faster u-boot (!1049) 2020-03-18 13:57:28 +01:00
Minecrell
2854a798be
sony-amami: use linux-postmarketos-qcom-msm8974 for mainline (!1064)
This device is probably broken at this point, but since we want to
remove linux-postmarketos-mainline/stable it really has best chances
to work (somewhat) on linux-postmarketos-qcom-msm8974.
2020-03-18 13:38:44 +01:00
Lauren Kelly
16e73360dc
alcatel-pop7lte: new device (Alcatel OneTouch Pop 7S) (!1072)
This commit adds support for the Alcatel OneTouch Pop 7S (pop7lte),
a 2014 MSM8226-based tablet, using manufacturer's downstream kernel.

Currently working: display, USB networking, Weston

Firmware is packaged for WiFi and audio but the downstream kernel tree
doesn't seem to include drivers for the qcom wlan chip, only wcnss.

Additionally, audio mixer config is missing as I haven't been able to
find it in the stock Android 4.2.x ROM's filesystem yet.

Please note that this commit adds support *only* for model P330X,
which is not to be confused with similarly-named incompatible devices,
the Pop 7 (also 2014 w/ MT8312) and the Pop 7 LTE (2016 w/ MSM8909).

Signed-off-by: Lauren Kelly <lauren.kelly@msn.com>
2020-03-15 21:47:07 +03:00
Minecrell
83d1f27196
device: move .shared-patches to device/.shared-patches (!1068)
All the downstream kernels reference ../../.shared-patches in their
symlinks. Now that we have moved device ports to device/testing/*,
those symlinks are no longer working.

Changing the path would require fixing all downstream packages *and*
a new pmbootstrap release. Overall it seems easier to move the
.shared-patches folder to device/.shared-patches.

Since it is only relevant for downstream kernel packages in device/
that might be a better place in general.
2020-03-15 16:24:28 +03:00
Oliver Smith
64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00
Minecrell
ac7650f9ae
qemu-*: cleanup, use consistent hardware (!1029)
pmbootstrap now configures consistent QEMU hardware for all architectures.
This means that the device package for amd64/aarch64 is now almost identical,
except for the architecture and the name of the serial port.

pmbootstrap always uses virtio-gpu now (but not necessarily virgl),
so there is only one consistent set of initfs modules we need to configure
for both architectures.

Also add the xfce4 package from amd64 to aarch64, exactly the same
problem with the wallpaper exists there.
2020-03-14 07:58:28 +01:00
Minecrell
8edb11157b
qemu-*: drop linux-postmarketos-mainline/stable kernel option (!1029)
We haven't been maintaining linux-postmarketos-mainline/stable very
well. Let's recommend use of one of the Alpine kernels which are actively
updated with new LTS updates (see #464).

This simplifies upcoming refactoring of the QEMU device ports,
which may (or may not) work with the more minimal kernel configurations
in linux-postmarketos-mainline/stable.
2020-03-14 07:58:28 +01:00
Minecrell
7a52ff4b46
qemu-*: set screen resolution to 1024x768 (!1029)
For some reason, the default SDL UI has been using 1024x768 for a while
now. This causes the splash screen to look weird because it is too small.

Now that pmbootstrap tries to configure 1024x768 in all cases
we can change the resolution for the device ports.
2020-03-14 07:58:28 +01:00
Minecrell
6bfe39d804
qemu-*: remove "USB" Internet hack, disable dhcpcd (!1029)
QEMU has its own DHCP server, which provides the necessary routes
and DNS server to access THE INTERNET. Trying to make QEMU provide
something similar to our usual USB network (by starting our our DHCP
server) will just confuse everything and break Internet access in most
cases.

Remove all our custom setup and let QEMU handle all the hard work.
2020-03-14 07:58:28 +01:00
Minecrell
97f3533128
qemu-*: install mesa-dri-gallium (!1029)
mesa-dri-swrast and mesa-dri-virtio are actually provided by the same
package in Alpine now, so the selection in pmbootstrap does not have
any use. Always install mesa-dri-gallium instead.
2020-03-14 07:58:28 +01:00
Minecrell
15e8bc344a
qemu-vexpress: remove (!1029) 2020-03-14 07:58:13 +01:00
Minecrell
10581d2755
asus-me176c: load goodix touchscreen module in initfs (!1042)
This is needed for touchscreen input in osk-sdl.
2020-03-14 05:58:06 +01:00
Minecrell
24d4ccb827
asus-me176c: add alsa-ucm-conf to dependencies (!1042)
This is needed for audio to work properly.

Also change meson buildtype to "plain", see
https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
2020-03-14 05:57:29 +01:00
Dolphin von Chips
a5a2d0b5f4
device/linux-motorola-montana: use downstreamkernel_package (!1026)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2020-03-14 01:39:47 +01:00
Dr. Git
212b03dc36
{oneplus-oneplus3,oneplus-oneplus3t}: new device (OnePlus 3/3T) (!923) 2020-03-13 12:39:25 +01:00
Konrad Dybcio
b2512db132
motorola-thea: new device (!1058) 2020-03-13 00:32:11 +01:00
Gaëtan André
af2dc4cb94
samsung-matissevewifi: new device (Samsing Galaxy Tab 4 10.1 WiFi (SM-T533)) (!1030)
Adds samsung-matissevewifi support using msm8916-mainline/linux kernel.

- Device can boot.
- USB network is working.
- Can connect to device using SSH.
2020-03-11 19:14:44 +01:00
Minecrell
63583355e4
samsung-a5lte: new device (Samsung Galaxy A5 - SM-A500F) (!1024)
SM-A500F is pretty much identical to SM-A500FU (note the U),
but it needs different firmware for some reason.
2020-03-11 20:02:19 +03:00
Minecrell
1cc0348301
device/device-*: remove remaining deviceinfo_dev_keyboard (!1048)
This property was never actually used anywhere, as far as I can tell.
2020-03-10 18:28:09 +03:00
Minecrell
48b6e76b5e
device/device-*: bump pkgrel (!1036)
All device ports have been changed in one of the previous commits,
so do one pkgrel bump for all of them using:
  $ pmbootstrap pkgrel_bump device-*

[ci:ignore-count]
2020-03-09 10:06:11 +01:00
Minecrell
c4477f9105
device/device-*: manually fix up remaining deviceinfo_year (!1036)
Don't set any deviceinfo_year for qemu-* and tablet-x64uefi,
it wouldn't be very accurate.
2020-03-09 10:06:08 +01:00
Minecrell
de2bba9e58
device/device-*: automatically add deviceinfo_year from wiki (!1036)
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv

cd device
for device in device-*; do
	year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv)
	[[ -n "$year" ]] || continue
	sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo"
done

devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo)
pmbootstrap checksum $devices
2020-03-09 10:06:06 +01:00
Minecrell
7ef5bc00d1
device/device-*: remove invalid deviceinfo_dev_touchscreen lines (!1036)
Attempting to use a stable device path there does not actually work,
so we might as well remove it and hope that directfb can now automatically
detect the touchscreen for osk-sdl.
2020-03-09 10:06:03 +01:00
Minecrell
e302eff0bc
device/device-*: remove empty touchscreen(_calibration) / dev_keyboard (!1036)
Most devices do not need to set any of these variables.
directfb can now automatically detect touchscreens, calibration is
only needed for resistive touchscreens and dev_keyboard is unused.

Automatically done using:
  - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
2020-03-09 10:06:00 +01:00
Danct12
52f04befaf
device/linux-xiaomi-santoni: fixed framebuffer colors (!1037)
Change the framebuffer depth from RGBA8888 to BGRA8888.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-08 21:05:30 +01:00
Danct12
4e794694a3
xiaomi-santoni: update UCM to UCM2 and improvements (!1039)
Audio stopped working after alsa-lib-1.2.1, this patch fixes it
by adapting it to ucm2 format.

As well as some improvements to HiFi:
- Remove SpeakerMic as it was just HandsetMic without conflict
with Speaker
- Remove some unnecessary conflicts with ports
- Add input/output priorities

Co-Authored-By: Asriel Dreemurr <asriel.danctnix@gmail.com>
2020-03-08 21:00:23 +01:00
ky0ko
33cce38062
motorola-def: new device (Moto One Hyper) (!1023)
This adds basic functionality for the Moto One Hyper.
The device boots with rootfs on sd, booted by 'pmbootstrap flasher boot'.
USB net works, and i can ssh in. There is no framebuffer device, but
weston works with the drm backend instead of fbdev. Touchscreen support
is not implemented yet, but i will update this with support when i get
the chance. Most other functionality either does not seem to work yet or
has not been tested (wifi, audio, modem, etc).
2020-03-06 20:23:46 +03:00
TAKIZAWA Fumiya
b8b2308aa4
sharp-shl22: new device (SHARP SHL22) (!1011) 2020-03-05 19:59:03 +03:00
David Heidelberg
64ba17490b
device/device-asus-tilapia: create standalone device for tilapia (!1025)
Previously (after switch to mainline) it was used device-asus-grouper.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg
9d2b37dc34
device/device-asus-grouper: switch from tilapia back to grouper (!1025)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg
b527515cde
device/linux-asus-grouper: upgrade to 5.6_rc2-next (!1025)
CONFIG options added:
- nvidia tegra partition support (now it's kernel option)
- CONFIG_SECCOMP support (needed for Epiphany and lot of others)
- CONFIG_USER_NS required for bubble wrap (used by Epiphany)
- CONFIG_TEGRA_SOCTHERM as module, required for thermal management

DTS change:
- grouper we all have has codename "tilapia" (w/ GSM), since no-one had "older" grouper
- in future, when we get testing, we'll add "real" grouper (wo/ GSM)
- no functional change in DTS (except wiring SMB347 driver)

Kernel changes:
- added SMB347 driver support (now it's able report charging state)

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:19 +03:00
David Heidelberg
91a1447917 device/*-asus-flo: switch to ARMv7
v2:
- Also switch firmware/firmware-asus-flo
- fix linting warnings
device/linux-asus-flo/APKBUILD: IC:[AL6]:device/linux-asus-flo/APKBUILD:36:prefix custom variable with _: HOSTCC="${CC:-gcc}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:37:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:39:prefix custom variable with _: ksrcdir="$srcdir/linux-$pkgver"
MC:[AL5]:device/linux-asus-flo/APKBUILD:10:variable set to empty string: depends=""
MC:[AL5]:device/linux-asus-flo/APKBUILD:13:variable set to empty string: install=
MC:[AL5]:device/linux-asus-flo/APKBUILD:30:variable set to empty string: subpackages=""
MC:[AL31]:device/linux-asus-flo/APKBUILD:36:variables must not have capital letters
MC:[AL31]:device/linux-asus-flo/APKBUILD:37:variables must not have capital letters
MP:[AL32]:device/linux-asus-flo/APKBUILD:3:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:4:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:32:unnecesary usage of braces: ${pkgver}
firmware/firmware-asus-flo/APKBUILD: MC:[AL28]:firmware/firmware-asus-flo/APKBUILD:12:literal integers must not be quoted
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_version_broadcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_version_qcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:22:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_url_other}

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 13:09:41 +01:00
Zhuowei Zhang
4fe8ceeee1
google-crosshatch: fix build with downstream kernel (!1016)
The downstream kernel doesn't provide a separate dtb file,
but the experimental mainline kernel does.

Previously, the deviceinfo specified a dtb file for both kernels,
and pmbootstrap ignored the missing file for downstream kernel.

pmbootstrap now errors when the dtb file is missing, so this
fixes the downstream kernel by specifying a dtb file only for
the upstream kernel.
2020-03-01 15:57:13 +03:00
Bart Ribbers
820c3a3a31
main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00
Minecrell
6254328c35
device/linux-*: remove empty variables (!1007)
Using commands like sed -i '/^subpackages=""$/d' linux-*/APKBUILD

[ci:skip-build]
[ci:skip-vercheck]
2020-02-28 18:33:55 +01:00
Minecrell
ea583fc601
device/linux-*: various custom linter fixes (!1007) 2020-02-28 18:33:52 +01:00
Minecrell
fde2a02e8a
device/linux-*: remove unneeded braces from variables (!1007)
sed -i -E 's/\$\{(\w+)\}/$\1/g' linux-*/APKBUILD

Manually revert ${CROSS_COMPILE} in linux-motorola-maserati.
2020-02-28 18:32:26 +01:00
Minecrell
ed2333c279
device/linux-*: remove all usages of _vendor (!1007)
Those are pretty stupid.
2020-02-28 18:32:26 +01:00
Minecrell
447b2e6fd2
device/linux-*: remove HOSTCC for kernels using latest GCC (!1007) 2020-02-28 18:32:26 +01:00
Luca Weiss
464d13296c
device/linux-*: use downstreamkernel_* helpers (!976)
[ci:skip-build]
[ci:skip-vercheck]
2020-02-27 23:29:38 +01:00
Luca Weiss
1526bdc0ea
device/linux-*: remove legacy menuconfig functions (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
44771cae20
device/linux-leeco-s2: convert spaces to tabs (!976) 2020-02-27 23:29:38 +01:00
Alexey Min
23aea77343
samsung-klte: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:32 +03:00
Dolphin von Chips
7d674ef759
samsung-j1mini3g: set deviceinfo_bootimg_append_seandroidenforce to true (!1000) 2020-02-27 20:19:25 +03:00
Théo Friberg
f88b94ba7d
samsung-nevisp: add Wi-Fi support (!995) 2020-02-27 18:42:34 +03:00
Minecrell
456d068b4d
device/soc-qcom-msm8916: add a lot of hacks to make it work again (!992)
Upstream changes in alsa-lib have completely broken these UCM files.
Add a number of hacks to make them work again... Yay!

See: fed543629e
2020-02-27 16:28:24 +03:00