summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-10-11 10:56:46 +0200
committerLoys Ollivier <lollivier@baylibre.com>2017-10-11 10:58:39 +0200
commitf25178c8e0293d5c3081863f4993bf8bd57bb729 (patch)
tree5df300d41e1e829eeb22ae7a8510b9166caa3347 /templates
parentd6c367c2847f300aab7feb1ac52c24f83ce6e304 (diff)
Update raspberrypi3 defaults
Update the default package names and architecture for the RPI3 to match the AGL CI build artifacts. These defaults can still be overwritten using the command line. Change-Id: I248037a385f3583f375912e9725a1cd2a883806f Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/machines/raspberrypi3.jinja210
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/machines/raspberrypi3.jinja2 b/templates/machines/raspberrypi3.jinja2
index 2d96110..620e447 100644
--- a/templates/machines/raspberrypi3.jinja2
+++ b/templates/machines/raspberrypi3.jinja2
@@ -1,12 +1,12 @@
{%- extends 'boot/generic-uboot-tftp.jinja2' %}
-{%- set device_arch = "arm64" %}
+{%- set device_arch = "arm" %}
{%- set device_mach = "broadcom" %}
-{%- set device_type = "bcm2837-rpi-3-b" %}
+{%- set device_type = "bcm2837-rpi-3-b-32b" %}
{# 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" %}
-{%- elif rootfs_type == 'ramdisk' %}
- {%- set dtb = dtb|default("uImage-bcm2710-rpi-3-b.dtb") %}
-{%- endif %} \ No newline at end of file
+{%- endif %}
+{%- set dtb = dtb|default("uImage-bcm2710-rpi-3-b.dtb") %}
+{%- set rfs_image = rfs_image|default("agl-demo-platform-raspberrypi3.ext4.xz") %}