aboutsummaryrefslogtreecommitdiff
path: root/etc/dispatcher-config
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2015-10-30 14:58:53 +0000
committerLinaro Code Review <review@review.linaro.org>2016-01-06 06:10:29 +0000
commitef037cd973b929388dd2973347a08f0d7a7d2c0a (patch)
tree444b4ee1ac4eaed55725fe2d4b655ba17f51c099 /etc/dispatcher-config
parent8ab399f7ba1835c0fe81ba126a68cdd3f16c90b6 (diff)
LAVA-364 arndale template
Change-Id: I10af775752fd27395a14bac83660211b88373008
Diffstat (limited to 'etc/dispatcher-config')
-rw-r--r--etc/dispatcher-config/device-types/arndale.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/etc/dispatcher-config/device-types/arndale.yaml b/etc/dispatcher-config/device-types/arndale.yaml
new file mode 100644
index 000000000..0ba799262
--- /dev/null
+++ b/etc/dispatcher-config/device-types/arndale.yaml
@@ -0,0 +1,59 @@
+{% extends 'base.yaml' %}
+{% block body %}
+device_type: arndale
+
+{% set console_device = console_device | default('ttySAC2') %}
+{% set baud_rate = baud_rate | default(115200) %}
+
+parameters:
+ bootm:
+ kernel: '{{ bootm_kernel_addr|default('0x40007000') }}'
+ ramdisk: '{{ bootm_ramdisk_addr|default('0x45000000') }}'
+ dtb: '{{ bootm_dtb_addr|default('0x41f00000') }}'
+ bootz:
+ kernel: '{{ bootz_kernel_addr|default('0x40007000') }}'
+ ramdisk: '{{ bootz_ramdisk_addr|default('0x45000000') }}'
+ dtb: '{{ bootz_dtb_addr|default('0x41f00000') }}'
+
+actions:
+ deploy:
+ methods:
+ tftp:
+ ssh:
+ options:
+{{ ssh_options }}
+ host: {{ ssh_host|default(localhost) }}
+ port: '{{ ssh_port|default(22) }}'
+ user: {{ ssh_user|default(root) }}
+ identity_file: {{ ssh_identity_file }}
+ boot:
+ connections:
+ serial:
+ ssh:
+ methods:
+ kexec:
+ ssh:
+ u-boot:
+ parameters:
+ bootloader_prompt: {{ bootloader_prompt|default('ARNDALE5250') }}
+ boot_message: {{ boot_message|default('Booting Linux') }}
+ mkimage_arch: {{ uboot_mkimage_arch|default('arm') }} # string to pass to mkimage -A when adding UBoot headers
+ send_char: False
+ # interrupt: # character needed to interrupt u-boot, single whitespace by default
+ # method specific stanza
+ nfs:
+ commands:
+{{ base_uboot_commands }}
+{{ base_uboot_addr_commands }}
+{{ base_tftp_commands }}
+ # Always quote the entire string if the command includes a colon to support correct YAML.
+ - "setenv nfsargs 'setenv bootargs console={{ console_device }},{{ baud_rate }}n8 root=/dev/nfs rw {{ base_nfsroot_args }} earlyprintk ip=dhcp'"
+{{ base_nfs_uboot_bootcmd }}
+ ramdisk:
+ commands:
+{{ base_uboot_commands }}
+{{ base_uboot_addr_commands }}
+{{ base_tftp_commands }}
+ - setenv bootargs 'console={{ console_device }},{{ baud_rate }}n8 root=/dev/ram0 ip=dhcp'
+{{ base_tftp_uboot_bootcmd }}
+{% endblock %}