summaryrefslogtreecommitdiff
path: root/manual/hikey
diff options
context:
space:
mode:
Diffstat (limited to 'manual/hikey')
-rw-r--r--manual/hikey/hikey-power-button.yaml30
-rw-r--r--manual/hikey/hikey-user-led.yaml30
2 files changed, 60 insertions, 0 deletions
diff --git a/manual/hikey/hikey-power-button.yaml b/manual/hikey/hikey-power-button.yaml
new file mode 100644
index 0000000..08da070
--- /dev/null
+++ b/manual/hikey/hikey-power-button.yaml
@@ -0,0 +1,30 @@
+metadata:
+ name: hikey-power-button
+ format: "Manual Test Definition 1.0"
+ description: "Test if the behaviour of hikey power button follows the definition in hardware user guide."
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - android
+ - debian
+ scope:
+ - functional
+ devices:
+ - hi6220-hikey
+ environment:
+ - manual-test
+
+run:
+ steps:
+ - Power off the board and remove Auto Power Jumper(link 1-2) if it is installed.
+ - Press power button and hold more a second to see if it can power on the board.
+ - Boot to OS, press and release power button to see if it can power off the board.
+ - Boot to OS, press and hold power buttion for >4 seconds to see if it can reset the board.
+
+ expected:
+ # Please find Hikey hardware user guide on the below page
+ # https://github.com/96boards/documentation/wiki/HiKeyGettingStarted#96boards-hikey
+ - Test result should match the following behaviours defined in hardware user guide.
+ - A press and hold will power on the board if the Auto Power Jumper is not installed.
+ - A press and release will then power off the board.
+ - A press and hold for >4 seconds will reset the board.
diff --git a/manual/hikey/hikey-user-led.yaml b/manual/hikey/hikey-user-led.yaml
new file mode 100644
index 0000000..25354ee
--- /dev/null
+++ b/manual/hikey/hikey-user-led.yaml
@@ -0,0 +1,30 @@
+metadata:
+ name: hikey-user-led
+ format: "Manual Test Definition 1.0"
+ description: "Test if user LED working on Hikey board."
+ maintainer:
+ - amit.khare@linaro.org
+ os:
+ - android
+ - debian
+ scope:
+ - functional
+ devices:
+ - hi6220-hikey
+ environment:
+ - manual-test
+
+run:
+ steps:
+ - Boot the board successfuly.
+ - There are four user LEDs on board user_led1, user_led2, user_led3 and user_led4.
+ - To turn on specific LED, run "echo 1 > /sys/class/leds/<led_dir>/brightness"
+ - To turn off specific LED, run "echo 0 > /sys/class/leds/<led_dir>/brightness"
+ - Run "cat /sys/class/leds/<led_dir>/trigger" to show all the triggers available for a particular LED.
+ - To assign a trigger to any LED, run "echo trigger_name > /sys/class/leds/<led_dir>/trigger"
+ - example: to assign "heartbeat" trigger to user_led3, run "echo heartbeat > /sys/class/leds/user_led3/trigger"
+ - To remove trigger for any LED, run "echo none > /sys/class/leds/<led_dir>/trigger"
+
+ expected:
+ - LEDs can be turned on and off.
+ - Triggers can be assigned/removed to/from any LEDs.