From 6a3a2f466c6f643756516b8128f02de66e23cf48 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 24 Nov 2014 07:25:40 -0600 Subject: [PATCH] Update comments and README --- ChangeLog | 4 ++-- configs/sama5d3-xplained/README.txt | 15 +++++++++++++-- net/netdev/netdev_findbyaddr.c | 3 +-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5866582e40..4cfd3acebd 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9052,7 +9052,7 @@ netdev_txnotify.c which, in turn, for changes to arp/arp_send.c, icmp/icmp_ping.c, socket/net_sendfile.c, recvfrom.c, sendto.c, tcp/tcp_send_buffered.c, and tcp_send_unbuffered.c (2014-11-23). - * arch/arm/src/kl/chip/kl_i2c.h: "I2C header file for the Freescale KL + * arch/arm/src/kl/chip/kl_i2c.h: I2C header file for the Freescale KL family. From Alan Carvalho de Assis (2014-11-23). - * include/nuttx/fs/fs.h: Fix typo in confiditional compilation. From + * include/nuttx/fs/fs.h: Fix typo in conditional compilation. From Alan Carvalho de Assis (2014-11-23). diff --git a/configs/sama5d3-xplained/README.txt b/configs/sama5d3-xplained/README.txt index d3baba574a..838061f7ef 100644 --- a/configs/sama5d3-xplained/README.txt +++ b/configs/sama5d3-xplained/README.txt @@ -2907,7 +2907,17 @@ Configurations the warning in the section "Information Common to All Configurations" for further information. - 3. You will almost certainly need to adapt this configuration to + 3. This configuration executes out of SDRAM flash and is loaded into + SDRAM from NAND, Serial DataFlash, SD card or from a TFTPC sever via + U-Boot or BareBox. Data also is positioned in SDRAM. + + I did most testing with nuttx.bin on an SD card. These are the + commands that I used to boot NuttX from the SD card: + + U-Boot> fatload mmc 0 0x20008000 nuttx.bin + U-Boot> go 0x20008040 + + 4. You will almost certainly need to adapt this configuration to work in your network environment. I did all testing with a single 10.0.0.xx network and a 4+1 port switch: @@ -2915,7 +2925,8 @@ Configurations - Target GMAC IP: 10.0.0.2 - Target EMAC IP: 10.0.0.3 - Host, EMAC, and GMAC were all connected using a switch. + Host PC, EMAC, and GMAC were all connected using an Ethernet + switch to the same 255.255.255.0 network. STATUS: diff --git a/net/netdev/netdev_findbyaddr.c b/net/netdev/netdev_findbyaddr.c index 0f0abe4b4b..f232f178ea 100644 --- a/net/netdev/netdev_findbyaddr.c +++ b/net/netdev/netdev_findbyaddr.c @@ -184,8 +184,7 @@ FAR struct net_driver_s *netdev_findbyaddr(const net_ipaddr_t ripaddr) } #else /* If there is only a single, registered network interface, then the - * decision is pretty easy. Use that device and its default router - * address. + * decision is pretty easy. */ return g_netdevices;