prplos/.gitlab/tests/cram/nokia-valyrian/015-platform.t
Christian Marangi 33977c34b3 profiles: add Airoha/Nokia profile
Add Airoha/Nokia profile for the Valyrian board. Required packages
are imported from the feed-airoha repository.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:24 +01:00

26 lines
742 B
Perl

Create R alias:
$ alias R="${CRAM_REMOTE_COMMAND:-}"
Check that we've Reset gpio key available:
$ R "cat /sys/firmware/devicetree/base/gpio-keys/btn-0/label"
reset\x00 (no-eol) (esc)
$ R "hexdump -s2 -n2 -e '1/1 \"0x%02x \"' /sys/firmware/devicetree/base/gpio-keys/btn-0/linux,code"
0x01 0x98 (no-eol)
Check that we've WPS gpio key available:
$ R "cat /sys/firmware/devicetree/base/gpio-keys/btn-1/label"
wps\x00 (no-eol) (esc)
$ R "hexdump -s2 -n2 -e '1/1 \"0x%02x \"' /sys/firmware/devicetree/base/gpio-keys/btn-1/linux,code"
0x02 0x11 (no-eol)
Check that CONFIG_WATCHDOG_SYSFS is enabled and thus watchdog available to reboot-service for reboot reasons:
$ R "cat /sys/class/watchdog/watchdog*/timeout"
24