Commit graph

464 commits

Author SHA1 Message Date
Martijn Braam
74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Danct12
f05374fa1c
xiaomi-santoni: rebase to 3.18.138, add firmware and audio, fix splash (!328)
device-xiaomi-santoni:
* Added initial audio support (generated by xml2ucm)
* Fixed splash screen size (720x1280), which also fixes the screen
  showing "posma"

firmware-xiaomi-santoni:
* Firmware files are added (contains ADSP and WCNSS firmwares), these
* files are from Developer ROM 03/29 by Xiaomi.

linux-xiaomi-santoni:
* Kernel updated to 3.18.138.
* Modernized GCC, it'll now compile with the latest GCC from Alpine.

[ci:skip-build]: already built successfully in CI
2019-04-21 22:39:58 +02:00
Oliver Smith
ffbbe41d63
main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

If somebody wants to bring back *and maintain* the wireguard
out-of-tree kernel module, I've documented how we had done it here:
https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Alexey Min
28ab7dc9f3
linux-samsung-klte: tidy up patches and add new: (!321)
* fix patch file names and reorder them properly
* add patch to fix framebuffer memory allocation
* add patch to fix compile warning for iptables plugin xt_connbytes
* add patch to properly assign MAC address for USB RNDIS
* add backport patch from upstream about O_PATH file descriptors

[ci:skip-build]: already went through successfully in CI
2019-04-18 23:19:03 +02:00
Alexey Min
e4623227ef
linux-samsung-klte: base downstream kernel source on lineage-14.1 branch (!321)
@drebrez originally based klte port on lineage-16.0 branch (Android 9),
but we need compatibility with Android 7.1, so use lineage-14.1 branch.

Also tidy up downstream kernel config a little bit (pass it through
pmbootstrap kconfig edit, change nothing, exit with saving).
2019-04-18 23:17:53 +02:00
Martijn Braam
9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Alexander Polynomdivision
8a58003d56
samsung-herolte: fix wifi firmware path (!316)
This patches the path that the kernel tries to load the Wifi chip's
firmware from. If someone with an Galaxy S7 Edge would test this -
although I have no reason to believe that it would not work on the Edge
- then this patch could also be applied to the linux-samsung-hero2lte
package.

[ci:skip-build]: already built successfully in CI
2019-04-15 20:28:26 +02:00
Federico Amedeo Izzo
6b9ef9fda0 nokia-n900: The power button suspends the device in i3. (!313)
With this patch the power button (the one you use to turn it on)
suspends the device. This should allow to save more energy with respect
to just turning the screen off (slider button).

I tested myself on Nokia N900.

[ci:skip-build]: already built successfully in CI
2019-04-12 23:00:02 +00:00
Alexander Polynomdivision
eadb61205e
device-samsung-herolte: new device (Samsung Galaxy S7) (!314)
This is basically just the packages for the Galaxy S7 Edge (hero2lte).
I only needed to change a few Kernel config options, so that the
colors are displayed correctly. The options regarding
CONFIG_PANEL_S6E3HF4_WQHD and CONFIG_PANEL_S6E3HA3_DYNAMIC probably
solve this issue, but I modified the other options as well. I got the
differences by diffing:
arch/arm64/configs/exynos8890-{hero2lte,herolte}_defconfig

Booting, USB networking and the display work! I can't say anything about
flashing via heimdall as this tool scares me. Following what WilliamO7
wrote on the device page, I flashed it by sideloading the android
recovery zip.

[ci:skip-build]: already built successfully in CI
2019-04-13 00:25:10 +02:00
Luca Weiss
a169c1335a
all: remove install scripts from source (!310) 2019-04-12 00:38:38 +02:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
km2
2e9beef9f2
samsung-i9003: support gcc8 (!307)
This patch forces the kernel to compile with gcc8 and includes by
default INSTALL_MOD_STRIP=1.
2019-04-08 20:45:42 +02:00
Tadeo Kondrak
1c4980bda5
htc-m7: new device (HTC One M7) (!306)
usb networking works

echo 100 > /sys/devices/platform/msm_fb.590593/leds/lcd-backlight/brightness
cat /sys/devices/virtual/graphics/fb0/modes > /sys/devices/virtual/graphics/fb0/mode

to get screen working

[ci:skip-build]: already built successfully in CI
2019-04-08 20:40:24 +02:00
Martin Piatka
e4aa322e33
htc-ace: switch to armv7 (!304)
Switches htc-ace to armv7. I was able to boot to xfce and everything
seemed to work fine.

[ci:skip-build]: already built successfully in CI
2019-04-07 16:06:53 +02:00
Nick Reitemeyer
39971739fa
surftab-wintron7.0: new device (TrekStor Surftab wintron 7.0) (!290)
This device is x86_64 and has a 32-bit UEFI, so I need to install
32-bit grub (AFAIK it's the only bootloader capable of loading a 64-bit
kernel from 32-bit).

The grub-efi-x86 package has been generated with pmbootstrap.
2019-04-04 19:58:24 +02:00
Luca Weiss
40d110fcc9 Change default NetworkManager DHCP client to dhcpcd (!278)
Remove the override in ouya-ouya (and in postmarketos-base) and add an
override for raspbery-pi3

Fixes #210
2019-03-29 14:53:47 +01:00
Federico Amedeo Izzo
97fd10aed4
oneplus-bacon: fix incorrect framebuffer refresh rate in Xorg (!294)
After this patch is applied, the phone boots in Xorg UIs like XFCE.

[ci:skip-build]: already built successfully in CI
2019-03-29 10:19:38 +01:00
Federico Amedeo Izzo
1ee8db41db samsung-klte: fix swapped red and blue (!291)
The problem behind swapped red and blue is inverted byte order in
framebuffer driver pixel format.
This patch sets the correct byte order in the framebuffer driver,
solving the swapped red and blue problem.

[ci:skip-build]: already built successfully in CI
2019-03-29 07:23:27 +00:00
Jakub Strzelecki
b19509a8fa
motorola-montana: new device (Motorola Moto G5s) (!286)
Initial starting point to get the device booting. The downstream kernel
repository can be improved, see discussion in the merge request.

[ci:skip-build]: already built successfully in CI
2019-03-29 08:04:13 +01:00
silver
568e035837 galaxy s relay support 2019-03-28 20:51:18 +00:00
Luca Weiss
874a309eed fairphone-fp2: fix swapped red and blue (!292)
Fixes the problem described in #211
2019-03-28 15:06:54 +00:00
Danct12
95198e12e9
xiaomi-santoni: use msm-3.18 upstream kernel (!289)
device-xiaomi-santoni: use mdss-fb-init-hack to refresh the display, and
swapfile to fix "out of memory" when loading proprietary blobs.

I have tested the kernel, USB Networking, Display, USB OTG, Wi-Fi (with
proprietary blobs) works fine, through I haven't figured out how to get
Bluetooth and among of other stuff to work. Audio works. For more
information on how to get Wi-Fi and Audio to work, check out the wiki
page for this device, I have updated it.

[ci:skip-build]: already built successfully in CI
2019-03-26 23:21:06 +01:00
Mis012
481bd4493b
asus-me176c: update kernel repository name (!251)
[ci:skip-build]: building takes longer than one hour
2019-03-25 09:50:30 +01:00
Federico Amedeo Izzo
38dbafb98e
oneplus-one: fix swapped red and blue (!287)
The problem behind swapped red and blue is inverted byte order in
framebuffer driver pixel format.
This patch sets the correct byte order in the framebuffer driver.

The previous workaround patch is removed because it fixes improperly
the red-screen issue, causing the swapped red and blue problem
that this commit solves

[ci:skip-build]: already built successfully in CI
2019-03-25 09:43:16 +01:00
knuxfanwin8
1672f9f5d3
samsung-lt01wifi: new device (Samsung Galaxy Tab 3 8.0) (!283)
[ci:skip-build]: already built successfully in CI
2019-03-20 08:14:38 +01:00
Robert Yang
2651b565e0
linux-ouya-ouya-mainline: Update kernel (!281)
- Initial memory frequency scaling driver
- Enable eMMC 1.8v DDR signaling mode
- Limit CPU frequency to avoid overheating
- Fix crash in xf86-video-opentegra driver

[ci:skip-build]: already built successfully in CI
2019-03-18 07:36:16 +01:00
Federico Amedeo Izzo
eebeb32a6c device-nokia-n900: Increase simple terminal font size to 12 (!280)
Also hardcode st instead of i3-sensible-terminal, because the font
parameter may not work with all terminals, and we want to use st on the
n900 anyway.
2019-03-16 12:47:56 +00:00
Konrad Dybcio
9efaad6d21 firmware: Move fw-sony-amami to fw-sony-rhine (!271)
Rename the firmware so it's clear that it's specific to the platform and
not only the amami device. Sony rhine platform includes as follows:
Xperia Z1 (honami)
Xperia Z1 Compact (amami)
Xperia Z Ultra (togari)
2019-03-12 06:49:09 +00:00
Luca Weiss
7a604328ac
fairphone-fp2: switch to armv7 (!273)
[ci:skip-build]: already built successfully
2019-03-11 09:50:32 +01:00
Michal Guba
3a9ab3c7e6 samsung-klte: Switch to armv7 (!272)
Tested. Works fine on klte. Boots to weston.

[ci:skip-build]: already built successfully
2019-03-11 08:41:05 +00:00
RONTheCookie
bc6d1dae35
lg-d722: new device (LG G3 Beat) (!267)
USB networking is functional.

[ci:skip-build]: already built successfully
2019-03-11 09:09:10 +01:00
Clayton Craft
d5888c52cc
device-purism-librem5dev: Depend on include mesa-purism-gc7000 packages (!236)
This changes the librem5dev package to depend on the new
mesa-purism-gc7000 packages, which provide support for the vivante
gc7000 GPU in this device.

[ci:skip-build]: already built successfully
2019-03-11 08:50:48 +01:00
Robert Yang
e0b9afc15e
device-ouya-ouya: Add Ouya mainline kernel (!269)
[ci:skip-build]: already built successfully in CI
2019-03-10 02:19:57 +01:00
Robert Yang
8f7ee135c3 device-ouya-ouya: Add NetworkManager config (!269)
Makes dhcp work on mainline and downstream kernel.

Disables p2p0 on downstream kernel. This isn't working on either kernel
anyways. It breaks wifi on the downstream kernel.
2019-03-10 02:19:51 +01:00
Robert Yang
e29c8ede3d device-ouya-ouya: Set cooling governor in initfs hook (!269)
This governor is meant for simple on/off cooling fans.
2019-03-10 02:19:51 +01:00
Robert Yang
b567dadd68 New aport linux-ouya-ouya-mainline (!269)
Mainline based kernel for Ouya
2019-03-10 02:19:51 +01:00
Robert Yang
3f07921f5d linux-ouya-ouya: Set wifi firmware path (!269) 2019-03-10 02:19:51 +01:00
Robert Yang
6b7e88b7ed device-ouya-ouya: Add firmware package (!269) 2019-03-10 02:19:51 +01:00
Robert Yang
0b9450abe5 linux-ouya-ouya: Convert to armv7 (!269) 2019-03-10 02:19:50 +01:00
Robert Yang
60f4b70c71 device-ouya-ouya: Convert to armv7 (!269) 2019-03-10 02:19:45 +01:00
Martin Piatka
9150a7c966
htc-ace: patch framebuffer to report refresh rate of 60Hz (!268)
This allows Xorg to configure display mode correctly.

[ci:skip-build]: already built successfully
2019-03-09 22:17:41 +01:00
Konrad Dybcio
3fb645e916 sony-honami: Switch to armv7 (!266)
Tested working on a c6903.

[ci:skip-build]: already built successfully CI
2019-03-09 19:43:36 +00:00
Matthias Berndt
a6c94af6d2
htc-vision: fix on-screen keyboard for full-disk encryption (!259) 2019-03-09 19:53:28 +01:00
Oliver Smith
233a401645
ouya: blacklist partitions to avoid brick (!247)
Thanks to Robert Yang's pmbootstrap patch, we can now avoid flashing
anything to the boot and recovery partition of the Ouya. With this
patch, the latest pmbootstrap will refuse to do so with:

ERROR: 'boot' partition is blacklisted from being flashed! See the Ouya device wiki page for more information.
2019-03-08 07:47:34 +01:00
Federico Amedeo Izzo
c913c48c19
oneplus-bacon: redscreen kernel patch / msm fb refresher (!258)
Applied red screen kernel patch as described in:
https://wiki.postmarketos.org/wiki/Troubleshooting:display

Effectively fixes the red screen on Weston. Added msm-fb-refresher to
APKBUILD to fix display refreshing.

The display now works properly in Weston, but unfortunately the screen
is blue in Plasma Mobile, and X11 crashes in XFCE.

[ci:skip-build]: already built successfully in CI
2019-03-07 10:40:09 +01:00
foldedcascode
e1dda38396
lg-hammerhead: switch arch to armv7 (!257) 2019-03-07 10:34:09 +01:00
Pedro Ângelo
9c2ce7b1a1
asus-grouper: update kernel wifi firmware path (!252)
[ci:skip-build]: already built successfully in CI
2019-03-05 09:34:26 +01:00
Pedro Ângelo
454b28e421 asus-grouper: create nonfree firmware subpackage (!252)
With this firmware I can connect to my AP using wpa_supplicant, ping
servers and fetch files normally. However the driver also brings up the
p2p0 interface on boot and it seems to conflict with wlan0. So to test
the wireless we need to disable p2p0 and stop the wpa_supplicant service
(because it attaches itself to p2p0 on boot):

$ sudo ip link set p2p0 down
$ sudo rc-service wpa_supplicant stop
$ wpa_passphrase <your ESSID> <your password> > ./wpa_config
$ sudo wpa_supplicant -B -Dnl80211 -iwlan0 -c./wpa_config
$ sudo udhcpc -i wlan0
$ ping postmarketos.org
PING postmarketos.org (188.166.143.8): 56 data bytes
64 bytes from 188.166.143.8: seq=0 ttl=42 time=41.604 ms
64 bytes from 188.166.143.8: seq=1 ttl=42 time=56.022 ms
64 bytes from 188.166.143.8: seq=2 ttl=42 time=54.911 ms
64 bytes from 188.166.143.8: seq=3 ttl=42 time=54.241 ms
...
$ sudo apk update
fetch http://postmarketos.brixit.nl/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armhf/APKINDEX.tar.gz
v20190228-49-gbc0f9441b0 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20190228-41-g6ee930cc6c [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20190228-48-g67283cdbf6 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 13694 distinct packages available
2019-03-05 09:32:50 +01:00
Robert Yang
d079a3d0de
linux-samsung-p4wifi: Update to linux v5.0 and switch to armv7 (!254)
[ci:skip-build]: already built successfully in CI
2019-03-05 09:20:40 +01:00
Robert Yang
ebfbbacefd
device-samsung-p4wifi: Switch to armv7 (!254) 2019-03-05 09:18:34 +01:00