Commit graph

541 commits

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