Commit graph

775 commits

Author SHA1 Message Date
Michael Hamann
99b398a7e5 devicepkg-dev: Generate calibration matrix for libinput (#1205)
* Automatically generate a calibration matrix for libinput
  This takes the calibration matrix for wayland and divides the pixel
  offsets by the device width/height.
* Bump pkgrels of devices using devicepkg-dev
  This causes new packages to be generated, using the new devicepkg-dev
  version.
2018-02-11 10:20:31 +00:00
alive4ever
f870333b99 Add triggerhappy: HID input device handler (#1211)
More information:
<https://wiki.postmarketos.org/wiki/Troubleshooting:HID_buttons>
2018-02-11 10:09:18 +00:00
Oliver Smith
4b71aa8525 Update musl-* to upstream (1.1.18-r7) 2018-02-10 19:07:17 +01:00
Pavel Machek
ef60968c20 Update unicsy-demo to 0.4.6 (#1215) 2018-02-09 20:41:15 +00:00
Bart Ribbers
9a6d507fbb Update Plasma to 5.12 (#1208) 2018-02-06 23:18:45 +00:00
Daniele Debernardi
4c91a72ff1 [fbdebug] Add panning functionality (#1207) 2018-02-06 21:21:25 +00:00
alive4ever
12487a1efa Initial porting effort to Xiaomi Redmi 1S (armani) (#1204)
The device is Xiaomi Redmi 1S, based on MSM8296 platform, with Qualcomm
Snapdragon 400.  The kernel is from lineageOS (3.4.0). Some additional patches
are needed for successful compilation. The screen dimension is 720x1280.

The touchscreen device name is ft5x06_i2c. Use this name for udev
instead of hardcoded device path. Also add a workaround for red
screen weston by setting weston_pixman to 2
The screen doesn't refresh. Enabling msm-fb-refresher as suggested.

Add udev rule to indicate whether the device is in charging state.
Green led indicates that the device is charging, whereas red light
indicates that the device is discharging.

For prima wlan module to work, an initialization procedure is needed (
echo 1 > /dev/wcnss_wlan ), before loading the prima wlan module
(wlan.ko). Also build the prima wlan as module. 

Xiaomi Redmi 1S is using pronto wlan module, which needs some firmware
to run. Add the required wifi firmware to enable the wifi interface.

Add an openrc service to load wlan module after wcnss_service is
initialized.
2018-02-05 19:58:08 +00:00
Daniele Debernardi
c818f9f054 fbdebug: Add initial framebuffer debug tool (#1196) 2018-02-03 19:09:59 +00:00
ashirviskas
d7a22e3636 [nextbit-robin] Added msm-fb-refresher so display is now working properly (#1197) 2018-02-03 12:00:52 +00:00
Emil Lauridsen
0fbe7ee76c Basic Xperia Z3 Tablet Compact support (#1200) 2018-02-03 11:34:51 +00:00
Pavel Machek
39883062ed gps-nokia-n900: Package initial version (#1198) 2018-02-03 11:19:07 +00:00
Oliver Smith
a224919712 Update musl-* to upstream (1.1.18-r6) 2018-02-03 11:58:04 +01:00
Daniele Debernardi
3237f58244 Add device Samsung Galaxy S5 (samsung-klte) (#1163) 2018-02-02 19:59:14 +00:00
Oliver Smith
b165dd2c91 Testsuite: Run UIs in Qemu and check running processes and more (#982)
* Testsuite: Run UIs in Qemu and check running processes (and other changes)

* When `pmbootstrap qemu` gets killed, it now takes down the Qemu process with it
* `test/check_checksums.py` got a new optional `--build` parameter, which makes
  it build all changed packages instead of just checking the checksums
* We run this before running the testsuite now, so all changed packages get
  built before running tests (otherwise tests would hang without any output
  while a changed package is building)
* New testcase, that zaps all chroots, installs a specific UI (xfce4 and
  plasma-mobile currently, easy to extend), runs it via Qemu and checks the
  running processes via SSH.
* Version checking testcase: rewritten to include Alpine's testsuite file in
  our source tree, so we don't need to clone their git repo anymore. Now it
  is enabled for Travis.
* All this gives us a nice 10% code coverage boost
* Increased the `hello-world` pkgrel to verify that the Travis job is working.

* Various fixes
* Build device-packages for the device arch and don't raise an
  exception, but print a note if --ignore-depends is not specified
  and therefore the kernel gets installed, too.
* Don't use --force when building in Travis (because abuild doesn't
  check the checksums then. Bug report on the way.)
* Don't run the building process in the background, but wait for its
  completion
* Exit with 1 when showing usage in check_checksums.py
2018-02-02 00:16:29 +00:00
Oliver Smith
4c9b0de4f5 Fix invalid /etc/apk/repositories entry on device (#1189)
It used to have an entry for /mnt/pmbootstrap-packages, which only
makes sense while working on the chroot with pmbootstrap. After the
installation on the device, there's no repo in that path.
Furthermore, empty lines were added to the recovery installer script
for readability (thanks @ata2001!)
2018-02-01 22:44:20 +00:00
Alex Roth
e7823b1698 Luna: pmOS default wallpaper via symlink (#1191) 2018-02-01 21:52:48 +00:00
Pavel Machek
d96d44b90e N900: Attempt to fix touchscreen being upside-down (#1183) 2018-02-01 21:47:12 +00:00
Oliver Smith
6d1af1b891 mkinitfs: Fail on missing depends / better usability in general (#1133)
* Fail if mkbootimg/uboot-tools are not installed, but creating a
  boot.img file / u-boot legacy image was requested via deviceinfo
  (fixes #312)
* Fail if /boot/dt.img is missing, but we have a qcdt device
* Fail if the dtb file specified in deviceinfo does not exist
* Fail if mkbootimg etc. exit with error code
* Don't try to add the ext4 module into the initramfs. We always
  compile it into the kernel. Instead, kconfig_check makes sure it
  is enabled now. (fixes #1037)
* Add a note that modprobe warnings can be ignored mostly
2018-01-31 19:39:09 +00:00
Peter Mann
301f732c5c Add initial support for Zenfone 5 (t00f/t00j) (#1176)
Current status:
  - flashing only manually (intel phones have different bootimg format)
  - usb networking works
  - xorg works using fbdev
  - packages needed for wayland are not available for x86
  - touch works in xorg and osk-sdl
2018-01-29 20:52:20 +00:00
Pavel Machek
d931b61091 Nokia N900: add right keymap for X11. (#1177)
Fixes #991.
2018-01-29 19:33:32 +00:00
Oliver Smith
163564f0e6 Update busybox-static-* to upstream (1.27.2-r8) 2018-01-29 20:01:24 +01:00
ashirviskas
4f8e3489e9 Nextbit Robin booting. SSH over USB working (#1145) 2018-01-27 14:52:34 +00:00
Alfie Day
48c4deaf16 Enable xwayland on t2m-flame (#1168)
postmarketos-demos runs fine with xwayland enabled
2018-01-25 18:12:45 +00:00
Ryan Murthick
989af693b7 Add initial support for the Moto G 2013 (falcon) (#1165)
Currently working:
 - flashing both kernel and system
 - boots into weston with touch support
 - can also ssh in via usb
2018-01-24 23:52:27 +00:00
Bart Ribbers
5b0c90e31e Update KDE Frameworks to 5.42.0 (#1164)
Fixes #979: Top drawer and background missing on first boot
2018-01-24 23:23:36 +00:00
NotKit
b0552ee23b Update Maemo packages (fixes #1148) (#1157) 2018-01-24 20:45:47 +00:00
Vadim Rutkovsky
fdec907384 asus-flo: enable namespaces support (#1152)
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-23 00:43:05 +00:00
Daniele Debernardi
1eb6b7cbd7 Allow to build musl/binutils/gcc for x86 architecture (#1150) 2018-01-23 00:26:33 +00:00
Oliver Smith
d06845725b kimageformats: soname bump of dependency: libIlmImf-2_2.so.22 2018-01-23 00:59:46 +01:00
Pavel Machek
fcb508a3e9 Rename Nokia rx51->n900 and rm-696->n9 (#1146)
Closes #1143.
2018-01-21 15:09:37 +00:00
Oliver Smith
63247b469f libsamsung-ipc: update to 6.0.0003 and fix pkgver
Unfortunately pmbootstrap did not detect, that we had an invalid
pkgver in this package. See bug #1144.
2018-01-20 19:28:15 +00:00
Oliver Smith
017f0b4c3e Don't compile cross-compiler packages for the host arch
Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts (#970).
2018-01-20 19:17:23 +01:00
Martijn Braam
417b673286 linux-samsung-s6500d: Fixed kernel version number and upstream url (#1142) 2018-01-20 17:42:42 +00:00
Bradley Gamble
c0ba30c7e6 Google Nexus 10: Initial Support (#1138)
Uses watchdog-kick dependency to stop periodic (30s) reboots.
2018-01-20 00:50:14 +00:00
Daniele Debernardi
de21e03333 Add qemu-user-static-repack all architectures (#1136)
Also don't build "-repack" packages in native chroot anymore.
This was a legacy hack, which has no use anymore, and it prevented
the package from being built for different architectures.
2018-01-19 21:30:16 +00:00
Daniele Debernardi
efc7fc9c57 Add musl/binutils/gcc for cross-compiling to x86_64 (#1130) 2018-01-18 21:48:04 +00:00
Daniele Debernardi
8396a60cf3 abootimg: arch=all (#1131) 2018-01-18 00:58:50 +00:00
Oliver Smith
85846b592b kimageformats: bump pkgrel (soname bump: libIlmImf.so) 2018-01-18 01:31:39 +01:00
Chinmaya Krishnan Mahesh
61bf12bc88 (motorola-potter) Add display support (#1129)
using msm-fb-refresher
2018-01-17 17:57:24 +00:00
Chinmaya Krishnan Mahesh
a84393aa6d Initial support for Moto G5 Plus (potter) (#1126) 2018-01-16 20:55:23 +00:00
Oliver Smith
f5759c1e06 Gracefully handle packages breaking because of soname bumps (#1116)
Fixes #893. Changes:
* New action: "pmbootstrap pkgrel_bump"
* pmbootstrap detects missing soname depends when trying to install
  anyting, and suggests "pkgrel_bump --auto" to fix it
* Testcase test_soname_bump.py checks the pmOS binary package repo
  for soname breakage, so we see it when CI runs for new PRs
* libsamsung-ipc: bump pkgrel because of soname bump
2018-01-14 01:26:42 +00:00
rrooij
bf0a5f0a21 deviceinfo: add blobtools options (#1118)
Add a blobtools option to the deviceinfo file for creating specific
blobs for the Asus TF101 tablet. This will make it easier to flash
afterwards with ADB.
2018-01-13 20:38:29 +00:00
rrooij
6caddcb873 Add blobtools as package for tf101 (#1115)
This is for making a kernel image for the TF101 easier. See also:
ttps://github.com/postmarketOS/pmbootstrap/pull/1103#issuecomment-357035481

The TF101 does not support normal Android boot images and instead needs
a blob to be created.
2018-01-13 00:33:48 +00:00
Eric Hosmer
e100b18aca motorola-shamu: Fix black screen after splash (#1112) 2018-01-12 22:01:55 +00:00
Attila Szöllősi
ceefc5d8ec [recovery-installer] Copy contents of /etc/skel to home directory (#1114) 2018-01-12 21:53:15 +00:00
Alex Roth
6ae591471a postmarketos-artwork-wallpapers: Update to pull in JPG wallpapers (#1113) 2018-01-12 21:32:59 +00:00
Alex Roth
19c7d1a375 Luna: Fix startup by bumping the nodejs packages (#1111) 2018-01-11 19:46:06 +00:00
Olgierd Nowakowski
bac4792f27 postmarketos-artwork: Spaces -> Tabs (#1110) 2018-01-10 19:00:55 +00:00
Daniele Debernardi
0b9acf52a4 [samsung-i9070] Add proper fix for framebuffer (#1106)
- Removed the framebuffer configuration in the initramfs hook
- Added patch for fixing the framebuffer mode in the kernel source
- Cleanup linux-samsung-i9070 APKBUILD
2018-01-09 19:42:52 +00:00
rrooij
4baa73c3bc samsung-i9195: fix weston pixman type (#1105) 2018-01-09 18:23:10 +00:00