From 38121cceb67b2408c5aab1d3e9998accef0d83c8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 13 Mar 2011 19:04:32 +0000 Subject: apps/-related update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3377 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/olimex-lpc1766stk/README.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'nuttx/configs/olimex-lpc1766stk') diff --git a/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index 85d1f1018..685401cbe 100755 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/configs/olimex-lpc1766stk/README.txt @@ -806,6 +806,32 @@ Where is one of the following: Ethernet data link layer. The Ethernet driver is disabled; SLIP IP packets are exchanged on UART1; UART0 is still the serial console. + 1. Configure and build the slip-httpd configuration. + 2. Connect to a Linux box (assuming /dev/ttyS0) + 3. Reset on the target side / attach SLIP on the Linux side: + + $ slattach -p slip -s 57600 /dev/ttyS0 & + + This should create an interface with a name like sl0. Add -d to + get debug output. In the naming, slN, the N corresponds to the + tty device number as in /dev/ttySN. + + 4. After turning over the line to the SLIP driver, you must configure + the network interface. Again, you do this using the standard + ifconfig and route commands. Assume that we have connected to a + host PC with address 192.168.0.101 from your target with address + 10.0.0.2. On the Linux PC you would execute the following as root: + + $ ifconfig sl0 192.168.0.101 pointopoint 10.0.0.2 up -OR?- + $ ifconfig sl0 10.0.0.2 pointopoint 192.168.0.101 up + $ route add 10.0.0.2 dev sl0 + + Assuming the SLIP is attached to device sl0. + + [ NOTE: As of this writing, I actually have not yet successfully ] + [ configured SLIP on Linux. The above are really just my working notes. ] + [ I suspect that I may have the IP address backward for one thing. ] + thttpd: This builds the THTTPD web server example using the THTTPD and the examples/thttpd application. -- cgit v1.2.3