- 22 7月, 2014 1 次提交
-
-
由 Pavel Machek 提交于
Cleanup bootp code by using mdelay. Signed-off-by: NPavel Machek <pavel@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
- 03 4月, 2014 1 次提交
-
-
由 Przemyslaw Marczak 提交于
Changes in lib/uuid.c to: - uuid_str_to_bin() - uuid_bin_to_str() New parameter is added to specify input/output string format in listed functions This change allows easy recognize which UUID type is or should be stored in given string array. Binary data of UUID and GUID is always stored in big endian, only string representations are different as follows. String byte: 0 36 String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx string UUID: be be be be be string GUID: le le le be be This patch also updates functions calls and declarations in a whole code. Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: trini@ti.com
-
- 05 11月, 2012 1 次提交
-
-
由 Kim Phillips 提交于
bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static? bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static? bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static? arp.c:30:17: warning: symbol 'NetArpWaitReplyIP' was not declared. Should it be static? arp.c:37:16: warning: symbol 'NetArpTxPacket' was not declared. Should it be static? arp.c:38:17: warning: symbol 'NetArpPacketBuf' was not declared. Should it be static? atheros.c:33:19: warning: symbol 'AR8021_driver' was not declared. Should it be static? net.c:183:7: warning: symbol 'PktBuf' was not declared. Should it be static? net.c:159:21: warning: symbol 'net_state' was not declared. Should it be static? ping.c:73:6: warning: symbol 'ping_start' was not declared. Should it be static? ping.c:82:13: warning: symbol 'ping_receive' was not declared. Should it be static? tftp.c:53:7: warning: symbol 'TftpRRQTimeoutMSecs' was not declared. Should it be static? tftp.c:54:5: warning: symbol 'TftpRRQTimeoutCountMax' was not declared. Should it be static? eth.c:125:19: warning: symbol 'eth_current' was not declared. Should it be static? Note: in the ping.c fix, commit a36b12f9 "net: Move PING out of net.c" mistakenly carried the ifdef CMD_PING clause from when it was necessary to avoid warnings when it was embedded in net.c. Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 02 10月, 2012 2 次提交
-
-
由 Ilya Yanok 提交于
This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too. This patch tries to use existing network code as much as possible. Unfortunately, it depends on environment which in turn depends on other code so SPL size is increased significantly. No effort was done to decouple network code and environment so far. Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Ilya Yanok 提交于
Vendor Class Identifier option is common to BOOTP and DHCP and can be useful without PXE. So send VCI in both BOOTP and DHCP requests if CONFIG_BOOTP_VCI_STRING is defined. Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com> Signed-off-by: NTom Rini <trini@ti.com>
-
- 28 9月, 2012 1 次提交
-
-
由 Brian Rzycki 提交于
Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, Broadcast Address as specified in RFC 2132. Without this patch u-boot displays the warning: *** Unhandled DHCP Option in OFFER/ACK: 28 The patch suppresses the warning and ignores DHCP Option 28. There is no environment variable to set the broadcast address into and if for some reason u-boot needs the broadcast it can be calculated from ipaddr and netmask. Signed-off-by: NBrian Rzycki <bmr@freescale.com>
-
- 20 7月, 2012 1 次提交
-
-
由 benoit.thebaudeau@advans 提交于
Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
-
- 09 7月, 2012 1 次提交
-
-
由 Kim Phillips 提交于
commit "net: use common rand()/srand() functions" introduced the following build warning on the current u-boot-arm tree: $ ./MAKEALL MPC8313ERDB_66 Configuring for MPC8313ERDB_66 - Board: MPC8313ERDB, Options: SYS_66MHZ text data bss dec hex filename 271988 13976 41768 327732 50034 ./u-boot In file included from bootp.c:15:0: net_rand.h: In function 'srand_mac': net_rand.h:40:2: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] adding this dependency fixes it. Cc: Michael Walle <michael@walle.cc> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: NKim Phillips <kim.phillips@freescale.com> Acked-by: NMichael Walle <michael@walle.cc>
-
- 24 5月, 2012 10 次提交
-
-
由 Joe Hershberger 提交于
This is useful if you want to look for a DHCP server, but try some other settings if not available. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
If CONFIG_BOOTP_SERVERIP is not defined, unused variable warning is reported. This was fixed upstream using a compiler feature instead of a simple reorder of the statements. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Joe Hershberger 提交于
Call a built-in dummy if none is registered... don't require protocols to register a handler (eliminating dummies) NetConsole now uses the ARP handler when waiting on arp (instead of needing a #define hack in arp.c) Clear handlers at the end of net loop Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Eliminate pointer subtraction that recovers values computed earlier Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
ICMP (ping) was reimplementing IP header code... it now shares code. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Joe Hershberger 提交于
Clearer constant name. Also remove related BOOTP_SIZE which was unused and doesn't take into account VLAN packets. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Separate the Ethernet header from the 802 header. Base the size constants on the structs. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Rename IP header related things to IP_UDP. The existing definition of IP_t includes UDP header, so name it to accurately describe the structure. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Make the MAC-seeded random number generator available to /net in general. MAC-seeded rand will be needed by link-local as well, so give it an interface. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 16 5月, 2012 2 次提交
-
-
由 Joe Hershberger 提交于
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Joe Hershberger 提交于
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 19 3月, 2012 1 次提交
-
-
由 Simon Glass 提交于
This inserts bootstage calls into tftp, usb start and bootm. We could go further, but this is a reasonable start to illustrate the concept. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 23 11月, 2011 1 次提交
-
-
由 Anatolij Gustschin 提交于
Fix: bootp.c: In function 'BootpCopyNetParams': bootp.c:108:11: warning: unused variable 'tmp_ip' [-Wunused-variable] Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
- 28 10月, 2011 1 次提交
-
-
由 Simon Glass 提交于
The rarp code includes another instance of the auto_load logic, so call what is now net_auto_load() instead. This also fixes an incorrect call to TftpStart() which was never seen since apparently no boards enable rarp. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 27 10月, 2011 1 次提交
-
-
由 Simon Glass 提交于
TftpStart should support starting either a get or a put. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 18 10月, 2011 1 次提交
-
-
由 Jason Hobbs 提交于
These options are required to be present in RFC 4578 compliant DHCP requests. They give more information to DHCP servers to allow serving different DHCP responses to different systems based on client architecture, client capabilities, UUID, or vendor. Signed-off-by: NJason Hobbs <jason.hobbs@calxeda.com>
-
- 20 9月, 2011 1 次提交
-
-
由 Peter Korsgaard 提交于
Commit 09349866 (Put common autoload code into auto_load() function) broke handling of autoload environment variable not being set. The bootp/dhcp code will just keep on requesting IP address forever and never start TFTP download. Fix it by moving TftpStart() outside the conditional like it was before. Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk> Tested-by: NFabio Estevam <fabio.estevam@freescale.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 09 8月, 2011 1 次提交
-
-
由 Simon Glass 提交于
This is a small clean-up patch. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NEric Bénard <eric@eukrea.com>
-
- 28 7月, 2011 1 次提交
-
-
由 Luuk Paulussen 提交于
Signed-off-by: NLuuk Paulussen <luuk.paulussen@alliedtelesis.co.nz> Acked-by: NChris Packham <chris.packham@alliedtelesis.co.nz> Cc: Ben Warren <biggerbadderben@gmail.com>
-
- 13 5月, 2011 1 次提交
-
-
由 Luca Ceresoli 提交于
This is needed for the upcoming TFTP server implementation. This also simplifies PingHandler() and fixes rxhand_f documentation. Signed-off-by: NLuca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NDetlev Zundel <dzu@denx.de>
-
- 14 4月, 2011 1 次提交
-
-
由 Simon Glass 提交于
This seems to pad to one byte longer than required Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 15 11月, 2010 1 次提交
-
-
由 Jason Liu 提交于
Can't get IP address with dhcp due to the dhcp server not allow the empty param list request under some network env This patch is based on Gray Remlin's initial patch. Signed-off-by: NJason Liu <r64343@freescale.com> Signed-off-by: NGray Remlin <g_remlin@rocketmail.com>
-
- 14 12月, 2009 1 次提交
-
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 03 10月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
Fix warning: bootp.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Ben Warren <biggerbadderben@gmail.com>
-
- 11 9月, 2009 1 次提交
-
-
由 Wolfgang Denk 提交于
Fix warning: bootp.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Ben Warren <biggerbadderben@gmail.com>
-
- 08 8月, 2009 1 次提交
-
-
由 Robin Getz 提交于
Minor ./net cleanups - no functional changes - change #ifdef DEBUG printf(); #endif to just debug() - changed __FUNCTION__ to __func__ - got rid of extra whitespace between function and opening brace - removed unnecessary braces on if statements gcc dead code elimination should make this functionally/size equivalent when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3). Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
- 23 7月, 2009 1 次提交
-
-
由 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>
-
- 15 6月, 2009 1 次提交
-
-
由 Norbert van Bolhuis 提交于
The problem is that BOOTP_SIZE uses ETHER_HDR_SIZE which is 14 bytes. If sending a VLAN tagged frame (when env variable vlan is set) this should be VLAN_ETHER_HDR_SIZE=18 which is what NetSetEther returns. Signed-off-by: NNorbert van Bolhuis <nvbolhuis@aimvalley.nl> 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>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-