diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-08-18 09:17:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-08-18 09:17:40 +0200 |
commit | 87d7150ea9c117b54c9989d5df734887cb20eb63 (patch) | |
tree | 03242c08e502662ab21ecdc572a64b5fc83f97eb | |
parent | 01f79f56f31d6fc611ab731b82796ae969fcd409 (diff) |
add netconsole support
-rw-r--r-- | package/b43-firmware/Makefile | 4 | ||||
-rw-r--r-- | rules.mk | 2 | ||||
-rw-r--r-- | target/Makefile | 4 | ||||
-rw-r--r-- | target/linux/config/Config.in.debug | 23 |
4 files changed, 31 insertions, 2 deletions
diff --git a/package/b43-firmware/Makefile b/package/b43-firmware/Makefile index 311644bd8..3d170b68c 100644 --- a/package/b43-firmware/Makefile +++ b/package/b43-firmware/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= b43-firmware -PKG_VERSION:= 1.0 +PKG_VERSION:= 1.1 PKG_RELEASE:= 1 -PKG_MD5SUM:= 37c8d2c029a7e5b82f4433a6fa1e2ee5 +PKG_MD5SUM:= b53e1234c596c49f9ee0c11d04d989ed PKG_DESCR:= firmware for b43 wireless cards PKG_SECTION:= wifi PKG_SITES:= http://openadk.org/distfiles/ @@ -43,6 +43,8 @@ ADK_HOST:= $(strip $(subst ",, $(ADK_HOST))) ADK_VENDOR:= $(strip $(subst ",, $(ADK_VENDOR))) ADK_TOOLS_ADDPATTERN_ARGS:= $(strip $(subst ",, $(ADK_TOOLS_ADDPATTERN_ARGS))) ADK_KERNEL_VERSION:= $(strip $(subst ",, $(ADK_KERNEL_VERSION))) +ADK_PARAMETER_NETCONSOLE_SRC_IP:= $(strip $(subst ",, $(ADK_PARAMETER_NETCONSOLE_SRC_IP))) +ADK_PARAMETER_NETCONSOLE_DST_IP:= $(strip $(subst ",, $(ADK_PARAMETER_NETCONSOLE_DST_IP))) ifeq ($(strip ${ADK_HAVE_DOT_CONFIG}),y) ifneq ($(strip $(wildcard $(TOPDIR)/target/$(ADK_TARGET_ARCH)/target.mk)),) diff --git a/target/Makefile b/target/Makefile index 9222cd3bc..b7e94033a 100644 --- a/target/Makefile +++ b/target/Makefile @@ -87,6 +87,10 @@ ifeq ($(ADK_KERNEL_DEBUG_WITH_KGDB),y) @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 kgdbwait kgdboc=ttyS0,115200"#' \ ${BUILD_DIR}/.kernelconfig.board endif +ifeq ($(ADK_KERNEL_NETCONSOLE),y) + @sed -i -e 's#^\(CONFIG_.*CMDLINE="\)\(.*\)"#\1\2 netconsole=@$(ADK_PARAMETER_NETCONSOLE_SRC_IP)/,@$(ADK_PARAMETER_NETCONSOLE_DST_IP)/"#' \ + ${BUILD_DIR}/.kernelconfig.board +endif @cd ${BUILD_DIR} && cat .kernelconfig.board .kernelconfig.nokernel \ .kernelconfig.kernel .kernelconfig.modules \ >.kernelconfig.tmp diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug index dbb1aeecd..d73e98f02 100644 --- a/target/linux/config/Config.in.debug +++ b/target/linux/config/Config.in.debug @@ -25,6 +25,29 @@ config ADK_QUIET_KERNEL help Make bootup quiet without messages from the kernel. +config ADK_KERNEL_NETCONSOLE + prompt "Netconsole" + boolean + default n + help + Activate netconsole. netconsole=@/,@192.168.1.2/ + +config ADK_PARAMETER_NETCONSOLE_SRC_IP + prompt "IP address for source" + string + default "192.168.1.100" + depends on ADK_KERNEL_NETCONSOLE + help + source ip address logging from. + +config ADK_PARAMETER_NETCONSOLE_DST_IP + prompt "IP address for target" + string + default "192.168.1.2" + depends on ADK_KERNEL_NETCONSOLE + help + ip address logging to. + config ADK_KERNEL_MAGIC_SYSRQ prompt "Magic BREAK sequence" boolean |