summaryrefslogtreecommitdiff
path: root/socionext/fw-update-sf.yaml
blob: 39e0833f664bca1d9eda7e5dc5ca020dbc7dec62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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