aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/raspberrypi3.jinja2
blob: 81235860230b3a8a8fdc7c7ed3570a200b9f987b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{%- extends 'boot/generic-uboot-tftp.jinja2' %}
{%- set device_arch = "arm" %}
{%- set device_mach = "broadcom" %}
{%- set device_type = "raspberrypi3-uboot" %}
{# Default boot method if not specified #}
{%- set rootfs_type = rootfs_type|default("nbd") %}
{# Defaults image names dependng on boot method #}
{%- if rootfs_type == 'nbd' %}
    {%- set initrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz.u-boot" %}
{%- endif %}
{%- set dtb = dtb|default("uImage-bcm2710-rpi-3-b.dtb") %}
{%- if build_type == 'daily' %}
    {%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-raspberrypi3.ext4.xz") %}
{%- else %}
    {%- set rfs_image = rfs_image|default("agl-demo-platform-raspberrypi3.ext4.xz") %}
{%- endif %}