Commit graph

4760 commits

Author SHA1 Message Date
Clayton Craft
82777179c1
device-pine64-pinephone: stop using legacy u-boot initrd (MR 2449)
[ci:skip-build] already built successfully in CI
2021-08-27 11:40:48 -07:00
Johannes Marbach
d850a2b2b4
device-qemu-*: add evdev module to initfs (MR 2463)
The Alpine LTS kernel builds evdev as a module which means it's not automatically
available in the initfs. Including evdev allows osk-sdl to properly recognise
physical keyboards, just like on a real device.

Fixes: #1204

[ci:skip-build] already built successfully in CI
2021-08-26 13:49:57 -07:00
Clayton Craft
d07f0b3dbc
temp/u-boot-pinephone: fix sed regex to support gnu sed (MR 2461)
gnu sed doesn't support \d:
https://stackoverflow.com/questions/14671293/why-doesnt-d-work-in-regular-expressions-in-sed/14671365#14671365

So update-u-boot was failing if a user installed gnu sed.

Thanks to Arnavion for pointing this out
2021-08-26 21:54:37 +02:00
Clayton Craft
d08dcc9eb2
temp/u-boot-librem5: fix sed regex to support gnu sed (MR 2461)
gnu sed doesn't support \d:
https://stackoverflow.com/questions/14671293/why-doesnt-d-work-in-regular-expressions-in-sed/14671365#14671365

So update-u-boot was failing if a user installed gnu sed.

Thanks to Arnavion for pointing this out
2021-08-26 21:54:37 +02:00
Arnavion
bb25d9aa61
pine64-pinephone: fix pinephone_modem-setup to correctly invoke atinout (MR 2462)
`$DEV` was an undefined variable so the atinout commands were printing their
helptext instead of actually running. This was noticeable because
the "Failed to enable VoLTE profile auto selecting" log was being printed
along with said helptext to syslog.

The block that defined `$DEV` had been accidentally deleted in
bb41f53879 . This change restores it.
2021-08-26 00:34:46 -07:00
Joel Selvaraj
a8cb30512f
device-xiaomi-beryllium: adjust phosh scaling (MR 2416)
The phosh scaling is made an integer to avoid scaling issues
in some apps and wallpaper.

[ci:skip-build] Already built on CI in MR
2021-08-26 02:14:48 +01:00
Joel Selvaraj
10f2001eb0
firmware-xiaomi-beryllium: upgrade to latest commit (MR 2416)
Contains venus firmware for hw accelerated video encoding and decoding.

Also, ipa firmware is moved to beryllium folder as mbn format instead of
mdt+bXX files.

The list of files in firmware.files is now file type-wise alphabetically
sorted. Just for better readability.
2021-08-26 02:14:47 +01:00
Caleb Connolly
ac8d589210
device-oneplus-fajita: 5.14 and phosh changes (MR 2416)
Fix deviceinfo to reference the new names for fg and haptics modules.

Bump phosh scaling to 3.0
2021-08-26 02:14:47 +01:00
Caleb Connolly
8d534e86cb
device-oneplus-enchilada: 5.14 and phosh changes (MR 2416)
Fix deviceinfo to reference the new names for fg and haptics modules.

Bump phosh scaling to 3.0
2021-08-26 02:14:47 +01:00
Joel Selvaraj
487333981f
soc-qcom-sdm845: 5.14 feedbackd fix and modemmanager suspend/resume support (MR 2416)
Fix the feedbackd rule as the haptics modules has been renamed.

Although SDM845 doesn't really suspend well, MM needs suspend
and resume support when the device attempts to suspend. Without
which MM will crash and wont resume properly when a suspend
action is triggered.

Depend on msm-modem-uim-selection to configure to modem for modemmanager
2021-08-26 02:14:15 +01:00
Joel Selvaraj
15a851f4fe
linux-postmarketos-qcom-sdm845: upgrade to 5.14rc6 (MR 2416)
Changes:
 - Kernel side support for ModemManager
 - Picked upcoming patch series for 5.15 + fixes, theoretically
   improving GPU perf
 - Updated patch series from lists
 - Enabled options needed to support WayDroid (network stuff maybe still
   missing???)
 - Fixes venus fw paths, firmware packages need to updated to support it
   but this will enable HW video decoding!
 - Cleanup the defconfigs
2021-08-26 03:43:56 +03:00
Nikita Travkin
1e7c23fb92
community/device-xiaomi-wt88047: Add new panel module (MR 2458)
[ci:skip-build] Already successfully built on CI
2021-08-24 14:45:03 +02:00
Nikita Travkin
814e9b1bf0
testing/device-samsung-gt510wifi: Update dtb path (MR 2458) 2021-08-24 14:43:35 +02:00
Nikita Travkin
f8c8a96389
community/soc-qcom-msm8916: Update ucm to use JackControl (MR 2458) 2021-08-24 14:43:35 +02:00
Nikita Travkin
a6c52f3e15
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14_rc7 (MR 2458)
- Rebase on v5.14-rc7
- Upstreamed more patches
- Enable Jack detection kctls for msm8916 devices
- Probably many other things I forgot :)

Device changes:
  - gt5 family:
    - Added fuel-gauge support
    - Added sensors (Accelerometer, Light)
    - gt510 - wifi variant reworked to use multiple common layers
      - gt510lte - Added support for LTE variant
    - gt58 - New device
      - gt58lte - Support for LTE variant
      - Feature parity with gt510
   - wingtech-wt88047 (Xioami Redmi 2):
     - Add additional boe-nt35521s panel driver
   - longcheer-l8150: Fix Jack detection
2021-08-24 14:43:35 +02:00
Oliver Smith
13a7778f94
main/postmarketos-base-ui: NetworkManager: hostname-mode=none (MR 2457)
Disable the hostname management feature of NetworkManager. This isn't
useful for the postmarketOS use case, where we set one hostname in
/etc/hostname via pmbootstrap and want it to be used. (It makes more
sense for normal PCs, which may just have the hostname 'localhost' at
the end of the installation and then not be unique in the network.)

NetworkManager is supposed to only change the hostname if it is set to
localhost, however this detection does not work properly in
postmarketOS. I've skimmed through sources of elogind, NetworkManager
and OpenRC a bit and found that in OpenRC the definitive location to put
the hostname is /etc/hostname. The other path, /etc/conf.d/hostname, is
just a fallback. Experiments show that setting something in
/etc/conf.d/hostname does prevent NM from setting a hostname offered by
the DHCP server, but it's not clear to my why this happens. I suspect
elogind + dbus. Disabling this feature we don't need anyway seems like a
good approach to me without wasting too much time here.
2021-08-24 14:37:41 +02:00
Pixead
8bc434515f
samsung-dream: fixed wifi driver issue (MR 2446) 2021-08-23 09:17:15 +02:00
Luca Weiss
58eaa90874
main/postmarketos-mkinitfs: change wait for subpartitions (MR 2432)
Previously it was assumed that with the counter and the sleep 0.1 the
process would take about 10 seconds to complete. On newer devices with
tens or even hundreds of partitions going through all partitions already
takes a significant amount of time, so change the logic to measure the
time elapsed instead.
2021-08-22 20:15:40 +02:00
Bobby The Builder
2f325b6124
main/device-pine64-pinephone: disable sysrq config (MR 2447)
it's already disabled in kernel config:

      sysctl: cannot stat /proc/sys/kernel/sysrq: error code 2
       *   Unable to configure kernel parameters from /etc/sysctl.d/sysrq.conf
2021-08-22 19:24:22 +02:00
Bobby The Builder
16d91a3514
community/device-pine64-pinetab: disable sysrq config (MR 2447)
it's already disabled in kernel config:

      sysctl: cannot stat /proc/sys/kernel/sysrq: error code 2
       *   Unable to configure kernel parameters from /etc/sysctl.d/sysrq.conf
2021-08-22 19:24:17 +02:00
omame
8e60170a9e
samsung-j6primelte: Proprietary firmware (MR 2451) 2021-08-22 19:15:50 +02:00
MightyM17
169a653565
samsung-espresso3g: new port. (MR 2427)
[ci:skip-build] Already built on CI in MR
2021-08-21 21:07:36 +02:00
Jonas Heinrich
4de4d6aa98
samsung-i8150: new device (Samsung Galaxy W) (MR 2435) 2021-08-21 20:39:10 +02:00
Clayton Craft
c1a6a6511b
postmarketos-config-nftables: allow DNS from wlan* (MR 2448)
This fixes DNS when a system is connected to a pmOS device as a hotspot.

The rule is in the default set of firewall rules, instead of a
subpackage.. I think this is OK. I don't believe anything should be
listening on port 53 except when the hotspot is running...
2021-08-21 20:33:52 +02:00
Clayton Craft
2f2976ce7d
gitignore: add 'src/' dir created when running abuild manually (MR 2450)
When using abuild to update checksums and other things manually in pmaports,
it creates a src/ dir in the package dir which should not be commited.
2021-08-21 20:30:46 +02:00
Bobby The Builder
d71802cb25
main/linux-postmarketos-allwinner: upgrade to 5.13.12 (MR 2452)
[ci:skip-build] Already built on CI in MR
2021-08-21 20:27:32 +02:00
omame
1431998cff
samsung-j6primelte: new device (MR 2444)
[ci:skip-build] Already built on CI in MR
2021-08-19 06:15:14 +03:00
Alexey Minnekhanov
f4a6b4f8d1
main/linux-postmarketos-rockchip: enable SPI flash and autofs support (MR 2436) 2021-08-19 04:12:36 +03:00
Bart Ribbers
323c909f8c
main/postmarketos-base-ui: add "$HOME/.local/bin" to $PATH (MR 2445)
This directory is specified by the XDG Base Directory specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
Quoting:

> User-specific executable files may be stored in $HOME/.local/bin.
> Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.

So let's actually do this. This way also binaries installed by e.g. Pip
or Cargo will be usable out-of-the-box rather than that the user has to
figure out why it's not appearing in their PATH.
2021-08-18 17:05:02 +03:00
Firstbober
5a4c8d7583
wiko-v12bnlite: new device (MR 2439)
[ci:skip-build] Already built on CI in MR
2021-08-18 16:01:26 +03:00
Dylan Van Assche
23ee2f2dd3
temp/upower: drop torch patches (MR 2429)
With Phosh 0.13.0, Logind is used without patches for the torch
as UPower doesn't want to handle this. Therefore, we can drop
the torch patches to UPower.

[ci:skip-build] already built successfully in CI
2021-08-17 22:39:17 -07:00
Clayton Craft
c4fc7c9ed0
temp/eg25-manager: build master branch, drop merged patches (MR 2443)
I believe everything here has been merged in master, so let's build that
for now (since it includes at least 1 additional fix not in the patches
that were dropped here)
2021-08-16 10:56:11 -07:00
Clayton Craft
2283190a93
main/postmarketos-mkinitfs: move dev node creation to initfs (MR 2407)
There should be no reason that this has to be done by mkinitfs, and
moving it to initfs simplifies mkinitfs (and the creation of a
replacement)
2021-08-16 19:04:38 +02:00
Bart Ribbers
a97aca7e3a
raspberry-rpi4: mark as having hardware acceleration (MR 2442)
This is the case since e1f00d9658
2021-08-16 17:02:04 +02:00
Bart Ribbers
e1f00d9658
raspberry-rpi4: add hardware acceleration (MR 1568)
Without Mesa it would render everything using the software renderer
which is abysmally slow
2021-08-15 23:19:05 +02:00
Clayton Craft
b2a82a028d
main/linux-postmarketos-allwinner: support zram kconfig check (MR 2434)
Note: building zram as a module allows for easy reconfiguration at
runtime (e.g. using the zram-init service).

[ci:skip-build] Already built in a MR
2021-08-14 18:57:39 +03:00
Siddharth Manthan
0d0ce2f3ef
samsung-gt58lte: New device Samsung Galaxy Tab A LTE 8.0 (2015) (MR 2218) 2021-08-14 13:43:58 +02:00
Timotej Lazar
ac7a1d92ce
linux-kobo-clara-mainline: improve kernel config (MR 2381)
Disable debug options and SMP, and remove support for other platforms.
Unixbench reports a speedup for process creation and syscalls, from

    Process Creation                                126.0       1043.8     82.8
    System Call Overhead                          15000.0     235497.3    157.0

to

    Process Creation                                126.0       1826.7    145.0
    System Call Overhead                          15000.0     421030.2    280.7
2021-08-14 13:41:09 +02:00
Jonas Heinrich
483972a3a8
htc-pyramid: new device (HTC Sensation) (MR 2428) 2021-08-14 13:35:18 +02:00
link2xt
7889677cde
htc-ville: change arch to armv7, update the kernel and firmware (MR 2430)
Updated the kernel to the latest version from LineageOS [1] (branch
`cm-14.1`), copied their configuration file and updated it according
to `pmbootstrap kconfig check`. Previous kernel was from `cm-12.1`
branch.

Fixed firmware package. Switched firmware source to
LineageOS/TheMuppets and install only the Wi-Fi firmware, but into the
correct directory. Previously all available firmware was simply copied
into wrong directories.

[1] https://github.com/LineageOS/android_kernel_htc_msm8960

[ci:skip-build] already built successfully in CI
2021-08-13 23:26:43 -07:00
Bart Ribbers
4c1b607f3e
main/postmarketos-ui-plasma-mobile: clean up runtime deps (MR 2433)
plasma-nm-mobile is already a dep of plasma-phone-components
ofono is already a dep of plasma-phone-components
ofono-openrc already gets pulled in automatically through openrc and
ofono
networkmanager is already pulled in by plasma-nm-mobile
qt5-qtvirtualkeyboard has been replaced by maliit ages ago

[ci:skip-build] already built successfully in CI
2021-08-13 23:22:25 -07:00
Bobby The Builder
63e2807916
temp/u-boot-pinephone: upgrade to 2021.07 (MR 2315)
- switch sources to official repo https://source.denx.de/u-boot
- use tag v2021.07
- extract patches from pine64-org
- enable DMA transfers from eMMC and mSD (u-boot from Megi)

[ci:skip-build] already built successfully in CI
2021-08-13 23:19:29 -07:00
Bobby The Builder
cc6eb4d1f4
temp/u-boot-rockpro64: trigger build to package latest TF-A (MR 2315) 2021-08-13 23:19:29 -07:00
Bobby The Builder
1a4203d992
temp/u-boot-pinebookpro: trigger build to package latest TF-A (MR 2315) 2021-08-13 23:19:28 -07:00
Bobby The Builder
a3e9236692
main/crust: upgrade to 0.4 (MR 2315)
add patch for 5.13 irq clocks
   0289a01c9e
2021-08-13 23:19:28 -07:00
Bobby The Builder
b795e65785
temp/arm-trusted-firmware: common build for rk3328, rk3399 and pinephone (MR 2315)
Include:
  smaeul: "all idle entry attempts will return PSCI_E_INVALID_PARAMS, and Linux
  isn't smart enough to stop trying without these patches:
  https://github.com/crust-firmware/arm-trusted-firmware/commits/d6ebf5dab2daab8"

  Extra patches custom to pinephone
2021-08-13 23:19:28 -07:00
bademux
d96467bbad
linux-xiaomi-tissot: enable Realtek usb ethernet adapters (MR 2419)
[ci:skip-build] already built successfully in CI
2021-08-12 08:56:31 -07:00
Clayton Craft
ac6c5bcb61
temp/sdl2: drop fork (MR 2425)
2.0.16 is in alpine aports, and includes the fixes carried in this fork
2021-08-11 16:24:34 +02:00
Clayton Craft
fb452cc3d0
channels.cfg: mark v21.03 as unsupported (MR 2424) 2021-08-10 11:33:48 -07:00
Caleb Connolly
3e86acc9d9
postmarketos-mkinitfs: flashing: fix wrong flavor (MR 2401)
The flavor string was naively parsed using sed by removing everything
before the first hyphen, this breaks for -rc kernels. Instead lets glob
/usr/share/kernel for the installed kernel flavor. This will also
prevent the kernel being flashed if the running kernel has a different
localversion than the updated one.

[ci:skip-build] already built successfully in CI
2021-08-10 00:09:34 -07:00