Diff of /lantronix-linuxsdk-stage1-20130617.patch [000000] .. [13287e] Maximize Restore

  Switch to side-by-side view

--- a
+++ b/lantronix-linuxsdk-stage1-20130617.patch
@@ -0,0 +1,580 @@
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/user/dropbear/dropbear-0.52/scp.c linuxsdk/linux/user/dropbear/dropbear-0.52/scp.c
+--- linuxsdk.orig/linux/user/dropbear/dropbear-0.52/scp.c	2012-02-02 09:08:41.384263715 -0500
++++ linuxsdk/linux/user/dropbear/dropbear-0.52/scp.c	2012-04-05 10:31:00.032821973 -0400
+@@ -383,7 +383,7 @@ main(int argc, char **argv)
+ 			iamremote = 1;
+ 			tflag = 1;
+ #ifdef HAVE_CYGWIN
+-			setmode(0, O_BINARY);
++		//	setmode(0, O_BINARY);
+ #endif
+ 			break;
+ 		default:
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/user/lantronix/cpm/config/etc/cpm.conf linuxsdk/linux/user/lantronix/cpm/config/etc/cpm.conf
+--- linuxsdk.orig/linux/user/lantronix/cpm/config/etc/cpm.conf	2012-02-02 09:08:39.708270767 -0500
++++ linuxsdk/linux/user/lantronix/cpm/config/etc/cpm.conf	2012-04-10 03:45:40.670274939 -0400
+@@ -1,14 +1,13 @@
+-
+ config cp1 {
+ 	type output
+-	state enable
++	state disable
+ 	invert disable
+ }
+ 
+ config cp2 {
+-	type output
++	type input
+ 	state enable
+-	invert disable
++	invert enable
+ }
+ 
+ config cp3 {
+@@ -17,50 +16,20 @@ config cp3 {
+ 	invert disable
+ }
+ 
+-config cp4 {
+-	type output
+-	state enable
+-	invert disable
+-}
+-
+-config cp5 {
++group STM8_DATA {
+ 	type output
+ 	state enable
+-	invert disable
+-}
+-
+-config cp6 {
+-	type output
+-	state enable
+-	invert disable
++	bit0 CP1
+ }
+ 
+-config cp7 {
+-	type output
++group BUTTON {
++	type input
+ 	state enable
+-	invert disable
++	bit0 CP2
+ }
+ 
+-group Led {
++group STM8_RESET {
+ 	type output
+ 	state enable
+-	bit0 CP1
+-	bit1 CP2
+-	bit2 CP3
+-	bit3 CP4
+-	bit4 CP5
+-	bit5 CP6
+-	bit6 CP7
+-}
+-
+-group Switch {
+-	type input
+-	state disable
+-	bit0 CP1
+-	bit1 CP2
+-	bit2 CP3
+-	bit3 CP4
+-	bit4 CP5
+-	bit5 CP6
+-	bit6 CP7
++	bit0 CP3
+ }
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/user/lantronix/cpm/config/etc/rcS.d/S91cpm linuxsdk/linux/user/lantronix/cpm/config/etc/rcS.d/S91cpm
+--- linuxsdk.orig/linux/user/lantronix/cpm/config/etc/rcS.d/S91cpm	2012-02-02 09:08:39.712302098 -0500
++++ linuxsdk/linux/user/lantronix/cpm/config/etc/rcS.d/S91cpm	2012-04-05 10:31:00.035818621 -0400
+@@ -7,4 +7,7 @@ done
+ 
+ . /etc/rc.config
+ 
+-if [ -f /etc/cpm.conf ]; then /bin/cpm -C /etc/cpm.conf > /dev/null 2>&1 & fi
++#keep STM8 in RESET
++if [ -f /etc/cpm.conf ]; then /bin/cpm -N STM8_RESET -V 1 -C /etc/cpm.conf > /dev/null 2>&1 & fi
++
++
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/EDS1100/romfs_extra/etc/netstart linuxsdk/linux/vendors/Lantronix/EDS1100/romfs_extra/etc/netstart
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/EDS2100/romfs_extra/etc/netstart linuxsdk/linux/vendors/Lantronix/EDS2100/romfs_extra/etc/netstart
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/MatchPort_AR/romfs_extra/etc/netstart linuxsdk/linux/vendors/Lantronix/MatchPort_AR/romfs_extra/etc/netstart
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro/romfs_extra/etc/netstart linuxsdk/linux/vendors/Lantronix/XPort_Pro/romfs_extra/etc/netstart
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.linux-2.6.x linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.linux-2.6.x
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.linux-2.6.x	2012-02-02 09:09:08.996260996 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.linux-2.6.x	2012-04-05 10:41:38.724549153 -0400
+@@ -137,6 +137,7 @@ CONFIG_LTRX_CPM_DEFAULT_DEVICE=y
+ # CONFIG_LTRX_CPM_DEFAULT_GPIO is not set
+ # CONFIG_LTRX_CPM_MANUALY is not set
+ # CONFIG_M5208EVB is not set
++CONFIG_LANTRONIX_DEVICELINX=y
+ # CONFIG_4KSTACKS is not set
+ CONFIG_HZ=100
+ 
+@@ -225,8 +226,7 @@ CONFIG_IP_PNP_DHCP=y
+ # CONFIG_INET_ESP is not set
+ # CONFIG_INET_IPCOMP is not set
+ # CONFIG_INET_XFRM_TUNNEL is not set
+-CONFIG_INET_TUNNEL=y
+-# CONFIG_IPSEC_NAT_TRAVERSAL is not set
++# CONFIG_INET_TUNNEL is not set
+ # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+ # CONFIG_INET_XFRM_MODE_TUNNEL is not set
+ # CONFIG_INET_XFRM_MODE_BEET is not set
+@@ -237,25 +237,7 @@ CONFIG_INET_TCP_DIAG=y
+ CONFIG_TCP_CONG_CUBIC=y
+ CONFIG_DEFAULT_TCP_CONG="cubic"
+ # CONFIG_TCP_MD5SIG is not set
+-CONFIG_IPV6=y
+-# CONFIG_IPV6_PRIVACY is not set
+-# CONFIG_IPV6_ROUTER_PREF is not set
+-# CONFIG_IPV6_OPTIMISTIC_DAD is not set
+-# CONFIG_INET6_AH is not set
+-# CONFIG_INET6_ESP is not set
+-# CONFIG_INET6_IPCOMP is not set
+-# CONFIG_IPV6_MIP6 is not set
+-# CONFIG_INET6_XFRM_TUNNEL is not set
+-# CONFIG_INET6_TUNNEL is not set
+-# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
+-# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
+-# CONFIG_INET6_XFRM_MODE_BEET is not set
+-# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
+-CONFIG_IPV6_SIT=y
+-CONFIG_IPV6_NDISC_NODETYPE=y
+-# CONFIG_IPV6_TUNNEL is not set
+-# CONFIG_IPV6_MULTIPLE_TABLES is not set
+-# CONFIG_IPV6_MROUTE is not set
++# CONFIG_IPV6 is not set
+ # CONFIG_NETWORK_SECMARK is not set
+ # CONFIG_NETFILTER is not set
+ # CONFIG_IP_DCCP is not set
+@@ -674,9 +656,35 @@ CONFIG_ROMFS_BACKED_BY_BLOCK=y
+ CONFIG_ROMFS_ON_BLOCK=y
+ # CONFIG_SYSV_FS is not set
+ # CONFIG_UFS_FS is not set
+-# CONFIG_AUFS_FS is not set
++CONFIG_AUFS_FS=y
++CONFIG_AUFS_BRANCH_MAX_127=y
++# CONFIG_AUFS_BRANCH_MAX_511 is not set
++# CONFIG_AUFS_BRANCH_MAX_1023 is not set
++# CONFIG_AUFS_BRANCH_MAX_32767 is not set
++# CONFIG_AUFS_HINOTIFY is not set
++# CONFIG_AUFS_RDU is not set
++# CONFIG_AUFS_SHWH is not set
++CONFIG_AUFS_BR_RAMFS=y
++# CONFIG_AUFS_DEBUG is not set
+ # CONFIG_NILFS2_FS is not set
+-# CONFIG_NETWORK_FILESYSTEMS is not set
++CONFIG_NETWORK_FILESYSTEMS=y
++CONFIG_NFS_FS=y
++CONFIG_NFS_V3=y
++# CONFIG_NFS_V3_ACL is not set
++# CONFIG_NFS_V4 is not set
++CONFIG_ROOT_NFS=y
++# CONFIG_NFSD is not set
++CONFIG_LOCKD=y
++CONFIG_LOCKD_V4=y
++CONFIG_NFS_COMMON=y
++CONFIG_SUNRPC=y
++# CONFIG_RPCSEC_GSS_KRB5 is not set
++# CONFIG_RPCSEC_GSS_SPKM3 is not set
++# CONFIG_SMB_FS is not set
++# CONFIG_CIFS is not set
++# CONFIG_NCP_FS is not set
++# CONFIG_CODA_FS is not set
++# CONFIG_AFS_FS is not set
+ 
+ #
+ # Partition Types
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.uClibc linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.uClibc
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.uClibc	2012-02-02 09:09:09.008275367 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.uClibc	2012-04-05 10:41:38.803857559 -0400
+@@ -92,7 +92,7 @@ UCLIBC_GRP_BUFFER_SIZE=256
+ #
+ # Networking Support
+ #
+-UCLIBC_HAS_IPV6=y
++# UCLIBC_HAS_IPV6 is not set
+ UCLIBC_HAS_RPC=y
+ UCLIBC_HAS_FULL_RPC=y
+ # UCLIBC_HAS_REENTRANT_RPC is not set
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.vendor-2.6.x linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.vendor-2.6.x
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/config.vendor-2.6.x	2012-02-02 09:09:09.008275367 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/config.vendor-2.6.x	2012-04-05 10:41:38.775793656 -0400
+@@ -32,7 +32,7 @@ CONFIG_DISTVERSION="4.0"
+ # CONFIG_LIB_LIBPAM is not set
+ # CONFIG_LIB_LIBPCAP is not set
+ # CONFIG_LIB_LIBPCRE is not set
+-# CONFIG_LIB_ZLIB is not set
++CONFIG_LIB_ZLIB=y
+ # CONFIG_LIB_LIBBZ2 is not set
+ # CONFIG_LIB_LIBATM is not set
+ # CONFIG_LIB_LIBPNG is not set
+@@ -76,23 +76,11 @@ CONFIG_DISTVERSION="4.0"
+ #
+ CONFIG_USER_LANTRONIX_APPS=y
+ CONFIG_USER_LANTRONIX_DBUG_CONFIG=y
+-# CONFIG_USER_LANTRONIX_CPM is not set
++CONFIG_USER_LANTRONIX_CPM=y
+ # CONFIG_USER_LANTRONIX_LED is not set
+-CONFIG_USER_LANTRONIX_S2E=y
+-CONFIG_USER_LANTRONIX_S2E_WEB=y
+-CONFIG_USER_LANTRONIX_S2E_WEB_AUTOSTART=y
+-# CONFIG_USER_LANTRONIX_S2E_WEB_AUTH_BOA is not set
+-# CONFIG_USER_LANTRONIX_S2E_WEB_AUTH_AXTLS is not set
+-CONFIG_USER_LANTRONIX_S2E_MANUALLY=y
+-# CONFIG_USER_LANTRONIX_S2E_PORT_NONE is not set
+-CONFIG_USER_LANTRONIX_S2E_CON1=y
+-# CONFIG_USER_LANTRONIX_S2E_CON2 is not set
+-# CONFIG_USER_LANTRONIX_S2E_CON_BOTH is not set
+-# CONFIG_USER_LANTRONIX_S2E_SSH is not set
+-# CONFIG_USER_LANTRONIX_S2E_SSL is not set
+-# CONFIG_USER_LANTRONIX_S2E_GPIO is not set
++# CONFIG_USER_LANTRONIX_S2E is not set
+ # CONFIG_USER_LANTRONIX_CHKSTK is not set
+-# CONFIG_USER_LANTRONIX_FW_UPGRADE is not set
++CONFIG_USER_LANTRONIX_FW_UPGRADE=y
+ # CONFIG_USER_LANTRONIX_VIP_ACCESS is not set
+ 
+ #
+@@ -260,9 +248,6 @@ CONFIG_USER_OTHER_SH=y
+ # CONFIG_USER_FNORD_PAM is not set
+ CONFIG_USER_BOA_SRC_BOA=y
+ # CONFIG_USER_BOA_SRC_BOA_UCLINUX is not set
+-# CONFIG_USER_BOA_WITH_SSL is not set
+-# CONFIG_USER_BOA_EMERG is not set
+-# CONFIG_USER_BOA_LOGGING is not set
+ # CONFIG_USER_BPALOGIN_BPALOGIN is not set
+ # CONFIG_USER_BR2684CTL_BR2684CTL is not set
+ # CONFIG_USER_BRCFG_BRCFG is not set
+@@ -280,7 +265,18 @@ CONFIG_USER_BOA_SRC_BOA=y
+ # CONFIG_USER_DISCARD_DISCARD is not set
+ # CONFIG_USER_DISCARD_INETD_ECHO is not set
+ # CONFIG_USER_DNSMASQ_DNSMASQ is not set
+-# CONFIG_USER_DROPBEAR_DROPBEAR is not set
++CONFIG_USER_DROPBEAR_DROPBEAR=y
++CONFIG_USER_DROPBEAR_SERVER=y
++# CONFIG_USER_DROPBEAR_SERVER_COMPACT is not set
++CONFIG_USER_DROPBEAR_SERVER_128BYTE=y
++# CONFIG_USER_DROPBEAR_SERVER_64BYTE is not set
++# CONFIG_USER_DROPBEAR_SERVER_32BYTE is not set
++# CONFIG_USER_DROPBEAR_SERVER_16BYTE is not set
++CONFIG_USER_DROPBEAR_SCP=y
++# CONFIG_USER_DROPBEAR_SCP_PROGRESS is not set
++# CONFIG_USER_DROPBEAR_CLIENT is not set
++CONFIG_USER_DROPBEAR_KEY=y
++CONFIG_USER_DROPBEAR_CONVERT=y
+ # CONFIG_USER_ETHATTACH_ETHATTACH is not set
+ # CONFIG_USER_ETHERWAKE is not set
+ # CONFIG_USER_ETHTOOL_ETHTOOL is not set
+@@ -301,7 +297,7 @@ CONFIG_USER_FTPD_DENY_ANONYMOUS_FTP=y
+ # CONFIG_USER_HTTPTUNNEL_CLIENT is not set
+ # CONFIG_USER_HTTPTUNNEL_SERVER is not set
+ # CONFIG_USER_IFATTACH_IFATTACH is not set
+-# CONFIG_USER_INETD_INETD is not set
++CONFIG_USER_INETD_INETD=y
+ # CONFIG_USER_IPCHAINS_IPCHAINS is not set
+ # CONFIG_USER_IPERF_IPERF is not set
+ # CONFIG_USER_IPFWADM_IPFWADM is not set
+@@ -354,7 +350,9 @@ CONFIG_USER_FTPD_DENY_ANONYMOUS_FTP=y
+ # CONFIG_USER_PING_PING is not set
+ # CONFIG_USER_PLUG_PLUG is not set
+ # CONFIG_USER_POP3PROXY_POP3PROXY is not set
+-# CONFIG_USER_PORTMAP_PORTMAP is not set
++CONFIG_USER_PORTMAP_PORTMAP=y
++# CONFIG_USER_PORTMAP_PMAP_SET is not set
++# CONFIG_USER_PORTMAP_PMAP_DUMP is not set
+ # CONFIG_USER_PPPD_PPPD_PPPD is not set
+ # CONFIG_USER_PPTPD_PPTPCTRL is not set
+ # CONFIG_USER_PPTPD_PPTPD is not set
+@@ -676,7 +674,7 @@ CONFIG_USER_BUSYBOX_FEATURE_SUID=y
+ # CONFIG_USER_BUSYBOX_FEATURE_PREFER_APPLETS is not set
+ CONFIG_USER_BUSYBOX_BUSYBOX_EXEC_PATH="/bin/busybox"
+ CONFIG_USER_BUSYBOX_FEATURE_SYSLOG=y
+-# CONFIG_USER_BUSYBOX_FEATURE_HAVE_RPC is not set
++CONFIG_USER_BUSYBOX_FEATURE_HAVE_RPC=y
+ 
+ #
+ # Build Options
+@@ -992,7 +990,7 @@ CONFIG_USER_BUSYBOX_DEFAULT_DEPMOD_FILE=
+ #
+ # CONFIG_USER_BUSYBOX_BLKID is not set
+ CONFIG_USER_BUSYBOX_DMESG=y
+-# CONFIG_USER_BUSYBOX_FEATURE_DMESG_PRETTY is not set
++CONFIG_USER_BUSYBOX_FEATURE_DMESG_PRETTY=y
+ # CONFIG_USER_BUSYBOX_FBSET is not set
+ # CONFIG_USER_BUSYBOX_FDFLUSH is not set
+ # CONFIG_USER_BUSYBOX_FDFORMAT is not set
+@@ -1010,14 +1008,15 @@ CONFIG_USER_BUSYBOX_DMESG=y
+ # CONFIG_USER_BUSYBOX_LOSETUP is not set
+ # CONFIG_USER_BUSYBOX_MDEV is not set
+ # CONFIG_USER_BUSYBOX_MKSWAP is not set
+-# CONFIG_USER_BUSYBOX_MORE is not set
++CONFIG_USER_BUSYBOX_MORE=y
++CONFIG_USER_BUSYBOX_FEATURE_USE_TERMIOS=y
+ # CONFIG_USER_BUSYBOX_VOLUMEID is not set
+ CONFIG_USER_BUSYBOX_MOUNT=y
+ # CONFIG_USER_BUSYBOX_FEATURE_MOUNT_FAKE is not set
+ # CONFIG_USER_BUSYBOX_FEATURE_MOUNT_VERBOSE is not set
+ # CONFIG_USER_BUSYBOX_FEATURE_MOUNT_HELPERS is not set
+ # CONFIG_USER_BUSYBOX_FEATURE_MOUNT_LABEL is not set
+-# CONFIG_USER_BUSYBOX_FEATURE_MOUNT_NFS is not set
++CONFIG_USER_BUSYBOX_FEATURE_MOUNT_NFS=y
+ # CONFIG_USER_BUSYBOX_FEATURE_MOUNT_CIFS is not set
+ CONFIG_USER_BUSYBOX_FEATURE_MOUNT_FLAGS=y
+ CONFIG_USER_BUSYBOX_FEATURE_MOUNT_FSTAB=y
+@@ -1076,8 +1075,7 @@ CONFIG_USER_BUSYBOX_WATCHDOG=y
+ #
+ # Networking Utilities
+ #
+-CONFIG_USER_BUSYBOX_FEATURE_IPV6=y
+-CONFIG_USER_BUSYBOX_FEATURE_PREFER_IPV4_ADDRESS=y
++# CONFIG_USER_BUSYBOX_FEATURE_IPV6 is not set
+ # CONFIG_USER_BUSYBOX_VERBOSE_RESOLUTION_ERRORS is not set
+ # CONFIG_USER_BUSYBOX_ARP is not set
+ # CONFIG_USER_BUSYBOX_ARPING is not set
+@@ -1113,7 +1111,6 @@ CONFIG_USER_BUSYBOX_NETSTAT=y
+ # CONFIG_USER_BUSYBOX_FEATURE_NETSTAT_PRG is not set
+ # CONFIG_USER_BUSYBOX_NSLOOKUP is not set
+ CONFIG_USER_BUSYBOX_PING=y
+-CONFIG_USER_BUSYBOX_PING6=y
+ CONFIG_USER_BUSYBOX_FEATURE_FANCY_PING=y
+ # CONFIG_USER_BUSYBOX_PSCAN is not set
+ CONFIG_USER_BUSYBOX_ROUTE=y
+@@ -1133,7 +1130,9 @@ CONFIG_USER_BUSYBOX_FEATURE_UDHCPC_ARPIN
+ CONFIG_USER_BUSYBOX_UDHCPC_DEFAULT_SCRIPT="/etc/default.script"
+ CONFIG_USER_BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
+ # CONFIG_USER_BUSYBOX_VCONFIG is not set
+-# CONFIG_USER_BUSYBOX_WGET is not set
++CONFIG_USER_BUSYBOX_WGET=y
++# CONFIG_USER_BUSYBOX_FEATURE_WGET_STATUSBAR is not set
++CONFIG_USER_BUSYBOX_FEATURE_WGET_AUTHENTICATION=y
+ # CONFIG_USER_BUSYBOX_ZCIP is not set
+ # CONFIG_USER_BUSYBOX_TCPSVD is not set
+ # CONFIG_USER_BUSYBOX_UDPSVD is not set
+@@ -1169,7 +1168,13 @@ CONFIG_USER_BUSYBOX_PS=y
+ # CONFIG_USER_BUSYBOX_FEATURE_PS_WIDE is not set
+ # CONFIG_USER_BUSYBOX_RENICE is not set
+ # CONFIG_USER_BUSYBOX_BB_SYSCTL is not set
+-# CONFIG_USER_BUSYBOX_TOP is not set
++CONFIG_USER_BUSYBOX_TOP=y
++CONFIG_USER_BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
++CONFIG_USER_BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
++# CONFIG_USER_BUSYBOX_FEATURE_TOP_SMP_CPU is not set
++# CONFIG_USER_BUSYBOX_FEATURE_TOP_DECIMALS is not set
++CONFIG_USER_BUSYBOX_FEATURE_TOP_SMP_PROCESS=y
++CONFIG_USER_BUSYBOX_FEATURE_TOPMEM=y
+ # CONFIG_USER_BUSYBOX_UPTIME is not set
+ # CONFIG_USER_BUSYBOX_WATCH is not set
+ 
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.linux-2.6.x linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.linux-2.6.x
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.linux-2.6.x	2012-02-02 09:09:08.977192673 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.linux-2.6.x	2012-04-05 10:41:38.724549153 -0400
+@@ -137,6 +137,7 @@ CONFIG_LTRX_CPM_DEFAULT_DEVICE=y
+ # CONFIG_LTRX_CPM_DEFAULT_GPIO is not set
+ # CONFIG_LTRX_CPM_MANUALY is not set
+ # CONFIG_M5208EVB is not set
++CONFIG_LANTRONIX_DEVICELINX=y
+ # CONFIG_4KSTACKS is not set
+ CONFIG_HZ=100
+ 
+@@ -225,8 +226,7 @@ CONFIG_IP_PNP_DHCP=y
+ # CONFIG_INET_ESP is not set
+ # CONFIG_INET_IPCOMP is not set
+ # CONFIG_INET_XFRM_TUNNEL is not set
+-CONFIG_INET_TUNNEL=y
+-# CONFIG_IPSEC_NAT_TRAVERSAL is not set
++# CONFIG_INET_TUNNEL is not set
+ # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+ # CONFIG_INET_XFRM_MODE_TUNNEL is not set
+ # CONFIG_INET_XFRM_MODE_BEET is not set
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.uClibc linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.uClibc
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.uClibc	2012-02-02 09:09:08.977192673 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.uClibc	2012-04-05 10:41:38.803857559 -0400
+@@ -1,6 +1,5 @@
+ #
+ # Automatically generated make config: don't edit
+-# Sat May  9 19:38:22 2009
+ #
+ # TARGET_alpha is not set
+ # TARGET_arm is not set
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.vendor-2.6.x linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.vendor-2.6.x
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.vendor-2.6.x	2012-02-02 09:09:08.980274633 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/profile/aufs/config.vendor-2.6.x	2012-04-05 10:41:38.775793656 -0400
+@@ -32,7 +32,7 @@ CONFIG_DISTVERSION="4.0"
+ # CONFIG_LIB_LIBPAM is not set
+ # CONFIG_LIB_LIBPCAP is not set
+ # CONFIG_LIB_LIBPCRE is not set
+-# CONFIG_LIB_ZLIB is not set
++CONFIG_LIB_ZLIB=y
+ # CONFIG_LIB_LIBBZ2 is not set
+ # CONFIG_LIB_LIBATM is not set
+ # CONFIG_LIB_LIBPNG is not set
+@@ -76,23 +76,11 @@ CONFIG_DISTVERSION="4.0"
+ #
+ CONFIG_USER_LANTRONIX_APPS=y
+ CONFIG_USER_LANTRONIX_DBUG_CONFIG=y
+-# CONFIG_USER_LANTRONIX_CPM is not set
++CONFIG_USER_LANTRONIX_CPM=y
+ # CONFIG_USER_LANTRONIX_LED is not set
+-CONFIG_USER_LANTRONIX_S2E=y
+-CONFIG_USER_LANTRONIX_S2E_WEB=y
+-CONFIG_USER_LANTRONIX_S2E_WEB_AUTOSTART=y
+-# CONFIG_USER_LANTRONIX_S2E_WEB_AUTH_BOA is not set
+-# CONFIG_USER_LANTRONIX_S2E_WEB_AUTH_AXTLS is not set
+-CONFIG_USER_LANTRONIX_S2E_MANUALLY=y
+-# CONFIG_USER_LANTRONIX_S2E_PORT_NONE is not set
+-CONFIG_USER_LANTRONIX_S2E_CON1=y
+-# CONFIG_USER_LANTRONIX_S2E_CON2 is not set
+-# CONFIG_USER_LANTRONIX_S2E_CON_BOTH is not set
+-# CONFIG_USER_LANTRONIX_S2E_SSH is not set
+-# CONFIG_USER_LANTRONIX_S2E_SSL is not set
+-# CONFIG_USER_LANTRONIX_S2E_GPIO is not set
++# CONFIG_USER_LANTRONIX_S2E is not set
+ # CONFIG_USER_LANTRONIX_CHKSTK is not set
+-# CONFIG_USER_LANTRONIX_FW_UPGRADE is not set
++CONFIG_USER_LANTRONIX_FW_UPGRADE=y
+ # CONFIG_USER_LANTRONIX_VIP_ACCESS is not set
+ 
+ #
+@@ -260,9 +248,6 @@ CONFIG_USER_OTHER_SH=y
+ # CONFIG_USER_FNORD_PAM is not set
+ CONFIG_USER_BOA_SRC_BOA=y
+ # CONFIG_USER_BOA_SRC_BOA_UCLINUX is not set
+-# CONFIG_USER_BOA_WITH_SSL is not set
+-# CONFIG_USER_BOA_EMERG is not set
+-# CONFIG_USER_BOA_LOGGING is not set
+ # CONFIG_USER_BPALOGIN_BPALOGIN is not set
+ # CONFIG_USER_BR2684CTL_BR2684CTL is not set
+ # CONFIG_USER_BRCFG_BRCFG is not set
+@@ -280,7 +265,18 @@ CONFIG_USER_BOA_SRC_BOA=y
+ # CONFIG_USER_DISCARD_DISCARD is not set
+ # CONFIG_USER_DISCARD_INETD_ECHO is not set
+ # CONFIG_USER_DNSMASQ_DNSMASQ is not set
+-# CONFIG_USER_DROPBEAR_DROPBEAR is not set
++CONFIG_USER_DROPBEAR_DROPBEAR=y
++CONFIG_USER_DROPBEAR_SERVER=y
++# CONFIG_USER_DROPBEAR_SERVER_COMPACT is not set
++CONFIG_USER_DROPBEAR_SERVER_128BYTE=y
++# CONFIG_USER_DROPBEAR_SERVER_64BYTE is not set
++# CONFIG_USER_DROPBEAR_SERVER_32BYTE is not set
++# CONFIG_USER_DROPBEAR_SERVER_16BYTE is not set
++CONFIG_USER_DROPBEAR_SCP=y
++# CONFIG_USER_DROPBEAR_SCP_PROGRESS is not set
++# CONFIG_USER_DROPBEAR_CLIENT is not set
++CONFIG_USER_DROPBEAR_KEY=y
++CONFIG_USER_DROPBEAR_CONVERT=y
+ # CONFIG_USER_ETHATTACH_ETHATTACH is not set
+ # CONFIG_USER_ETHERWAKE is not set
+ # CONFIG_USER_ETHTOOL_ETHTOOL is not set
+@@ -301,7 +297,7 @@ CONFIG_USER_FTPD_DENY_ANONYMOUS_FTP=y
+ # CONFIG_USER_HTTPTUNNEL_CLIENT is not set
+ # CONFIG_USER_HTTPTUNNEL_SERVER is not set
+ # CONFIG_USER_IFATTACH_IFATTACH is not set
+-# CONFIG_USER_INETD_INETD is not set
++CONFIG_USER_INETD_INETD=y
+ # CONFIG_USER_IPCHAINS_IPCHAINS is not set
+ # CONFIG_USER_IPERF_IPERF is not set
+ # CONFIG_USER_IPFWADM_IPFWADM is not set
+@@ -354,7 +350,9 @@ CONFIG_USER_FTPD_DENY_ANONYMOUS_FTP=y
+ # CONFIG_USER_PING_PING is not set
+ # CONFIG_USER_PLUG_PLUG is not set
+ # CONFIG_USER_POP3PROXY_POP3PROXY is not set
+-# CONFIG_USER_PORTMAP_PORTMAP is not set
++CONFIG_USER_PORTMAP_PORTMAP=y
++# CONFIG_USER_PORTMAP_PMAP_SET is not set
++# CONFIG_USER_PORTMAP_PMAP_DUMP is not set
+ # CONFIG_USER_PPPD_PPPD_PPPD is not set
+ # CONFIG_USER_PPTPD_PPTPCTRL is not set
+ # CONFIG_USER_PPTPD_PPTPD is not set
+@@ -455,7 +453,7 @@ CONFIG_USER_FTPD_DENY_ANONYMOUS_FTP=y
+ # CONFIG_USER_GDB_TARGET is not set
+ # CONFIG_USER_GDB_HOST is not set
+ # CONFIG_USER_GDBSERVER_GDBREPLAY is not set
+-# CONFIG_USER_GDBSERVER_GDBSERVER is not set
++CONFIG_USER_GDBSERVER_GDBSERVER=y
+ # CONFIG_USER_DEBUG_DEBUG is not set
+ # CONFIG_USER_GREP_GREP is not set
+ # CONFIG_USER_HASERL_HASERL is not set
+@@ -796,8 +794,6 @@ CONFIG_USER_BUSYBOX_FEATURE_LS_RECURSIVE
+ CONFIG_USER_BUSYBOX_FEATURE_LS_SORTFILES=y
+ CONFIG_USER_BUSYBOX_FEATURE_LS_TIMESTAMPS=y
+ CONFIG_USER_BUSYBOX_FEATURE_LS_USERNAME=y
+-CONFIG_USER_BUSYBOX_FEATURE_LS_COLOR=y
+-# CONFIG_USER_BUSYBOX_FEATURE_LS_COLOR_IS_DEFAULT is not set
+ # CONFIG_USER_BUSYBOX_MD5SUM is not set
+ CONFIG_USER_BUSYBOX_MKDIR=y
+ CONFIG_USER_BUSYBOX_MKFIFO=y
+@@ -1012,7 +1008,7 @@ CONFIG_USER_BUSYBOX_FEATURE_DMESG_PRETTY
+ # CONFIG_USER_BUSYBOX_LOSETUP is not set
+ # CONFIG_USER_BUSYBOX_MDEV is not set
+ # CONFIG_USER_BUSYBOX_MKSWAP is not set
+-# CONFIG_USER_BUSYBOX_MORE is not set
++CONFIG_USER_BUSYBOX_MORE=y
+ CONFIG_USER_BUSYBOX_FEATURE_USE_TERMIOS=y
+ # CONFIG_USER_BUSYBOX_VOLUMEID is not set
+ CONFIG_USER_BUSYBOX_MOUNT=y
+@@ -1115,7 +1111,6 @@ CONFIG_USER_BUSYBOX_NETSTAT=y
+ # CONFIG_USER_BUSYBOX_FEATURE_NETSTAT_PRG is not set
+ # CONFIG_USER_BUSYBOX_NSLOOKUP is not set
+ CONFIG_USER_BUSYBOX_PING=y
+-CONFIG_USER_BUSYBOX_PING6=y
+ CONFIG_USER_BUSYBOX_FEATURE_FANCY_PING=y
+ # CONFIG_USER_BUSYBOX_PSCAN is not set
+ CONFIG_USER_BUSYBOX_ROUTE=y
+@@ -1135,7 +1130,9 @@ CONFIG_USER_BUSYBOX_FEATURE_UDHCPC_ARPIN
+ CONFIG_USER_BUSYBOX_UDHCPC_DEFAULT_SCRIPT="/etc/default.script"
+ CONFIG_USER_BUSYBOX_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
+ # CONFIG_USER_BUSYBOX_VCONFIG is not set
+-# CONFIG_USER_BUSYBOX_WGET is not set
++CONFIG_USER_BUSYBOX_WGET=y
++# CONFIG_USER_BUSYBOX_FEATURE_WGET_STATUSBAR is not set
++CONFIG_USER_BUSYBOX_FEATURE_WGET_AUTHENTICATION=y
+ # CONFIG_USER_BUSYBOX_ZCIP is not set
+ # CONFIG_USER_BUSYBOX_TCPSVD is not set
+ # CONFIG_USER_BUSYBOX_UDPSVD is not set
+diff -rup -x '*.[ao]' linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/romfs_extra/etc/netstart linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/romfs_extra/etc/netstart
+--- linuxsdk.orig/linux/vendors/Lantronix/XPort_Pro_16MB/romfs_extra/etc/netstart	2012-02-02 09:09:08.808514375 -0500
++++ linuxsdk/linux/vendors/Lantronix/XPort_Pro_16MB/romfs_extra/etc/netstart	2012-04-05 11:06:01.156710767 -0400
+@@ -30,7 +30,19 @@ fi
+ # Initialize the IP to an empty string
+ IPADDR=""
+ 
+-# Do we have a network configuration file?
++# Check if Button is pressed at startup
++# if button is pressed than default IP to 192.168.0.123
++
++button="$(/bin/cpm -N BUTTON)"
++
++if [ $button -eq 1 ] ; then 
++    echo "Using fixed IP 192.168.0.123"
++    /sbin/ifconfig eth0 192.168.0.123 up
++else    
++
++    # Standard Network Startup
++    # Do we have a network configuration file?
++
+ if [ -f /etc/netcfg ] ; then
+     # Source the contents of the network configuration file
+     . /etc/netcfg
+@@ -67,6 +79,7 @@ if [ -f /etc/netcfg ] ; then
+     fi
+ fi
+ 
++
+ # Start the DHCP client if we don't have a configured IP
+ if [ -z "$IPADDR" ] ; then
+     if [ -x /sbin/udhcpc ]; then
+@@ -75,6 +88,7 @@ if [ -z "$IPADDR" ] ; then
+         dhcpcd -p -a eth0 &
+     fi
+ fi
++fi
+ 
+ # start inetd if available and not already running
+ if [ -x /sbin/inetd ] ; then