summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/templates/raspberry
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-13 14:38:01 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-14 01:31:15 +0200
commit296be49e6918fedb22d1dab040ff9fdf3624c055 (patch)
tree0baf68c324e8340ec5a4d952fee4dbcc12b3670a /roles/bootstrap/templates/raspberry
parent7b444a5853933496febef4cbaf614f1fa0434cc6 (diff)
Refactor template naming for bootstrap
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]