Commit graph

1209 commits

Author SHA1 Message Date
Luca Weiss
774046c85b Use _commit consistently, use _commit in sources instead of pkgver (!207) 2019-02-11 22:02:26 +01:00
Bhushan Shah
14c0397f26
plasma-mobile: dump scaling based on font sizes (!204)
PureTryOut said: The situation has improved, that's for sure, but the
scaling still isn't perfect. However, according to bshah, this is how it
should be done, so I'm fine with merging this anyway.
2019-02-11 20:56:58 +01:00
Bart Ribbers
54a186d08b temp/qt5-qt* & kde/: bump which I forgot earlier causing all kinds of issues (!205) 2019-02-08 20:20:17 +01:00
Bart Ribbers
17f88bd2f8 kde/ & main/postmarketos-ui-plasma-mobile: bump pkgrel after Qt upgrade (!202) 2019-02-08 13:48:21 +01:00
Bart Ribbers
3d4b38b014 temp/qt5-qt*: upgrade to 5.12.1 (!201) 2019-02-08 12:04:09 +00:00
Bart Ribbers
1d0437072f
kde/plasma-phone-components: update to latest git (!199)
Resolves #170 (screen brightness gets set to 0 after booting).
2019-02-08 10:14:02 +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
Bart Ribbers
a72cf419ad
temp/qt5-*,main/libphonenumber: pkgrel bump to fix ICU soname issue (!200)
Alpine Linux has updated their main/icu to 63.1, which means we have to
rebuild some of our packages too.

[skip ci]: simple pkgrel bumps, building won't finish in CI
2019-02-08 08:31:22 +01:00
Oliver Smith
8e00db7fef
main/uuu: only build for x86_64
Fails to build for armhf with the error below, and doesn't seem to be
tested on anything but x86_64 anyway according to the project's
README.md file. I did not report this upstream, because we are using
the version from Purism's repository that is at 1.2.31. Upstream is
already at 1.2.68, which may have fixed this already. So if somebody
needs to have it working for anything other than x86_64, we should try
the upstream version first.

[ 83%] Creating preprocessed clst file /home/pmos/build/src/mfgtools-uuu_1.2.31/uuu/gen/emmc_burn_all.clst
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:63: uuu/gen/uuu.clst] Error 127
make[2]: *** Waiting for unfinished jobs....
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:68: uuu/gen/emmc_burn_loader.clst] Error 127
gen_txt_include.sh: applet not found
gen_txt_include.shmake[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:73: uuu/gen/emmc_burn_all.clst] Error 127
: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:93: uuu/gen/sd_burn_all.clst] Error 127
make[1]: *** [CMakeFiles/Makefile2:184: uuu/CMakeFiles/uuu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 83%] Built target uuc
make: *** [Makefile:130: all] Error 2
2019-02-08 08:28:18 +01:00
Clayton Craft
d873bc0d28
main/uuu: Add Universal Update Utility (!196)
This is a flasher tool used by the Librem5 devkit and most likely other
future NXP-based devices.
2019-02-07 09:10:08 +01:00
Oliver Smith
dcaf388c44
cross/busybox-static-*: update to 1.29.3-r12 2019-02-07 06:53:58 +01:00
Bart Ribbers
fd73c12f8d main/qt5-*: remove as it's now in the Alpine repositories 2019-02-06 12:52:06 +01:00
Zhuowei Zhang
2a4d30e52a
main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190)
ConfigFS expects idVendor and idProduct values to be prefixed with 0x.

Without this change, google-crosshatch shows as a device with 0:0 as the
idVendor/idProduct in lsusb:

Bus 001 Device 004: ID 0000:0000

This confuses VirtualBox: it has trouble detaching this device from
a virtual machine, so one must manually use ifconfig to bring down the
old USB network connection before reattaching.

With this change, the idVendor/idProduct is correct:

Bus 001 Device 004: ID 18d1:d001 Google Inc.

This issue also seems to affect other devices with ConfigFS, such as the
Nexus 5:

https://matrix.to/#/!clcCCNrLZYwdfNqkkR:disroot.org/$15487159511194991apGpy:matrix.org
2019-02-05 10:07:21 +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
Grant Miller
6b3b08f08a main/devicepkg-dev: Automatically install initfs-hook.sh (!191) 2019-02-05 09:34:34 +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
rahmanshaber
34d157a255 Update APKBUILD - qt5-qtsvg-dev 2019-01-30 11:59:38 +00: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
rahmanshaber
99336d5992 main/qt5ct: new aport (!185)
This program allows users to configure Qt5 settings (theme, font, icons,
etc.) under DE/WM without Qt integration.
2019-01-30 09:07:35 +01:00
Bhushan Shah
5b25a32861
plasma-mobile: launch dbus session before kwin (!183)
Otherwise kwin can't register it's services.
2019-01-30 08:41:51 +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
Oliver Smith
4328e5fe2f
devicepkg-dev: opt-out compiler-gcc.h replacing (!186)
Instead of never overwriting compiler-gcc.h if it exists, overwrite it
by default except if OVERWRITE_GCCH=0 is set in the environment.

Most kernels *do* need this file replaced and won't build without this
patch.
2019-01-29 09:44:44 +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
Clayton Craft
ff25ad7a0c
main/devicepkg-dev: don't overwrite compiler-gcc.h (!141)
At least one newer kernel already includes the compiler support split
stuff, so don't overwrite it if it already exists.
2019-01-28 20:45:18 +01:00
Clayton Craft
018e28cc66
main/postmarketos-mkinitfs: aarch64 uboot initrd (!141)
Support generating the aarch64 legacy uboot initrd files, not only the
armhf version. Use deviceinfo_arch to choose the right arch.
2019-01-28 20:45:18 +01:00
Attila Szollosi
b24a2a4c96 recovery zip: fix "No OS installed" warning (!169)
Tested on sony-amami with TWRP 3.0.2.
2019-01-28 09:52:02 +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
Clayton Craft
db85aebd0f
devicepkg-dev: Properly replace -Werror= (!181)
The 5.0 kernel now includes -Werror= parameters in the makefile, this
changes downstreamkernel_prepare.sh to support them. Without this, the
script will replace, for example, -Werror=blah with =blah, which causes
the kernel compilation to fail.
2019-01-28 08:13:52 +01:00
rahmanshaber
f9915bd0ea
Add coreapps: lightweight Qt apps for various tasks (!162)
More information and screenshots in the GitLab project:
https://gitlab.com/cubocore

[skip ci]: ollieparanoid made sure this builds for x86_64, armhf,
           aarch64, armv7.
2019-01-26 09:48:15 +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
Oliver Smith
7828c621da
busybox-static-*: update to 1.29.3-r10 2019-01-25 08:37:02 +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