Jump to content

Kernel upgrade testing

From postmarketOS Wiki

Step by step instructions for testing new kernels in merge requests, so we have comparable results.

Steps

  • Install unmodified postmarketOS edge or stable (depending on MR target branch)
  • Boot up (while watching serial log, if possible, look for errors)
  • Fill out the template below for the current (old) kernel
  • Install the new kernel
  • Reboot (look for errors again in serial log)
  • Fill out the template below for the new kernel

Result template

Add results as OK or NOK. If there's more information (e.g. it did not work every time, add an asterisk and explain below.)

Old kernel version:

| Feature          | Old kernel | New kernel |
| ---------------- | ---------- | -----------|
| SMS              |            |            |
| Call: outgoing   |            |            |
| Call: incoming   |            |            |
| Video in browser |            |            |
| System suspend   |            |            |
| LEDs             |            |            |
| Camera (rear)    |            |            |
| Camera (front)   |            |            |
| HDMI             |            |            |

Notes for specific tests

System suspend

Run the following command over SSH, e.g. while the video in the browser is still playing. For the PinePhone, this will test the crust firmware (pmaports!1163).

# echo mem > /sys/power/state

LEDs

In Phosh, based on pmaports#766 (comment):

$ killall feedbackd
$ G_MESSAGES_DEBUG=all G_LOG_LEVEL_INFO=all G_DEBUG=all DISPLAY=:0 /usr/libexec/feedbackd &
$ G_MESSAGES_DEBUG=all G_LOG_LEVEL_INFO=all G_DEBUG=all DISPLAY=:0 fbcli -E message-missed-email

Camera

Install megapixels, take a photo with the rear camera, switch cameras, take a selfie.