Commit Graph

549 Commits

Author SHA1 Message Date
clayton craft 9c4c1e9575 [linux-postmarketos] Update to 4.13.4 (#646) 2017-09-28 19:32:30 +02:00
clayton craft 4415074728 [tslib] Update to 1.13 (#642) 2017-09-28 15:28:40 +00:00
montvid e49fd392b2 Fix bootloader cmd eaten characters (#644)
* Feed the whacky bootloader that eats 26 characters
https://dflund.se/~triad/krad/nexus7-flo/ proposed a fix for the bootloader and it works.
2017-09-28 15:08:08 +00:00
Oliver Smith d32f0826c6 Workaround for #633: increase sleep before pmOS-demos shows up (#638)
A proper fix will be implemented soon, see #633.
2017-09-27 20:48:08 +00:00
zhuowei 7832b0210b angler: support Wi-Fi and graphics (#555)
* Package Broadcom Wi-Fi firmware from AOSP

This uses a mirror of AOSP's platform/hardware/broadcom/wlan repo at version
android-8.0.0_r12 (6c8ef5b600cec5d36a54a0276fe8c97b9ab8d6bb).

This is needed as Nexus 6P uses a BCM4358, and the blob available in Alpine's
linux-firmware package is old and vulnerable to Broadpwn. See #513.

* device: angler: enable Wi-Fi and graphics output

Changes:

- Set resolution on bootup

This is copied from the Nexus 5's init script.

- Add Wi-Fi calibration file and change firmware path

This is also based on the Nexus 5's implementation.

- Enable CONFIG_VT and NFS in the kernel

- Explicitly use identity touchscreen calibration

- Rename the touchscreen udev rules

- Enable msm-fb-refresher
2017-09-27 17:41:25 +00:00
clayton craft 5031ff48bc [ofono] add patch submitted upstream (#630) (#635)
This adds a patch I submitted upstream to ofono: https://lists.ofono.org/pipermail/ofono/2017-September/017557.html
2017-09-27 17:20:44 +00:00
clayton craft f572554c74 [rx51] Update udev rules for proper detection of modem in ofono (#636)
For some reason the ofono rules don't always work for the N900's modem.
This picks out the relevant parts of that rule and seems to successfully
set up the modem device every time now.
2017-09-27 17:18:09 +00:00
Pablo Castellano c855ee095b Qemu support for the QXL driver and SPICE (#481)
* pmb.helpers.run: support running processes in background
* enable QXL driver support in the linux kernel configurations so
that we can also use SPICE to connect to the VM.

QXL is a paravirtual graphics driver with 2D support

The SPICE project aims to provide a complete open source solution for remote
access to virtual machines in a seamless way.

Both DRM_QXL and DRM_BOCHS are enabled as modules.
According to [1], on Linux guests, the qxl and bochs_drm kernel modules
must be loaded in order to gain a decent performance

* qemu: add new option --spice to connect to VM using a SPICE client

If specified, 'pmbootstrap qemu' will look for some SPICE client in the
user's PATH and run qemu using the QXL driver.

Currently supported spice clients are 'spicy' and 'remote-viewer' but
adding support for more clients can be easily done.

qemu with qxl support will run on port 8077/tcp, which doesn't belong to
any well-known service and represents 'PM' in decimal.

References:
[0] https://www.linux-kvm.org/page/SPICE
[1] https://wiki.archlinux.org/index.php/QEMU#qxl
[2] https://wiki.archlinux.org/index.php/QEMU#SPICE
[3] https://github.com/postmarketOS/pmbootstrap/issues/453 (partially fixed)
2017-09-26 20:52:00 +00:00
montvid d48ca092b4 Move to a stable kernel branch to fully fix freedreno. (#634)
* Enable Weston drm for Freedreno

* update rel and hash

* Change from flo-WIP to flo 4.11 kernel

Fixes freedreno. Runs smoothly without lockups.

* Config for flo 4.11 kernel branch
2017-09-26 22:00:44 +02:00
Oliver Smith e60eee7dfa Fix #151: git ambiguous argument error (#531)
We check if origin/HEAD is present. In case that reference is
missing, we show a meaningful error message now, with an explanation
on how to add it. Also moved find_out_of_sync_files_tracked() to
pmb.helpers.git
2017-09-25 22:05:29 +00:00
montvid 1416ce241d asus-flo: wifi & freedreno support + new firmware-asus-flo (#627)
* firmware-asus-flo: packaged all flo firmware
* device-asus-flo: depend on firmware-asus-flo package
* default android wifi config
* Add wifi and freedreno support
* change to console=ttyMSM0 - as per https://dflund.se/~triad/krad/nexus7-flo/
* Add current kernel config as it is currently working with wifi.
* Increase pkgrel to account for changes in the kernel config.
2017-09-25 20:39:11 +00:00
clayton craft 8272ba2d52 Enable dbus service by default (#628)
Quite a few things use dbus (plasma, hildon, ofono, connman,
networkmanager, etc) that I think it makes sense to just have this
started by default in pmOS rather than have every device package
implement this on their own.

In case someone shows up with a use-case, where dbus by default
is not desired, please speak up. Possible solutions are in #628.
2017-09-25 20:33:04 +00:00
clayton craft 5671609d07 [gtk+2.0-maemo] add missing py-six makedepend (#622) 2017-09-24 18:19:23 +00:00
drebrez c2028e3ae7 Implement cache for generated splash screens (#620) 2017-09-24 14:24:56 +00:00
clayton craft 1939e929c2 [maemo] fix packages with broken source links (#623) 2017-09-24 14:05:37 +00:00
clayton craft d98cb50347 Improve message for SSH key copying during install (#624)
This only displays the ssh key note if no keys are found, since it's
confusing if a user has 1 key but not the other. In that case, the
message would be displayed despite copying one of the keys over.
2017-09-24 14:02:17 +00:00
Martijn Braam df0566538e Deterministic dhcp lease (#619)
* Ensure leased ip is always 172.16.42.2
* Bumped version for postmarketos-mkinitfs
2017-09-23 14:23:38 +00:00
montvid 3c4e709657 [asus-flo]: Fix udev rule (Remove \) (#611)
* remove \ because of udev warning

* fix hash for changed udev rules

* device-asus-flo: Increase pkgrel
2017-09-23 01:31:38 +00:00
clayton craft eab6ca4e32 [osk-sdl] Update to 0.48 (#612) 2017-09-23 01:12:12 +00:00
clayton craft 4e3054a852 [sdl2] Update package to prevent installing upstream updates (#613) 2017-09-23 01:10:31 +00:00
clayton craft 6e402c4d36 [directfb] add gfx init patch and adjust configure options (#614) 2017-09-23 01:09:29 +00:00
clayton craft e0b673d838 Add device-specific configs for osk-sdl (#615) 2017-09-23 01:05:54 +00:00
Martijn Braam 84ef2d18e3 Update musl from upstream (#617) 2017-09-23 00:48:07 +00:00
montvid 65d57e279b Add Nexus 7 2013 flo support 4.11 kernel (#608)
Nexus 7 2013 flo support with Linaro flo-WIP kernel. Touchscreen, weston, usb internet working.
2017-09-21 22:23:54 +00:00
Luca Weiss b7b0011195 postmarketos-base: Update wiki link (#607) 2017-09-21 19:56:59 +00:00
Luca Weiss 3667517c60 Fairphone 2 support (#602)
* Started with stock kernel config (fairphone-perf_defconfig)
* Enabled DEVTMPFS
* Deactivated MSM_KGSL
* Enabled the serial console
* Enabled USB networking
2017-09-21 17:21:21 +00:00
drebrez 98f3b09194 [htc-bravo] Reduce kernel size & remove touchscreen calibration (#605)
* [htc-bravo] Reduce kernel size
* [htc-bravo] Remove unnecessary touchscreen calibration
* [htc-bravo] Bump linux-htc-bravo version
2017-09-21 17:13:25 +00:00
Jean Lucas a8cdb455f3 Support for Ed25519 SSH keys (#571) 2017-09-21 17:11:20 +00:00
clayton craft f2200ecdb9 [linux-postmarketos] update to 4.13.3 (#606) 2017-09-21 14:06:00 +02:00
clayton craft 20920aebc2 [rx51] Add libinput calibration matrix (#600) 2017-09-20 18:40:50 +00:00
clayton craft 0f9b45dbd8 Improve copy in mkinitfs (#599)
'install' does not properly handle symlinks, it copies the entire file
instead of a symlink to it. This PR uses `cp -a` to preserve symlinks.

For example, with `install`, the files libc.musl-armhf.so.1 and
ld-musl-armhf.so.1 are the same size, despite the fact that in rootfs
libc.musl-armhf.so.1 is actually a symlink to ld-musl-armhf.so.1.

According to @drebrez research, the initramfs size shrunk from 
1 567 930 to 1 168 591.
2017-09-20 18:36:22 +00:00
clayton craft 220cd7b442 Close #574: swap file support/encrypted swap on rx51 (#585)
This adds a custom swap file service, which allows specifying a
recommended swap size in the deviceinfo file via
`deviceinfo_swap_size_recommended`. For the N900 this defaults
to 1024 MB now. As the swap file is created in the root partition,
we have encrypted swap now (unless encryption is disabled with
`--no-fde`).
2017-09-20 18:32:19 +00:00
Oliver Smith bf6f5cb884 Fix confusing error message for invalid makedepends (#540)
This happens currently, when a makedepend is invalid:
ERROR: UnboundLocalError: local variable 'pkgname' referenced before assignment

With this patch, you get the meaning full error that should have been printed instead:
ERROR: Could not find package 'invalid-package' in the aports folder and could not find it in any APKINDEX
2017-09-19 19:51:43 +00:00
clayton craft 558cd40fbf Adjust luksFormat options to reduce time to open luks device on boot (#430)
This is a workaround for #429, until the iteration count can be
specified directly in cryptsetup.

* Add default iter-time option, and option to override
* set SHA1 default hash for luksFormat, add option to override
* [RX51] load omap-sham in initramfs for HW accel. sha1
2017-09-19 19:46:18 +00:00
Tomas Safarik 70aa50ff50 set system partition for flashing with heimdall (#596)
* add firmware for samsung-i9100

* add firmware package as dependecy for device package

* fix sha sums

* fix checksums

* APKBUILD fixes

* hopefully correct pkgrel versions

* set kernel config for postmarketos firmware location

* bump pkgrel

* update checksum for linux-samsung-i9100

* fix path for downloading firmware files

* update checksums

* set device system partion for flash to FACTORYFS ( issue#422 )
(please check that I merged master correctly in previous commit)
2017-09-19 01:20:02 +02:00
drebrez 1493575905 Add LG G Watch (dory) support (#595)
* Add LG G Watch (dory) support

* Use github.com mirror instead of googlesource.com to have fixed checksum

* Fix kernel compilation and remove unnecessary initfs-hook for framebuffer settings
2017-09-19 01:15:04 +02:00
Attila Szöllősi ae6a58b6ed Close #554: kernel config checking (#589)
* Check kernel config
* Allow specifying multiple kernel packages, and also no packages
  which defaults to scanning all kernel configs (it is super fast
  anyway)
* Add the check to Travis CI
* Adjust existing kernel configs, so they pass the kconfig_check.
(We've had to put in a lot of defaults in the aarch64
linux-postmarketos configs, that's why the diff is a bit unclean.)
* Increase modified kernel pkgrels
2017-09-18 21:36:54 +00:00
clayton craft 7349874925 Add msm-fb-refresher package and initfs config (#587)
* Add msm-fb-refresher package and initfs config
* Bump version for pmos-mkinitfs
* Create msm-fb-refresher openrc service
* kill refresher when initfs is done
2017-09-18 19:17:30 +00:00
Martijn Braam 12e4eaa899 Added base offset to hammerhead deviceinfo (#556) 2017-09-18 18:46:29 +00:00
drebrez 82e6775c1d Take kernel config from "startdir" when copying back to aport folder (#594) 2017-09-18 18:38:52 +00:00
clayton craft 72c350d635 [postmarketos-base] Fix typo in sed statement (#586) 2017-09-16 00:01:25 +00:00
clayton craft 26d34531a6 Fix wpa_supplicant configuration (#578) 2017-09-15 17:44:50 +00:00
clayton craft e89aca07d7 [linux-postmarketos] Update to 4.13.2 (#582) 2017-09-15 15:44:14 +00:00
Brian Otto 19531d518d Added a new option that allows you to increase the system image size for qemu (#568) 2017-09-15 15:41:40 +00:00
Jean Lucas 8ef89accd8 bacon: Get display output & touchscreen working (#583)
- Revert to LineageOS 14.1 kernel
- Enable virtual terminal
- Update touchscreen settings

At the moment, display output works, but only when the following is run:
while [ ! ]; do cat /sys/class/graphics/fb0/modes >
/sys/class/graphics/fb0/mode; done.
2017-09-15 15:31:17 +00:00
Yuval Adam 9c0eadc732 Fix build error in device-t2m-flame (#580) 2017-09-14 18:52:32 +00:00
Pavel Machek 8a88881a6a Reorder entries in the menu, so that shutdown is always available, (#569)
* Reorder entries in the menu, so that shutdown is always available,
even on N900.
* increase `pkgrel`
2017-09-14 18:42:39 +00:00
drebrez 207c200229 zap: add `-d`/`--distfiles` argument to clear downloaded files cache (#576) 2017-09-14 18:28:10 +00:00
drebrez c6e210d4e7 [huawei-y530] Add kernel modules (#579) 2017-09-14 18:24:33 +00:00
Tomas Safarik c1b01cee7b Add libsamsung-ipc to device-samsung-i9100 (#564)
* add libsamsung-ipc (from upstream replicant repository)
* add libsamsung-ipc as dependecy for device-samsung-i9100
* change device path for loading modem firmware on i9100
* add mounting of EFS to fstab
2017-09-14 18:18:12 +00:00