Commit graph

224 commits

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