Commit graph

3027 commits

Author SHA1 Message Date
drebrez
cbb31df5a6 [samsung-maguro] Use devicepkg-dev, enable FIQ debugger (#1009)
* [samsung-maguro] Enable FIQ debugger console mode
* [samsung-maguro] Use devicepkg-dev and install mesa-dri-swrast
2017-12-15 22:51:51 +00:00
drebrez
4782ffd01f Add devicepkg-dev which generate the touchscreen udev rule based on the deviceinfo (#995)
* Use devicepkg-dev by default in new device wizard
* Add link to reference wiki page
2017-12-14 21:17:18 +00:00
rrooij
b62a89e63e samsung-i9505: fix argb video settings in kernel (#1005)
The RGB values were not calculated correctly. This patch was send to
me by cascaro and works great. All credits goes to him.

This also fixes the issue of Weston not automatically recognizing the
good pixman type without setting it in the deviceinfo file.
2017-12-12 23:36:14 +00:00
rrooij
ec474dbba3 samsung-i9505: fix kernel partition in heimdall (#998) 2017-12-11 19:54:20 +00:00
rrooij
c9ecca715d i9505: add wifi firmware (#992)
Add the wifi firmware for bcm4335. This is the blob that is being used
in LineageOS/CyanogenMod 14.1.
2017-12-09 16:44:37 +00:00
drebrez
ae4e10441d [i9070] Install mesa-dri-swrast when mesa package is present (#989) 2017-12-08 21:40:49 +00:00
rrooij
0d97d66326 samsung-i9505: Fix red screen by using pixman type (#988) 2017-12-08 21:39:30 +00:00
rrooij
bef25f70d1 samsung-i9505: Add touch screen support (#984) 2017-12-07 23:11:26 +00:00
rrooij
5e0ec9cd58 New device: samsung-i9505 (#983) 2017-12-06 23:02:08 +00:00
Martijn Braam
483d9d68f7 [hammerhead] Redscreen kernel patch / xorg.conf / msm fb refresher (#924)
* Added redscreen kernel patch and xorg config
* Moved weston and x11 specific config to subpackage
* Removed deviceinfo_weston_pixman_type for hammerhead
* Added msm-fb-refresher to hammerhead
2017-12-05 20:00:59 +00:00
Kenneth Endfinger
e7f1ac5401 New device: Google Glass (#957) 2017-12-01 19:15:42 +00:00
Oliver Smith
9fe445af36 device-qemu-amd64: Use LTS kernel (#954) 2017-12-01 19:10:58 +00:00
shwsh
f983270531 Support the Lenovo K6 Power (#942) 2017-11-29 21:16:02 +00:00
drebrez
47f8f5fa53 Add Wiko Lenny3 device (#939) 2017-11-26 10:16:50 +00:00
Attila Szöllősi
f205650259 Workaround for mdss-fb (#927) 2017-11-21 23:17:59 +00:00
Rares
c8dde6e21f Add support for Sony Xperia Z1 (sony-honami) (#916) 2017-11-19 19:31:08 +00:00
clayton craft
dc0121d4ec [grouper] Add osk-sdl config for device (#670) 2017-11-18 17:42:37 +00:00
Oliver Smith
d7312852ef linux-samsung-i9003: fix compilation with PARANOID_NETWORK disabled (#884) 2017-11-14 19:33:34 +00:00
clayton craft
0ba6ed675d Close #897: Add max size option for fastboot (#899)
This adds a new deviceinfo 'flash_fastboot_max_size' used for
preventing fastboot from flashing a system partition that is too
large. Some devices do not support flashing over a certain size
(e.g. 500MB).
2017-11-11 22:00:22 +00:00
MoreRobustThanYou
60305a7cf5 Update vendor ID in amazon-thor deviceinfo (#886) 2017-11-09 22:25:38 +00:00
drebrez
d5e494ddc2 [samsung-maguro] Add firmware-samsung-maguro package (#849) 2017-11-06 22:03:35 +00:00
MoreRobustThanYou
967d1421e0 Update the amazon-thor kernel (#879)
Camera got fixed in the hdx-common kernel
2017-11-06 21:44:02 +00:00
Alex Roth
c775d2afd1 Add new device: samsung-i747m (Galaxy S3 USA/Canada version) (#877)
* Add samsung-i747m (Galaxy S3 USA/Canada)
* Add support for WiFi on i747m
2017-11-05 20:10:19 +00:00
Oliver Smith
12b5b1ebec Close #453: Support mesa-dri-virtio in Qemu (#861)
The mesa driver, which ends up in the installation image, needs to be known
before the installation is done (in other words: when running the qemu action,
it is to late as the image has already been generated). That's why one can
choose the Qemu mesa driver in `pmbootstrap init` now:

```
Device [qemu-amd64]:
Which mesa driver do you prefer for your Qemu device? Only select something other
than the default if you are having graphical problems (such as glitches).
Mesa driver (dri-swrast/dri-virtio) [dri-virtio]:
```

It is still possible to select `dri-swrast`, because `dri-virtio` may not work
in all cases, and that way we could easily debug it or experiment with other
mesa drivers (e.g. the "vmware" one, which is supported by mesa and Qemu).

Other changes:
* `pmbootstrap qemu` accepts a `--display` variable now, which passes the value
  directly to `qemu`'s `display` option. It defaults to `sdl,gl=on` (@PureTryOut
  reported that to work best with plasma mobile on his PC). `--display` and
  `--spice` (which is still working) are mutually exclusive.
* Removed obsolete telnet port pass-through: We only use the debug telnet port
  since osk-sdl has been merged.
* Add show-cursor to the Qemu command line, so it shows a cursor in X11
* Refactored the spice code (`command_spice` only returns the spice command,
  because it has all necessary information already) and the spice port can be
  specified on the commandline now (previously it was hardcoded in one place and
  then always looked up from there).
* Start comments with capital letters.
* Keep the log on the screen a bit shorter (e.g. Qemu command is written to the
  "pmbootstrap log" anyway, so there's no need to display it again).
* linux-postmarketos-stable: Adjust kernel configs
x86_64, armhf: enable as modules:
CONFIG_DRM_VIRTIO_GPU, CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_BALLOON
aarch64: all 3 options were already enabled as built-in (no change)
* Set '-vga virtio' for mesa-dri-virtio
2017-11-05 13:48:49 +00:00
drebrez
c33e5d823e Add PMOS_FORCE_PARTITION_RESIZE kernel boot parameter (#874) 2017-11-04 22:54:42 +00:00
Pablo Castellano
c1e4579d3e motorola-titan: Package wifi firmware (#771) 2017-11-04 22:30:03 +00:00
drebrez
1ef326fb4c [huawei-y530] Cleanup kernel APK, fix compilation issue, remove unnecessary DTBs (#872) 2017-11-04 22:05:57 +00:00
Alex Roth
f76781ccb7 Add new device oneplus-onyx (Oneplus X) (#856) 2017-11-04 02:45:37 +00:00
clayton craft
3c5f76f5dd [rx51] Fix uboot script to use -stable kernel name (#864) 2017-11-03 23:56:56 +00:00
Oliver Smith
b786a5a157 pmbootstrap init: Wizard for new port device- and linux-packages (#821)
* pmbootstrap init: Generate new port device- and linux-package
* adds `pmbootstrap aportgen device-*` and
  `pmbootstrap aportgen linux-*`
* ask for confirmation when selecting a non-existing device
* generate the packages directly from init
* refactor aportgen code
* fixed some easy things in the linux- APKBUILD (more to come in
  follow-up PRs!)

Testing:
* Test all questions to the user from pmb.config.init and pmb.aportgen.device
  (except for the timezone question, because we would need to monkeypatch the
  os.path.exists() function, which messes up pytest, so we'd need to refactor
  the timezone function to be more testsuite friendly first)
* Run the device wizard in a testcase a few times and check the output, that
  pmbootstrap.aportgen.device and pmbootstrap.aportgen.linux create by parsing
  the resulting APKBUILDs and deviceinfo and checking its contents.
* Build the generated device package once in the same testcase

Thanks a lot to @drebrez for all the help with this one:
<https://github.com/postmarketOS/pmbootstrap/pull/821>

See also the updated porting guide:
<https://wiki.postmarketos.org/wiki/Porting_to_a_new_device>
2017-10-30 19:56:38 +00:00
MoreRobustThanYou
1e72ef48c7 New device: amazon-thor (KFHDX 3rd Gen) (#823) 2017-10-29 21:33:52 +00:00
drebrez
e5543e368b Some kernel APKBUILD cleanup (#833)
* Cleanup linux-htc-bravo APKBUILD
* Cleanup linux-samsung-tuna APKBUILD and rename the package to
  linux-samsung-maguro
* Cleanup linux-sony-aries APKBUILD
2017-10-28 19:43:28 +00:00
Oliver Smith
826e23de0a kconfig_check: disable CONFIG_PFT (#830)
This caused builds to fail with a modern GCC at least once, and while it originally was meant as
security feature by Qualcomm, "it is unsupported by Qualcomm, and opens up to a wide range
of potential attack surfaces that has not been audited by anyone."
2017-10-27 20:41:44 +00:00
opendata26
8963f2e6f7 sony-castor-windy: Various updates (#826)
* Fix wifi nvram file
* Add mesa-dri-freedreno dependency
* Fix touchscreen
* Add osk-sdl support
2017-10-26 18:13:18 +00:00
drebrez
0587f1cd8a Cleanup linux-lg-mako APKBUILD (#825) 2017-10-26 18:11:31 +00:00
Oliver Smith
a6d320df58 Various small xfce4/Hildon fixes (#792)
* XFCE4/Hildon: Log to syslog, see also:
  <https://github.com/postmarketOS/pmbootstrap/pull/762>
* Fix XFCE4 didn't start in qemu-amd64, because it required
  libEGL.so.1, which is provided by mesa-egl. This is a dependency
  of device-qemu-amd64-x11 now. (It worked for Hildon and Weston,
  because they pull mesa-egl in with other packages.)
2017-10-24 16:16:58 +00:00
Attila Szöllősi
a31d168635 Add linux-postmarketos-mainline aport (#799)
* Rename linux-postmarketos to linux-postmarketos-stable
* Adjust all device-* packages using linux-postmarketos and bump pkgrel
2017-10-23 20:15:32 +00:00
drebrez
a88c8c918c Fix #808: Add SYSVIPC kernel config check (#809)
* Add SYSVIPC kernel config check
* Add SYSVIPC kernel config option to all linux-device packages
2017-10-23 19:25:40 +00:00
clayton craft
fdff56f4ec Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739)
@drebrez deserves much credit for this one for all the testing,
bisecting and for fixing everything. Thank you very much!
---
* devices which need a custom weston.ini ship it with a install_if
  subpackage, so it only gets installed when weston is installed. This
  sounds complicated, but is actually pretty clean in the APKBUILD.
* postmarketos-ui-weston: has a weston.ini.default, which enables
  xwayland and uses fbdev as backend (because that's what most
  devices use!). It defaults to the weston.ini.default if there is no
  weston.ini (as installed by the device package).
* changed spaces to tabs for consistency, general minor refactoring of
  device-APKBUILDs
2017-10-20 00:07:00 +00:00
Oliver Smith
ec65cb9968 Weston: log to syslog instead of /tmp/weston.log (#762)
Placing such files in /tmp/ is an unnecessary attack vector, as
@pavelmachek showed. All udev rules, which mentioned /tmp/weston.log
do not contain any path anymore.

Logs can be read with:
logread -f /var/log/messages | grep weston

See also: <https://wiki.alpinelinux.org/wiki/Syslog>
2017-10-17 20:38:47 +00:00
drebrez
1ff598acd8 [huawei-y530] Add firmware-huawei-y530 package with wifi required files (#781) 2017-10-17 16:25:38 +00:00
Kevin Liu
bab93f7c58 Fix kconfig check exception, rename samsung_tuna -> samsung-tuna (#777)
The kconfig checker expects linux-$_flavor = $pkgname. Thus, just make it so.
2017-10-16 18:54:49 +00:00
zhenyolka
0175f00236 [lg l65 d285] fix laggy screen (#778) 2017-10-16 18:51:22 +00:00
Attila Szöllősi
08c9e0caaa Package firmware-sony-amami (wifi firmware) and wcnss-wlan (#770) 2017-10-15 16:32:12 +00:00
Davide Gessa
7840c9e342 New device: samsung-i9003 (#729) 2017-10-14 16:20:48 +00:00
drebrez
b3a9087977 [htc-desire] Add configuration for osk-sdl (#765) 2017-10-14 09:51:47 +00:00
Pablo Castellano
2060145b64 Fix #757: titan: enable msm-fb-refresher (#767) 2017-10-14 09:49:00 +00:00
montvid
1a09684c76 asus-flo: rebase on 4.11.12 kernel upstream (#734)
*  Rebase on 4.11.12 kernel upstream

I took the relevant patches from https://git.linaro.org/people/john.stultz/flo.git/log/?h=flo-v4.11 and
compiled with upstream kernel.org 4.11.12 kernel. 4.12rc1 and later have not fixed yet problems
with freedreno gpu hanging. So we now have an upstream source for the kernel and John Stultz
patches separately. 
Set this to y as it does not seem to have problems in Alpine - CONFIG_HW_RANDOM_MSM=y
Enable USB OTG in kernel. I still need to find out how to enable it in Alpine.

* Use pkgver instead of hash and other changes
* Add dependencies for X11 and osk

Added pointercal. Added dependencies so Xfce would work out of the box. Made changes in
90-android-touch-dev.rules as they are needed for proper X11 touchscreen calibration.
2017-10-12 20:19:45 +00:00
Pablo Castellano
1f942ba22a linux-samsung-i9100: Bump pkgrel and explain change (follow up from #738) (#741) 2017-10-11 15:21:01 +00:00
Luca Weiss
c7f5488b79 Fix #737: Disable ANDROID_PARANOID_NETWORK for all devices (#742)
* Disable ANDROID_PARANOID_NETWORK for all devices
* Add APKBUILD comments
* Bump pkgrels

This was done with a script, see:
<https://github.com/postmarketOS/pmbootstrap/pull/742#issuecomment-335608932>
2017-10-11 15:11:05 +00:00
bhuvi
a4c1c62220 [samsung-i9100] Fix for non root users not able to access network #737 (#738)
Unset CONFIG_ANDROID_PARANOID_NETWORK as it is useful only on android systems.
2017-10-10 19:18:31 +00:00
Attila Szöllősi
ffbe7a6c50 Device motorola-osprey (#714) 2017-10-07 17:55:55 +00:00
zhenyolka
6878a237f3 Added [lg-d285] (#694)
* Added [lg-d285]

* Added [device-lg-d285

* Added [device-lg-d285

* Added [device-lg-d285]

* Edit checksums

* Update APKBUILD

* Update APKBUILD
2017-10-07 19:23:58 +02:00
Larvitar
20a1b7f2c3 Fix htc-ace touchscreen + weston demo app (#715) 2017-10-07 16:29:37 +00:00
Pavel Machek
81a7348286 Provide default mixer configuration, so sound works by default. (#702)
Sound level is set to 80%, because of rumors that the speakers
could be damaged otherwise. Details in:
https://github.com/postmarketOS/pmbootstrap/pull/702
2017-10-07 16:19:19 +00:00
Oliver Smith
8d2a1a417d Automatically install X11 and mesa dependencies (using install_if) (#696)
* device-qemu-amd64: subpackages for x11 and mesa
* postmarketos-base: add x11 subpackage
2017-10-06 18:19:47 +00:00
joris
0d4c353fc3 Porting to samsung-i9305 (Galaxy SIII LTE) (#690) 2017-10-04 17:20:17 +00:00
Pablo Castellano
dbbdf7cfa4 Fix #436: Clean apkbuilds (#692)
* Remove empty build() functions
* Remove obsolete '|| return 1' statements
2017-10-04 15:05:00 +00:00
drebrez
9705ba8b5d [huawei-y530] Add dev_touchscreen variable in deviceinfo (#667) 2017-10-02 22:37:38 +00:00
Attila Szöllősi
41fcf67bc5 postmarketos-base: Write /boot to /etc/fstab (#653)
Also removed fstab entry from nokia-rx51 post-install script.
2017-09-30 21:52:33 +00:00
Oliver Smith
09afa1f853 postmarketos-base: Execute setup-udev, remove mosh from dependencies (#647)
* postmarketos-base: Execute setup-udev, remove mosh from dependencies

* Run setup-udev [0], because that is what `setup-xorg-base` does [1].
It configures more than one OpenRC service and it also messes with the
runlevels. Only after running that, Hildon works (tested in Qemu).

[0]: 2fbea8b8da/main/eudev/setup-udev
[1]: 06300dd483/setup-xorg-base.in (L25)

* Remove `mosh` from `postmarketos-base` dependencies. I don't think anyone
uses it right now, and it's easy to add custom packages in `pmbootstrap init`
nowadays.

* Minor style changes in the `APKBUILD`
* [rx51] Remove udev-trigger service start
2017-09-29 16:10:09 +00:00
drebrez
e303ea7cf0 Set framebuffer mode in initramfs for all devices (#652) 2017-09-29 15:22:20 +00:00
montvid
cc69cdfc34 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
zhuowei
0ed89b5621 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
4633c69229 [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
6bf7ea3ea8 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
07b4cebd06 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
montvid
4b291dacd0 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
174cfcd7eb 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
montvid
565cd0bdc1 [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
91b846db30 Add device-specific configs for osk-sdl (#615) 2017-09-23 01:05:54 +00:00
montvid
43225855c2 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
5227409d06 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
3fc5efe33a [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
clayton craft
82a35c1847 [rx51] Add libinput calibration matrix (#600) 2017-09-20 18:40:50 +00:00
clayton craft
28595f72ef 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
clayton craft
4e138979b8 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
3813e58108 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
3c988d76af 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
8e3ca34988 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
Martijn Braam
4890b9a935 Added base offset to hammerhead deviceinfo (#556) 2017-09-18 18:46:29 +00:00
Jean Lucas
ca88005b31 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
ebb7398c09 Fix build error in device-t2m-flame (#580) 2017-09-14 18:52:32 +00:00
drebrez
8c3353e93e [huawei-y530] Add kernel modules (#579) 2017-09-14 18:24:33 +00:00
Tomas Safarik
97ad29c439 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
drebrez
7007e2eb63 Fix checksums (GitHub generates different archives now) (#577) 2017-09-14 18:16:16 +00:00
Yuval Adam
527948ec91 T2M Flame updates (#560)
* Fix t2m-flame MDSS driver issues
* Fix path in firmware-t2m-flame
* Remove unneccesary FB hacks
* Fix touchscreen on T2M Flame
* Remove unneeded initfs-hook.sh
* Add patch number prefixes
2017-09-13 19:46:45 +00:00
bhuvi
cf0f710f53 Fix #572: checksum linux-samsung-i9100 (#573) 2017-09-13 19:40:17 +00:00
clayton craft
4eb52ddff0 Feature/rx51 ofono (#567)
* [rx-51] remove pm=0 for nokia-modem
* Add ofono-1.20 + n900/isimodem fixes
* [rx51] Enable ofono support
2017-09-13 19:20:46 +00:00
drebrez
12cbff0ba5 Strip kernel modules for all kernels except for linux-postmarketos (#561)
Adding INSTALL_MOD_STRIP will cause modules to be stripped after
they are installed (option --strip-debug will be used)
In case someone isn't happy with it, please open a PR that reverts
it for your device, or start a discussion as a new issue.
2017-09-13 17:47:53 +00:00
Tomas Safarik
9208f1f199 [samsung-i9100] add wifi firmware (#514)
* add firmware for samsung-i9100
* add firmware package as dependecy for device package
* set kernel config for postmarketos firmware location
2017-09-11 16:20:34 +00:00
Pablo Castellano
bfb55c7b74 Unify names of scripts and patches (#557)
- 90-android.rules -> 90-android-touch-dev.rules
- reduce_lzo_compression.patch -> 02_reduce_lzo_compression.patch
- mdss_fb_refresh_rate.patch -> 02_mdss_fb_refresh_rate.patch
- aeea3592a13bf12861943e44fc48f1f270941f8d.patch -> 00_fix_return_address.patch
- gpu-msm-fix-gcc5-compile.patch -> 02_gpu-msm-fix-gcc5-compile.patch
- udev-hack.sh -> udev-v4l-hack.sh
- Separate udev-v4l-hack.sh from profile.sh
2017-09-11 15:29:22 +00:00
drebrez
a1b840bb71 [huawei-y530] Fix touchscreen (#552)
- Add patch to fix synaptics rmi touchscreen driver
- Disable not needed touchscreen drivers in kernel config
- Add udev rule to detect touchscreen device
2017-09-10 11:35:20 +00:00
drebrez
fe8e0b3fa7 Update/fix Huawey y530 kernel, framebuffer works (#534) 2017-09-08 15:18:11 +00:00
kskarthik
c57f4985d7 Working GUI for sony-aries (#525) 2017-09-06 22:36:07 +00:00
Ben Iofel
89f94a9c63 Enable xwayland and drm for weston on qemu-amd64 (#517) 2017-09-06 16:28:05 +00:00
Jean Lucas
1afc41e0e4 Initial support for OnePlus One (bacon) (#523)
Currently using the LineageOS 15.0 kernel.
2017-09-06 12:27:14 +02:00
zhuowei
cfb582da65 Initial support for Huawei Google Nexus 6P (Angler) (#512)
This uses the LineageOS 14.1 kernel.
2017-09-04 17:11:42 +00:00
Pablo Castellano
61db96961f qemu: improve networking (#482)
* qemu: network improvements (fixes #433)
- Use hostfwd instead of -redir, which is deprecated
- qemu devices: add interfaces configuration and virtio_net module
- redirect telnet ports 23 and 24 (debug)

* Added 'interfaces' files
* qemu: added aarch64 network device
* qemu: use default_ip
2017-09-03 14:01:21 +00:00
Wouter92
8576b3eabd Support for sony-yuga (#500) 2017-09-02 18:51:38 +00:00
Attila Szöllősi
730f25c4ce "Fix" udev issue on sony-amami (#496) 2017-09-01 23:57:28 +00:00
James Heald
b53a18ed23 Added LG G Watch R (lg-lenok) Support (#489)
* added LG G Watch R (also compatible with Urbane 1)
* added frame buffer fix script to install
* Added missing refreshrate patch
* Added xwayland
2017-09-01 22:20:09 +00:00
Fabrice Desré
da3a164992 Rename mozilla-flame to t2m-flame (#488)
* Rename mozilla-flame to t2m-flame
* Keep Mozilla as the marketing name
2017-09-01 21:30:38 +00:00
opendata26
48dba8734e Fix firmware-adreno and move it to firmware (#483) 2017-08-30 15:50:53 +02:00
drebrez
9271425c1a Initial Huawei Ascend Y530 support (#462) 2017-08-25 15:47:32 +00:00
SaiKarthik Karra
ed76dd9110 Add Xperia Z3C port (#448)
Booting works, SSH does not work yet (missing UDEVTMPFS?), screen does not work yet.
2017-08-24 17:35:46 +00:00
drebrez
8b420832df Add samsung-i9070 firmware package (#455)
Also change the arch of firmware-mozilla-flame's APKBUILD to "noarch".
2017-08-24 17:26:40 +00:00
Pablo Castellano
8565d86b21 linux-motorola-titan: fixed refresh rate (#449) 2017-08-23 16:41:40 +00:00
Yuval Adam
645141a5b9 Better Mozilla Flame device support (#435)
* No need to append DTB to kernel
* Remove kernel module build for now
* Add device-specific firmware package
* Add special partitions to fstab
* Fix typo in screen width
2017-08-21 19:38:11 +00:00
Kevin Liu
b19a5fe29e maguro: add wifi, framebuffer/weston, and touchscreen support (#425)
* Add maguro wifi support
* enable framebuffer and VT, WESTON STARTS
* make touchscreen work & fix merge conflict
Cherry-pick of lawl's commit, ed552e5d9272204c12f67bcb0401b3e08e57d35f.
2017-08-20 12:41:28 +00:00
Martijn Braam
2dded4b39d Add setting for device keymap for devices with keymaps (#379)
* Added rx51_us keymap to nokia n900
* Added keymap option to init
* Made install command run setup-keymap when neccesary
* Validate keymap on install
2017-08-19 21:40:20 +00:00
clayton craft
0136f832d0 [RX51] Remove unneeded kernel cmdline options (#376)
Remove omapfb options since they are irrelevant now that we use omapdrm.
2017-08-18 21:43:31 +00:00
opendata26
b3dc47f687 Add firmware-adreno package (#393)
* Add support for wifi and touchscreen on castor
* Various fixes
* Add firmware-adreno package
* Download firmware files
2017-08-18 21:13:38 +00:00
Attila Szöllősi
f267b78873 Update sony-amami deviceinfo (#412) 2017-08-18 18:14:06 +00:00
drebrez
7c42663436 Rename wrong deviceinfo_flash_cmdline to deviceinfo_kernel_cmdline (#369) 2017-08-14 14:22:38 +00:00
clayton craft
2bb305171e [RX51] misc improvements (#287)
* [RX51] enable hwdrivers service to 'fix' acpid

* [RX51] set rtc device for hwclock service

* [RX51] Enable networking service, add /etc/network/interfaces

* [RX51] Update APKBUILD checksums & pkgrel
2017-08-14 14:19:22 +02:00
opendata26
55b32da086 Add Xperia Z2 Tablet WiFi (#339)
* Add Xperia Z2 Tablet WiFi config

* Various fixes for Z2 tablet

* Fix Checksums
2017-08-11 12:41:29 +02:00
Yuval Adam
321156e59b Initial support for mozilla flame (#356)
* Initial Mozilla Flame packages

* Update dtbtool to use LineageOS upstream

* Use mkbootimg --dt flag only when deviceinfo_bootimg_qcdt is defined

* Update mkbootimg to use LineageOS upstream

* Add sparse image flashing on device-mozilla-flame

* Only support SD card install on Mozilla Flame

* Remove useless profile.sh on mozilla flame

* Package DTBs in /usr/lib/linux-mozilla-flame/

* Build and install modules in linux-mozilla-flame
2017-08-09 20:57:52 +00:00
Pablo Castellano
5d011e30ff Close #226: Launch postmarketOS in a qemu virtual machine (#350)
Thanks to Pablo Castellano and Martijn Braam!
In postmarketOS we are now able to generate system images with the
correct configuration so that they can boot already using qemu

This commit brings the `pmbootstrap qemu` action.
This command is very handy because you don't have to set all the
qemu parameters, pmbootstrap does it for you.

* device-qemu-vexpress: Added kernel command line according to wiki
* qemu: Added workaround for image writing permissions
* qemu: Added support to launch postmarketOS in a QEMU virtual machine

- Support for emulating these architectures in QEMU: arm, aarch64, x86_84
- Generate QEMU command correctly depending no guest architecture (arm/x86)
- Run QEMU in the same architecture as the host by default
- Refactoring in pmb.parse.arch and pmb.qemu.run
- Raise exception if DTB file or system image are not present
- Display more useful information when something fails (e.g. image not found)
- Run qemu version depending on arch (host or argument), not device configured

* device-qemu-amd64: set deviceinfo_kernel_cmdline to "PMOS_NO_OUTPUT_REDIRECT"
* qemu: added --memory argument to specific guest RAM
* device-qemu-amd64: adjusted deviceinfo_kernel_cmdline (console=tty1)
* Added /etc/network/interfaces for qemu-amd64
* qemu: Added KVM support if /dev/kvm if present
* Specify separate machines for architecture
* qemu: Check if QEMU is installed instead of crashing
* Added graphics driver to qemu-aarch64

- Use arm (as used in qemu) instead of armhf (used in Alpine)
- qemu argument is -dtb
- Follow same style to build the command + arguments

* qemu: Added SSH port redirection: ./pmbootstrap.py qemu -p 2222
2017-08-09 20:26:40 +00:00
Martijn Braam
9478c6272b Fix the checksum on the n900 device package (#352) 2017-08-09 14:25:48 +02:00
Attila Szöllősi
5a32e48eef Fix refresh rate on sony-amami (#348)
Patch added to hardcode pixclock in framebuffer driver
2017-08-08 16:50:11 +00:00
Attila Szöllősi
8eeb3fdc0e Fix weston on sony-amami (#340) 2017-08-07 19:08:35 +00:00
Pablo Castellano
ff968a751e Implement sparse system images (fix #299) (#303)
* Packaged libsparse

libsparse from the Android project provides multiple tools like img2simg
and simg2img.
These are used to split a large image for the system partition into
separate smaller chunks with sparse headers

This is required for several devices (at least bullhead, fp2 and titan)
because it fixes the "Invalid sparse file format at header magi" error

https://github.com/postmarketOS/pmbootstrap/issues/299

* Added new variable deviceinfo_flash_sparse (fixes #299)

Right after the system image is generated, pmbootstrap checks this
variable. In case it is true, run img2simg on it

* motorola-titan: enable deviceinfo_flash_sparse

* libsparse: use source from github: anestisb/android-simg2img

It is not that easy to use the upstream archive because everytime
you download it, the files have the current date as creation date
and that makes the file have a different checksum every download
https://github.com/postmarketOS/pmbootstrap/pull/303#issuecomment-319017197
2017-08-02 16:21:50 +00:00
Pablo Castellano
d690e38d50 Fix #223: Use .tar.gz instead of .zip for kernel sources (#315) 2017-08-01 15:57:52 +00:00
James Heald
ea575334e9 Add device Samsung Galaxy Note 2 (N7100) (#293) 2017-07-31 18:02:44 +00:00
Oliver Smith
c5004ead31 Move linux-postmarketos to from device to main 2017-07-29 01:14:09 +02:00
Oliver Smith
3e140ea690 Close #194: Aports subfolders! See migration guide in the wiki (#227)
Migration guide:
https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
2017-07-28 22:34:40 +00:00