Kernel upgrade testing: Difference between revisions
Appearance
→Result template: sort alphabetically |
|||
Line 18: | Line 18: | ||
| Feature | Old kernel | New kernel | | | Feature | Old kernel | New kernel | | ||
| ---------------- | ---------- | -----------| | | ---------------- | ---------- | -----------| | ||
| | | Call: incoming | | | | ||
| Call: outgoing | | | | | Call: outgoing | | | | ||
| | | Camera (front) | | | | ||
| Camera (rear) | | | | | Camera (rear) | | | | ||
| HDMI | | | | | HDMI | | | | ||
| LEDs | | | | |||
| SMS | | | | |||
| System suspend | | | | |||
| Video in browser | | | | |||
</pre> | </pre> | ||
Revision as of 15:24, 1 October 2020
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 | | ---------------- | ---------- | -----------| | Call: incoming | | | | Call: outgoing | | | | Camera (front) | | | | Camera (rear) | | | | HDMI | | | | LEDs | | | | SMS | | | | System suspend | | | | Video in browser | | |
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.