change log for network-demos (2011-03-03)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu Mar 3 20:10:04 UTC 2011


 *joel*:
2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>

	* networkconfig-qemu.h: VirtualBox uses 10.0.x.x for its eth0 so we
	need to switch to 10.1.x.x for things to work smoothly.
	* networkconfig-loopback.h: New file.

M   1.37  ChangeLog
A    1.1  networkconfig-loopback.h
M    1.9  networkconfig-qemu.h

diff -u network-demos/ChangeLog:1.36 network-demos/ChangeLog:1.37
--- network-demos/ChangeLog:1.36	Thu Mar  3 10:55:27 2011
+++ network-demos/ChangeLog	Thu Mar  3 14:04:48 2011
@@ -1,5 +1,11 @@
 2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>
 
+	* networkconfig-qemu.h: VirtualBox uses 10.0.x.x for its eth0 so we
+	need to switch to 10.1.x.x for things to work smoothly.
+	* networkconfig-loopback.h: New file.
+
+2011-03-03	Joel Sherrill <joel.sherrill at oarcorp.com>
+
 	* networkconfig-qemu.h: Add missing endif.
 
 2010-12-08     Sebastian Huber <Sebastian.Huber at embedded-brains.de>

diff -u /dev/null network-demos/networkconfig-loopback.h:1.1
--- /dev/null	Thu Mar  3 14:10:04 2011
+++ network-demos/networkconfig-loopback.h	Thu Mar  3 14:04:48 2011
@@ -0,0 +1,66 @@
+/*
+ * Network configuration -- LOOPBACK ONLY!!!
+ *
+ * See one of the other networkconfig.h files for an
+ * example of a system that includes a real NIC and
+ * the loopback interface.
+ * 
+ ************************************************************
+ * EDIT THIS FILE TO REFLECT YOUR NETWORK CONFIGURATION     *
+ * BEFORE RUNNING ANY RTEMS PROGRAMS WHICH USE THE NETWORK! * 
+ ************************************************************
+ *
+ *  $Id$
+ */
+
+#ifndef _RTEMS_NETWORKCONFIG_H_
+#define _RTEMS_NETWORKCONFIG_H_
+
+
+/* #define RTEMS_USE_BOOTP */
+
+#include <bsp.h>
+
+/*
+ * Network configuration
+ */
+struct rtems_bsdnet_config rtems_bsdnet_config = {
+  NULL,                /* Loop back interface only */
+  NULL,                /* do not use bootp */
+  0,                   /* Default network task priority */
+  0,                   /* Default mbuf capacity */
+  0,                   /* Default mbuf cluster capacity */
+  "rtems",             /* Host name */
+  "nodomain.com",      /* Domain name */
+  "127.0.0.1",         /* Gateway */
+  "127.0.0.1",         /* Log host */
+  {"127.0.0.1" },      /* Name server(s) */
+  {"127.0.0.1" },      /* NTP server(s) */
+  0,                   /* sb_efficiency */
+  0,                   /* udp_tx_buf_size */
+  0,                   /* udp_rx_buf_size */
+  0,                   /* tcp_tx_buf_size */
+  0                    /* tcp_rx_buf_size */
+
+};
+
+/*
+ * For TFTP test application
+ */
+#if (defined (RTEMS_USE_BOOTP))
+#define RTEMS_TFTP_TEST_HOST_NAME "BOOTP_HOST"
+#define RTEMS_TFTP_TEST_FILE_NAME "BOOTP_FILE"
+#else
+#define RTEMS_TFTP_TEST_HOST_NAME "XXX.YYY.ZZZ.XYZ"
+#define RTEMS_TFTP_TEST_FILE_NAME "tftptest"
+#endif
+
+/*
+ * For NFS test application
+ * 
+ * NFS server/path to mount and a directory to ls once mounted
+ */
+#define RTEMS_NFS_SERVER      "192.168.1.210"
+#define RTEMS_NFS_SERVER_PATH "/home"
+#define RTEMS_NFS_LS_PATH     "/mnt/nfstest"
+#endif /* _RTEMS_NETWORKCONFIG_H_ */

diff -u network-demos/networkconfig-qemu.h:1.8 network-demos/networkconfig-qemu.h:1.9
--- network-demos/networkconfig-qemu.h:1.8	Thu Mar  3 10:55:27 2011
+++ network-demos/networkconfig-qemu.h	Thu Mar  3 14:04:48 2011
@@ -112,7 +112,7 @@
 #endif
 
 #if defined(ON_QEMU)
-#define FIXED_IP_ADDR "10.0.2.5"
+#define FIXED_IP_ADDR "10.1.2.5"
 #endif
 
 #if defined(ON_RTEMS_LAB_WINSYSTEMS)



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110303/bd74b17d/attachment-0001.html>


More information about the vc mailing list