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
- base-barebox
- base
Inheritance tree
base-barebox 17 device-types
- ar9331-dpt-module
- beaglebone-black-barebox
- dove-cubox
- imx23-olinuxino
- imx27-phytec-phycard-s-rdk
- imx28-duckbill
- imx53-qsrb
- imx6dl-riotboard
- imx6qp-wandboard-revd1
- imx6ul-pico-hobbit
- imx8mm-innocomm-wb15-evk
- imx8mp-tqma8mpql-mba8mpxl
- imx8mq-zii-ultra-zest
- jh7100-beaglev-starlight
- socfpga-cyclone5-socrates
- stm32mp157c-lxa-mc1
- stm32mp157c-lxa-tac-gen1
Device-types extending base-barebox (17)
| Device type | Vendor | Arch | Through |
|---|---|---|---|
| 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 %}