Commit graph

392 commits

Author SHA1 Message Date
Clayton Craft
c5db817421
linux-purism-librem5dev: Update to latest purism kernel (!232)
Most notably, this update enabled the LCD display for all devices!
2019-02-21 19:56:10 +01:00
Oliver Smith
bf12556657
purisum-librem5dev: skip kconfig check (!215)
Ignore this kernel in "pmbootstrap kconfig check" by default, so we can
use the upstream kernel config without any changes. But still enable the
kernel config check again.

The related pmbootstrap change will be merged soon:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1753

[skip ci]: this change doesn't affect the build
2019-02-21 19:24:55 +01:00
William O-D
8ebafdf992 New device: samsung-hero2lte (Samsung Galaxy S7 Edge) (!179)
Display is working in both X and wayland (tested with weston and XFCE).
Not tried with osk-sdl yet, charging-sdl seems to work fine.
USB networking and SSH is working too.

Camera subsystem disabled to prevent bootloops. This device brings its
own dtb.img format, but there's a generator in the kernel source that
is used at build time (patched to make it work properly).

[skip ci]: already built in CI successfully
2019-02-13 21:09:48 +00:00
Sergey Larin
7df8828dfb
samsung-i927: Set touchscreen and keyboard in deviceinfo (!217)
[skip ci]: already built successfully in CI
2019-02-12 23:30:23 +01:00
Sergey Larin
6b1072a789 samsung-i927: Kernel updates (!217)
- Use separated patches
- Use new panel driver (with backlight support)
- Battery fixes
- Fix compass (AK8975) (not tested, only probing works, but sometimes
  doesn't - says "Unexpected device" - need to investigate that)
- Touchkey is working + LED
- Keyboard backlight + HALL for slideout detection
2019-02-12 23:28:56 +01:00
escoand
62b145d8db New device: htc-ville (HTC One S) (!177)
Boots and runs weston so far.

[skip ci]: already built successfully in CI
2019-02-12 21:45:39 +00:00
Denny Harijanto
1b353c020a
asus-tf101: USB Networking and Touch Screen Support (!197)
- Reverts few hacky commits that caused USB networking not to work
- Modified atmel drivers used by TF101 to work with libinput

[skip ci]: already built successfully in CI
2019-02-12 22:29:43 +01:00
Matthias Berndt
33900c7889
New device: htc-vision (HTC Desire Z/G2) (!132)
Based on cmdrwgls original work from:
https://github.com/postmarketOS/pmbootstrap/pull/810

Fixed to actually boot, compile with GCC-6, and the touch screen is
working!

[skip ci]: already passed CI
2019-02-12 22:19:59 +01:00
Sergey Larin
e007f80165
samsung-i927: new device (Samsung Captive Glide) (!195)
Runs an only slightly patched mainline kernel.

For now:
- flashing works (only SD card boot and kernel flashing tested)
- boots
- screen works
- keyboard works
- touch works
- accelerated Xorg works (OGL not tested, xf86-video-tegra works,
  but sometims X crashes with invalid instruction error - open top menus in
  Xfce file manager to reproduce)
- SD card works (troubles with GPIO insertion detection)
- USB should work, not tested
- WiFi should work, also not tested (a lot of warnings during boot)
- Sound needs configuration
- battery needs kernel driver (max8922/max8907c)
- touchkey doesn't work - very strange hardware here...
- cameras don't work - no DT bindings, but all drivers there

Other functionality is broken/not tested.

[skip ci]: already built successfully in CI
2019-02-08 09:12:59 +01:00
Hacker1245
c07618dcd3
motorola-cedric: remove roccat mouse driver (!194)
This MR removes the Roccat mouse drivers that I added before when I was
testing my mouse.

[skip ci]: already built in CI successfully
2019-02-05 09:53:35 +01:00
Clayton Craft
4d94dd2953
device-purism-librem5dev: move wifi module options to separate conf file (!192)
[skip ci]: already successfully built in CI
2019-02-05 09:41:54 +01:00
Clayton Craft
1691f5157d device-purism-librem5dev: enable gps support (!192) 2019-02-05 09:41:37 +01:00
Clayton Craft
bbcc878e4f linux-purism-librem5dev: update to latest linux-emcraft branch (4.18-wip) (!192) 2019-02-05 09:41:32 +01:00
Grant Miller
b6fe2fd834
Don't manually install initfs-hook.sh (!191)
This only changes devices that use devicepkg-dev (see #8)

[skip ci]: too many packages have changed
2019-02-05 09:35:07 +01:00
Ion Agorria
797f0d5319
xiaomi-tissot: Add firmware for WiFi and fix ramoops (!189)
Add firmware required to make WiFi work. Patch the kernel so the ramoops
dmesgs can be read properly without having to remove that header every
time.

[skip ci]: already built successfully in CI
2019-02-05 09:25:30 +01:00
Hacker1245
4346402695
motorola-cedric: fix X11 framebuffer (!187)
This patch fixes Xorg. Adapted from the Xiaomi A1.

[skip ci]: already built successfully in CI
2019-02-03 02:22:55 +01:00
Clayton Craft
9be5be7123
device-purism-librem5dev: Use dts with usb host mode support (!182)
USB host mode is useful (essential?) on the devkit for adding a
keyboard/mouse to interact with the desktop since the onboard display
and touchscreen are very much in flux.

[skip ci]: already built successfully in CI
2019-01-31 08:27:22 +01:00
Clayton Craft
8fc1c28d9a linux-purism-librem5dev: use correct flavor name (!182) 2019-01-31 08:25:42 +01:00
Zhuowei Zhang
e222859dea
google-crosshatch: enable /dev/mem in kernel (!184)
This is useful for dumping device registers when mainlining.

[skip ci]: takes longer than 1h to build, ollieparanoid made sure that
           it builds locally.
2019-01-30 09:39:49 +01:00
Zhuowei Zhang
d0f36689ab google-crosshatch: enable wifi driver in kernel config (!184)
The LineageOS kernel integrates the Wi-Fi driver, so reconfigure with
the Lineage defconfig and copy the Wi-Fi options over to our defconfig.

This doesn't get Wi-Fi working yet, but it gives a good starting point.
2019-01-30 09:38:32 +01:00
Zhuowei Zhang
afe0f14e34 google-crosshatch: switch to LineageOS kernel (!184) 2019-01-30 09:37:25 +01:00
Oliver Smith
e04192baf3
linux-purism-librem5dev: set REPLACE_GCCH=0
Do not replace compiler-gcc.h. This is necessary now, as we are
replacing compiler-gcc.h by default again, as it is needed for most
kernels. Not increasing the pkgrel to avoid unnecessary rebuild, I have
verified that this works.

NOTE: in the last commit message, I wrote about OVERWRITE_GCC=0. But
the variable is called REPLACE_GCC, as I've decided to rename it before
submitting. I forgot to change it in the commit message.

[skip ci]: this kernel takes more than one hour to build, so it won't
           finish in CI.
2019-01-29 09:55:45 +01:00
thejsa
7b86ca313d
motorola-athene: enable touchscreen (!180)
Adds an initfs-hook to enable touchscreen on motorola-athene.
2019-01-28 21:20:20 +01:00
Claudio Maggioni (maggicl)
d65f0a1f8e
sony-coconut: Added 16-bit color depth workaround (!178)
Signed-off-by: Claudio Maggioni (maggicl) <cmaggioni@keemail.me>

[skip ci]: already build successfully in CI
2019-01-28 21:14:52 +01:00
sir_si
c6e5ec1dff
htc-evita: new device (HTC One XL) (!175)
[skip ci]: already built successfully in CI
2019-01-28 21:09:57 +01:00
Ion Agorria
f0f504798e
xiaomi-tissot: Modernize APKBUILD, add Xorg support (!173)
This modernizes the APKBUILD that was based from outdated one (still
needs GCC6) as requested in !165 (comment 133993271). Also adds a fix
to allow Xorg booting, osk-sdl doesn't work yet as it throws some ugly
faults in kernel related to fbcon.

[skip ci]: already built successfully in CI
2019-01-28 21:02:04 +01:00
Unknown
e41b484d36
motorola-cedric: add wifi firmware (!172)
I made a firmware package APKBUILD based on the motorola-titan and added
it to the device-motorola-cedric APKBUILD.
2019-01-28 20:53:44 +01:00
Clayton Craft
fd8582fe6c
purism-librem5dev: new device (!141)
[skip ci]: build takes pretty long, at least the download timed out
in CI last time. ollieparanoid made sure that this builds before
merging.
2019-01-28 20:45:32 +01:00
Clayton Craft
03a22d6ef3
device/u-boot-librem5dev: new package (!141) 2019-01-28 20:45:18 +01:00
Clayton Craft
03fcb0d08f
device/linux-purism-librem5dev: new package (!141) 2019-01-28 20:45:18 +01:00
Konrad Dybcio
eb30c690fc
sony-nicki: use armv7 (!143)
[skip ci]: this compiled in CI before, no need to run again.
2019-01-28 09:19:49 +01:00
Lwrless
79e655f6e9
xiaomi-aries: new device (Xiaomi Mi2) (!171)
Finally got display working, but it's based on MoKee kernel which is
also hosted on GitHub by community. So what works:

* USB Networking
* Flashing
* Touchscreen
* Display
* Weston with Xwayland

The device boots and shows the splash screen properly, after about 3
sec the screen went black. I had to
"echo 127 > /sys/devices/i2c-0/0-0038/leds/lm3530-backlight/brightness"
to make the backlight work, even though the value of it was already
127.

[skip ci]: this was built successfully in CI already
2019-01-25 09:53:12 +01:00
Bart Ribbers
02f73e7e8a
sony-amami: use armv7 (!126)
Tested it with Weston and it boots fine.

[skip ci]: already built in CI, no need to build again
2019-01-25 08:41:17 +01:00
Grant Miller
093b6869e3
linux-samsung-jflte: Use gnu89 patch (!144)
[skip ci]: this MR was built successfully in CI already
2019-01-25 08:34:30 +01:00
Grant Miller
b226f61602
samsung-jflte: Use armv7 (!144)
I have tested this on xfce4 and weston. Also plasma-mobile "works"! The
performance isn't any better than on armhf, it's still less than one
frame per second and llvmpipe still doesn't work.

After switching to armv7, this kernel fails to compile with the
following error unless CONFIG_CRYPTO_AES_ARM_BS is disabled:

arch/arm/crypto/aesbs-core.S:449: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:904: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:2100: Error: thumb conditional instruction should be in IT block -- `subne r9,#0x10'
2019-01-25 08:32:54 +01:00
PureTryOut
0746e147d0
device/device-lg-bullhead: disable 2 cpu's to prevent bootlooping (!139)
Quite a few Nexus 5X devices have the tendency to bootloop after a while
of being on, iirc because it overheats. This has been a known issue for
quite some time, and most Android ROM's for it have measures in place to
prevent this, in the form of disabling some CPU cores (iirc "Big cores"
or something like that). My Nexus 5X is also subject to this issue.

According to craftyguy, resolving this is as easy as changing the boot
command to not use those CPU cores. This commit does exactly that. It
should probably be made optional for people with this device without
that issue, but since I have no clue how to do that atm, this is the
safest for now.
2019-01-23 09:54:12 +01:00
Hacker1245
dca30e4e60
motorola-cedric: Enable OTG (!163)
OTG was tested with a keyboard and a pendrive.

[skip ci]: this was built successfully in CI earlier, only rebased and
           squashed the commits here.
2019-01-23 09:49:15 +01:00
Marijn rom
7f69748faf
asus-grouper: add mdss-fb-init-hack (!170)
mdss-fb-init-hack fixes the black screen (e.g. in XFCE4)
2019-01-23 09:43:51 +01:00
Ion Agorria
26592daadc
device-xiaomi: new device (!165)
Initial support for Xiaomi A1 aka xiaomi-tissot using LineageOS 15.1
kernel, has similar board to Xiaomi Redmi 4 aka xiaomi-mido with some
differences that had to be patched such as reversing skip_initramfs and
ignoring dm param. 16.0 kernel boots but display fb init doesn't work.

Weston boots with touch support, SSH via USB RNDIS works.

[skip ci]: this built once in CI already, good to go.
2019-01-23 09:41:42 +01:00
Hacker1245
7d8dcb7ea6
motorola-cedric: enable touchscreen (!157)
Add initfs hook to enable it, and set the deviceinfo variable.
2019-01-21 08:30:19 +01:00
NeKit
c54463924f
planet-geminipda: new device (Planet Gemini PDA) (!155)
Integrate Gemini PDA support into master from old branch:
https://github.com/postmarketOS/pmbootstrap/commits/device-planet-geminipda

Most of hybris-related changes (besides KWin) was merged, so it is just
device and kernel aports now.

The state of hardware support is unchanged from:
https://wiki.postmarketos.org/wiki/Planet_Computers_Gemini_PDA_(planet-geminipda)

Without hybris, it can boot to graphics with X11 fbdev driver, the
included config enables correct rotation (as it has portrait display,
but usable only in landscape).

For running it with hybris, which can allow for 3D acceleration, we need
a way to package and provide large LXC image for running Halium Android
container. Lately Adam Boardman from Gemini PDA community also got voice
calls working in Debian install with a mix of SailfishOS middleware and
Ubuntu Touch applications, which could be probably adapted for
postmarketOS if needed.
2019-01-21 07:39:41 +01:00
Grant Miller
468b53a411
Add gnu89 patch to .shared-patches/linux/ (!158) 2019-01-21 07:12:00 +01:00
Luca Weiss
8c1ebc31a8
pine-a64lts: add wifi and bluetooth firmware (!153)
Add firmware-rtl8723bt package and Pine wifi and bluetooth firmware
subpackage.

[skip ci]: ollieparanoid will build this MR manually before merging, it
will probably not finish CI within one hour.
2019-01-20 14:47:59 +01:00
Luca Weiss
4edbac805d
pine-a64lts: update kernel to 4.20.0 (!153) 2019-01-20 14:47:50 +01:00
Hacker1245
8b758c877c
New device: motorola-cedric (Motorola Moto G5) (!154)
The device boots, USB networking works, display works (touch doesn't
work). All other information is in the Wiki page.
2019-01-20 03:24:19 +01:00
Luca Weiss
2f6f4a2afb
u-boot: update to 2019.01 (mainline Pine A64) (!152)
The Pine boots, Weston shows on a HDMI display.

[skip ci]: doesn't finish in time; ollieparanoid tested that this
compiles for armhf, aarch64, armv7
2019-01-20 02:32:13 +01:00
Danct12
f842a0e39f
device-asus-z00vd: add missing devicepkg (!137)
Follow-up to !21, where only the kernel was added, but not the device
package.
2019-01-10 22:33:48 +01:00
Clayton Craft
ed063565df
device-pine-a64lts: use deviceinfo_sd_embed_firmware (!140)
This adds the new deviceinfo parameters for specifying binary:offset for the
embed_firmware method, and removes the old method.
2019-01-10 22:22:46 +01:00
JohnBergago
b21caaeeb8
New device: huawei-cameron (Huawei Mediapad M5 pro) (!133)
The device boots, USB networking is available and the display does also
work, even though the default display brightness seems to be zero. More
information can be found in the wiki.
2019-01-09 08:19:40 +01:00
Daniele Debernardi
ffa2dad8ca device-raspberry-pi3: Remove unnecessary kernel subpackage (!127) 2019-01-06 13:27:58 +01:00