summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates/raspberry
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/templates/raspberry')
-rw-r--r--roles/bootstrap/templates/raspberry/raspberry.cmdline.j21
-rw-r--r--roles/bootstrap/templates/raspberry/raspberry.config.j223
2 files changed, 24 insertions, 0 deletions
diff --git a/roles/bootstrap/templates/raspberry/raspberry.cmdline.j2 b/roles/bootstrap/templates/raspberry/raspberry.cmdline.j2
new file mode 100644
index 0000000..23390c4
--- /dev/null
+++ b/roles/bootstrap/templates/raspberry/raspberry.cmdline.j2
@@ -0,0 +1 @@
+console=serial0,115200 console=tty1 root={{ partition_root.dev }} rootfstype={{ partition_root.fstype }} elevator=deadline fsck.repair=yes rootwait
diff --git a/roles/bootstrap/templates/raspberry/raspberry.config.j2 b/roles/bootstrap/templates/raspberry/raspberry.config.j2
new file mode 100644
index 0000000..0faa3df
--- /dev/null
+++ b/roles/bootstrap/templates/raspberry/raspberry.config.j2
@@ -0,0 +1,23 @@
+dtparam=audio=on
+camera_auto_detect=1
+display_auto_detect=1
+auto_initramfs=1
+dtoverlay=vc4-kms-v3d
+max_framebuffers=2
+disable_fw_kms_setup=1
+arm_64bit=1
+disable_overscan=1
+arm_boost=1
+
+[pi5]
+kernel=kernel_2712.img
+dtparam=pciex1
+dtparam=pciex1_gen=2
+
+[cm4]
+otg_mode=1
+
+[cm5]
+dtoverlay=dwc2,dr_mode=host
+
+[all]