summaryrefslogtreecommitdiff
path: root/socionext/fw-update-sf.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'socionext/fw-update-sf.yaml')
-rw-r--r--socionext/fw-update-sf.yaml35
1 files changed, 35 insertions, 0 deletions
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