Commit graph

996 commits

Author SHA1 Message Date
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