Help

Device dictionary download

Hostname
pi5-corelab-01
Device type
bcm2712-rpi-5-b
Extends
bcm2712-rpi-5-b
1
{% extends 'bcm2712-rpi-5-b.jinja2' %}
2
3
{% set hard_reset_command = 'hardresetpi5-01.sh' %}
4
{% set power_off_command = 'curl -s -G -d id=5 -d set=0 http://admin:[email protected]/xml/jsonswitch.php' %}
5
{% set power_on_command = 'curl -s -G -d id=5 -d set=0 http://admin:[email protected]/xml/jsonswitch.php' %}
6
7
{% set connection_command = 'telnet 127.0.0.1 63001' %}
1
2
3
constants:
4
5
# POSIX os (not AOSP)
6
posix:
7
lava_test_sh_cmd: /bin/sh
8
lava_test_results_dir: /lava-%s
9
lava_test_shell_file: ~/.bashrc
10
11
# bootloader specific
12
barebox:
13
interrupt-prompt: 'Hit m for menu or any other key to stop autoboot'
14
interrupt-character: '
15
'
16
final-message: 'Starting kernel'
17
error-messages:
18
- '### ERROR ### Please RESET the board ###'
19
- 'ERROR: .*'
20
- '.*: Out of memory'
21
u-boot:
22
interrupt-prompt: 'Hit any key to stop autoboot'
23
interrupt-character: ' '
24
interrupt_ctrl_list: []
25
interrupt-newline: True
26
final-message: 'Starting kernel'
27
error-messages:
28
- 'Resetting CPU'
29
- 'Must RESET board to recover'
30
- 'TIMEOUT'
31
- 'Retry count exceeded'
32
- 'Retry time exceeded; starting again'
33
- 'ERROR: The remote end did not respond in time.'
34
- 'File not found'
35
- 'Bad Linux ARM64 Image magic!'
36
- 'Wrong Ramdisk Image Format'
37
- 'Ramdisk image is corrupt or invalid'
38
- 'ERROR: Failed to allocate'
39
- 'TFTP error: trying to overwrite reserved memory'
40
- 'Bad Linux RISCV Image magic!'
41
- 'Wrong Image Format for boot'
42
- 'ERROR: Did not find a cmdline Flattened Device Tree'
43
- 'ERROR: RD image overlaps OS image'
44
dfu-download: 'DOWNLOAD \.\.\. OK\r\nCtrl\+C to exit \.\.\.'
45
grub:
46
interrupt-prompt: 'for a command-line'
47
interrupt-character: 'c'
48
interrupt-newline: False
49
error-messages:
50
- "error: missing (.*) symbol."
51
grub-efi:
52
interrupt-prompt: 'for a command-line'
53
interrupt-character: 'c'
54
error-messages:
55
- 'Undefined OpCode Exception PC at'
56
- 'Synchronous Exception at'
57
- "error: missing (.*) symbol."
58
ipxe:
59
interrupt-prompt: 'Press Ctrl-B for the iPXE command line'
60
interrupt_ctrl_list: ['b']
61
error-messages:
62
- 'No configuration methods succeeded'
63
- 'Connection timed out'
64
depthcharge:
65
final-message: 'Starting kernel'
66
error-messages:
67
- 'Tftp failed.'
68
- 'Dhcp release failed.'
69
- 'No space left for ramdisk'
70
- 'TFTP failed for ramdisk.'
71
- 'Dhcp release failed.'
72
- 'Out of space adding TFTP server IP to the command line.'
73
- 'No network device.'
74
- 'Error code \d+( \([\w\s]+\))?\r\n'
75
# OS shutdown message
76
# Override: set as the shutdown-message parameter of an Action.
77
# SHUTDOWN_MESSAGE
78
shutdown-message: 'The system is going down for reboot NOW'
79
80
# Kernel starting message
81
kernel-start-message: 'Linux version [0-9]'
82
83
# Default shell prompt for AutoLogin
84
# DEFAULT_SHELL_PROMPT
85
default-shell-prompt: 'lava-test: # '
86
87
# pexpect.spawn maxread
88
# SPAWN_MAXREAD - in bytes, quoted as a string
89
# 1 to turn off buffering, pexpect default is 2000
90
# maximum may be limited by platform issues to 4092
91
# avoid setting searchwindowsize:
92
# Data before searchwindowsize point is preserved, but not searched.
93
spawn_maxread: '4092'
94
95
# Set the failure retry to default or override it
96
failure_retry: 1
97
# Override boot_retry
98
boot_retry:
99
commands:
100
connect: telnet 127.0.0.1 63001
101
hard_reset: hardresetpi5-01.sh
102
power_off: curl -s -G -d id=5 -d set=0 http://admin:[email protected]/xml/jsonswitch.php
103
power_on: curl -s -G -d id=5 -d set=0 http://admin:[email protected]/xml/jsonswitch.php
104
parameters:
105
# interfaces or device_ip or device_mac
106
107
pass: # sata_uuid_sd_uuid_usb_uuid
108
109
image:
110
kernel: '0x82000000'
111
ramdisk: '0x88080000'
112
dtb: '0x88000000'
113
tee: '0x83000000'
114
booti:
115
kernel: '0x82000000'
116
ramdisk: '0x88080000'
117
dtb: '0x88000000'
118
tee: '0x83000000'
119
uimage:
120
kernel: '0x82000000'
121
ramdisk: '0x88080000'
122
dtb: '0x88000000'
123
tee: '0x83000000'
124
bootm:
125
kernel: '0x82000000'
126
ramdisk: '0x88080000'
127
dtb: '0x88000000'
128
tee: '0x83000000'
129
130
131
132
actions:
133
deploy:
134
parameters:
135
add_header: u-boot
136
mkimage_arch: arm64 # string to pass to mkimage -A when adding UBoot headers
137
append_dtb: False
138
use_xip: False
139
connections:
140
lxc:
141
fastboot:
142
serial:
143
methods:
144
image:
145
lxc:
146
overlay:
147
usb:
148
tftp:
149
nbd:
150
ssh:
151
options:
152
- '-o'
153
- 'Compression=yes'
154
- '-o'
155
- 'PasswordAuthentication=no'
156
- '-o'
157
- 'LogLevel=FATAL'
158
159
host: ""
160
port: 22
161
user: "root"
162
identity_file: "dynamic_vm_keys/lava"
163
164
boot:
165
connections:
166
lxc:
167
fastboot:
168
serial:
169
methods:
170
minimal:
171
ssh:
172
dfu:
173
implementation: u-boot
174
reset_works: False
175
parameters:
176
enter-commands:
177
command: dfu-util
178
u-boot:
179
parameters:
180
bootloader_prompt: =>
181
interrupt_prompt: Hit any key to stop autoboot
182
interrupt_char: ""
183
needs_interrupt: True
184
# method specific stanza
185
ums:
186
commands:
187
- "ums 0 mmc 0"
188
nfs:
189
commands:
190
- "setenv autoload no"
191
- "setenv initrd_high 0xffffffff"
192
- "setenv fdt_high 0xffffffff"
193
- "dhcp"
194
- "setenv serverip {SERVER_IP}"
195
- "tftp {KERNEL_ADDR} {KERNEL}"
196
- "tftp {RAMDISK_ADDR} {RAMDISK}"
197
- "tftp {TEE_ADDR} {TEE}"
198
- "setenv initrd_size ${filesize}"
199
- "tftp {DTB_ADDR} {DTB}"
200
# Always quote the entire string if the command includes a colon to support correct YAML.
201
- "setenv bootargs 'console=ttyAMA10,115200n8 root=/dev/nfs rw nfsroot={NFS_SERVER_IP}:{NFSROOTFS},tcp,hard ip=dhcp'"
202
- "{BOOTX}"
203
nbd:
204
commands:
205
- "setenv autoload no"
206
- "setenv initrd_high 0xffffffff"
207
- "setenv fdt_high 0xffffffff"
208
- "dhcp"
209
- "setenv serverip {SERVER_IP}"
210
- "tftp {KERNEL_ADDR} {KERNEL}"
211
- "tftp {RAMDISK_ADDR} {RAMDISK}"
212
- "tftp {TEE_ADDR} {TEE}"
213
- "setenv initrd_size ${filesize}"
214
- "tftp {DTB_ADDR} {DTB}"
215
# Always quote the entire string if the command includes a colon to support correct YAML.
216
- "setenv bootargs 'console=ttyAMA10,115200n8 rw nbd.server={NBDSERVERIP} nbd.port={NBDSERVERPORT} root=/dev/ram0 ramdisk_size=16384 rootdelay=7 ip=dhcp verbose earlyprintk systemd.log_color=false ${extraargs} rw'"
217
- "{BOOTX}"
218
ramdisk:
219
commands:
220
- "setenv autoload no"
221
- "setenv initrd_high 0xffffffff"
222
- "setenv fdt_high 0xffffffff"
223
- "dhcp"
224
- "setenv serverip {SERVER_IP}"
225
- "tftp {KERNEL_ADDR} {KERNEL}"
226
- "tftp {RAMDISK_ADDR} {RAMDISK}"
227
- "tftp {TEE_ADDR} {TEE}"
228
- "setenv initrd_size ${filesize}"
229
- "tftp {DTB_ADDR} {DTB}"
230
- "setenv bootargs 'console=ttyAMA10,115200n8 root=/dev/ram0 ip=dhcp'"
231
- "{BOOTX}"
232
usb:
233
commands:
234
- "usb start"
235
- "setenv autoload no"
236
- "load usb 0:{ROOT_PART} {KERNEL_ADDR} {KERNEL}"
237
- "load usb 0:{ROOT_PART} {RAMDISK_ADDR} {RAMDISK}"
238
- "setenv initrd_size ${filesize}"
239
- "load usb 0:{ROOT_PART} {DTB_ADDR} {DTB}"
240
- "console=ttyAMA10,115200n8 root={ROOT} ip=dhcp"
241
- "{BOOTX}"
242
sata:
243
commands:
244
- "scsi scan"
245
- "setenv autoload no"
246
- "load scsi {ROOT_PART} {KERNEL_ADDR} {KERNEL}"
247
- "load scsi {ROOT_PART} {RAMDISK_ADDR} {RAMDISK}; setenv initrd_size ${filesize}"
248
- "load scsi {ROOT_PART} {DTB_ADDR} {DTB}"
249
- "setenv bootargs 'console=ttyAMA10,115200n8 root={ROOT} ip=dhcp'"
250
- "{BOOTX}"
251
uuu:
252
options:
253
usb_otg_path:
254
usb_otg_path_command:
255
corrupt_boot_media_command:
256
power_off_before_corrupt_boot_media:
257
docker_image: ""
258
remote_options: ""
259
bcu_board_name: ""
260
bcu_board_id: ""
261
bcu_board_id_command:
262
has_bcu_commands: ""
263
264
timeouts:
265
actions:
266
apply-overlay-image:
267
minutes: 2
268
dd-image:
269
minutes: 10
270
download-retry:
271
minutes: 5
272
http-download:
273
minutes: 5
274
lava-test-shell:
275
minutes: 3
276
nfs-deploy:
277
minutes: 10
278
power-off:
279
seconds: 10
280
bootloader-commands:
281
minutes: 3
282
bootloader-interrupt:
283
seconds: 30
284
u-boot-interrupt:
285
seconds: 30
286
umount-retry:
287
seconds: 45
288
auto-login-action:
289
minutes: 2
290
bootloader-action:
291
minutes: 3
292
uboot-action:
293
minutes: 3
294
uboot-commands:
295
minutes: 3
296
bootloader-retry:
297
minutes: 3
298
boot-qemu-image:
299
minutes: 2
300
boot-image-retry:
301
minutes: 2
302
flash-uboot-ums:
303
minutes: 20
304
musca-deploy:
305
minutes: 3
306
musca-boot:
307
minutes: 1
308
unmount-musca-usbmsd:
309
seconds: 30
310
pdu-reboot:
311
seconds: 30
312
reset-device:
313
seconds: 30
314
connections:
315
dd-image:
316
minutes: 10
317
uboot-commands:
318
seconds: 30
319
bootloader-commands:
320
seconds: 30
321
auto-login-action:
322
minutes: 2
323
bootloader-interrupt:
324
seconds: 30
325
u-boot-interrupt:
326
seconds: 30
327
lava-test-shell:
328
seconds: 10
329
lava-docker-test-shell:
330
seconds: 10