include raspi boot config
authorPaul Hänsch <paul@plutz.net>
Wed, 31 Oct 2018 10:58:34 +0000 (11:58 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 31 Oct 2018 10:58:34 +0000 (11:58 +0100)
Makefile
cmdline.txt [new file with mode: 0644]
config.txt [new file with mode: 0644]

index 2687a8a..5354848 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ raspi_root/: raspi_root .FORCE
        printf '${SOURCES}' >$@/etc/apt/sources.list
        -chroot "$@" apt-key add - <./raspberrypi-archive-keyring.gpg
        -cp /etc/resolv.conf "$@etc/"
+       cp -u cmdline.txt config.txt "$@boot/"
        -chroot "$@" sh -c 'apt-mark showmanual |xargs apt-mark auto'
        -chroot "$@" apt-get update
        chroot "$@" ln -sf /bin/true /usr/local/sbin/invoke-rc.d
diff --git a/cmdline.txt b/cmdline.txt
new file mode 100644 (file)
index 0000000..1a1573b
--- /dev/null
@@ -0,0 +1 @@
+dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet
diff --git a/config.txt b/config.txt
new file mode 100644 (file)
index 0000000..288a466
--- /dev/null
@@ -0,0 +1,6 @@
+# This is the config.txt file for the raspberry pi /boot partition
+# It contains options for hardware initialization during the raspberry boot
+# This is _not_ the configuration file for the Oktopus system builder
+# see config.example for the Oktopus build config
+
+dtparam=audio=on