Hi luka, just added netconsole support to ARV752DPW22 (should work on the other lantiq devices too). The device boot's and tries to ping the ip set in $serverip if this works, all input / output and errors are displayed on the netconsole. If it didn't work serial will be used to display everything.
It's mainly addopted from some dockstar guides, but works without any problems. u-boot is slightly bigger, but works without problems (188984 Bytes here). Hopefully it'll be addopted to the trunk, as this let's you maintain (and update) your openwrt without opening the box and adding a serial console. Tobias Göbel Signet-off-by: Tobias Goebel <kubax1...@gmail.com> diff --git a/package/boot/uboot-lantiq/patches/0023-MIPS-lantiq-add-default-openwrt-config.patch b/package/boot/uboot-lantiq/patches/0023-MIPS-lantiq-add-default-openwrt-config.patch index 3b50c98..95cf1e4 100644 --- a/package/boot/uboot-lantiq/patches/0023-MIPS-lantiq-add-default-openwrt-config.patch +++ b/package/boot/uboot-lantiq/patches/0023-MIPS-lantiq-add-default-openwrt-config.patch @@ -8,7 +8,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> --- /dev/null +++ b/include/configs/openwrt-lantiq-common.h -@@ -0,0 +1,39 @@ +@@ -0,0 +1,42 @@ +/* + * Copyright (C) 2013 Luka Perkov <l...@openwrt.org> + * @@ -40,6 +40,9 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> +#define CONFIG_ETHADDR 00:01:02:03:04:05 +#define CONFIG_SERVERIP 192.168.1.2 +#define CONFIG_IPADDR 192.168.1.1 ++#define CONFIG_PREBOOT "setenv if_netconsole_online 'ping $serverip';"\ ++ "setenv start_netconsole 'setenv ncip $serverip; setenv bootdely 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;';"\ ++ "run if_netconsole_online start_netconsole" +#endif + +/* Unnecessary */ diff --git a/package/boot/uboot-lantiq/patches/0038-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch b/package/boot/uboot-lantiq/patches/0038-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch index 2cf0e95..c1269a2 100644 --- a/package/boot/uboot-lantiq/patches/0038-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch +++ b/package/boot/uboot-lantiq/patches/0038-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch @@ -173,7 +173,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> Active mips mips32 danube gigaset sx76x gigasx76x_nor sx76x:SYS_BOOT_NOR Luka Perkov <l...@openwrt.org> --- /dev/null +++ b/include/configs/arv752dpw22.h -@@ -0,0 +1,68 @@ +@@ -0,0 +1,70 @@ +/* + * Copyright (C) 2012-2013 Luka Perkov <l...@openwrt.org> + * @@ -226,6 +226,8 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> +#define CONFIG_CONSOLE_ASC 1 +#define CONFIG_CONSOLE_DEV "ttyLTQ1" + ++#define CONFIG_NETCONSOLE 1 ++ +/* Pull in default board configs for Lantiq XWAY Danube */ +#include <asm/lantiq/config.h> +#include <asm/arch/config.h> _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel