Commit graph

541 commits

Author SHA1 Message Date
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
Robert Yang
24f7935c06
device-samsung-p4wifi: Change name of dtb to tegra20-p4wifi (!254) 2019-03-05 09:18:03 +01:00
Robert Yang
f49cab175e
device-samsung-p4wifi: Make sound input work (!254)
ALSA configs are created based on downstream driver code and wm8994
datasheet.
2019-03-05 09:18:03 +01:00
Robert Yang
bf9b3875a1
device-samsung-p4wifi: Add more mesa-grate subpackage dependencies (!254) 2019-03-05 09:17:58 +01:00
Pedro Ângelo
81cee38610
asus-grouper: modernize device package (!253)
Updated the device-asus-grouper package to use devicepkg-dev.

I've tested the resulting image and it builds, boots and has a working
touchscreen (in Weston)

I've also noticed that the device reboots itself at times, both in the
USB ssh console and in Weston. This seems to be a known issue but I
don't know how prevalent it was before.
2019-03-04 09:47:49 +01:00
Clayton Craft
20e1366cc4 device/device-purism-librem5dev: add support for using uuu flasher (!245) 2019-03-02 10:43:26 -08:00
Clayton Craft
2a678ef435 device/u-boot-librem5dev: Use defconfig compatible with uuu (!245)
The defconfig required for using the uboot image with uuu is different,
since it required the DDR training to be built into the image itself.
2019-03-01 16:53:33 -08:00
Clayton Craft
e4d9e37fda device/u-boot-librem5dev: update m4 image (!245)
The old image is no longer available
2019-03-01 16:53:33 -08:00
Bhushan Shah
f6c9cbdcc1 u-boot-librem5dev: add !tracedeps in options (!245)
it allows native cross-compile to be used.
2019-03-01 16:53:33 -08:00
Sergey Larin
98197693f5
samsung-i927: switch to armv7 (!238)
Since mesa-grate is armv7 now, we can switch too.

[ci:skip-build]: already built successfully in CI
2019-02-28 15:22:56 +01:00
Sergey Larin
16b3556ffa
samsung-i927: disable BPFILTER (!238)
I don't know why build fails on gitlab, I have not changed anything
in kernel. Anyway, I don't remember why I enabled this, so I guess it's safe
to disable this option.
2019-02-28 15:22:20 +01:00
Sergey Larin
a04ac6361b
samsung-i927: add voice config (!238) 2019-02-28 15:18:52 +01:00
Sergey Larin
53d13cb4c8
samsung-i927: various improvements (!238)
- Bluetooth is now working
- Audio works too (speaker/headphones/earpiece/mic - internal and headset)
- Keyboard layout for X11
- Xorg config for rotated screen
- Suspend issues fixed (tested on MATE)
- OTG bindings updated - not working yet
2019-02-28 15:18:50 +01:00
Federico Amedeo Izzo
e48b212fdd
nokia-n900: add italian keyboard layout (!244) 2019-02-28 10:19:54 +01:00
Matthias Berndt
4f6f417089
htc-vision: make wifi work and disable Kineto GAN (!225)
I didn't get it to work with NetworkManager, but it does work with
connman. Disable Kineto GAN, which caused various commands to misbehave
(just like it did on the htc-ace).

[ci:skip-build]: already built successfully in CI
2019-02-28 09:49:11 +01:00
Zhuowei Zhang
ba902038ca
google-crosshatch: add WIP mainline kernel (!226)
This is tested to boot on google-crosshatch, following these
instructions:

$ pmbootstrap init, choose the mainline kernel
$ pmbootstrap install --no-fde
$ pmbootstrap initfs hook_add debug-shell
(enter fastboot mode on the device)
$ fastboot set_active a
$ fastboot flash dtbo_a ~/.local/var/pmbootstrap/chroot_rootfs_google-crosshatch/boot/dtbo-google-crosshatch-mainline.img
$ pmbootstrap flasher boot

And you should get telnet after a while. This kernel takes a long time
to build, so [skip ci]. I can confirm it builds locally.

Note that this patch adds the mainline dtb path to deviceinfo. But the
parameter gets ignored on the downstream kernel, so it's fine to keep it
in the shared deviceinfo.

Mainlining this device is work in progress, details at:
https://gitlab.com/postmarketOS/pmaports/issues/153
2019-02-27 18:31:51 +01:00
Martijn Braam
f5b9af638e main/linux-postmarketos-stable: Fix ARMv7
This makes the linux-postmarketos-stable kernel generate an armv7 package instead of armhf. The contents
of the package were armv7 already but now it can be correct with the new Alpine support.
2019-02-27 14:09:53 +00:00
Piotr Halama
3ed0baa39a nokia-frt: add device 2019-02-26 15:43:27 +00:00
Martin
feae4a67f8 htc-ace: Disable Kineto GAN driver (!223)
This driver caused some commands to misbehave (#1531)
2019-02-25 23:37:58 +00:00
Bhushan Shah
e9f8f27b51 linux-purism-librem5dev: Disable CONFIG_FW_LOADER_USER_HELPER (!237)
When working on Librem5 devkit we had issue with touchscreen driver not
probing fast enough and taking ~70 seconds to finish initialization.

Touchscreen driver for the Librem5 devkit uses goodix driver, roughly
speaking device initialization is done in following sequence,

- start kernel and load driver
- attempt to request firmware
- if no firmware is found use defaults value
- initialize touchscreen

Now, on Librem 5 no firmware is provided (of course!) which makes 2nd
step 4 step process,

- attempt to load firmware at initramfs level
- fail, wait for it userspace to finish loading
- userspace attempts to load firmware
- fail and tell kernel to stop looking for firmware.

Step 2 to 4 is done after udev is loaded in userspace, which easily
takes 40-50 seconds. Since Purism Librem 5 devkit is never going to have
userspace level firmware, it is safe bet to disable this altogether.

[skip ci] tested locally and this is going to take more then hour on CI
and fail
2019-02-25 20:29:00 +00:00
clayton craft
a38f1fb092 device-purism-librem5: Disable supertile for mesa/etnaviv 2019-02-24 14:24:20 +00:00
elelel
7597fa7a22 new device: meizu-turbo (Meizu Pro 5) (!106)
The device boots till USB networking.
2019-02-21 20:25:18 +00:00
Clayton Craft
917ad071f0
device-purism-librem5dev: Use LCD-friendly dts (!232)
Since a recent kernel update enables the LCD display, this
uses a dts that allows the lcd to function, but drops support
for usb host (since purism does not have an all-in-one dts
yet)

[skip ci]: already built successfully in CI
2019-02-21 19:56:19 +01:00
Clayton Craft
c5db817421
linux-purism-librem5dev: Update to latest purism kernel (!232)
Most notably, this update enabled the LCD display for all devices!
2019-02-21 19:56:10 +01:00
Oliver Smith
bf12556657
purisum-librem5dev: skip kconfig check (!215)
Ignore this kernel in "pmbootstrap kconfig check" by default, so we can
use the upstream kernel config without any changes. But still enable the
kernel config check again.

The related pmbootstrap change will be merged soon:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1753

[skip ci]: this change doesn't affect the build
2019-02-21 19:24:55 +01:00
William O-D
8ebafdf992 New device: samsung-hero2lte (Samsung Galaxy S7 Edge) (!179)
Display is working in both X and wayland (tested with weston and XFCE).
Not tried with osk-sdl yet, charging-sdl seems to work fine.
USB networking and SSH is working too.

Camera subsystem disabled to prevent bootloops. This device brings its
own dtb.img format, but there's a generator in the kernel source that
is used at build time (patched to make it work properly).

[skip ci]: already built in CI successfully
2019-02-13 21:09:48 +00:00
Sergey Larin
7df8828dfb
samsung-i927: Set touchscreen and keyboard in deviceinfo (!217)
[skip ci]: already built successfully in CI
2019-02-12 23:30:23 +01:00
Sergey Larin
6b1072a789 samsung-i927: Kernel updates (!217)
- Use separated patches
- Use new panel driver (with backlight support)
- Battery fixes
- Fix compass (AK8975) (not tested, only probing works, but sometimes
  doesn't - says "Unexpected device" - need to investigate that)
- Touchkey is working + LED
- Keyboard backlight + HALL for slideout detection
2019-02-12 23:28:56 +01:00
escoand
62b145d8db New device: htc-ville (HTC One S) (!177)
Boots and runs weston so far.

[skip ci]: already built successfully in CI
2019-02-12 21:45:39 +00:00
Denny Harijanto
1b353c020a
asus-tf101: USB Networking and Touch Screen Support (!197)
- Reverts few hacky commits that caused USB networking not to work
- Modified atmel drivers used by TF101 to work with libinput

[skip ci]: already built successfully in CI
2019-02-12 22:29:43 +01:00
Matthias Berndt
33900c7889
New device: htc-vision (HTC Desire Z/G2) (!132)
Based on cmdrwgls original work from:
https://github.com/postmarketOS/pmbootstrap/pull/810

Fixed to actually boot, compile with GCC-6, and the touch screen is
working!

[skip ci]: already passed CI
2019-02-12 22:19:59 +01:00
Sergey Larin
e007f80165
samsung-i927: new device (Samsung Captive Glide) (!195)
Runs an only slightly patched mainline kernel.

For now:
- flashing works (only SD card boot and kernel flashing tested)
- boots
- screen works
- keyboard works
- touch works
- accelerated Xorg works (OGL not tested, xf86-video-tegra works,
  but sometims X crashes with invalid instruction error - open top menus in
  Xfce file manager to reproduce)
- SD card works (troubles with GPIO insertion detection)
- USB should work, not tested
- WiFi should work, also not tested (a lot of warnings during boot)
- Sound needs configuration
- battery needs kernel driver (max8922/max8907c)
- touchkey doesn't work - very strange hardware here...
- cameras don't work - no DT bindings, but all drivers there

Other functionality is broken/not tested.

[skip ci]: already built successfully in CI
2019-02-08 09:12:59 +01:00
Hacker1245
c07618dcd3
motorola-cedric: remove roccat mouse driver (!194)
This MR removes the Roccat mouse drivers that I added before when I was
testing my mouse.

[skip ci]: already built in CI successfully
2019-02-05 09:53:35 +01:00
Clayton Craft
4d94dd2953
device-purism-librem5dev: move wifi module options to separate conf file (!192)
[skip ci]: already successfully built in CI
2019-02-05 09:41:54 +01:00
Clayton Craft
1691f5157d device-purism-librem5dev: enable gps support (!192) 2019-02-05 09:41:37 +01:00
Clayton Craft
bbcc878e4f linux-purism-librem5dev: update to latest linux-emcraft branch (4.18-wip) (!192) 2019-02-05 09:41:32 +01:00
Grant Miller
b6fe2fd834
Don't manually install initfs-hook.sh (!191)
This only changes devices that use devicepkg-dev (see #8)

[skip ci]: too many packages have changed
2019-02-05 09:35:07 +01:00
Ion Agorria
797f0d5319
xiaomi-tissot: Add firmware for WiFi and fix ramoops (!189)
Add firmware required to make WiFi work. Patch the kernel so the ramoops
dmesgs can be read properly without having to remove that header every
time.

[skip ci]: already built successfully in CI
2019-02-05 09:25:30 +01:00
Hacker1245
4346402695
motorola-cedric: fix X11 framebuffer (!187)
This patch fixes Xorg. Adapted from the Xiaomi A1.

[skip ci]: already built successfully in CI
2019-02-03 02:22:55 +01:00
Clayton Craft
9be5be7123
device-purism-librem5dev: Use dts with usb host mode support (!182)
USB host mode is useful (essential?) on the devkit for adding a
keyboard/mouse to interact with the desktop since the onboard display
and touchscreen are very much in flux.

[skip ci]: already built successfully in CI
2019-01-31 08:27:22 +01:00
Clayton Craft
8fc1c28d9a linux-purism-librem5dev: use correct flavor name (!182) 2019-01-31 08:25:42 +01:00
Zhuowei Zhang
e222859dea
google-crosshatch: enable /dev/mem in kernel (!184)
This is useful for dumping device registers when mainlining.

[skip ci]: takes longer than 1h to build, ollieparanoid made sure that
           it builds locally.
2019-01-30 09:39:49 +01:00
Zhuowei Zhang
d0f36689ab google-crosshatch: enable wifi driver in kernel config (!184)
The LineageOS kernel integrates the Wi-Fi driver, so reconfigure with
the Lineage defconfig and copy the Wi-Fi options over to our defconfig.

This doesn't get Wi-Fi working yet, but it gives a good starting point.
2019-01-30 09:38:32 +01:00
Zhuowei Zhang
afe0f14e34 google-crosshatch: switch to LineageOS kernel (!184) 2019-01-30 09:37:25 +01:00
Oliver Smith
e04192baf3
linux-purism-librem5dev: set REPLACE_GCCH=0
Do not replace compiler-gcc.h. This is necessary now, as we are
replacing compiler-gcc.h by default again, as it is needed for most
kernels. Not increasing the pkgrel to avoid unnecessary rebuild, I have
verified that this works.

NOTE: in the last commit message, I wrote about OVERWRITE_GCC=0. But
the variable is called REPLACE_GCC, as I've decided to rename it before
submitting. I forgot to change it in the commit message.

[skip ci]: this kernel takes more than one hour to build, so it won't
           finish in CI.
2019-01-29 09:55:45 +01:00
thejsa
7b86ca313d
motorola-athene: enable touchscreen (!180)
Adds an initfs-hook to enable touchscreen on motorola-athene.
2019-01-28 21:20:20 +01:00
Claudio Maggioni (maggicl)
d65f0a1f8e
sony-coconut: Added 16-bit color depth workaround (!178)
Signed-off-by: Claudio Maggioni (maggicl) <cmaggioni@keemail.me>

[skip ci]: already build successfully in CI
2019-01-28 21:14:52 +01:00
sir_si
c6e5ec1dff
htc-evita: new device (HTC One XL) (!175)
[skip ci]: already built successfully in CI
2019-01-28 21:09:57 +01:00
Ion Agorria
f0f504798e
xiaomi-tissot: Modernize APKBUILD, add Xorg support (!173)
This modernizes the APKBUILD that was based from outdated one (still
needs GCC6) as requested in !165 (comment 133993271). Also adds a fix
to allow Xorg booting, osk-sdl doesn't work yet as it throws some ugly
faults in kernel related to fbcon.

[skip ci]: already built successfully in CI
2019-01-28 21:02:04 +01:00
Unknown
e41b484d36
motorola-cedric: add wifi firmware (!172)
I made a firmware package APKBUILD based on the motorola-titan and added
it to the device-motorola-cedric APKBUILD.
2019-01-28 20:53:44 +01:00
Clayton Craft
fd8582fe6c
purism-librem5dev: new device (!141)
[skip ci]: build takes pretty long, at least the download timed out
in CI last time. ollieparanoid made sure that this builds before
merging.
2019-01-28 20:45:32 +01:00
Clayton Craft
03a22d6ef3
device/u-boot-librem5dev: new package (!141) 2019-01-28 20:45:18 +01:00
Clayton Craft
03fcb0d08f
device/linux-purism-librem5dev: new package (!141) 2019-01-28 20:45:18 +01:00
Konrad Dybcio
eb30c690fc
sony-nicki: use armv7 (!143)
[skip ci]: this compiled in CI before, no need to run again.
2019-01-28 09:19:49 +01:00
Lwrless
79e655f6e9
xiaomi-aries: new device (Xiaomi Mi2) (!171)
Finally got display working, but it's based on MoKee kernel which is
also hosted on GitHub by community. So what works:

* USB Networking
* Flashing
* Touchscreen
* Display
* Weston with Xwayland

The device boots and shows the splash screen properly, after about 3
sec the screen went black. I had to
"echo 127 > /sys/devices/i2c-0/0-0038/leds/lm3530-backlight/brightness"
to make the backlight work, even though the value of it was already
127.

[skip ci]: this was built successfully in CI already
2019-01-25 09:53:12 +01:00
Bart Ribbers
02f73e7e8a
sony-amami: use armv7 (!126)
Tested it with Weston and it boots fine.

[skip ci]: already built in CI, no need to build again
2019-01-25 08:41:17 +01:00
Grant Miller
093b6869e3
linux-samsung-jflte: Use gnu89 patch (!144)
[skip ci]: this MR was built successfully in CI already
2019-01-25 08:34:30 +01:00
Grant Miller
b226f61602
samsung-jflte: Use armv7 (!144)
I have tested this on xfce4 and weston. Also plasma-mobile "works"! The
performance isn't any better than on armhf, it's still less than one
frame per second and llvmpipe still doesn't work.

After switching to armv7, this kernel fails to compile with the
following error unless CONFIG_CRYPTO_AES_ARM_BS is disabled:

arch/arm/crypto/aesbs-core.S:449: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:904: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:2100: Error: thumb conditional instruction should be in IT block -- `subne r9,#0x10'
2019-01-25 08:32:54 +01:00
PureTryOut
0746e147d0
device/device-lg-bullhead: disable 2 cpu's to prevent bootlooping (!139)
Quite a few Nexus 5X devices have the tendency to bootloop after a while
of being on, iirc because it overheats. This has been a known issue for
quite some time, and most Android ROM's for it have measures in place to
prevent this, in the form of disabling some CPU cores (iirc "Big cores"
or something like that). My Nexus 5X is also subject to this issue.

According to craftyguy, resolving this is as easy as changing the boot
command to not use those CPU cores. This commit does exactly that. It
should probably be made optional for people with this device without
that issue, but since I have no clue how to do that atm, this is the
safest for now.
2019-01-23 09:54:12 +01:00
Hacker1245
dca30e4e60
motorola-cedric: Enable OTG (!163)
OTG was tested with a keyboard and a pendrive.

[skip ci]: this was built successfully in CI earlier, only rebased and
           squashed the commits here.
2019-01-23 09:49:15 +01:00
Marijn rom
7f69748faf
asus-grouper: add mdss-fb-init-hack (!170)
mdss-fb-init-hack fixes the black screen (e.g. in XFCE4)
2019-01-23 09:43:51 +01:00
Ion Agorria
26592daadc
device-xiaomi: new device (!165)
Initial support for Xiaomi A1 aka xiaomi-tissot using LineageOS 15.1
kernel, has similar board to Xiaomi Redmi 4 aka xiaomi-mido with some
differences that had to be patched such as reversing skip_initramfs and
ignoring dm param. 16.0 kernel boots but display fb init doesn't work.

Weston boots with touch support, SSH via USB RNDIS works.

[skip ci]: this built once in CI already, good to go.
2019-01-23 09:41:42 +01:00
Hacker1245
7d8dcb7ea6
motorola-cedric: enable touchscreen (!157)
Add initfs hook to enable it, and set the deviceinfo variable.
2019-01-21 08:30:19 +01:00
NeKit
c54463924f
planet-geminipda: new device (Planet Gemini PDA) (!155)
Integrate Gemini PDA support into master from old branch:
https://github.com/postmarketOS/pmbootstrap/commits/device-planet-geminipda

Most of hybris-related changes (besides KWin) was merged, so it is just
device and kernel aports now.

The state of hardware support is unchanged from:
https://wiki.postmarketos.org/wiki/Planet_Computers_Gemini_PDA_(planet-geminipda)

Without hybris, it can boot to graphics with X11 fbdev driver, the
included config enables correct rotation (as it has portrait display,
but usable only in landscape).

For running it with hybris, which can allow for 3D acceleration, we need
a way to package and provide large LXC image for running Halium Android
container. Lately Adam Boardman from Gemini PDA community also got voice
calls working in Debian install with a mix of SailfishOS middleware and
Ubuntu Touch applications, which could be probably adapted for
postmarketOS if needed.
2019-01-21 07:39:41 +01:00
Grant Miller
468b53a411
Add gnu89 patch to .shared-patches/linux/ (!158) 2019-01-21 07:12:00 +01:00
Luca Weiss
8c1ebc31a8
pine-a64lts: add wifi and bluetooth firmware (!153)
Add firmware-rtl8723bt package and Pine wifi and bluetooth firmware
subpackage.

[skip ci]: ollieparanoid will build this MR manually before merging, it
will probably not finish CI within one hour.
2019-01-20 14:47:59 +01:00
Luca Weiss
4edbac805d
pine-a64lts: update kernel to 4.20.0 (!153) 2019-01-20 14:47:50 +01:00
Hacker1245
8b758c877c
New device: motorola-cedric (Motorola Moto G5) (!154)
The device boots, USB networking works, display works (touch doesn't
work). All other information is in the Wiki page.
2019-01-20 03:24:19 +01:00
Luca Weiss
2f6f4a2afb
u-boot: update to 2019.01 (mainline Pine A64) (!152)
The Pine boots, Weston shows on a HDMI display.

[skip ci]: doesn't finish in time; ollieparanoid tested that this
compiles for armhf, aarch64, armv7
2019-01-20 02:32:13 +01:00
Danct12
f842a0e39f
device-asus-z00vd: add missing devicepkg (!137)
Follow-up to !21, where only the kernel was added, but not the device
package.
2019-01-10 22:33:48 +01:00
Clayton Craft
ed063565df
device-pine-a64lts: use deviceinfo_sd_embed_firmware (!140)
This adds the new deviceinfo parameters for specifying binary:offset for the
embed_firmware method, and removes the old method.
2019-01-10 22:22:46 +01:00
JohnBergago
b21caaeeb8
New device: huawei-cameron (Huawei Mediapad M5 pro) (!133)
The device boots, USB networking is available and the display does also
work, even though the default display brightness seems to be zero. More
information can be found in the wiki.
2019-01-09 08:19:40 +01:00
Daniele Debernardi
ffa2dad8ca device-raspberry-pi3: Remove unnecessary kernel subpackage (!127) 2019-01-06 13:27:58 +01:00
Daniele Debernardi
c60f29e974 device-raspberry-pi0: Reduce GPU memory and always install bluetooth package (!127) 2019-01-06 13:27:53 +01:00
Mis012
c28fffa5b3 New device: asus-me176cx (Asus MeMo Pad 7) (!123)
Use upstream Linux with patches, which are needed for a lot of things.
lambdadroid said he will upstream some of them, but the battery driver
would need to be written from scratch, which is apparentely
non-trivial.

[skip ci]: kernel doesn't build under one hour (maybe too many modules
are selected), but it does build eventually
2019-01-03 10:19:45 +01:00
Daniele Debernardi
2bc4b640b0
New device: Raspberry Pi Zero with Ethernet over USB enabled (!125)
As mentioned in #151, the Raspberry Pi Zero doesn't have an ethernet
port, so this makes it quite complicated to connect to the device from
a fresh install, because wifi/bluetooth/serial/... are not configured.
With this new package, the device starts with the microUSB configured as
ethernet and the dhcpd is running on the RPI, so you can simply connect
it to a computer and connect with SSH in order to configure it.
2019-01-03 09:48:39 +01:00
Luca Weiss
bbec7c41ea
Add deviceinfo_codename variable (!114)
For postmarketOS/pmaports#157 [skip ci]
2018-12-26 21:49:10 +01:00
deata
42b48451b2
device/linux-samsung-kylepro: modernize aport (!113)
Kernel compiles and device boots.
2018-12-24 00:08:50 +01:00
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Wouter Franken
001de9e6dc linux-sony-yuga: modernize, use latest GCC (!107) 2018-12-18 08:00:09 +01:00
Zhuowei Zhang
e735c3f008
New device: google-crosshatch (Google Pixel 3 XL) (!83)
A lot of patching was necessary, see the merge request and device wiki
page for details. Thanks to opendata26 for helping with the port.

https://wiki.postmarketos.org/wiki/Google_Pixel_3_XL_(google-crosshatch)

[skip ci]: this hits the compile timeout
2018-12-12 06:56:17 +01:00
Свободные Мобильные Технология
f5e57dc9fd
linux-samsung-i9003: install kernel modules (!98)
The modules wl12xx, mac80211 and cfg80211.ko are assembled as modules,
but due to the lack of the command 'make modules_install' in APKBUILD,
these modules are not included in the finished package. Because of this,
it was impossible to launch Wi-Fi on Samsung-i9003.
2018-12-10 06:54:37 +01:00
Robert Yang
d7b3ea9b5f
linux-samsung-p4wifi: update to kernel 4.19 (!97)
Modernize the APKBUILD. Load reboot mode kernel module, and uinput
kernel module (used by bluetoothd).

User facing changes:
* Uses some mainline sensor drivers.
* Fixes bluetooth audio stuttering (needs some userspace fixes though).

Various code refactoring happened. I tried to write a better looking
display panel driver rather than reuse the downstream driver. Not
quite there yet though.
2018-12-06 08:02:26 +01:00
Daniele Debernardi
bde7c3b90b
linux-samsung-klte: modernize, update sources (!94)
Use latest sources from LineageOS, instead of the ones from andip71.
The APKBUILD is modernized to use the devicepkg-dev but unfortunately
compiling with gcc8 it doesn't boot.

The kernel config is updated with the required options to start the
lxc-android container and xf86-video-hwcomposer works
(tested with xfce4).

My plan was to add the firmware-samsung-klte with the subpackages for
the wifi blobs and a precompiled android system.img to use with
libhybris, but my device just died and I'm not able to power it on (I've
probably burnt the Power IC 😢)
2018-12-06 07:16:45 +01:00
Grant Miller
b99764378c
linux-samsung-jflte: disable virtual framebuffer (!96)
Weston and Plasma Mobile were incorrectly choosing the virtual
framebuffer instead of the real one.
2018-12-05 08:55:16 +01:00
Piotr Halama
dfedbf6485
samsung-s6500d: fix red screen (!95)
Fix red screen by setting CONFIG_FB_MSM_DEFAULT_DEPTH_ARGB8888=y, the
other patch from the wiki didn't work on this kernel:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-12-05 08:13:35 +01:00
Grant Miller
15a1f45a4d
linux-samsung-jflte: modernize and use gcc8 (!92)
Kernel still compiles and boots.
2018-12-04 07:42:48 +01:00
Sicelo
ec1016b385
Set tabbed layout as default for i3 on N900 (!91)
For i3 on the N900, which seems to be the only device using i3 at the
moment, I thought using Tabbed workspace layout as the default would be
best, since the screen is quite small, and having two split windows can
quickly make it impractical.

With this commit, all new windows will be created in tabbed
configuration. It is still possible to switch to stacking or standard
layout as needed, using the appropriate shortcut keys.
2018-12-03 23:40:17 +01:00
Piotr Halama
aaf1fbe17a
samsung-s6500d: use gcc8 (!86)
It finally compiles with GCC8 and modernized prepare()

Signed-off-by: Piotr Halama <skrzynka@halamix2.pl>
2018-12-03 22:56:11 +01:00
Grant Miller
242ab9ac7a
Recreate gcc8-fix-put-user.patch without context (!87)
gcc-fix-put-user.patch doesn't apply cleanly to any kernel that
includes commit 538094 ("ARM: 8051/1: put_user: fix possible data
corruption in put_user") or a backport of it because the surrounding
lines (context) of the patch are different:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=537094b64b229bf3ad146042f83e74cf6abe59df

This commit fixes the problem by removing the context from the patch. It
also changes linux-sony-amami, linux-sony-aries, and linux-sony-taoshan
to use the shared patch.

I have confirmed that all six affected kernels still compile. [skip ci]
2018-12-03 22:37:05 +01:00
rendeko
6e7c39bbe7
New device: Ouya (!80)
Ouya boots. Install instructions are being refined, but device does
boot through fastboot. Hoping to merge into master to encourage others
to contribute to the device.
2018-12-03 21:19:18 +01:00
Oliver Smith
7aded95988
Revert "linux-*: use upstream gcc6 [skip ci]"
This reverts commit ee659a5bb4
and increases the pkgrels of all affected linux pmaports.

I have compiled *every single kernel* that was modified with this
commit, and it worked. That took 12 hours. So I'm pretty confident that
this is a good commit. Let's roll it out and go back to stability \o/

I'll kick off the binary repo building directly after pushing this, but
it will take some time until all binary packages are available again.

[skip ci]: it wouldn't finish in time.
2018-12-01 12:10:10 +01:00
Oliver Smith
a1acf0128d
linux-infocus-flatfish: fix race condition
Add -j1 to compiling the standby code, which is compiled separately
already. This change seems to make the kernel always compile, I've
tried it 6 times, 3 times of that with pmbootstrap's "--no-ccache"
option. It got past an error about 30 seconds into the build, which
happened roughly 2 out of 10 times:

gcc6-armv6-alpine-linux-muslgnueabihf-ld: cannot find standby.o: No such file or directory

I thought, this was related to gcc6 changes, or to changes in abuild,
but both were not the case.

Grant Miller confirmed that this fixed the build, he was able to
compile the kernel ten times in a row with this commit.
2018-12-01 12:03:15 +01:00
Grant Miller
ee659a5bb4
linux-*: use upstream gcc6 [skip ci]
Adjust HOSTCC to work with Alpine's version.
2018-11-29 09:16:00 +01:00
Oliver Smith
81c3b3c2dd
devices: remove deviceinfo_weston_pixman_type
This is not supported anymore, see previous commit for reasoning.
2018-11-29 07:31:06 +01:00
Konrad Dybcio
542acc1953
sony-tulip: new device (!77) 2018-11-27 07:52:26 +01:00
Oliver Smith
4468cf9b97
Various N900 improvements, change default i3 terminal to "st" 2018-11-27 07:47:11 +01:00
Piotr Halama
87434c2062
sony-taoshan: add Sony Xperia L 2018-11-27 07:47:11 +01:00
Martijn Braam
ab939626f5
device/device-tablet-x64uefi: new aport (!68) 2018-11-27 07:49:03 +01:00
Michael Hamann
aefde918c3
linux-samsung-n5110: backport getrandom syscall #107
This is a simple backport of the getrandom syscall. It does not
include other changes to the random interface like periodic or
late re-seeding which might be necessary to get good random numbers.
2018-11-27 07:47:11 +01:00
Robert Yang
9b250a94a7
samsung-p4wifi: Add grate driver as dependency
[skip-ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
771612344d
other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00
Oliver Smith
9814d78e73
device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00
sylvieon
31386bfc02
wingtech-wt88047: initial support (xiaomi redmi 2) 2018-11-27 07:47:11 +01:00
Valentin Marinov
a5c1b210c9
linux-sony-amami: Backport getrandom to support libressl on linux < 3.17 2018-11-27 07:47:11 +01:00
Grant Miller
f30758fb4a
samsung-jflte: Modernize and fix splashscreen and osk-sdl 2018-11-27 07:47:11 +01:00
Rogier Oudshoorn
f02b100ee9
samsung-serranodsdd: new device (!48) 2018-11-27 07:47:11 +01:00
Luca Weiss
98c88bd9f6
Fairphone 1 support 2018-11-27 07:47:11 +01:00
Konrad Dybcio
9d8928f2a0
linux-sony-nicki: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Valentin Marinov
a82204c127
linux-sony-aries: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Valentin Marinov
9666ffaa98
device-sony-amami: Xperia Z1 compact needs /etc/fb.modes for charging-sdl 2018-11-27 07:47:11 +01:00
Valentin Marinov
6c015c95ae
linux-sony-amami: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
unrznbl
3324b51fdd
first step of porting motorola-harpia to motorola-surnia (Moto E) 2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Robert Yang
10cbdc7225
linux-samsung-i9100: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Danct12
b790d6f764
new device: ASUS Zenfone Go (Z00VD) 2018-11-27 07:47:11 +01:00
Oliver Smith
3d99fad482
linux-lg-mako: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Oliver Smith
4472448e6b
device/linux-*: make all kernels compile again
All kernels compile again, after the GCC 8 upgrade.

All 3.x kernels have been changed to use GCC 6 now, because we can't
say for sure that they boot with GCC 8 even if we made them compile
with that newer GCC. If someone wants to test a kernel for a newer
device which they can test, see the instructions on
<https://postmarketos.org/vendorkernel>.

The linux-sony-castor-windy 4.x kernel did not compile out of the box
with the latest GCC, so we set it to GCC 6 as well. This can probably
be fixed easily.

linux-teclast-x80-pro: removed Werror and updated to latest 4.14 kernel
from kernel.org, otherwise this would not compile anymore (tested with
both GCC 6 and 8, probably incompatibility with the latest binutils or
something).

This commit will take too long to compile in CI, so let's [skip ci].
I've compiled all kernels multiple times and fixed them up until all of
them were working again.

Related: #103
2018-11-27 07:47:11 +01:00
Martijn Braam
4e940e519d Enabled QCDT for motorola-osprey 2018-09-24 22:02:54 +00:00
Oliver Smith
13c1745f54
device/device-pine-a64lts: fix checksums 2018-09-17 06:46:06 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Paakke
ea51a511e0 Add new device: lg-w5 (LG L70) 2018-09-13 06:13:34 +00:00
Krait Bosheit Takoj
2fa7835e8a
added xorg.conf: explicitly declares to not use glamor, which was causing slowdown 2018-09-04 09:00:57 +02:00