diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2019-12-30 17:52:31 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2019-12-30 17:52:35 +0000 |
commit | ce1541312aeea944e0eaeaade00091a6f8a5e208 (patch) | |
tree | 69b8e51da6a52e66b54bb47608c82a8f633563c6 /schneider-openembedded | |
parent | 70f8bd68e67d31618bf4c6f41dc788ffc20acd9f (diff) |
se: lces2: move ltp and ptest to wic
Run the LTP and PTEST suites on the WIC image, not TFTP/NFS.
This aligns more with SoCA9.
Change-Id: I11a3c958cc14c38a3269af8b30cd78d738f1325f
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'schneider-openembedded')
-rw-r--r-- | schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ltp.yaml (renamed from schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ltp.yaml) | 43 | ||||
-rw-r--r-- | schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ptest.yaml (renamed from schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ptest.yaml) | 45 |
2 files changed, 43 insertions, 45 deletions
diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ltp.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ltp.yaml index cb528134..bc175622 100644 --- a/schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ltp.yaml +++ b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ltp.yaml @@ -49,41 +49,39 @@ actions: to: overlay - deploy: - namespace: test + namespace: dfu timeout: - minutes: 5 - to: tftp - os: oe - kernel: - url: ${KERNEL_ZIMAGE_URL} - type: zimage - dtb: - url: ${DTB_URL} - nfsrootfs: - url: ${NFSROOTFS_DEV_URL} - compression: bz2 + minutes: 100 + to: flasher + images: + image: + url: ${WIC_DEV_IMAGE_URL} + compression: bz2 + +- deploy: + namespace: test + to: overlay - boot: namespace: test connection-namespace: dfu timeout: - minutes: 20 + minutes: 100 method: u-boot commands: - - setenv autoload no - - dhcp - - dhcp - - env print - - setenv serverip {SERVER_IP} - - tftp {KERNEL_ADDR} {KERNEL} - - tftp {DTB_ADDR} {DTB} - - "setenv bootargs 'console=ttyS0,115200n8 root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard,intr,vers=3 rootwait coherent_pool=2M ip=dhcp'" - - '{BOOTX}' + - mmc rescan + - fatload mmc 0:1 80008000 zimage-rzn1-snarc.bin + - if test -e mmc 0:1 zImage-rzn1d400-snarc-bestla.dtb; then fatload mmc 0:1 80f00000 zImage-rzn1d400-snarc-bestla.dtb; else fatload mmc 0:1 80f00000 rzn1d400-snarc-bestla.dtb; fi; + - setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait coherent_pool=2M + - bootz 80008000 - 80f00000 auto_login: login_prompt: 'login:' username: root prompts: - "root@rzn1-snarc:" + transfer_overlay: + download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; cd /tmp ; wget + unpack_command: tar --touch -C / -xzf - test: namespace: test @@ -95,6 +93,7 @@ actions: script: - command: uname -a - command: cat /proc/device-tree/model ; echo "" + - command: mount - command: ps aux --sort -rss - command: cat /proc/meminfo - command: free -h diff --git a/schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ptest.yaml b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ptest.yaml index 1c940932..4c1b279f 100644 --- a/schneider-openembedded/lava-job-definitions/rzn1d/tftp-nfs-dev-ptest.yaml +++ b/schneider-openembedded/lava-job-definitions/rzn1d/wic-dev-ptest.yaml @@ -1,5 +1,5 @@ device_type: rzn1d -job_name: SE ${MACHINE} TFTP/NFS ptest ${MANIFEST_BRANCH} ${BUILD_NUMBER} +job_name: SE ${MACHINE} WIC dev ptest ${MANIFEST_BRANCH} ${BUILD_NUMBER} timeouts: job: @@ -49,41 +49,39 @@ actions: to: overlay - deploy: - namespace: test + namespace: dfu timeout: - minutes: 5 - to: tftp - os: oe - kernel: - url: ${KERNEL_ZIMAGE_URL} - type: zimage - dtb: - url: ${DTB_URL} - nfsrootfs: - url: ${NFSROOTFS_DEV_URL} - compression: bz2 + minutes: 100 + to: flasher + images: + image: + url: ${WIC_DEV_IMAGE_URL} + compression: bz2 + +- deploy: + namespace: test + to: overlay - boot: namespace: test connection-namespace: dfu timeout: - minutes: 20 + minutes: 100 method: u-boot commands: - - setenv autoload no - - dhcp - - dhcp - - env print - - setenv serverip {SERVER_IP} - - tftp {KERNEL_ADDR} {KERNEL} - - tftp {DTB_ADDR} {DTB} - - "setenv bootargs 'console=ttyS0,115200n8 root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard,intr,vers=3 rootwait coherent_pool=2M ip=dhcp'" - - '{BOOTX}' + - mmc rescan + - fatload mmc 0:1 80008000 zimage-rzn1-snarc.bin + - if test -e mmc 0:1 zImage-rzn1d400-snarc-bestla.dtb; then fatload mmc 0:1 80f00000 zImage-rzn1d400-snarc-bestla.dtb; else fatload mmc 0:1 80f00000 rzn1d400-snarc-bestla.dtb; fi; + - setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait coherent_pool=2M + - bootz 80008000 - 80f00000 auto_login: login_prompt: 'login:' username: root prompts: - "root@rzn1-snarc:" + transfer_overlay: + download_command: udhcpc -i eth1 -n || udhcpc -i eth0 -n; cd /tmp ; wget + unpack_command: tar --touch -C / -xzf - test: namespace: test @@ -95,6 +93,7 @@ actions: script: - command: uname -a - command: cat /proc/device-tree/model ; echo "" + - command: mount - command: ps aux --sort -rss - command: cat /proc/meminfo - command: free -h |