From 11374e81a721be8519a0d43698249f013c3fa258 Mon Sep 17 00:00:00 2001 From: Angus Ainslie Date: Sun, 29 Aug 2021 06:45:10 -0700 Subject: [PATCH] init: mount the debugfs Add the debugfs to control dev_dbg output Signed-off-by: Angus Ainslie --- initramfs/init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/initramfs/init b/initramfs/init index d971348..17a8fd0 100755 --- a/initramfs/init +++ b/initramfs/init @@ -35,6 +35,10 @@ mount -t configfs -o nodev,noexec,nosuid configfs /config mkdir -p /dev/pts mount -t devpts devpts /dev/pts +# add the debugfs +mkdir /debug +mount -t debugfs none /debug + # LED indicator for MMC r/w access if [ -n "$LED" ]; then echo $TRIGGER > /sys/class/leds/$LED/trigger