Commit graph

984 commits

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