aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-02-23 07:30:34 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-02-23 07:30:34 +0000
commit7906a2ea4f2a2e2b6ba36a990803409d95cb7417 (patch)
treecf015f382bab298ca6665fd79948f62b3e2b3beb
parent5c8af9e3ac2d29b86a04dfb93195c0d9c86d1fdb (diff)
Add custom rpi4HEADquillback_16.93.0quillback_16.92.0quillback_16.91.1quillback_16.91.0quillback/16.93.0quillback/16.92.0quillback/16.91.1quillback/16.91.0pike_16.0.4pike_16.0.3pike_16.0.2pike_16.0.1pike_16.0.0pike_15.92.0pike_15.91.1pike_15.91.0pike/16.0.4pike/16.0.3pike/16.0.2pike/16.0.1pike/16.0.0pike/15.92.0pike/15.91.1pike/15.91.0octopus_15.0.5octopus_15.0.4octopus_15.0.3octopus_15.0.2octopus_15.0.1octopus_15.0.0octopus_14.94.0octopus_14.93.0octopus_14.92.0octopus_14.91.0octopus/15.0.5octopus/15.0.4octopus/15.0.3octopus/15.0.2octopus/15.0.1octopus/15.0.0octopus/14.94.0octopus/14.93.0octopus/14.92.0octopus/14.91.0needlefish_14.0.5needlefish_14.0.4needlefish_14.0.3needlefish_14.0.2needlefish_14.0.1needlefish_14.0.0needlefish_13.93.0needlefish_13.92.0needlefish_13.91.0needlefish/14.0.5needlefish/14.0.4needlefish/14.0.3needlefish/14.0.2needlefish/14.0.1needlefish/14.0.0needlefish/13.93.0needlefish/13.92.0needlefish/13.91.0marlin_13.0.3marlin_13.0.2marlin_13.0.1marlin_13.0.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/13.0.3marlin/13.0.2marlin/13.0.1marlin/13.0.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_12.1.6lamprey_12.1.5lamprey_12.1.4lamprey_12.1.3lamprey_12.1.2lamprey_12.1.12lamprey_12.1.1lamprey_12.1.0lamprey_12.0.1lamprey_12.0.0lamprey_11.93.0lamprey_11.92.0lamprey_11.91.0lamprey/12.1.6lamprey/12.1.5lamprey/12.1.4lamprey/12.1.3lamprey/12.1.2lamprey/12.1.12lamprey/12.1.1lamprey/12.1.0lamprey/12.0.1lamprey/12.0.0lamprey/11.93.0lamprey/11.92.0lamprey/11.91.0koi_11.0.5koi_11.0.4koi_11.0.3koi/11.0.5koi/11.0.4koi/11.0.3jellyfish_10.0.3jellyfish/10.0.316.93.016.92.016.91.116.91.016.0.416.0.316.0.216.0.116.0.015.92.015.91.115.91.015.0.515.0.415.0.315.0.215.0.115.0.014.94.014.93.014.92.014.91.014.0.514.0.414.0.314.0.214.0.114.0.013.93.013.92.013.91.013.0.313.0.213.0.113.0.012.93.012.92.012.91.012.90.112.90.012.1.612.1.512.1.412.1.312.1.212.1.1212.1.112.1.012.0.112.0.011.93.011.92.011.91.011.0.511.0.411.0.310.0.3master
-rw-r--r--lava-master/device-types/bcm2711-rpi-4-b.jinja231
1 files changed, 31 insertions, 0 deletions
diff --git a/lava-master/device-types/bcm2711-rpi-4-b.jinja2 b/lava-master/device-types/bcm2711-rpi-4-b.jinja2
new file mode 100644
index 0000000..9778c67
--- /dev/null
+++ b/lava-master/device-types/bcm2711-rpi-4-b.jinja2
@@ -0,0 +1,31 @@
+# Raspberry Pi 4b
+{# set device_type = "bcm2711-rpi-4-b" #}
+
+{% extends 'base-uboot.jinja2' %}
+
+{% set interrupt_ctrl_list = ['c'] %}
+
+{% set booti_kernel_addr = '0x00080000' %}
+{% set booti_ramdisk_addr = '0x02700000' %}
+{% set booti_dtb_addr = '0x02400000' %}
+
+{% set bootm_kernel_addr = '0x00080000' %}
+{% set bootm_ramdisk_addr = '0x02700000' %}
+{% set bootm_dtb_addr = '0x02400000' %}
+
+{% set uboot_mkimage_arch = 'arm64' %}
+
+{% set bootloader_prompt = bootloader_prompt|default('U-Boot>') %}
+{% set console_device = console_device|default('ttyS1') %}
+# rpi-sources does not boot without 8250.nr_uarts=1
+# The normal console (on pinouts) is ttyS1, but with 8250.nr_uarts=1, ttyS1 become ttyS0
+# The earlycon is for this console
+# rpi-sources need also the cma to be >= 64M
+# so a job with rpi-sources probably need to set in job definitions:
+# context:
+# extra_kernel_args: "8250.nr_uarts=1 cma=64M"
+# console_device: ttyS0
+
+{% set extra_kernel_args = extra_kernel_args|default("earlycon=uart,mmio32,0xfe215040") %}
+
+{% set uboot_bootcmd = 'fdt addr 0x02400000; fdt boardsetup; fdt resize; fdt set audio status okay; {BOOTX}' %}