aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machines/raspberrypi4.jinja2
blob: 7ddfe9ef8658ba16b2c6008facb2f8127e90bc3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{%- extends 'boot/generic-uboot-tftp.jinja2' %}
{%- set device_arch = "arm64" %}
{%- set sdk_arch = "arm64" %}
{%- set device_mach = "broadcom" %}
{%- set device_type = "bcm2711-rpi-4-b" %}
{%- set rootfs_type = rootfs_type|default("nbd") %}
{%- set kernel_image = kernel_image|default("Image") %}
{%- set uboot_type = "booti" %}
{%- if rootfs_type == 'nbd' %}
    {%- set initrd = "initramfs-netboot-image-" + yocto_machine +".ext4.gz" %}
{%- endif %}
{%- set dtb = dtb|default("bcm2711-rpi-4-b+vc4.dtb") %}
{%- if (build_type == 'snapshot') or (build_type == 'daily') or (build_type == 'release') or (build_type == 'prerelease') %}
    {%- set rfs_image = rfs_image|default("agl-ivi-demo-qt-crosssdk-" + yocto_machine + ".ext4.xz") %}
{%- else %}
    {%- set rfs_image = rfs_image|default("agl-ivi-demo-qt-" + yocto_machine + ".ext4.xz") %}
{%- endif %}

{%- block main %}
{{ super() }}
context:
  console_device: ttyS0
  extra_kernel_args: " coherent_pool=1M 8250.nr_uarts=1 rw fstab=no systemd.mask=systemd-network-generator.service"
{% endblock %}