From c9a6081b1717f1b2de4c6cf4b3b3732cd7ea3c44 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 30 May 2022 22:26:41 +0900 Subject: [PATCH] disable serial, i2c, g_mass_storage --- apkovl/etc/apk/world | 1 - apkovl/etc/inittab | 4 ---- apkovl/etc/modprobe.d/g_mass_storage.conf | 1 - apkovl/etc/modules-load.d/g_mass_storage.conf | 1 - apkovl/etc/modules-load.d/i2c-dev.conf | 1 - apkovl/etc/securetty | 1 - usercfg.txt | 2 -- 7 files changed, 11 deletions(-) delete mode 100644 apkovl/etc/inittab delete mode 100644 apkovl/etc/modprobe.d/g_mass_storage.conf delete mode 100644 apkovl/etc/modules-load.d/g_mass_storage.conf delete mode 100644 apkovl/etc/modules-load.d/i2c-dev.conf delete mode 100644 apkovl/etc/securetty diff --git a/apkovl/etc/apk/world b/apkovl/etc/apk/world index 5534b63..652e062 100644 --- a/apkovl/etc/apk/world +++ b/apkovl/etc/apk/world @@ -1,4 +1,3 @@ alpine-base -i2c-tools openssh wpa_supplicant diff --git a/apkovl/etc/inittab b/apkovl/etc/inittab deleted file mode 100644 index 8e5aff0..0000000 --- a/apkovl/etc/inittab +++ /dev/null @@ -1,4 +0,0 @@ -::sysinit:/sbin/openrc sysinit -::sysinit:/sbin/openrc boot -::wait:/sbin/openrc default -ttyGS0::respawn:/sbin/getty -L ttyGS0 115200 vt100 diff --git a/apkovl/etc/modprobe.d/g_mass_storage.conf b/apkovl/etc/modprobe.d/g_mass_storage.conf deleted file mode 100644 index cf8ee44..0000000 --- a/apkovl/etc/modprobe.d/g_mass_storage.conf +++ /dev/null @@ -1 +0,0 @@ -options g_mass_storage file=/dev/mmcblk0p1 diff --git a/apkovl/etc/modules-load.d/g_mass_storage.conf b/apkovl/etc/modules-load.d/g_mass_storage.conf deleted file mode 100644 index fd5ae93..0000000 --- a/apkovl/etc/modules-load.d/g_mass_storage.conf +++ /dev/null @@ -1 +0,0 @@ -g_mass_storage diff --git a/apkovl/etc/modules-load.d/i2c-dev.conf b/apkovl/etc/modules-load.d/i2c-dev.conf deleted file mode 100644 index 0cdf71f..0000000 --- a/apkovl/etc/modules-load.d/i2c-dev.conf +++ /dev/null @@ -1 +0,0 @@ -i2c-dev diff --git a/apkovl/etc/securetty b/apkovl/etc/securetty deleted file mode 100644 index eee2680..0000000 --- a/apkovl/etc/securetty +++ /dev/null @@ -1 +0,0 @@ -ttyGS0 diff --git a/usercfg.txt b/usercfg.txt index 5ece9f1..62f293f 100644 --- a/usercfg.txt +++ b/usercfg.txt @@ -1,3 +1 @@ -dtoverlay=dwc2 force_turbo=1 -dtparam=i2c_arm=on