From 6ffa4d43382fe8187a0b336b091d1c400a4a7081 Mon Sep 17 00:00:00 2001 From: dir Date: Thu, 30 Nov 2017 14:48:41 +0100 Subject: Implement mdev logging output on demand @upstream --- target/config/Config.in.runtime | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target') diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 6d5a460ab..35f65b48d 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -64,6 +64,10 @@ config ADK_RUNTIME_DEV_MDEV depends on ADK_PACKAGE_BUSYBOX depends on !ADK_RUNTIME_INIT_SYSTEMD +config ADK_RUNTIME_DEV_MDEV_LOGGING + bool "Log mdev events into /dev/mdev.log" + depends on ADK_RUNTIME_DEV_MDEV + config ADK_RUNTIME_DEV_UDEV bool "Use udev" select ADK_PACKAGE_UDEV -- cgit v1.2.3 From e9a80817647b5ac556519822251abd0346b6d468 Mon Sep 17 00:00:00 2001 From: dir Date: Tue, 2 Jan 2018 18:10:24 +0100 Subject: Add simple autologin program to be started by getty @upstream --- target/config/Config.in.runtime | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target') diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 35f65b48d..7697bcaf9 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -367,6 +367,11 @@ config ADK_RUNTIME_GETTY_SERIAL help Start getty on serial console. +config ADK_RUNTIME_GETTY_SERIAL_AUTOLOGIN + bool "run autologin on serial getty" + depends on ADK_RUNTIME_GETTY_SERIAL + select ADK_PACKAGE_AUTOLOGIN + config ADK_RUNTIME_CONSOLE_VGA_DEVICE string "VGA console device" depends on ADK_TARGET_WITH_VGA || ADK_TARGET_GENERIC -- cgit v1.2.3 From 892990aa9b75b92bb7e6703a14d5aa45c43c5f34 Mon Sep 17 00:00:00 2001 From: dir Date: Tue, 2 Jan 2018 18:11:57 +0100 Subject: Add post build action @upstream --- target/Makefile | 6 ++++++ target/config/Config.in.adk | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'target') diff --git a/target/Makefile b/target/Makefile index 846620d6c..128d272de 100644 --- a/target/Makefile +++ b/target/Makefile @@ -228,6 +228,12 @@ endif $(MAKE) -C $(patsubst %-targethelp,%,$@) targethelp %-imageinstall: %-imageprepare +ifdef ADK_POST_BUILD_ACTION +ifneq ($(ADK_POST_BUILD_ACTION),"") + @printf "running post build action '$(ADK_POST_BUILD_ACTION)'\n" + $(ADK_TOPDIR)/$(ADK_POST_BUILD_ACTION) $(ADK_TOPDIR) +endif +endif $(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall @for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh 2>/dev/null); do \ [[ -x "$$x" ]] && $$x; \ diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk index b414b70fd..060ee78e4 100644 --- a/target/config/Config.in.adk +++ b/target/config/Config.in.adk @@ -112,4 +112,8 @@ config ADK_TARGET_PORT help Port to use for SSH when running make check. +config ADK_POST_BUILD_ACTION + string "Path to script run post build. Must be relative to ADK_TOPDIR." + default "" + endmenu -- cgit v1.2.3 From 70a42f6597b06f9be12db1bd32bb6a97d4a2e182 Mon Sep 17 00:00:00 2001 From: dir Date: Wed, 28 Feb 2018 21:03:58 +0100 Subject: Add option to mount debugfs at startup @upstream --- target/config/Config.in.runtime | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target') diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime index 7697bcaf9..9c9b9cd49 100644 --- a/target/config/Config.in.runtime +++ b/target/config/Config.in.runtime @@ -188,6 +188,12 @@ config ADK_RUNTIME_USER_SHELL help Set the shell to use. +config ADK_RUNTIME_MOUNT_DEBUGFS + bool "mount debugfs" + depends on !ADK_RUNTIME_INIT_SYSTEMD + help + mount debugfs under /sys/kernel/debug + config ADK_RUNTIME_START_SERVICES bool "start services by default" default n -- cgit v1.2.3