Commit graph

698 commits

Author SHA1 Message Date
Daniele Debernardi
e4e38c2001
main/postmarketos-mkinitfs: add deviceinfo_framebuffer_landscape (!546)
Use deviceinfo_framebuffer_landscape during splash screen generation.
Also add the postmarketos-splash arguments variable to the computation
of the hash for the cache.

Adjust device-pine-pinetab to use the new variable, and therefore rotate
its splash screen.

[ci:skip-build]: already built successfully in CI
2019-08-06 12:00:31 +02:00
Luca Weiss
fef416f198
pine-pinetab: new device (Pine PineTab) (!528)
Thanks to Martijn Braam for additional patches that were squashed into
this one.

[ci:skip-build]: won't finish in time
2019-08-03 02:27:39 +02:00
Dzmitry Sankouski
1c335b552e
samsung-a5y17lte: new device (Samsung A5 2017) (!510)
[ci:skip-build]: already built successfully in CI.
2019-08-03 00:58:08 +02:00
Joey Hewitt
212b3c8643
samsung-i9195: fix red screen (!535)
[ci:skip-build]: already built successfully in CI
2019-08-02 23:03:41 +02:00
Daniele Debernardi
e259e5f420
device-nokia-n900: various improvements (!534)
- rename 'ch-de' keymap to 'ch' as in X keyboard config file
- add PMOS_NO_OUTPUT_REDIRECT to kernel cmdline (fixes debug-shell)
- add all keymap files in initramfs
- load default us keymap in initramfs
2019-07-31 01:25:27 +02:00
Dolphin von Chips
18d199c498
samsung-j1mini3g: new device (Samsung Galaxy J1 mini) (!533)
[ci:skip-build]: already built successfully in CI
2019-07-30 20:45:19 +02:00
Bart Ribbers
bb00212b21
device-sony-sirius: use mesa-git (!524) 2019-07-27 20:38:22 +02:00
Bart Ribbers
02bc1dd064
device-sony-castor-windy: use mesa-git (!524) 2019-07-27 20:37:34 +02:00
Bart Ribbers
3b4d876521
device-asus-flo: use mesa-git (!524) 2019-07-27 20:36:04 +02:00
Bart Ribbers
b11d96dcbb
device-lg-hammerhead: use mesa-git (!524) 2019-07-27 20:35:27 +02:00
Bart Ribbers
944460fa76
device-pine-dontbeevil: use mesa-git (!524) 2019-07-27 20:34:27 +02:00
Bart Ribbers
a8d7b80444
device-pine-a64lts: use mesa-git (!524) 2019-07-27 20:33:38 +02:00
Luca Weiss
e8482cfb39
device/linux-htc-vision: fix wrong source handling (!516)
Also fix a few spaces->tabs issues while we're at it.

Should result in the exact same commit being download as before, the
checksum is different because GitHub puts the commit instead of the
branch name into the archive.

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-07-25 20:50:47 +02:00
Luca Weiss
be9615a763
temp/mesa-freedreno: fix mesa-freedreno-gl conflict (!520) 2019-07-23 21:04:32 +02:00
Danct12
5eb0b74350
asus-z00vd: use armv7 (!498)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-18 22:00:47 +02:00
Federico Amedeo Izzo
3dd4d8f220
samsung-zanin: new device (Samsung Galaxy Chat) (!496)
The phone boots pmOS, and the basic functionalities are ready.

[ci:skip-build]: already built successfully in CI
2019-07-17 00:39:03 +02:00
Sergey Larin
5ccbcf999d
samsung-i927: update kernel to 5.2.1, more updates (!452)
- OTG support
- Charger
- WiFi 5GHz
- RTC bug "fixed" (always-on interrupt - made device overheat!)
- Kernel version bumped to 5.2.1
- Memory timings
- New WM8994 codec board driver (fixes suspend/resume)
- Camera's regulator supported now (saves power at least!)
- Updated panel driver (still not in mainline, idk why)
- MHL support in kernel (fixes boot times and screen, currently disabled in X,
  not tested)
- Other minor kernel chagnes

[ci:skip-build]: already built successfully in CI
2019-07-17 00:15:26 +02:00
Danct12
861fb8e553
device-xiaomi-santoni: fix post-install script (!420)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:29 +02:00
Asriel Dreemurr
cec2a9de58
linux-xiaomi-santoni: add hci smd for bluetooth support (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:24 +02:00
Danct12
4499ff72c7
device-xiaomi-santoni: add pulseaudio support through hybris (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:18 +02:00
Asriel Dreemurr
19c1762248
device-xiaomi-santoni: remove asound.conf (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:08:14 +02:00
Asriel Dreemurr
3d513070ad
device-xiaomi-santoni: move alsa ucm files and sound dependencies to nonfree_firmware (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:08:02 +02:00
Asriel Dreemurr
0ea7b9a70a
xiaomi-santoni: tweak kernel config for hybris-boot, add X11 config for xf86-video-hwcomposer (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:07:33 +02:00
Danct12
206b763d56
device-xiaomi-santoni: add contributors and maintainers (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:07:22 +02:00
Danct12
c4110b60a7
xiaomi-santoni: workaround for long boot times with hybris userland (!420)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:07:13 +02:00
Asriel Dreemurr
e3921e5d5e
xiaomi-santoni: add android adaptation (!420)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-07-16 23:07:10 +02:00
Oliver Smith
5406010320
nokia-900: fix wallpaper in i3wm (!473)
The wallpaper has been broken, since we intentionally removed the N900
specific wallpaper from the postmarketos-wallpapers package. Just use
the default wallpaper, and tell feh to scale it nicely.
2019-07-11 19:38:56 +02:00
hacker12455
f1339bdba1
samsung-lt023g: fix WiFi (!489)
[ci:skip-build]: already built successfully in CI
2019-07-11 18:37:04 +02:00
Nikita Travkin
536da1c1a7
Add device: wileyfox-crackling (!485)
Initial support for Wileyfox Swift
- System boots
- USB networking works
- Display and touch works
- Weston, XFCE4, Plasma Mobile works with software rendering
- fb.modes added but charging-sdl still don't work
- System allways reports charge level at zero

[ci:skip-build]: already built successfully in CI
2019-07-11 17:59:27 +02:00
Konrad Dybcio
3003f25696
sony-suzu: new device (Sony Xperia X) (!482)
Also known as: SoMC Loire Suzu RoW

[ci:skip-build]: already built successfully in CI
2019-07-09 22:20:33 +02:00
Luiz Silva
5b77b0ff25
lg-p700: new device (LG Optimus L7) (!471)
[ci:skip-build]: already built successfully in CI
2019-07-09 21:45:31 +02:00
Alexey Min
2fb18b5d30
samsung-klte: backport memfd_create() syscall (!479)
This brings in several patches needed to add support for a
memfd_create() syscall into kernel version 3.4 from kernel
version 3.17. This is required for running lxc >= 3.1.0-r1
with security patch that fixes CVE-2019-5736.

In short, security issue was: in a privileged container root
process could overwrite lxc-start executable by opening its
file descriptor and rewriting executable contents. This is
where memfd comes to help: you can create an in-memory file,
copy your executable there, and place a set of SEALS to protect
it from modifying at a deep level. Then you fexecve() that fd
and you're safe.

For example, pulseaudio also can benefit from having
memfd_create() implemented.

This backports the following commits from upstream linux:
 - dd37978c50bc8b354e5c4633f69387f16572fdac: cache the value
   of file_inode() in struct file

   commit from linux-3.10 to have an f_inode member inside
   struct file and a helper function file_inode() that is
   used in some of the following commits

 - 40e041a2c858b3caefc757e26cb85bfceae5062b shm: add sealing API

   from 3.17: security measure called SEALS, that you can put
   on memfd file to restrict operations on it

 - 9183df25fe7b194563db3fec6dc3202a5855839c shm: add memfd_create()
   syscall

   also from 3.17

 - 503e6636b6f96056210062be703356f4253b6db9 asm-generic: add
   memfd_create system call to unistd.h

 - e57e41931134e09fc6c03c8d4eb19d516cc6e59b ARM: wire up
   memfd_create syscall

The last two are needed to make the syscall visible/usable from
userspace, one in generic context, other for ARM arch.

The test program (https://github.com/minlexx/test_memfd/) was
written to verify that this works.

[ci:skip-build]: already built successfully in CI
2019-07-09 21:17:33 +02:00
Alexander Polynomdivision
17ab67d2b6
samsung-herolte: fix indent in nonfree_firmware (!478)
As spaces instead of tabs were used, pmbootstrap would error out when
using `samsung-herolte` during init.
2019-07-06 09:13:19 +02:00
Luca Weiss
7c079a69fd
QEMU: fix case sensitivity, unify device names (!480)
[ci:skip-vercheck]
2019-07-06 03:30:37 +02:00
Federico Amedeo Izzo
9620435c92
samsung-ariesve: new device (Samsung Galaxy S Plus) (!474)
Also known as gt-i9001.

[ci:skip-build]: already built successfully in CI
2019-07-03 21:10:28 +02:00
hacker12455
e2e4bb3df2
samsung-lt023g: Enable WiFi, switch arch to armv7 (!470)
[ci:skip-build]: already ran successfully in CI
2019-06-30 19:13:31 +02:00
Oliver Smith
24d0ce16e5
asus-flo, sony-castor-windy: use mesa-freedreno (!450)
Let all remaining devices that depend on mesa-dri-freedreno use the new
mesa-freedreno package.

[ci:skip-build]: won't finish in time. I'm verifying that the whole
                 merge request builds before merging.
2019-06-30 18:54:08 +02:00
Martijn Braam
624c965b41
lg-hammerhead: mesa-freedreno, serial tty0, fix X (!450)
Use the new mesa-freedreno package. Configure inittab to start a
terminal on ttyMSM0 (serial). Remove fbdev from xorg.conf and set
SWCursor on.

Based on patches from Brian Masney.
2019-06-30 18:54:08 +02:00
Oliver Smith
71a9fec125
sony-sirius: use mesa-freedreno, change to armv7 (!450)
Switch to armv7, because we're not building linux-postmarketos-qcom for
armhf anymore.
2019-06-30 18:54:08 +02:00
Oliver Smith
ec14336927
teclast-x80pro: enable CONFIG_UEVENT_HELPER (!472)
[ci:skip-build]: will not finish in time. I've built linux-asus-me176c
                 and it builds fine. I'm assuming that
                 linux-teclast-x80pro will also build, since it is
                 pretty much the vanilla kernel.
2019-06-30 18:46:37 +02:00
Oliver Smith
58bb1ab8f3
asus-me176c: enable CONFIG_UEVENT_HELPER (!472)
Make busybox mdev work in the postmarketOS initramfs.
2019-06-30 17:10:31 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Kenneth Endfinger
258e92e942
google-glass: Add non-free firmware and initialize the display (!462)
[ci:skip-build]: already built successfully in CI
2019-06-26 23:56:33 +02:00
Idan Horo
624e777a6f
xiaomi-kenzo: new device (Xiaomi Redmi Note 3) (!461)
Boots succsfully, SSH over USB works fine, display and touch screen
works fine. WiFi is also confirmed to be working.

[ci:skip-build]: already built successfully in CI
2019-06-26 23:26:14 +02:00
Daniele Debernardi
fb477bab21 samsung-maguro: migrate to armv7 architecture (!455)
[ci:skip-build]: already built successfully in CI
2019-06-24 20:44:08 +00:00
Martijn Braam
d591cd2a38
device/pine-dontbeevil: Seperate version for longts (!407)
This adds a seperate dts for the longts version of the devkit (which was
the un-inverted version before) and adds a shortts version which was
inverted before, but didn't exist in pmaports yet because I manually
edited the dts for every release.

This MR abuses the kernel switching feature to switch the dtb instead so
shortts/longts can be selected in the init step.

[ci:skip-build]: build won't finish in time
2019-06-20 00:19:29 +02:00
Tito Ragusa
3209440946 oppo-find-7a: fix refresh rate (!438)
[ci:skip-build]: already built successfully in CI
2019-06-13 23:47:10 +00:00
Alexey Min
40754def82
linux-samsung-klte: update to latest LineageOS-14.1 kernel (!435)
Fix elogind sending device to a reboot on session start by lightdm.

Fixes #274

[ci:skip-build]: already built successfully in CI
2019-06-13 22:17:18 +02:00
Alexey Min
c7265011db
device-samsung-klte: don't replace NM unmanaged devices (!434)
Do not overwrite NM unmanaged devices, append instead.

[ci:skip-build]: already built successfully in CI
2019-06-13 22:08:39 +02:00
Shuhao Wu
f4b127356f
hammerhead: enable all cpus (!426)
Previous cmdline is disabling cpu2,3 by default.

Fixes #282.

[ci:skip-build]: already built successfully in CI
2019-06-11 22:43:13 +02:00
hacker12455
dc8128f2dc
device/htc-k2ul: 16 bit color mode, remove v4l udev rules (!427)
16 bit color mode is needed for Xorg to work properly, udev rules are
removed due to crashes and hangs.

[ci:skip-build]: already built successfully in CI
2019-06-09 21:10:20 +02:00
hacker12455
aebe74f61e
device/htc-k2ul: add deviceinfo touchscreen device (!422) 2019-06-07 23:47:31 +02:00
hacker12455
2e31fbb242
Add WiFi firmware and enable it. (!419) 2019-06-07 15:42:18 +02:00
Danct12
92454681aa
linux-chuwi-hi10plus: upgrade to 5.1.7, optimize config (!416)
I've upgraded the kernel to 5.1.7 stable for this tablet, boots and
working perfectly fine.

I have also added support for initramfs touch screen using mainline
silead and as well as optimized the kernel configuration a little bit,
it should now compile faster on ollieparanoid's computer (where the
official binary packages are currently built).

[ci:skip-build]: won't finish in time on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-06 22:40:35 +02:00
hacker12455
3336552bef
htc-k2u: new device (HTC One SV) (!412)
Device boots, USB networking works.

[ci:skip-build]: already built successfully in CI
2019-06-06 22:27:37 +02:00
Alexey Min
e4cc96d27e samsung-klte: downstream: add android adaptation (!332)
Lots of device-specific configurations:

* android mount points and mounts
* android groups and users (needed for udev rules)
* android udev rules for platform devices (needed for android services to run)
* NetworkManager device-specific config
* wpa_supplicant device-specific config
* device-specific openrc service for late initcalls to bring up Wi-Fi hardware
* extra helper scripts to call logcat, set backlight brightness,
  get battery status, unlock kde screenlocker session
* use kernel cmdline from downstream android to keep it as close to
  android as possible. Important for android in lxc container later
2019-06-02 02:49:02 +00:00
Luca Weiss
693079abb5
mkinitfs: Introduce deviceinfo_append_dtb variable (!387)
We don't need to append the dtb to the kernel image in all cases, with
e.g. the u-boot bootloader we can load the dtb seperately from the
kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
"true", append the dtb, otherwise just copy the dtb file to the boot
partition.

Fixes #260

[ci:ignore-count]
2019-06-02 03:13:43 +02:00
Tito Ragusa
e25a233534
oppo-find-7a: add firmware subpackage (!402) 2019-06-02 03:00:58 +02:00
misaka4e21
dd3d5cda92
motorola-titan: fix boot.img flashing and booting (!399)
1. Set deviceinfo_flash_offset_base to 0x00000000.
2. Enable deviceinfo_bootimg_qcdt, and make dt.img for it.
Directly use zImage instead of zImage-dtb for smaller boot.img size.
3. Reduce kernel size by disable xz, lzma and bz2 compressing.
4. Update kernel to the last version in LineageOS repository.

Please note that it is ONLY TESTED on XT1079 "thea", aka Moto G 2014 LTE.
However, "thea" and "titan" are nearly identical, sharing same kernel
and defconfig on LineageOS, etc.

[ci:skip-build]: already built successfully in CI
2019-05-31 03:25:21 +02:00
Alexander Polynomdivision
3cdb983863
samsung-herolte: add nonfree_firmware subpackage (!395) 2019-05-31 02:23:00 +02:00
Danct12
458d6e80e1
linux-chuwi-hi10plus: update to 5.1.5 (stable) (!386)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-05-31 00:47:06 +02:00
Piotr Halama
dcc2ce2438 nokia-frt: adjust to fixed upstream repo (!380)
Nokia only provides .zip files without any git history, so I had to
download the kernel git repo for 3.18.79 and then apply all downstream
changes as one singular commit to preserve at least some of the history.

My previous PC had big problems with creating patch files for symlinks
so I added some commits that should have been in patchfiles instead.
This merge request fixes that, leaving in repo just 3.18.79+downstream
patches and all my patches as patchfiles inside aports.

[ci:skip-build]: already built successfully in CI
2019-05-26 18:07:11 +00:00
Asriel Dreemurr
abb5302992
linux-xiaomi-santoni: rebased to 3.18.140 (!378)
[ci:skip-build]: aready built successfully in CI
2019-05-25 00:47:56 +02:00
silver
a31cc23571
samsung-apexq: fix red screen (!377) 2019-05-23 20:51:08 +00:00
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Danct12
5d478a8e48
chuwi-hi10plus: fix pwm lpss backlight (!372)
[ci:skip-build]: kernel takes more than an hour to compile on CI.
2019-05-21 19:18:10 +02:00
Danct12
94d5efbc96
chuwi-hi10plus: new device (CHUWI Hi10 Plus) (!347)
This port uses the Android bootloader (kernelflinger) instead of
Gummiboot or rEFInd,... just in case if people still want to easily
reflash Android later without going through some DNX Fastboot, Intel
Flash Tool blah blah.

Chuwi violates GPLv2 by not releasing the kernel sources of Android to
the public. This port uses Linux mainline (5.1-rc7), and almost
everything works properly, so thankfully we don't have to use the 3.10
kernel which is outdated and EOL.

[ci:skip-build]: kernel takes more than an hour to compile on CI.
                 ollieparanoid made sure that everything builds.
2019-05-19 21:45:44 +02:00
Tito Ragusa
da260f4652
oppo-find-7a: fix display, touchscreen (!369)
Make the display work, set virtual_size and add
msm-fb-refresher and 0001-fix-video-argb-setting.patch.

[ci:skip-build]: already built successfully in CI
2019-05-19 20:09:20 +02:00
Luca Weiss
a49f691f49
temp/mesa: fix symlink, refactor, split dri-kmsro (!362)
Fix missing symlink for the first driver in mv_dri() (caused by "shift"
at the wrong position). Build freedreno for arm only, not for all
arches.

Lima is for rendering and sun4i-drm (part of kmsro) for the display, so
split it into its own subpackage and use it in device-pine-*.

[ci:skip-build]: ollieparanoid made sure, that this builds. This won't
                 finish in time in CI.
2019-05-14 21:51:39 +02:00
Bart Ribbers
85dfee5b75
temp/mesa: update to latest git master to include Lima (!359)
temp/mesa: enable mesa-dri-lima subpackage
temp/mesa: add a fix for Wayland on Lima
temp/mesa-purism-gc7000: update to latest Git and try to resolve conflicts with mesa
temp/mesa: switch version to 19.1.0-rc1
device/device-pine-a64lts: add mesa and mesa-dri-lima to depends
device/device-pine-dontbeevil: add mesa to depends
device/device-purism-librem5dev: remove now defunct mesa-purism-gc7000-dri-imx from depends
temp/mesa*: re-add X11 support
temp/mesa-purism-gc7000: fix build error which for some reason didn't cause problems earlier
temp/mesa*: fix X11 DRI symlinks
2019-05-14 16:26:21 +02:00
Tito Ragusa
1f8095771c
oppo-find-7a: new device (Oppo Find 7a)
I only tested the usb network feature by ssh'ing in to the device.
Nothing else works yet.

[ci:skip-build]: already built successfully in CI
2019-05-11 21:26:43 +02:00
humanleftswatch
b4b7f1ffdc
lg-vee7e: new device (LG Optimus L7 II) (!358)
This is the beginning of a port to the the LG devices with the codename
vee7e, the one i have is the LG-P710 but according to the xda forum
there are some others, so if someone could test those that would be
nice.

I have not done any work besides making the kernel build and checking if
it boots so there still are some rather obvious issues but it boots and
has working USB-networking as well as a partially working screen and
touchscreen.

[ci:skip-build]: already built successfully in CI
2019-05-10 00:20:02 +02:00
K-laus
1528be93f3 samsung-gts210vewifi: use devicepkg-dev (!353)
Instead of doing it step by step in APKBUILD, use
downstreamkernel_prepare.

[ci:skip-build]: already built successfully in CI
2019-05-09 21:39:16 +00:00
K-laus
2978dfd42a samsung-gts210velte: new device (SM-T819) (!346)
device is very similar to samsung-gts210vewifi (SM-T813),
just has additional LTE modem.

Have to use gcc6 for kernel compilation, otherwise get
'Unhandled fault: alignment fault (0x96000061) at 0xffffff8001787f4c'
errors on kernel startup, and device always reboots.

[ci:skip-build]: already built successfully in CI
2019-05-09 21:33:42 +00:00
Danct12
eb0622513b
xiaomi-santoni: various improvements (!335)
* Add support for osk-sdl
* Use latest commit from bitrvmpd
* Add udev rules, scripts for charging led
* Add (hacky) udev rule for jack detection
* Add pulseaudio files
* Silence substream kernel messages
* Change charging script path
* Move adsp-audio dependency to firmware to avoid watchdog

[ci:skip-build]: already built successfully in CI
2019-05-09 22:56:12 +02:00
Lofenyy Wilson
28cc2ecfe4
samsung-kylessopen: Modernized APKBUILD (!345)
Kernel repository changed to backup, see this new workflow:
https://wiki.postmarketos.org/wiki/How_to_properly_backup_downstream_kernels

[ci:skip-build]: already built successfully in CI
2019-05-08 22:19:41 +02:00
Luca Weiss
4ce7075d67
fairphone-fp1: fix touchscreen and display (!343)
Install msm-fb-refresher, it's needed for the screen to refresh.
Update the kernel to a new commit with several patches applied to fix
the touchscreen - before it wasn't working properly.
Switch architecture from armhf to armv7.

[ci:skip-build]: already built successfully in CI
2019-05-06 22:35:34 +02:00
Zhuowei Zhang
f3bd8707a1
linux-google-crosshatch-mainline: rebase to 5.1-rc7 (!341)
This rebases the Pixel 3 XL patches on top of current
linux master branch (5.1-rc7 + a few more commits since then)

Also enabled KASLR in the defconfig.

[ci:skip-build]: this kernel takes more than one hour to build.
2019-05-03 00:17:34 +02:00
Federico Amedeo Izzo
ba8a3ac375 lg-e610: new device (LG Optimus L5) (!340)
The phone boots postmarketOS and shows logo.
USB networking and flashing via fastboot works.
Display is currently broken but I will try to fix it soon.

[ci:skip-build]: already built successfully in CI
2019-05-02 22:13:44 +00:00
Martin Piatka
938fe1a52a
htc-ace: Switch initfs compression to lzma (!339)
With this change the boot.img finally fits in the 4MB boot partition
making pmOS flashable

[ci:skip-build]: already built successfully in CI
2019-05-02 23:26:29 +02:00
Martijn Braam
badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
km2
1788bb25a3
zte-p731a20: new device (ZTE Blade AF3) (!325)
[ci:skip-build]: already successfully built in CI
2019-04-26 22:58:24 +02:00
Andrea Scarpino
0ca885b592
asus-z00t: fix nonfree_firmware's pkgdesc (!333)
Fixes: "Could not find pkgdesc of subpackage function 'nonfree_firmware'
(spaces used instead of tabs?)"
2019-04-26 22:17:27 +02:00
Alexey Min
b758c7a4b2
samsung-klte: add nonfree_firmware() to device package (!327) 2019-04-24 15:52:04 +02:00
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
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