Commit graph

4839 commits

Author SHA1 Message Date
Clayton Craft
1bbb98347d
main/postmarketos-mkinitfs: use new mkinitfs (MR 2426)
This replaces the mkinitfs script with a re-write (in Go). The
re-written mkinitfs will atomically replace the initfs in /boot, check
for free space before doing so, and try to do whatever it can to not
leave the system in an unbootable state by botching the initfs
creation/installation.

pmb:cross-native with go cross compiling doesn't work exactly, it makes
the correct binary, but on Alpine go uses -buildmode=pie which creates a
dynamic thing, and the interpreter is wrong (e.g. it it set to use the
host arch's interpreter, like /lib/ld-musl-x86_64 even though
GOARCH=arm64)

The init.sh script is no longer a template, "initramfs-extra" is used.

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1019
fixes https://gitlab.com/postmarketOS/pmaports/-/issues/660
2021-09-03 10:08:34 -07:00
Clayton Craft
edb0d801c3
boot-deploy: new aport (MR 2426)
This tool is used by the new mkinitfs to finalize/install boot files.
It's based on the old mkinitfs_functions.sh, but includes some
improvements like verifying free space in target directory, and trying
to atomically mv files.
2021-09-03 10:08:34 -07:00
Stacy Harper
a7cea816c5
main/postmarketos-ui-sxmo: update to 1.5.1 (MR 2481) 2021-09-02 14:24:09 +02:00
tim
8262a41db2
linux-postmarketos-rockchip: add armv7 config and patch for broken emmc on veyron (MR 2318)
[ci:skip-build] Already built on CI in MR
2021-09-01 12:22:41 +03:00
tim
5f97760ce3
google-veyron-jerry: new device (MR 2318) 2021-09-01 12:22:29 +03:00
Ungeskriptet
43e04d8e87
amazon-mantis: new device (MR 2476)
[ci:skip-build] Already built on CI in MR
2021-09-01 11:51:42 +03:00
Caleb Connolly
34623c4a0a
postmarketos-mkinitfs: fix charging-sdl for kmsdrm devices (MR 2098)
This fix was pending since before charging-sdl was deprecated and still
provides value should anyone wish to pickup and improve charging-sdl
again.

charging-sdl currently does not check for devices using mesa, even
though it supports it in the same way as osk-sdl. Check for msa support
and set SDL_VIDEODRIVER in that case.

Also fix the font path, as it was reading both keyboard-font and
keyboard-font-size from osk.conf.
2021-09-01 11:41:50 +03:00
Martijn Braam
0a4645eaec
main/postmarketos-base: depend on the keys package (MR 2477)
Have the keys be packagemanaged by default instead of preloading it
once with pmbootstrap
2021-09-01 11:37:15 +03:00
Martijn Braam
6319a1ec4b
main/postmarketos-keys: new aport (MR 2477) 2021-09-01 11:37:14 +03:00
wonderfulShrineMaidenOfParadise
6e1dd3f820
main/postmarketos-config-nftables: subpackage vncserver (MR 2479)
Co-authored-by: clayton craft <clayton@craftyguy.net>
2021-09-01 11:28:33 +03:00
Alexey Minnekhanov
42efcdaddf
device-samsung-klte: add panel module to initramfs (MR 2478)
This will enable the device to display postmarketos logo during boot
and other things like osk-sdl.

[ci:skip-build] Already built on CI in MR
2021-09-01 11:19:15 +03:00
Alexey Minnekhanov
b358565705
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.13 and support zram (MR 2478)
* Add support for full panel driver for samsung-klte
* Enable zram support
2021-09-01 11:19:02 +03:00
nbe1233
c926c7803e
samsung-j7eltetmo: new port (MR 2409)
[ci:skip-build] already built successfully in CI
2021-09-01 00:31:24 -07:00
Jakob Hauser
ad75c18077
postmarketos-ui-xfce4 & -mate: Implement onboard keyboard (MR 2464)
Installing "onboard" onscreen keyboard and enabling autostart.

Option "Don't auto-show while external keyboards are connected" is
activated.

[ci:skip-build] already built successfully in CI
2021-09-01 00:20:09 -07:00
Alexey Minnekhanov
f0fe03dd7b
cross/gcc-*: upgrade to 10.3.1_git20210625-r1
Upstream commit e819b2d36a
2021-09-01 03:15:14 +03:00
Alexey Minnekhanov
f9e7322da3
README: small updates to links
* use link to Alpine Linux Gitlab instance
* add link to postmarketOS package search
2021-09-01 03:11:51 +03:00
Alexey Minnekhanov
721ed5f812
cross/busybox-static-*: upgrade to 1.34.0-r2 2021-09-01 03:07:00 +03:00
Bart Ribbers
5dca579b03
main/postmarketos-ui-plasma-desktop: install Firefox by default, enable on x86 (MR 2475)
Also remove xwayland, it already gets pulled in through KWin

[ci:skip-vercheck]
2021-08-31 08:56:12 +02:00
afeuerstein
c96633004a
oneplus-kebab: new device (MR 2420)
[ci:skip-build] already built successfully in CI
2021-08-30 21:31:17 -07:00
BO41
c15140f695
samsung-a5xelte: new device (MR 2413)
[ci:skip-build] already built successfully in CI
2021-08-30 21:28:08 -07:00
jenneron
59c399b515
pegatron-chagall: add initfs modules (MR 2437)
[ci:skip-build] already built successfully in CI
2021-08-30 21:25:25 -07:00
jenneron
b59eb1d625
microsoft-surface-rt: add initfs modules and WiFi firmware (MR 2437) 2021-08-30 21:25:25 -07:00
jenneron
044a6c59e7
asus-tf700t: add initfs modules (MR 2437) 2021-08-30 21:25:24 -07:00
jenneron
7425c8d74a
asus-tf300t: add initfs modules (MR 2437) 2021-08-30 21:25:24 -07:00
jenneron
f1bc285e72
asus-tf201: add initfs modules (MR 2437) 2021-08-30 21:25:24 -07:00
jenneron
f609252ff0
acer-picasso: add initfs modules (MR 2437) 2021-08-30 21:25:24 -07:00
jenneron
9ab9b0761b
main/linux-postmarketos-grate: upgrade to 5.14.0_rc6 (MR 2437) 2021-08-30 21:25:24 -07:00
Caleb Connolly
683b543a3b
msm-modem-uim-selection: Don't wait for SIM (MR 2470)
The delay to wait for the SIM card to show up appears to be unneeded on
our modems, remove it so that we don't delay boot by 10 seconds if your
device doesn't have a SIM card installed.

[ci:skip-build] already built successfully in CI
2021-08-30 21:15:17 -07:00
Joel Selvaraj
6de1f300af
temp/modemmanager: upgrade to 1.18rc1 aka 1.17.900 (MR 2453)
To test the release candidate in edge before MM stable release.

[ci:skip-build] already built successfully in CI
2021-08-27 11:53:46 -07:00
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