boards.io

base-barebox

base template

This template is not a device-type: it holds the settings shared by the 17 device-types that extend it, directly or not.

Inheritance

  1. base-barebox
  2. base

Inheritance tree

base-barebox 17 device-types

Device-types extending base-barebox (17)

Device typeVendorArchThrough
ar9331-dpt-module Qualcomm mips directly
beaglebone-black-barebox Texas Instruments arm directly
dove-cubox Marvell arm directly
imx23-olinuxino NXP arm directly
imx27-phytec-phycard-s-rdk NXP arm directly
imx28-duckbill NXP arm directly
imx53-qsrb NXP arm directly
imx6dl-riotboard NXP arm directly
imx6qp-wandboard-revd1 NXP arm directly
imx6ul-pico-hobbit NXP arm directly
imx8mm-innocomm-wb15-evk NXP arm64 directly
imx8mp-tqma8mpql-mba8mpxl NXP arm64 directly
imx8mq-zii-ultra-zest NXP arm64 directly
jh7100-beaglev-starlight StarFive riscv64 directly
socfpga-cyclone5-socrates Intel arm directly
stm32mp157c-lxa-mc1 STMicroelectronics arm directly
stm32mp157c-lxa-tac-gen1 STMicroelectronics arm directly
{% extends 'base.jinja2' %}

{% set console_device = console_device | default('ttyS0') %}

{% if load_addr %}
{% set load_addr = '-a '+load_addr %}
{% endif %}

{% if initrd_load_addr %}
{% set initrd_load_addr = '-L '+initrd_load_addr %}
{% endif %}

{% block body %}

actions:
  deploy:
    parameters:
      append_dtb: {{ append_dtb|default(false) }}
      use_xip: {{ use_xip|default(false) }}
    connections:
      serial:
    methods:
      tftp:
  boot:
    connections:
      serial:
    methods:
      barebox:
        parameters:
          bootloader_prompt: {{ bootloader_prompt|default('barebox') }}
          interrupt_prompt: {{ interrupt_prompt|default('stop autoboot') }}
        tftp:
          commands:
            - boot net
        nfs:
          commands:
            - global linux.bootargs.nfs="'root=/dev/nfs rw nfsroot={SERVER_IP}:{NFSROOTFS},tcp,hard ip=dhcp'"
            - bootm -v -o /mnt/tftp/{DTB} /mnt/tftp/{KERNEL} {{ load_addr }} {{ initrd_load_addr }}
        ramdisk:
          commands:
            - bootm -v -r /mnt/tftp/{RAMDISK} -o /mnt/tftp/{DTB} /mnt/tftp/{KERNEL} {{ load_addr }} {{ initrd_load_addr }}
  test:
    methods:
      docker:
        global_options:
        - {{ docker_shell_global_arguments }}
        options:
        - {{ docker_shell_extra_arguments }}
{% endblock body %}