Commit graph

397 commits

Author SHA1 Message Date
Oliver Smith
4472448e6b
device/linux-*: make all kernels compile again
All kernels compile again, after the GCC 8 upgrade.

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

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

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

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

Related: #103
2018-11-27 07:47:11 +01:00
Martijn Braam
4e940e519d Enabled QCDT for motorola-osprey 2018-09-24 22:02:54 +00:00
Oliver Smith
13c1745f54
device/device-pine-a64lts: fix checksums 2018-09-17 06:46:06 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Paakke
ea51a511e0 Add new device: lg-w5 (LG L70) 2018-09-13 06:13:34 +00:00
Krait Bosheit Takoj
2fa7835e8a
added xorg.conf: explicitly declares to not use glamor, which was causing slowdown 2018-09-04 09:00:57 +02:00
Luca Weiss
8b39bafb50 Refresh Fairphone 2 packages 2018-08-23 18:40:19 +00:00
Oliver Smith
5f01e6c68b deviceinfo: prepend manufacturer to device name 2018-08-23 00:44:46 +00:00
Grant Miller
83312980ac Rename samsung-i9505 to samsung-jflte 2018-08-22 22:34:11 +00:00
JBBgameich
9804dc2e58 Update kernel config from Halium 2018-08-15 21:35:16 +00:00
JBBgameich
02582243bb BQ Aquaris U (chaozu) support 2018-08-15 21:35:16 +00:00
Martijn Braam
0138c0596e aports: device-samsung-manta: Changed flasher to heimdall 2018-08-15 21:22:53 +00:00
Oliver Smith
7a172d5b55 increase pkgrel 2018-08-14 04:55:02 +02:00
mgulin
1be99f2e95 nokia-rm885: add dev_touchscreen & weston_pixman_type 2018-08-14 04:53:36 +02:00
Martin Rys
67e102e4ba [Samsung-kminilte] Fix orange screen in FDE
Fixes #1639
2018-08-11 14:33:48 +02:00
Kieran Elmes
550dfa02f0 Xiaomi Cancro support 2018-08-02 22:14:59 +00:00
Marti Raudsepp
5301436178 Migrate remaining GitHub URLs to GitLab 2018-08-01 14:13:23 +03:00
Magnus Gulin
1d85c7b84c Add initial support for nokia-rm885 / Nokia Lumia 720 2018-07-30 23:30:21 +00:00
joshas
f713766241 osk-sdl support for semc-smultron 2018-07-28 22:06:50 +00:00
Xinayder
ef4b9720e3 motorola-ghost: Fix rendering and add touchscreen support 2018-07-26 20:31:58 +00:00
Ashymad
2b63ae0afb Add support for Samsung SIII mini VE (gt-i8200) 2018-07-25 13:30:06 +00:00
Xinayder
b592d8ca65 Add new device: motorola-ghost (Moto X) 2018-07-24 23:41:06 +00:00
joshas
b861f929cd Update linux-semc-smultron APKBUILD 2018-07-22 13:21:05 +03:00
Michael Orishich
3505466fbc Initial work on Sony Ericsson Xperia mini 2018-07-22 13:17:29 +03:00
Oliver Smith
21be5e8304 Merge branch 'master' into 'master'
Added device: Samsung Galaxy Trend Plus (s7580)

See merge request postmarketOS/pmbootstrap!1607
2018-07-09 21:54:15 +00:00
Oliver Smith
ce5a8d48b2 Merge branch 'sony-yuga-fixes' into 'master'
[sony-yuga] Removed fb-workaround in favor of msm-fb-refresher

See merge request postmarketOS/pmbootstrap!1617
2018-07-08 20:53:07 +00:00
Wouter Franken
ee072e2d82 Removed fb-workaround in favor of msm-fb-refresher, this fixes the splashscreen (partly) 2018-07-05 23:50:48 +02:00
Oliver Smith
71f5d8dfc2 Added touchscreen support to sony-coconut
See merge request postmarketOS/pmbootstrap!1614
2018-07-03 22:19:26 +00:00
Konrad Dybcio
99ead15ee1 [GitLab reopen] New device: Sony Xperia M (sony-nicki) 2018-07-03 21:45:17 +00:00
deata
0638fd4c48 Added wifi support 2018-07-03 12:25:33 +03:00
praticamentetilde
dc564efd8b Updated package versions 2018-07-02 23:13:06 +02:00
praticamentetilde
5209932b48 Display for sony-coconut now works 2018-07-02 23:04:49 +02:00
deata
799485b5c1 Merge branch 'master' of https://gitlab.com/postmarketOS/pmbootstrap 2018-07-02 12:18:21 +03:00
deata
c26918dbca Fixed psmouse compile error and enabled mouse support in kconfig 2018-07-01 21:01:56 +03:00
deata
600067b749 Merge branch 'master' of https://gitlab.com/postmarketOS/pmbootstrap 2018-07-01 19:56:36 +03:00
Daniele Debernardi
bb9ab3a9b3 device-huawei-y530: Modernize APKBUILD 2018-06-30 18:59:25 +02:00
Martijn Braam
38c3a4b111 Fixed path in n900 gps 2018-06-30 16:56:52 +02:00
Martijn Braam
741ce3b36f Fixed checksum for gps-nokia-n900 2018-06-30 16:52:52 +02:00
deata
47b6fbef2f Fixed CHANGEME 2018-06-30 17:46:44 +03:00
deata
364a567b67 Fixed CHANGEME 2018-06-30 17:45:20 +03:00
deata
5c0af3fbd9 Added device: Samsung Galaxy Trend Plus (s7580) 2018-06-30 17:16:47 +03:00
Martijn Braam
9771426a39 Updated references for github to gitlab 2018-06-30 16:08:43 +02:00
Oliver Smith
a31244d28a Remove github.com references
* Travis and Coveralls badges
* aports: instead of <https://github.com/postmarketOS>, use
  <https://postmarketos.org>
* References to full URLs to issues and pull requests replaced with
  a hash and the number
* grsec check: simplify error message, remove link to github issue
  (nobody is using that anymore anyway)
2018-06-30 09:00:48 +02:00
yangxuan8282
ea5b42a1c2 device/device-raspberry-pi3: new aport (#1600)
aarch64 support for Raspberry Pi 3
2018-06-29 17:31:10 +00:00
Oliver Smith
9c777b2a6a device-raspberry-pi: use linux-firmware-brcm (#1583)
Alpine's firmware packages have been updated to include the latest
raspberry pi firmware. This commit adjusts our aports.

Details:
* remove obsolete `aports/temp/linux-firmware`
* `firmware/firmware-pi-bluetooth`: rename to `device/bluetooth-raspberry-pi`
  and remove firmware files (they are part of Alpine's `linux-firmware` now)
* `device-raspberry-pi`: depend on `bluetooth-raspberry-pi`
* `device-raspberry-pi`: note that Alpine's kernels depend non free firmware
* `device-raspberry-pi`: remove non free firmware subpackage
2018-06-27 22:18:34 +00:00
Claudio Maggioni
eecc47a3e9 new device: Sony Ericsson Live With Walkman (sony-coconut) (#1590)
Kernel is downstream. System boots. Flash the device using the netcat
method to an external SD (use the entire SD, not a partition, as the
target device) because the internal memory is too small.
2018-06-27 22:12:30 +00:00
myfreeweb
e3dd04825d asus-duma: initial port with msm kernel (#1581)
The ASUS MeMO Pad FHD 10 (ME302KL) is kinda like an enlarged version
of flo, all the unofficial Lineage / TWRP work has been derived from
flo. So eventually it should run mainline :) but let's start with this.
2018-06-21 21:58:24 +00:00
Oliver Smith
e91d2f7ba3 Don't run dhcpcd on the raspberry pi (#1580)
Adds deviceinfo_disable_dhcpcd and sets it to true for the pi.

Related: #1547.
2018-06-21 21:10:12 +00:00
steamport
00eb0ae306 device-amazon-thor: Modernize APKBUILD (#1554)
* Modernize APKBUILD to be up to date with the current template.
* Regenerate fb.modes, it works now!
2018-06-19 22:36:33 +00:00
Bradley Gamble
5b75d8c71f device-samsung-manta: Enable touchscreen input (#1572) 2018-06-17 21:48:22 +00:00
Decatf
bbb77258a6 device-samsung-p4wifi: Change touchscreen to /dev/input/event1 (#1565)
The headphone jack (sec_jack) driver no longer registers as an input device
itself. It now listens for events on the gpio-keys input device. This
changed the enumeration of /dev/input devices. The touchscreen is now
/dev/input/event1.

This fixes things which depend on deviceinfo_dev_touchscreen such as
osk-sdl.
2018-06-14 20:34:40 +00:00
Samuel Dionne-Riel
ad750c6e0d Adds asus-z00t device. (#1552) 2018-06-12 18:58:29 +00:00
steamport
5daf8e2648 device/linux-amazon-thor: modernize APKBUILD (#1553) 2018-06-11 21:43:33 +00:00
Mayeul Cantan
4451373be6 New device: samsung-kylevess (Galaxy Trend Lite, s7390g) (#1541) 2018-06-10 14:20:36 +00:00
steamport
4257ea2096 device/linux-amazon-thor: use phoenix kernel (#1538) 2018-06-09 15:03:28 +00:00
steamport
aff6137268 menuconfig: add gconfig/xconfig support (#1509)
* change "pmbootstrap kconfig_check" to "pmbootstrap kconfig check"
* change "pmbootstrap menuconfig" to "pmbootstrap kconfig edit [-x|-g]"
  (with legacy alias, because the first syntax was referenced to a lot)
* enable X11 interfaces: -x: xconfig, -g: gconfig
* new function to copy the xauthority file:
  pmb.chroot.other.copy_xauthority()
* remove menufconfig() function from the kernel template and all kernel
  aports ([skip ci] because it would rebuild all kernels and run out of
  time). Alpine has dropped this as well, and it wouldn't work with the
  new code anyway.
2018-06-09 06:52:24 +00:00
Ricardo Rodrigues
317db382fc asus-grouper: fastboot max size is 650 (#1535) 2018-06-04 19:09:41 +00:00
George Hopkins
384462571b htc-ace: fix WiFi firmware (#1531) 2018-06-01 19:26:37 +00:00
yangxuan8282
74586c0ead firmware/firmware-pi-bluetooth: firmware for zero/zero w, 3b/3b+ (#1521) 2018-06-01 19:25:06 +00:00
Daniele Debernardi
047439a66f Add Raspberry Pi device (#1501) 2018-05-29 19:33:40 +00:00
Decatf
5f048bd53c linux-samsung-p4wifi: new config based on mainline tegra_defconfig (#1515)
* linux-samsung-p4wifi: Use libressl-dev
* linux-samsung-p4wifi: Update to kernel based on mainline tegra_defconfig

Previously it was based on the config from a mainline-ish kernel for
Android. The remaining Android specific patches have been dropped.
It is now mainline with out-of-tree drivers and corresponding hardware
specific patches/fixes/hacks.
2018-05-28 21:44:56 +00:00
Klaus
77f9876a61 samsung-gts210vewifi: make touchscreen work (#1516) 2018-05-28 21:13:08 +00:00
Sicelo
d486aae01c device/device-nokia-n900: i3 config tweaks (#1470)
* Add wrapper for i3status for better battery status reporting on N900/bq27200
* New hotkeys "asdfg" to switch workspaces
2018-05-20 13:52:04 +00:00
Bhushan Shah
f57b1704e9 lg-hammerhead: enable ofono by default on hammerhead (#1485)
- Depend on ofono from device-lg-hammerhead
- From postinstall script of device-lg-hammerhead enable ofono by
  default
2018-05-16 23:13:20 +02:00
Bhushan Shah
5a49f4db09 lg-hammerhead: add support for the modem (#1485)
- depend on the firmware-lg-hammerhead-modem and
  firmware-lg-hammerhead-adsp
- depend on the modem-qcom-msm-mainline-common

Currently adsp firmware is not used actually given upstream kernel
doesn't have support for adsp/sound subsystem. But it will be used
eventually.
2018-05-16 23:13:01 +02:00
Klaus
c89e5ff737 new device: gts210vewifi (Samsung Galaxy Tab S2 9.7 Wifi) (#1493)
Touch screen does not work yet, see the device page for details:
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Tab_S2_9.7_Wifi_(samsung-gts210vewifi)
2018-05-14 21:16:32 +00:00
Daniele Debernardi
d5a12b1f0f [samsung-klte] Add mainline kernel (linux-postmarketos-qcom) (#1479)
Changes:
* device-samsung-klte with both downstream and mainline kernel
  subpackages
* linux-postmarketos-qcom updated to last commit

What works in mainline kernel:
* internal SD card
* volume and home key buttons
* usb network
2018-05-13 19:47:32 +00:00
Filip Matijević
948a46c3c1 device/linux-nokia-n9: update kernel to v4.17-rc4 (#1486) 2018-05-12 18:31:44 +00:00
george99g
49756113c3 device: add support for the samsung tab 3 7.0 (#1484) 2018-05-12 18:12:40 +00:00
Joey Hewitt
0272a7de51 ofono QMI: mainline kernel support (#1381)
Add modem-qcom-msm-downstream-common package that pulls in the
dependencies.

qcom_rmtfs now has udev rules to find the storage partitions. My hope
is they can be written flexibly enough to cover all devices and kernel
flavors.
2018-05-10 21:28:51 +00:00
george99g
a4966a41d1 Add support for the Samsung Galaxy S5 Mini (kminilte) (#1467) 2018-05-05 20:29:02 +00:00
Callum A. D. Thomson
15ba1bfb91 Samsung-i8190 wifi now working (#1440)
Guide for connecting to wlan is on the wiki page for the device, wifi
chip is BCM4334. Wlan interfaces are wlan0 and p2p0. Connection seems
stable, was able to install some packages.
2018-05-05 19:44:34 +00:00
Daniele Debernardi
38102885f5 [ui-weston] Set postmarketos artwork as default wallpaper (#1466) 2018-05-05 14:27:13 +00:00
Martijn Braam
6e75a19cc1 Hammerhead cleanup (#1460)
* aports/device: device-lg-hammerhead: Removed weston workaround
* aports/device: device-lg-hammerhead: Changed console output to ttyMSM0 for mainline
* aports/device: device-lg-hammerhead: Enabled xwayland for weston
2018-05-03 16:22:30 +02:00
Craig Tatlor
58f51f009a aports/device: add support for the sony xperia z2 (sirius) 2018-05-02 22:53:49 +02:00
Nikolay
12f0b3ce80 Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido) (#1415)
* Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido)

* Update APKBUILD

* Update APKBUILD

* Wifi support for Xiaomi Redmi Note 4

* Update APKBUILD

* Download firmware from different repo for Xiaomi Redmi Note 4

* Split up cat line
2018-04-25 11:40:16 +02:00
Oliver Smith
f5d5a9be19 msm-fb-refresher: use initfs hook (#1438)
The `msm-fb-refresher` updates the screen for msm based devices. It is
not needed for all devices, so we had some extra code in the initramfs,
that would only add it when the `deviceinfo_msm_refresher` variable was
set. However, we are able now to add files to initramfs hooks, so this
hack can be removed and simplify everything.

Changes:
* Remove `deviceinfo_msm_refresher` from all deviceinfos
* Add sanity check for it
* Move all `deviceinfo` sanity checks to an extra function
* `postmarketos-mkinitfs`: remove code for msm refresher
* `msm-fb-refresher`: add initramfs hook
2018-04-24 21:09:53 +00:00
j0ki
eda9b90f02 samsung-i9195: WiFi support (#1324)
* firmware-samsung-i9195: new wlan subpackage
* samsung-i9195: add wlan firmware to nonfree-firmware dependencies
* firmware-samsung-i9195: change pkgver to sequential numbering.
this breaks package management. be careful when updating this package.
the old version was `201707.1`, which is higher than `1.1.0`.
2018-04-23 20:43:46 +00:00
Jacob Juric
fae7e7a3df Initial support for Motorola Moto G4 Play (motorola-harpia) (#1437)
Currently, Weston boots with a working touch interface, and USB networking.
2018-04-22 21:12:48 +00:00
Callum A. D. Thomson
ed35fbc94d Device samsung i8190 (Galaxy SIII mini) (#1428)
Working: Display, Touch, USB networking, FDE
2018-04-21 14:55:39 +00:00
alive4ever
844ef18c0c xiaomi-armani: load wlan module on default runlevel
Previous post install action results in loading wlan module during
sysinit. This is not possible since wlan device is only exposed after
wcnss-wlan service. This also delays ssh startup for approximately 3
minutes.

Loading wlan module should only be done on default runlevel, after
wcnss-wlan service has been started.

Also add a reference fb.modes file, although directfb applications still
doesn't work and cause the framebuffer driver to crash.
2018-04-21 01:17:51 +02:00
Bhushan Shah
2928b2ecbc Fix wireless on hammerhead after mainline move (#1430)
- Ship the wifi calibration data where upstream driver expects it
- Ship modules-load.conf to load wifi driver automatically

Fixes #1426
2018-04-20 17:21:22 +02:00
Bhushan Shah
5d56b2855d Remove the linux-lg-hammerhead
The King is dead, long live the King!
2018-04-19 20:22:09 +02:00
Bhushan Shah
8a158f6fe8 switch the lg-hammerhead to linux-postmarketos-qcom
- Currently just graphics along with weston tested
- Depend on firmware-adreno from device-lg-hammerhead
- Reduce dep of linux-firmware
- Just pull qcom, bracm and adreno firmware
2018-04-19 20:22:09 +02:00
Sicelo
9a80884957 Less Firmware Dependencies for N900 (#1414) [skip ci] 2018-04-15 21:33:41 +00:00
fjmax
5d5071573e Initial support for motorola-athene (#1412)
Working: USB network, display
Known not working: "pmbootstrap flash kernel" (kernel size too big)
2018-04-15 18:15:34 +00:00
Mayeul Cantan
69fdf24589 Add initial device support for Sony Xperia T3 (sony-seagull) (#1389) 2018-04-13 18:04:13 +00:00
Nick Boone
9ff62bc5da Initial Work for HTC One M8 Port (#1392)
* Progress can be followed in #1206
* Kernel boots with device tree from LineageOS and can
  be installed by android recovery zip
* Networking comes up at boot but there's not display yet
2018-04-09 22:11:32 +00:00
Lionel Duboeuf
26d23c674d update oneplus2 kernel (#1399) 2018-04-06 18:37:23 +00:00
Alexandroid99
fc18a8cf75 New device: htc-flounder (#1309) 2018-04-04 00:27:11 +00:00
Oliver Smith
63f921fbac pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363)
* As discussed in IRC/matrix, we're removing `linux-postmarketos-lts`
  for now. The kernel isn't used right now, and we save lots of
  maintenance effort with not updating it every week or so.
* new config option `"kernel"` with possible values:
  `"downstream", "mainline", "stable"` (downstream is always
  `linux-$devicename`)
* ask for the kernel during `pmbootstrap init` if the device package
  has kernel subpackages and install it in `_install.py`
* postmarketos-mkinitfs: display note instead of exit with error when
  the `deviceinfo_dtb` file is missing (because we expect it to be
  missing for downstream kernels)
* device-sony-amami:
  * add kernel subpackages for downstream, mainline
  * set `deviceinfo_dtb`
* device-qemu-amd64: add kernel subpackages for stable, lts, mainline
* test cases and test data for new functions
* test case that checks all aports for right usage of the feature:
  * don't mix specifying kernels in depends *and* subpackages
  * 1 kernel in depends is maximum
  * kernel subpackages must have a valid name
  * Test if devices packages reference at least one kernel
* Remove `_build_device_depends_note()` which informs the user that
  `--ignore-depends` can be used with device packages to avoid building
  the kernel. The idea was to make the transition easier after a change
  we did months ago, and now the kernel doesn't always get built before
  building the device package so it's not relevant anymore.
* pmb/chroot/other.py:
  * Add autoinstall=True to kernel_flavors_installed(). When the flag
    is set, the function makes sure that at least one kernel for the
    device is installed.
  * Remove kernel_flavor_autodetect() function, wherever it was used,
    it has been replaced with kernel_flavors_installed()[0].
* pmb.helpers.frontend.py: remove code to install at least one kernel,
  kernel_flavors_installed() takes care of that now.
2018-04-03 23:50:09 +00:00
Decatf
0a5bbce93c Update linux-samsung-p4wifi to kernel 4.16 (#1386)
* Specify a device tree binary file for p4wifi kernel
Previously the p4wifi kernel was using Android patches which append the
dtb to zImage in the kernel makefile.

Now follow mainline kernel convention of leaving the zImage and dtb
separate. Follow postmarketOS convention of specifying dtb file in
deviceinfo.
* Use linux-postmarketos-mainline APKBUILD build functions for p4wifi
* Update linux-samsung-p4wifi to kernel 4.16
- Use mainline broadcom bluetooth hci driver
- Use mainline atmel_mxt_ts driver
- Use mainline stmpe811 mfd driver and add stmpe811 ADC block
2018-04-03 23:29:11 +00:00
Aerotinge
e024767d05 New device: hTC Desire 816 (htc-a5ul) (#1378)
Signed-off-by: Aerotinge <wang.wander@gmail.com>
2018-03-30 19:28:45 +00:00
Aerotinge
d25edc898b New device: hTC Incredible S (htc-vivo) (#1365) 2018-03-30 00:05:41 +00:00
Lionel Duboeuf
5c65c3e95c New device: oneplus oneplus2 (#1366)
Based on work by @NotKit, thanks!
2018-03-28 21:10:12 +00:00
racer123
278dfcbbe8 Add support for GT-S756x (kylessopen, Galaxy Trend/S Duos/Ace II x) (#1361) 2018-03-25 19:00:40 +00:00
cybermonkey
8fe97c5840 New device: Xiaomi Redmi 4X (xiaomi-santoni) (#1346) 2018-03-20 18:46:01 +00:00
NotKit
12ebd049ff Motorola Droid 4 (maserati) (#1039)
Note about PMOS_NO_SAFESTRAP kernel cmdline:
This can be used to forcefully skip SafeStrap partition mount in device
initramfs hook, for example when booting with droid4-kexecboot on device with
SafeStrap configured as well.
2018-03-16 20:26:20 +00:00
alive4ever
6f34220b3a linux-xiaomi-armani: disable kgsl 3d driver (#1334)
The kgsl 3d driver causes the device to boot loop, so disable this for
now.

The device boots ok after removing the kgsl driver, although continuing
boot from debug-shell via `pmos_continue_boot` does not work (seems to
be a bug in msm_fb driver). So, one has to reflash the boot partition
generated with no intfs debug shell to enjoy this improvement.
2018-03-14 21:15:06 +00:00
Decatf
7a0cfe6da4 samsung-p4wifi: Load wifi modules, add audio output, remove touch screen calibration (#1328)
* [samsung-p4wifi] Include modules in kernel package
* [samsung-p4wifi] Load wifi modules at boot
* [samsung-p4wifi] Use mainline wm8994 sound driver
* [samsung-p4wifi] Add ALSA UCM config
Generated from xml2ucm tool.
* [samsung-p4wifi] Add headphone jack detect udev rules
* [samsung-p4wifi] Remove touchscreen calibration
It is not a resistive touchscreen. The default calibration works.
2018-03-13 19:39:07 +00:00
Oliver Smith
0acf0c9831 device-zte-kis3: Fix sdcard installation
There was a space at the end of the line, which the deviceinfo
parser couldn't handle. Fixes #1325.
2018-03-12 21:17:32 +01:00
Joey Hewitt
0a2dbea03d i9195/Qualcomm modem support (#1314)
* Qualcomm MSM modem: 'rmtfs' support packages
* qcom_rmtfs: Server that talks to modem over IPC to allow it
  read/write data for its persistent storage. This is needed for it to
  boot, as well as periodically during usage. Added a patch that
  it expects the storage path symlinks in /etc instead of /boot.
* qrtr: IPC library for rmtfs
* libqipcrtr4msmipc: adapter library to make qrtr work on kernels with
  AF_MSM_IPC support. AF_QIPCRTR is the mainline equivalent since Linux
  ~4.7.
* msmipc-dev: Header files for qrtr and libqipcrtr4msmipc.
  Thanks to Bjorn Andersson <https://github.com/andersson> for rmtfs and
  qrtr.
* libsmdpkt_wrapper: adapter lib for QMI clients
  The SMD serial packet driver in Qualcomm kernels has, AFAICT, a bug
  in poll(); this works around it so that qmicli et al can work.
* i9195: firmware (modem only right now)
* add ofono (with patch for MSM devices)
  Based on Alpine's package.
* i9195: add modem support
* move all modem related packages to aports/modem
2018-03-11 15:59:09 +00:00
pikpok
61ad82401b peregrine: framebuffer patch and xorg config (#1318) 2018-03-10 22:29:56 +00:00
Joey Hewitt
83e60ee431 i9195: add touchscreen to deviceinfo (#1313) 2018-03-10 13:59:25 +00:00
Ethan R. Jones
65e755225d Add ZTE Kis3 / ZTE Open C (#1311) 2018-03-10 13:52:09 +00:00
Daniele Debernardi
2054a4ff14 [nokia-n900] Add swiss german keyboard layout (#1310) 2018-03-10 13:08:33 +00:00
Daniele Debernardi
d3b439ae2d deviceinfo: remove external_disk_install and external_disk, use external_storage instead (#1301)
* deviceinfo: remove external_disk_install and external_disk, use external_storage instead
* Complain when external_disk* is used
2018-03-07 22:35:02 +00:00
Daniele Debernardi
19df13804c Remove /etc/network/interfaces and networking service from device packages (#1293)
This is not necessary anymore since there is now NetworkManager.
2018-03-05 21:18:13 +00:00
Decatf
fcdba1bd8a New device: Samsung Galaxy Tab 10.1 (p4wifi) (#1279) 2018-03-05 20:55:05 +00:00
Filip Matijević
ed03333008 Fix Nokia N9 build and update kernel (#1281)
* Remove unneeded dtb entry from deviceinfo
* Update Nokia N9 to kernel v4.16-rc3
2018-03-03 11:01:35 +00:00
Oliver Smith
b8129fe127 Make nonfree depends optional part 2: device pkgs (#1268)
* Add nonfree_firmware subpackage to all devices, that depend on
  nonfree firmware.
* Some packages were depending on `linux-firmware`, but without having
  Wifi working. Removed that dependency as it was probably added by
  accident. If it was really necessary, chosing the appropriate
  split linux-firmware package (e.g. linux-firmware-brcm) is better
  anyway (that has been changed recently in Alpine and is possible
  now).
* Add a test case that makes sure we don't have firmware depends
  without subpackages in device aports anymore.
2018-02-26 22:11:44 +00:00
Luca Weiss
1c678fa3c5 Add nonfree-firmware subpackage for fp2 (#1261)
Also removes linux-firmware from device package as it
was probably never used.
2018-02-26 20:53:22 +00:00
pikpok
186b3ce912 New device: Moto G 4G (2013) (#1264) 2018-02-26 20:26:47 +00:00
Oliver Smith
e654a995e6 device packages: depend on postmarketos-base (#1258)
* device-*: add postmarketos-base to depends
* aportgen: add postmarketos-base to depends
* Add test case
* postmarketos-base: Don't depend on devicepkg
* msm-fb-refresher: Enable service in post-install
2018-02-25 18:40:54 +00:00
Pierre Rudloff
934c5c2aa5 infocus-flatfish: Correct framebuffer mode (#1262) 2018-02-25 17:47:04 +00:00
Joey Hewitt
e802723505 samsung-i9195: fix kernel config (#1260)
It lacked some hardware config, such as the USB switch.
With this change, I was able to SSH over the USB network.

I based this off of LineageOS 14.1's config file from its
build root. I think we were missing the secondary config
file
(TARGET_KERNEL_VARIANT_CONFIG := msm8930_serrano_eur_lte_defconfig
in BoardConfig.mk).
2018-02-25 17:32:35 +00:00
Bart Ribbers
1c08fcf46d New device (Jolla Phone) (#1245) 2018-02-24 18:46:54 +00:00
MoreRobustThanYou
bfdda7a6ab Patch amazon-thor's kernel to properly set the RGB mode (#1252) 2018-02-24 08:25:32 +00:00
Pierre Rudloff
5ef2c055a2 New device: infocus-flatfish (#1251)
It boots and display/touchscreen partially work
(the framebuffer only fills a part of the screen).
2018-02-24 08:17:38 +00:00
Pierre Rudloff
0685ccaee7 gp-peak: Add support for osk-sdl and audio (#1243)
* gp-peak: Add support for osk-sdl
* gp-peak: Move non-kernel files to device-gp-peak
* gp-peak: Add audio support
Manually trigger the udev rules for audio devices and add the default user to the audio group
2018-02-22 23:36:24 +00:00
Pierre Rudloff
a0fa6ebe88 gp-peak: Set deviceinfo_flash_fastboot_max_size (#1244) 2018-02-21 20:39:59 +00:00
Bart Ribbers
31ac94a4fe New device: Nexus 5X (LG Bullhead) (#1222) 2018-02-20 20:24:45 +00:00
Martijn Braam
64166249da postmarketos-ui-i3wm (#1225)
* Added a ui package for i3wm

* Added n900 specific i3wm config

* Fixed mixed tabs and spaces in i3status.

This is also the first commit made on an n900
running postmarketOS.

* Removed redundant X11

* Use lock.sh to lock the device

* Windows management improvements

* bump pkgver

* Fix device-nokia-n900 checksums

* Fixed path in the i3wm split package
2018-02-20 11:21:03 +01:00
Oliver Smith
d36982c01f linux-nokia-n9: update patch checksum 2018-02-19 21:04:52 +01:00
Pierre Rudloff
eb6ab4c641 gp-peak: display and touch screen (#1226)
Adds a /etc/local.d/ script in order to work around
udev being broken with this kernel.
2018-02-18 01:42:46 +00:00
Oliver Smith
b2495a917b linux-*: Don't depend on postmarketos-mkinitfs
Binary packages are rebuilding. If your kernel is not rebuilt yet, and
you don't want to build it yourself, just checkout the previous
pmbootstrap commit.

This commit also changes the arch from the postmarketOS kernels from
"all" to the ones where we actually have a kernel config.

Fixes #1229.
2018-02-17 18:26:31 +01:00
Oliver Smith
f05438b4e4 Various linux packages: Fix broken dev subpackage (#1228)
Fixes #1227.
This also updates the hash in linux-postmarketos-mainline, because the
hash changed upstream (they updated their git version server-side?).
2018-02-15 00:20:40 +01:00
Pierre Rudloff
3d182a6f07 New gp-peak device (Geeksphone Peak) (#1214)
It boots and SSH works but the screen stays black.
2018-02-12 20:03:35 +00:00
Michael Hamann
1622e2b075 New device: Samsung Galaxy Note 8.0 (WiFi) n5110 (#1219)
This port includes:
* Weston including touch and WiFi (using e.g. firmware-samsung-i9305) works.
* Touchscreen calibration for osk-sdl
* Sound configuration
* Udev rules for touch and pen, pen works!
2018-02-12 19:20:49 +00:00
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
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
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
Daniele Debernardi
3237f58244 Add device Samsung Galaxy S5 (samsung-klte) (#1163) 2018-02-02 19:59:14 +00:00
Pavel Machek
d96d44b90e N900: Attempt to fix touchscreen being upside-down (#1183) 2018-02-01 21:47:12 +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
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
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
Pavel Machek
fcb508a3e9 Rename Nokia rx51->n900 and rm-696->n9 (#1146)
Closes #1143.
2018-01-21 15:09:37 +00: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
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
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
Eric Hosmer
e100b18aca motorola-shamu: Fix black screen after splash (#1112) 2018-01-12 22:01: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