From 020096b5373e644ae28a1728508d282ecd7d7df3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 31 Oct 2018 11:58:34 +0100 Subject: [PATCH] include raspi boot config --- Makefile | 1 + cmdline.txt | 1 + config.txt | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 cmdline.txt create mode 100644 config.txt diff --git a/Makefile b/Makefile index 2687a8a..5354848 100644 --- 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 index 0000000..1a1573b --- /dev/null +++ b/cmdline.txt @@ -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 index 0000000..288a466 --- /dev/null +++ b/config.txt @@ -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 -- 2.39.2