- Mar 20, 2009
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
Mike Frysinger authored
Declare new utility functions for converting between the environment variables (eth*addr) and the binary MAC address representation. This way we can unify all the random places that already do this kind of thing. The functions in question: eth_parse_enetaddr - "..." -> {...} eth_getenv_enetaddr - env -> {...} eth_setenv_enetaddr - {...} -> env Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
Mike Frysinger authored
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:
Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
- Feb 23, 2009
-
-
Heiko Schocher authored
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:
Heiko Schocher <hs@denx.de> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Feb 17, 2009
-
-
Andy Fleming authored
This allows code to iterate through the ethernet devices Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
- Feb 10, 2009
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Jan 29, 2009
-
-
Olav Morken authored
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:
Gunnar Rangoy <gunnar@rangoy.com> Signed-off-by:
Paul Driveklepp <pauldriveklepp@gmail.com> Signed-off-by:
Olav Morken <olavmrk@gmail.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Dec 06, 2008
-
-
Peter Tyser authored
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Dec 05, 2008
-
-
Peter Tyser authored
The TftpStart() function modifies the 'BootFile' string when 'BootFile' contains both an IP address and filename (eg 1.2.3.4:/path/file). This causes subsequent calls to TftpStart to incorrectly parse the TFTP filename and server IP address to use. For example: => tftp 0x100000 10.52.0.62:/home/ptyser/non_existant Speed: 100, half duplex Using eTSEC1 device TFTP from server 10.52.0.62; our IP address is 10.52.253.79 ^^^^^^^^^^ CORRECT Filename '/home/ptyser/non_existant'. ^^^^^^^^^^^^^^^^^^^^^^^^^ CORRECT Load address: 0x100000 Loading: * TFTP error: 'File not found' (1) Starting again eTSEC2: No link. Speed: 100, half duplex Using eTSEC1 device TFTP from server 10.52.0.33; our IP address is 10.52.253.79 ^^^^^^^^^^ WRONG Filename '10.52.0.62'. ^^^^^^^^^^ WRONG Load address: 0x100000 Loading: * TFTP error: 'File not found' (1) Starting again TftpStart() was modified to not modify the 'BootFile' string. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Peter Tyser authored
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:
Peter Tyser <ptyser@xes-inc.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Peter Tyser authored
These defines were pulled from the "Add simple IP/UDP fragmentation support" patch from Frank Haverkamp <haver@vnet.ibm.com>. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Nov 10, 2008
-
-
Ben Warren authored
Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Ben Warren authored
All in-tree IBM/AMCC PPC4xx boards using the EMAC get this new CONFIG Signed-off-by:
Ben Warren <biggerbadderben@gmail.com> Acked-by:
Stefan Roese <sr@denx.de>
-
Ben Warren authored
Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: Several MPC8xx boards Several MPC8260/MPC8272 boards Several MPC85xx boards Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Shinya Kuribayashi authored
This patch will move au1x00_eth_initialize from net/eth.c to cpu_eth_init as a part of ongoing eth_initialize cleanup work. The function ret value is also fixed as it should be negative on fail. Signed-off-by:
Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Also, removed the driver initialization from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Bartlomiej Sieka authored
There are two aspects of a TFTP transfer involving timeouts: 1. timeout waiting for initial server reply after sending RRQ 2. timeouts while transferring actual data from the server Since the upcoming auto-update feature attempts a TFTP download during each boot, it is undesirable to have a long delay when the TFTP server is not available. Thus, this commit makes the server timeout (1.) configurable by two global variables: TftpRRQTimeoutMSecs TftpRRQTimeoutCountMax TftpRRQTimeoutMSecs overrides default timeout when trying to connect to a TFTP server, TftpRRQTimeoutCountMax overrides default number of connection retries. The total delay when trying to download a file from a non-existing TFTP server is TftpRRQTimeoutMSecs x TftpRRQTimeoutCountMax milliseconds. Timeouts during file transfers (2.) are unaffected. Signed-off-by:
Rafal Czubak <rcz@semihalf.com> Signed-off-by:
Bartlomiej Sieka <tur@semihalf.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Bartlomiej Sieka authored
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:
Rafal Czubak <rcz@semihalf.com> Signed-off-by:
Bartlomiej Sieka <tur@semihalf.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
richardretanubun authored
Added as a convenience for other platforms that uses MPC8360 (has 8 UCC). Six eth interface is chosen because the platform I am using combines UCC1&2 and UCC3&4 as 1000 Eth and the other four UCCs as 10/100 Eth. Signed-off-by:
Richard Retanubun <RichardRetanubun@RugggedCom.com> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
- Sep 03, 2008
-
-
Jochen Friedrich authored
If a board has a variable number of flash banks, there are empty entries in flash_info[] and CFG_DIRECT_FLASH_TFTP is set, tftp boot fails with "Outside available Flash". This patch skips flash banks with unknown flash ids. Signed-off-by:
Jochen Friedrich <jochen@scram.de> Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: db64360 db64460 katmai taihu taishan yucca cpc45 cpu87 eXalion elppc debris kvme080 mpc8315erdb integratorap ixdp425 oxc pm826 pm828 pm854 pm856 ppmc7xx sc3 sc520_spunk sorcery tqm8272 tqm85xx utx8245 Removed initialization of the driver from net/eth.c Also, wrapped contents of pci_eth_init() by CONFIG_PCI. Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: cu824 bab7xx adciop dasa_sim mousse mpc8540eval musenki mvblue pcippc2/pcippc6 sbc8240 stxssa Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: ap1000 mvbc_p PM854 Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: purple Removed initialization of controller from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Modified board_eth_init() functions of boards that have this FEC in addition to other Ethernet controllers. Affected boards: bc3450 icecube mvbc_p o2dnt pm520 total5200 tq5200 Removed initialization of controller from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Added a cpu_eth_init() function to MPC512x CPU directory and removed code from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: IncaIP Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: AmigaOneG3SE Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: EVB64260 P3G4 ZUMA Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: PN62 sc520_cdp Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: a3000 Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: bc3450 cpci5200 mecp5200 pf2000 icecube o2dnt pm520 sandpoint8245 total5200 tqm5200 Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: mpc7448hpc2 Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: hidden_dragon MPC8544DS MPC8610HPCN R2DPLUS TB0229 Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Affected boards: linkstation r7780mp Removed initialization of the driver from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-
Ben Warren authored
Removed at91sam9_eth_initialize() from net/eth.c Signed-off-by:
Ben Warren <biggerbadderben@gmail.com>
-