diff options
-rw-r--r-- | socionext/efi-PK-KEK.yaml | 33 | ||||
-rw-r--r-- | socionext/efi-db-dbx.yaml | 33 | ||||
-rw-r--r-- | socionext/fw-update-capsule.yaml | 30 | ||||
-rw-r--r-- | socionext/fw-update-sf.yaml | 35 |
4 files changed, 131 insertions, 0 deletions
diff --git a/socionext/efi-PK-KEK.yaml b/socionext/efi-PK-KEK.yaml new file mode 100644 index 0000000..6e77298 --- /dev/null +++ b/socionext/efi-PK-KEK.yaml @@ -0,0 +1,33 @@ +device_type: synquacer +job_name: set-PK-KEK +visibility: public +timeouts: + job: + minutes: 60 + action: + minutes: 60 + connection: + minutes: 2 +actions: +- deploy: + to: tftp + kernel: + url: https://people.linaro.org/~ilias.apalodimas/PK.auth + dtb: + url: https://people.linaro.org/~ilias.apalodimas/KEK.auth +- boot: + method: u-boot + timeout: + minutes: 15 + auto_login: + login_prompt: 'login:' + username: 'root' + prompts: + - ewaol@(.*):[/~]\$ + - root@(.*):[/~]# + commands: + - setenv serverip {SERVER_IP} && setenv ipaddr 172.27.16.144 + - tftp $kernel_addr_r {KERNEL} + - setenv -e -nv -bs -rt -at -i $kernel_addr_r:$filesize PK + - tftp $kernel_addr_r {DTB} + - setenv -e -nv -bs -rt -at -i $kernel_addr_r:$filesize KEK diff --git a/socionext/efi-db-dbx.yaml b/socionext/efi-db-dbx.yaml new file mode 100644 index 0000000..be95672 --- /dev/null +++ b/socionext/efi-db-dbx.yaml @@ -0,0 +1,33 @@ +device_type: synquacer +job_name: set-PK-KEK +visibility: public +timeouts: + job: + minutes: 60 + action: + minutes: 60 + connection: + minutes: 2 +actions: +- deploy: + to: tftp + kernel: + url: https://people.linaro.org/~ilias.apalodimas/db.auth + dtb: + url: https://people.linaro.org/~ilias.apalodimas/dbx.auth +- boot: + method: u-boot + timeout: + minutes: 15 + auto_login: + login_prompt: 'login:' + username: 'root' + prompts: + - ewaol@(.*):[/~]\$ + - root@(.*):[/~]# + commands: + - setenv serverip {SERVER_IP} && setenv ipaddr 172.27.16.144 + - tftp $kernel_addr_r {KERNEL} + - setenv -e -nv -bs -rt -at -i $kernel_addr_r:$filesize db + - tftp $kernel_addr_r {DTB} + - setenv -e -nv -bs -rt -at -i $kernel_addr_r:$filesize dbx diff --git a/socionext/fw-update-capsule.yaml b/socionext/fw-update-capsule.yaml new file mode 100644 index 0000000..004297b --- /dev/null +++ b/socionext/fw-update-capsule.yaml @@ -0,0 +1,30 @@ + device_type: synquacer +job_name: upgrade-firmware-capsule +visibility: public +timeouts: + job: + minutes: 60 + action: + minutes: 60 + connection: + minutes: 2 +actions: +- deploy: + to: tftp + kernel: + url: https://storage.tuxsuite.com/public/blueprints/trustedsubstrate/oebuilds/2StFkiZk0dg3NY4soqsteJnXceH/synquacer/synquacer_fw.capsule +- boot: + method: u-boot + timeout: + minutes: 15 + auto_login: + login_prompt: 'login:' + username: 'root' + prompts: + - ewaol@(.*):[/~]\$ + - root@(.*):[/~]# + commands: + - setenv serverip {SERVER_IP} && setenv ipaddr 172.27.16.144 + - tftp $kernel_addr_r {KERNEL} + - efidebug capsule update $kernel_addr_r + - reset diff --git a/socionext/fw-update-sf.yaml b/socionext/fw-update-sf.yaml new file mode 100644 index 0000000..39e0833 --- /dev/null +++ b/socionext/fw-update-sf.yaml @@ -0,0 +1,35 @@ +device_type: synquacer +job_name: upgrade-firmware-non-capsule +visibility: public +timeouts: + job: + minutes: 60 + action: + minutes: 60 + connection: + minutes: 2 +actions: +- deploy: + to: tftp + kernel: + url: https://people.linaro.org/~ilias.apalodimas/scp_romramfw_Release.bin + dtb: + url: https://people.linaro.org/~ilias.apalodimas/fip.bin-synquacer +- boot: + method: u-boot + timeout: + minutes: 15 + auto_login: + login_prompt: 'login:' + username: 'root' + prompts: + - ewaol@(.*):[/~]\$ + - root@(.*):[/~]# + commands: + - sf probe + - setenv serverip {SERVER_IP} && setenv ipaddr 172.27.16.144 + - tftp $kernel_addr_r {KERNEL} + - sf erase 100000 30000 ; sf write $kernel_addr_r 100000 30000 + - tftp $kernel_addr_r {DTB} + - sf erase 600000 400000 ; sf write $kernel_addr_r 600000 400000 + - reset |