- 23 7月, 2009 2 次提交
-
-
由 Robin Getz 提交于
On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html > > DNS can be enabled by setting CFG_CMD_DNS. After performing a query, > the serverip environment var is updated. > > Probably there are some cosmetic issues with the patch. Unfortunatly I > do not have the time to correct these. So if anybody else likes DNS > support in U-Boot and has the time, feel free to patch it in the main tree. Here it is again - slightly modified & smaller: - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0) - README.dns is added - syntax is changed (now takes a third option, the env var to store the result in) - add a random port() function in net.c - sort Makefile in ./net/Makefile - dns just returns unless a env var is given - run through checkpatch, and clean up style issues - remove packet from stack - cleaned up some comments - failure returns much faster (if server responds, don't wait for timeout) - use built in functions (memcpy) rather than byte copy. Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: NPieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Mike Frysinger 提交于
The net code is mostly consistent in using 'Packet' rather than 'Pkt', so rename the minor detractor to follow suite. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 16 5月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
Fix some issues introduced from commit: 2f70c49e suggested by Mike Frysinger. - added some comment for the env_id variable in common_cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now static void Signed-off-by: NHeiko Schocher <hs@denx.de> Acked-by: NBen Warren <biggerbadderben@gmail.com>
-
- 20 4月, 2009 1 次提交
-
-
由 Michael Zaidman 提交于
The patch fixes the bug of partial initialization of global network parameters. Upon u-boot's start up the first ping command causes a failure of the consequent TFTP command. It happens in the recently added mechanism of the NetLoop initialization where initialization of global network parameters is separated in the NetInitLoop routine which is called per env_id change. Thus, ping request will initialize the network parameters necessary for ping operation only, afterwards the env_changed_id will be set to the env_id that will prevent all following initialization requests from other protocols. The problem is that the initialized by ping subset of network parameters is not sufficient for other protocols and particularly for TFTP which requires the NetServerIp also. Signed-off-by: NMichael Zaidman <michael.zaidman@gmail.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 21 3月, 2009 2 次提交
-
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
由 Mike Frysinger 提交于
Now that our printf functions support the %pI4 modifier like the kernel, let's drop the inflexible print_IPaddr() function and covert over to the %pI4 modifier. Signed-off-by: NMike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- 23 2月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
NetLoop polls every cycle with getenv some environment variables. This is horribly slow, especially when the environment is big. This patch reads only the environment variables in NetLoop, when they were changed. Also moved the init part of the NetLoop function in a seperate function. Signed-off-by: NHeiko Schocher <hs@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 29 1月, 2009 1 次提交
-
-
由 Olav Morken 提交于
This patch removes volatile from: volatile IP_t *ip = (IP_t *)xip; Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary when using volatile, which causes an exception since xip isn't aligned on a word boundary. Signed-off-by: NGunnar Rangoy <gunnar@rangoy.com> Signed-off-by: NPaul Driveklepp <pauldriveklepp@gmail.com> Signed-off-by: NOlav Morken <olavmrk@gmail.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 07 12月, 2008 1 次提交
-
-
由 Peter Tyser 提交于
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 05 12月, 2008 2 次提交
-
-
由 Peter Tyser 提交于
Ignore IP packets which have the "more fragments" flag bit set. This flag indicates the IP packet is fragmented and must be ignored by U-Boot. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Peter Tyser 提交于
These defines were pulled from the "Add simple IP/UDP fragmentation support" patch from Frank Haverkamp <haver@vnet.ibm.com>. Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 19 10月, 2008 2 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Bartlomiej Sieka 提交于
Enforce millisecond semantics of the first argument to NetSetTimeout() -- the change is transparent for well-behaving boards (CFG_HZ == 1000 and get_timer() countiing in milliseconds). Rationale for this patch is to enable millisecond granularity for network-related timeouts, which is needed for the upcoming automatic software update feature. Summary of changes: - do not scale the first argument to NetSetTimeout() by CFG_HZ - change timeout values used in the networking code to milliseconds Signed-off-by: NRafal Czubak <rcz@semihalf.com> Signed-off-by: NBartlomiej Sieka <tur@semihalf.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 14 7月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 13 7月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 11 7月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 05 6月, 2008 1 次提交
-
-
由 Remy Bohmer 提交于
U-boot can complain a lot about 'checksum bad' when it is attached to the network. It is annoying for ordinary users who start to doubt the network connection in general when they see messages like this. This is caused by the routine NetCksumOk() which cannot handle IP-headers longer than 20 bytes. Those packages can be ignored anyway by U-boot, so we trash them now before checking the checksum. Signed-off-by: NRemy Bohmer <linux@bohmer.net> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 21 5月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 29 4月, 2008 1 次提交
-
-
由 Guennadi Liakhovetski 提交于
Currently the timeout waiting for an ARP reply is hard set to 5 seconds. On i.MX31ADS due to a hardware "strangeness" up to four first IP packets to the boards get lost, which typically are ARP replies. By configuring the timeout to a lower value we significantly improve the first network transfer time on this board. The timeout is specified in milliseconds, later internally it is converted to deciseconds, because it has to be converted to hardware ticks, and CFG_HZ ranges from 900 to 27000000 on different boards. Signed-off-by: NGuennadi Liakhovetski <lg@denx.de> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 04 1月, 2008 2 次提交
-
-
由 Matthias Fuchs 提交于
When CONFIG_NET_DO_NOT_TRY_ANOTHER is defined U-Boot's networking stack does not automatically switch to another interface. This patch does not touch the default behavior. Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Rafal Jaworowski 提交于
The purpose of this routine is receiving a single network frame, outside of U-Boot's NetLoop(). Exporting it to standalone programs that run on top of U-Boot will let them utilise networking facilities. For sending a raw frame the already existing eth_send() can be used. The direct consumer of this routine is the newly introduced API layer for external applications (enabled with CONFIG_API). Signed-off-by: NRafal Jaworowski <raj@semihalf.com> Signed-off-by: NPiotr Kruszynski <ppk@semihalf.com> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 18 11月, 2007 1 次提交
-
-
- 12 9月, 2007 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 14 8月, 2007 2 次提交
-
-
由 Wolfgang Denk 提交于
-
由 David Updegraff 提交于
Implemented IETF RFC2090, Multicast TFTP. Initial implementation on Realtek RTL8139 and Freescale TSEC. Signed-off-by: NDavid Updegraff <dave@cray.com> Signed-off-by: NBen Warren <bwarren@qstreams.com>
-
- 11 7月, 2007 1 次提交
-
-
由 Jon Loeliger 提交于
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
- 10 7月, 2007 2 次提交
-
-
由 Jon Loeliger 提交于
All of the choices for CONFIG_BOOTP_ are now documented in the README file. You must now individually select exactly the set that you want using a series of #define CONFIG_BOOTP_<x> statements in the board port config files now. Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
由 Jon Loeliger 提交于
Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
- 04 7月, 2007 1 次提交
-
-
由 Jon Loeliger 提交于
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: NJon Loeliger <jdl@freescale.com>
-
- 08 3月, 2007 1 次提交
-
-
由 Ed Swarthout 提交于
Add ICMP_ECHO_REQUEST packet support by responding with a ICMP_ECHO_REPLY. This permits the ping command to test the phy interface when the phy is put in loopback mode (typically by setting register 0 bit 14). It also allows the port to respond to an external ping when u-boot is processing some other net command (such as tftp). This is useful when tftp appears to hang. Signed-off-by: NEd Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: NBen Warren <bwarren@qstreams.com>
-
- 01 4月, 2006 1 次提交
-
-
由 Wolfgang Denk 提交于
-
- 12 3月, 2006 1 次提交
-
-
由 Wolfgang Denk 提交于
Patch by Robin Gilks, 23 Dec 2004
-
- 11 11月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
-
- 29 10月, 2005 1 次提交
-
-
由 Marian Balakowicz 提交于
-
- 13 10月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
-
- 03 9月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
-
- 31 8月, 2005 1 次提交
-
-
由 Stefan Roese 提交于
Removed CFG_CMD_DISPLAY from default commands. Fixed compiler warning in net.c. Patch by Stefan Roese, 31 Aug 2005
-
- 26 8月, 2005 1 次提交
-
-
由 Wolfgang Denk 提交于
-
- 13 8月, 2005 2 次提交
-
-
由 Wolfgang Denk 提交于
-
由 Stefan Roese 提交于
Patch by Reinhard Arlt, 12 Aug 2005
-