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>
26 lines
742 B
Perl
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
|