From ef037cd973b929388dd2973347a08f0d7a7d2c0a Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Fri, 30 Oct 2015 14:58:53 +0000 Subject: LAVA-364 arndale template Change-Id: I10af775752fd27395a14bac83660211b88373008 --- etc/dispatcher-config/device-types/arndale.yaml | 59 +++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 etc/dispatcher-config/device-types/arndale.yaml (limited to 'etc/dispatcher-config') 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 %} -- cgit v1.2.3