{% block body %}
device_type: aerobase

{% set console_device = console_device | default('ttyUSB0') %}
{% set baud_rate = baud_rate | default(115200) %}

bootm:
  kernel: '{{ bootm_kernel_addr|default('0x12000000') }}'
  ramdisk: '{{ bootm_ramdisk_addr|default('0x17800000') }}'
  dtb: '{{ bootm_dtb_addr|default('0x20008000') }}'

commands:
  hard_reset: /usr/bin/pduclient --daemon localhost --hostname pdu --command reboot --port 08
  power_off: /usr/bin/pduclient --daemon localhost --hostname pdu --command off --port 08
  power_on: /usr/bin/pduclient --daemon localhost --hostname pdu --command on --port 08
  
actions:
  boot:
    connections:
      serial:
    methods:
      serial:
    u-boot:
      parameters:
        bootloader_prompt: {{ bootloader_prompt|default('PACO_AEROBASE_V1 # ') }}
        send_char: True
        #single whitespace by default
      tftp:
        commands:
        - power_on
{% endblock %}
