Commit graph

147 commits

Author SHA1 Message Date
rrooij
4baa73c3bc samsung-i9195: fix weston pixman type (#1105) 2018-01-09 18:23:10 +00:00
Filip Matijević
2cc6ae4a9d Add basic support for Nokia N9 (#1101)
Also added the watchdog-kick package:
Some devices (namely Nokia N9/950) use more than one watchdog, and
watchdog-kick package kicks all of /dev/watchdogs? every 10 seconds so
they don't reset the device
2018-01-09 16:42:55 +00:00
rrooij
2cff732e2d asus-tf101: add initial support (#1103) 2018-01-08 21:49:08 +00:00
rrooij
bad59f2ea6 i9195: add initial support (#1099)
Current status:
* Red glare on screen (probably need kernel patch)
* No touch support
* Networking on USB does not work, but it does boot normally
2018-01-08 20:39:04 +00:00
Oliver Smith
44ee4d924d Fix qemu-vexpress and qemu-aarch64 (#1029)
* Don't ask for the mesa driver when the Qemu arch is not the
  native arch and always use swrast in that case
* qemu-vexpress: use LTS kernel
* qemu-aarch64: use drm-backend for weston
2018-01-08 15:18:37 +00:00
Eric Hosmer
db394a8af5 Add support for touch on motorola-shamu (#1093) 2018-01-07 07:55:13 +00:00
Adrian Siekierka
7fc0216fc9 Basic support for Sony Xperia Arc ("semc-anzu") (#1087)
* Boots successfully to Weston
* supports the touch screen
* SSH into the device over USB works
2018-01-06 19:14:17 +00:00
Oliver Smith
33dcf5fba6 i9070, maguro: fix subpackages variable
It still contained $pkgname-mesa, which is as subpackage that has
just been removed in #1086.
2018-01-06 16:03:03 +01:00
Eric Hosmer
b93a6af1d8 Add support for Motorola Google Nexus 6 (motorola-shamu) (#1084) 2018-01-06 14:51:47 +00:00
Oliver Smith
1901060d4d Let new and most old devices depend on mesa dri swrast (#1086)
* Devices: depend on mesa-dri-swrast (where it makes sense)
* Device wizard: add mesa-dri-swrast by default
* Closes #1013.
2018-01-06 14:08:10 +00:00
Yan
258b6b6bdf Base LeEco Le 2 support (#1073) 2018-01-05 16:52:44 +00:00
Oliver Smith
4b95925e92 Properly disable v4l on devices where it causes udev to hang (#1077)
Fixes #1033.
2018-01-04 16:41:27 +00:00
kamnxt
91169f3da6 Add basic support for LG G4 (h815) (#1060) 2017-12-30 21:00:42 +00:00
Alex Roth
2a951d962d Add Teclast X80 Pro (EFI/x86_64 tablet) (#1050) 2017-12-29 02:02:29 +00:00
lawl
8297ed30b7 add support for xiaomi-ido (Xiaomi Redmi 3 [Pro]) (#1043)
Device boots, weston starts, ssh works, osk-sdl works
2017-12-27 01:56:59 +00:00
Piotr Halama
083e21bcef Add samsung-s6500d support (#1042) 2017-12-26 23:08:30 +00:00
William O-D
5da25bc8ff samsung-espresso10: Added wifi (WIP), touch and usb support (#1034) 2017-12-23 21:37:41 +00:00
William O-D
7bce1ef049 Added new device: samsung-espresso10 (Samsung Galaxy Tab 2 10.1) (#1027) 2017-12-21 22:28:57 +00:00
Attila Szöllősi
2f9ef89189 Rename deviceinfo variable flash_methods to flash_method (#1030)
* Rename deviceinfo variable flash_methods to flash_method
* Update pmb.config.deviceinfo_attributes / add sanity check
* Add test case that parses all deviceinfo files
2017-12-21 22:12:51 +00:00
rrooij
ddada76032 samsung-i9505: use ondemand as default cpu gov. (#1010)
The default is otherwise performance, which drains a lot of battery.
Therefore ondemand seems to be a reasonable default.
2017-12-15 23:11:30 +00:00
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