aboutsummaryrefslogtreecommitdiff
path: root/schneider-openembedded
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2019-12-30 16:59:56 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2019-12-30 17:00:09 +0000
commit70f8bd68e67d31618bf4c6f41dc788ffc20acd9f (patch)
treebefee307ad0faf31da800c3ec5150b4825fcb600 /schneider-openembedded
parent67b958a609957ff95750402703924a04638f72e1 (diff)
se: uboot.yaml: fix crc test
Also replace 0x01000000 with KERNEL_ADDR in the soca9 test case. This also aligns better with LCES2. Change-Id: I85f41bf46c16858315a1dfb294284739e5c28026 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'schneider-openembedded')
-rw-r--r--schneider-openembedded/lava-job-definitions/rzn1d/uboot.yaml10
-rw-r--r--schneider-openembedded/lava-job-definitions/soca9/uboot.yaml12
2 files changed, 13 insertions, 9 deletions
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/uboot.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/uboot.yaml
index 8a74ec9b..4ce858d5 100644
--- a/schneider-openembedded/lava-job-definitions/rzn1d/uboot.yaml
+++ b/schneider-openembedded/lava-job-definitions/rzn1d/uboot.yaml
@@ -113,10 +113,11 @@ actions:
- message: "Base Address: 0x80000000"
# crc32 - checksum calculation
- command: mw.b 00000000 aa 400
- - command: crc 80000000 400
+ - command: crc32 -v 80000000 400 3c6f327d
+ - command: echo return code $?
name: compute-CRC32-checksum
successes:
- - message: "crc32 for 80000000 ... 800003ff ==> 3c6f327d"
+ - message: return code 0
# mw - memory write
# md - memory display
- command: mw 100000 aabbccdd 10
@@ -160,9 +161,10 @@ actions:
name: tftp
successes:
- message: "Bytes transferred = 6752784"
- - command: crc32 {KERNEL_ADDR} 670a10
+ - command: crc32 -v {KERNEL_ADDR} 670a10 ca050911
+ - command: echo return code $?
successes:
- - message: "==> ca050911"
+ - message: return code 0
- name: nand-commands
prompts: ["=> ", "/ # "]
script:
diff --git a/schneider-openembedded/lava-job-definitions/soca9/uboot.yaml b/schneider-openembedded/lava-job-definitions/soca9/uboot.yaml
index 806e1b1f..d0890a25 100644
--- a/schneider-openembedded/lava-job-definitions/soca9/uboot.yaml
+++ b/schneider-openembedded/lava-job-definitions/soca9/uboot.yaml
@@ -79,10 +79,11 @@ actions:
- message: "Base Address: 0x00000000"
# crc32 - checksum calculation
- command: mw.b 00000000 aa 400
- - command: crc 00000000 400
+ - command: crc32 -v 0 400 3c6f327d
+ - command: echo return code $?
name: compute-CRC32-checksum
successes:
- - message: "crc32 for 00000000 ... 000003ff ==> 3c6f327d"
+ - message: return code 0
# mw - memory write
# md - memory display
- command: mw 100000 aabbccdd 10
@@ -126,13 +127,14 @@ actions:
prompts: ["=> ", "/ # "]
script:
# TFTP
- - command: setenv serverip {SERVER_IP} ; tftp 0x01000000 {KERNEL}
+ - command: setenv serverip {SERVER_IP} ; tftp {KERNEL_ADDR} {KERNEL}
name: tftp
successes:
- message: "Bytes transferred = 6752784"
- - command: crc32 0x01000000 670a10
+ - command: crc32 -v {KERNEL_ADDR} 670a10 ca050911
+ - command: echo return code $?
successes:
- - message: "crc32 for 01000000 ... 01670a0f ==> ca050911"
+ - message: return code 0
metadata:
machine: ${MACHINE}