summaryrefslogtreecommitdiff
path: root/board/raspberrypi
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-05-30 09:58:45 +0200
committerSébastien Dailly <sebastien@dailly.me>2026-05-30 09:58:45 +0200
commit8b2420f74367e4973be0dd9556c021588abfe591 (patch)
treeb95fbf8d5aefc51f619b2506d8ae75ee9f29b75b /board/raspberrypi
Initial commit
Diffstat (limited to 'board/raspberrypi')
-rw-r--r--board/raspberrypi/cmdline.txt1
-rw-r--r--board/raspberrypi/config_0w.txt32
2 files changed, 33 insertions, 0 deletions
diff --git a/board/raspberrypi/cmdline.txt b/board/raspberrypi/cmdline.txt
new file mode 100644
index 0000000..a318558
--- /dev/null
+++ b/board/raspberrypi/cmdline.txt
@@ -0,0 +1 @@
+root=/dev/mmcblk0p2 rootwait modules-load=dwc2,g_serial console=tty1 console=ttyAMA0,115200
diff --git a/board/raspberrypi/config_0w.txt b/board/raspberrypi/config_0w.txt
new file mode 100644
index 0000000..6b862ef
--- /dev/null
+++ b/board/raspberrypi/config_0w.txt
@@ -0,0 +1,32 @@
+# Please note that this is only a sample, we recommend you to change it to fit
+# your needs.
+# You should override this file using a post-build script.
+# See http://buildroot.org/manual.html#rootfs-custom
+# and http://elinux.org/RPiconfig for a description of config.txt syntax
+
+# We always use the same names, the real used variant is selected by
+# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice
+start_file=start.elf
+fixup_file=fixup.dat
+
+kernel=zImage
+
+# To use an external initramfs file
+#initramfs rootfs.cpio.gz
+
+# Disable overscan assuming the display supports displaying the full resolution
+# If the text shown on the screen disappears off the edge, comment this out
+disable_overscan=1
+
+# How much memory in MB to assign to the GPU on Pi models having
+# 256, 512 or 1024 MB total memory
+gpu_mem_256=100
+gpu_mem_512=100
+gpu_mem_1024=100
+boot_delay=0
+initial_turbo=10
+dtoverlay=dwc2
+
+# https://github.com/raspberrypi/firmware/tree/master/boot/overlays
+# dtparam=krnbt=on
+dtparam=i2c=on