Skip to content

Fix waydroid on all devices in main and community

Oliver Smith requested to merge fix-waydroid into master

This doesn't actually fix waydroid on the pinephone yet, but gets closer to it and hopefully helps with figuring this out.

  • linux-postmarketos-allwinner: enable BPF_SYSCALL
  • pine64-pinephone: enable psi=1 in bootargs
    • I had assumed by not having CONFIG_PSI_DEFAULT_DISABLED in the kernel config, the psi=1 parameter is not needed. But apparently it is, as waydroid behaved differently for me when I did set it.
    • Not sure if that's a good idea to do by default, but apparently it's required by waydroid.
    • Also this should rather be in deviceinfo than in an u-boot script, but that's another issue.

EDIT: removed psi=1 patch again, see below

To help with debugging this, see issue #1849 and consider installing these packages on postmarketOS edge with mrtest add 3901.

EDIT: it works with the current patchset, even though it takes some time until waydroid initializes on the pinephone. this can be reviewed now, only needs to be build tested before it can be merged.

TODO:

  • make it work on the pinephone again (more kconfig options needed?)
  • extend pmbootstrap's kconfig check to cover the new options
  • adjust all kernels to pass the new kconfig check
  • verify that all kernels build
  • (after this MR is merged: also merge pmbootstrap patches that adjust kconfig check)
Edited by Oliver Smith

Merge request reports