summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/templates')
-rw-r--r--roles/bootstrap/templates/raspberry.cmdline.j27
-rw-r--r--roles/bootstrap/templates/raspberry.config.j216
2 files changed, 23 insertions, 0 deletions
diff --git a/roles/bootstrap/templates/raspberry.cmdline.j2 b/roles/bootstrap/templates/raspberry.cmdline.j2
new file mode 100644
index 0000000..3e47837
--- /dev/null
+++ b/roles/bootstrap/templates/raspberry.cmdline.j2
@@ -0,0 +1,7 @@
+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.config.j2 b/roles/bootstrap/templates/raspberry.config.j2
new file mode 100644
index 0000000..7f02366
--- /dev/null
+++ b/roles/bootstrap/templates/raspberry.config.j2
@@ -0,0 +1,16 @@
+[pi5]
+dtparam=pciex1
+dtparam=pciex1_gen=2
+
+[all]
+arm_64bit=1
+arm_boost=1
+
+disable_overscan=1
+disable_fw_kms_setup=1
+
+camera_auto_detect=0
+display_auto_detect=0
+dtparam=audio=on
+
+auto_initramfs=1