Skip to content

utils/test_phone_image.py: Add checks to verify Pinephone Pro support is enabled

Tanvir Roshid requested to merge tanvir/fix/pp-pro/runtime into master

Fixes: #755 (closed)

This MR does the following:

  1. Adds a patch file reflecting the upstream MR (and the equivalent backport for the release/23.08 branch) that update the kernel configs for the PinePhone Pro and PinePhone boards.
  2. Updates the kernel config tests for the PinePhone Pro reflecting the changes from step 1.

This is all that is needed for booting either board. Both boards boot successfully but lack Wi-Fi, Bluetooth, and sound support.

Note that this MR focuses solely on PinePhone Pro support because we intended to drop support for the PinePhone. However, the PinePhone unintentionally works and behaves "identically" to the PinePhone Pro.

Consequently, the tests for the PinePhone Pro will pass and the PinePhone will fail. The PinePhone happens to boot still but lacks basic configs. The kernel officially supports the PinePhone Pro and not the PinePhone.

We will remove the patch file once our backport is merged and we are tracking an updated ref that includes it.

This issue heading precisely details the entire issue.

A follow-up issue #782 discusses additional PinePhone Pro and PinePhone work.

CC:

Edited by Tanvir Roshid

Merge request reports