summaryrefslogtreecommitdiff
path: root/net
Commit message (Collapse)AuthorAgeLines
* AT91CAP9 support : build integrationStelian Pop2008-02-14-0/+4
| | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* NFS Timeout with large files.Hiroshi Ito2008-02-14-1/+6
| | | | | | Retry to send NFS packet before reaching timeout. Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
* TFTP: add host ip addr supportJean-Christophe PLAGNIOL-VILLARD2008-02-05-10/+30
| | | | | | | | allow to use a different server as set in serverip add CONFIG_TFTP_FILE_NAME_MAX_LEN to configure the file name length if not defined the max length will be at 128 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot-avr32Wolfgang Denk2008-01-23-0/+4
|\
| * AVR32: ATNGW100 board supportHaavard Skinnemoen2008-01-18-0/+4
| | | | | | | | | | | | | | Add support for the ATNGW100 Network Gateway reference design, including flash, ethernet and MMC support. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2008-01-23-0/+4
|\ \
| * | ColdFire: Add MCF547x_8x FEC driverTsiChungLiew2008-01-17-0/+4
| |/ | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off by: John Rigby <jrigby@freescale.com>
* | net: add 'ethrotate' environment variableMatthias Fuchs2008-01-17-0/+9
| | | | | | | | | | | | | | | | | | | | | | [PATCH] net: add 'ethrotate' environment variable This patch replaces the buildtime configuration option CONFIG_NET_DO_NOT_TRY_ANOTHER through the 'ethrotate' runtime configuration veriable. See README. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | QE UEC: Extend number of supported UECs to 4David Saada2008-01-15-0/+3
|/ | | | | | | | | This patch extends the number of supported UECs to 4. Note that the problem of QE thread resources exhaustion is resolved by setting the correct number of QE threads according to Ethernet type (GBE or FE). Signed-off-by: David Saada <david.saada@ecitele.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Fix Ethernet init() return codesBen Warren2008-01-10-1/+1
| | | | | | | | | | | | | | | | | | Change return values of init() functions in all Ethernet drivers to conform to the following: >=0: Success <0: Failure All drivers going forward should return 0 on success. Current drivers that return 1 on success were left as-is to minimize changes. Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Acked-By: Timur Tabi <timur@freescale.com>
* Add support CONFIG_UEC_ETH3 in MPC83xxJoakim Tjernlund2008-01-08-0/+3
| | | | Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* net: Add CONFIG_NET_DO_NOT_TRY_ANOTHER optionMatthias Fuchs2008-01-03-0/+2
| | | | | | | | | | 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: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* NET: Proper return code handling in eth_init() function in file eth.cUpakul Barkakaty2008-01-03-4/+4
| | | | | | | | | | This patch modifies the return code handling in the eth_init() function, to be compatible with the handling of the return codes in the other network stack files. It now returns a 0 on Success and -1 on error. Signed-off-by: Upakul Barkakaty <upakul.barkakaty@conexant.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* net/eth.c: Fix env_enetaddr signed overflowShinya Kuribayashi2008-01-03-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Assigning the output of simple_strtoul(CB:A9:87:65:43:21) to `char', we are warned as below: U-Boot 1.2.0 (Aug 30 2007 - 08:27:37) DRAM: 256 MB Flash: 32 MB In: serial Out: serial Err: serial Net: NEC-Candy Warning: NEC-Candy MAC addresses don't match: Address in SROM is 00:00:4C:80:92:A2 Address in environment is FFFFFFCB:FFFFFFA9:FFFFFF87:65:43:21 This patch changes env_enetaddr type from `char' to `unsigned char'. Cc: Masaki Ishikawa <ishikawa-masaki@cnt.mxe.nes.nec.co.jp> Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Introduce new eth_receive routineRafal Jaworowski2008-01-03-0/+68
| | | | | | | | | | | | | | 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: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* Merge branch 'origin' into kconfig-for-1.3.1Grant Likely2007-11-20-9/+9
|\
| * Fix warning differ in signedness in net/net.c and net/nfs.cJean-Christophe PLAGNIOL-VILLARD2007-11-18-9/+9
| |
* | Merge branch 'origin' into kconfig-for-1.3.1Grant Likely2007-11-16-0/+4
|\ \ | |/ | | | | | | | | Conflicts: drivers/Makefile
| * Implement general ULi 526x Ethernet driver support in U-bootRoy Zang2007-11-06-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This patch implements general ULi 526x Ethernet driver. Until now, it is the only native Ethernet port on MPC8610HPCD board, but it could be used on other boards with ULi 526x Ethernet port as well. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Zhang Wei <wei.zhang@freescale.com> Acked-by: Jon Loeliger <jdl@freescale.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* | Build: split COBJS value into multiple linesGrant Likely2007-11-15-2/+9
|/ | | | | | | | | This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Cleanup coding style; update CHANGELOGWolfgang Denk2007-11-03-3/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix typo in nfs.cGuennadi Liakhovetski2007-11-03-1/+0
| | | | | | An obvious typo. Originally fixed in linkstation u-boot port. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
* DHCP Client FixJustin Flammia2007-11-01-4/+7
| | | | | | | | | | | | | | | | This is a multi-part message in MIME format. commit e6e505eae94ed721e123e177489291fc4544b7b8 Author: Justin Flammia <jflammia@savantav.com> Date: Mon Oct 29 17:19:03 2007 -0400 Found a bug in the way the DHCP Request packet is built, where the IP address that is offered by the server is bound to prematurely. This patch is a fix of that bug where the IP address offered by the DHCP server is not used until after the DHCP ACK from the server is received. Signed-off-by: Justin Flammia <jflammia@savantav.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* Avoid compiler warning.Wolfgang Denk2007-09-18-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix memory corruption problem on STX GP3 SSA Board.Wolfgang Denk2007-09-12-2/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix TFTP OACK code for short packets.Wolfgang Denk2007-08-31-2/+6
| | | | | | | | | | | The old code had a loop limit overflow bug which caused a semi- infinite loop for small packets, because in "i<len-8", "i" was signed, but "len" was unsigned, and "len-8" became a huge number for small values of "len". This is a workaround which replaces broken commit 8f1bc284. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Backout commit 8f1bc284 as it causes TFTP to fail.Wolfgang Denk2007-08-30-10/+10
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* tftp: don't implicity trust the format of recevied packetsGrant Likely2007-08-30-10/+10
| | | | | | | | | | | | The TFTP OACK code trusts that the incoming packet is formated as ASCII text and can be processed by string functions. It also has a loop limit overflow bug where if the packet length is less than 8, it ends up looping over *all* of memory to find the 'blksize' string. This patch solves the problem by forcing the packet to be null terminated and using strstr() to search for the sub string. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Fix: TFTP is not working on little endian systemsstefano babic2007-08-29-1/+1
| | | | | | | | TFTP does not work anymore after multicast tftp patch was applied on little endian systems. This patch fix it. Signed-off-by: Stefano Babic <sbabic@denx.de>
* Merge branch 'denx-coldfire' into coldfire-aug2007John Rigby2007-08-16-0/+4
|\
| * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-100/+392
| |\
| * \ Merge with /home/stefan/git/u-boot/u-boot-coldfire-freescaleStefan Roese2007-07-16-0/+4
| |\ \
| | * \ Merge branch 'master' into u-boot-5329-earlyJohn Rigby2007-07-10-31/+19
| | |\ \
| | * | | Add mcffec_initialize()TsiChungLiew2007-07-10-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added mcffec_initialize() in eth_initialize() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | * | | Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* | | | | 86xx: Fix lingering CFG_CMD_* references in sbc8641d.hJon Loeliger2007-08-15-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | Remove a leftover in net/tftp.c while we're at it. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | | Coding style cleanup; rebuild CHANGELOGWolfgang Denk2007-08-14-23/+23
| | | |
* | | | multicast tftp: RFC2090David Updegraff2007-08-13-5/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented IETF RFC2090, Multicast TFTP. Initial implementation on Realtek RTL8139 and Freescale TSEC. Signed-off-by: David Updegraff <dave@cray.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* | | | New CONFIG_BOOTP_SERVERIP optionWilson Callan2007-08-13-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added CONFIG_BOOTP_SERVERIP to allow the tftp server to be different from the bootp server Signed-off-by: Wilson Callan <wcallan@savantav.com> Signed-off-by: Ben Warren <bwarren@qstreams.com>
* | | | [ARM] TI DaVinci support, hopefully finalSergey Kubushyn2007-08-10-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the following DaVinci boards: - DV_EVM - SCHMOOGIE - SONATA Changes: - Split into separate board directories - Removed changes to MTD_DEBUG (or whatever it's called) - New CONFIG_CMD party line followed - Some cosmetic fixes, cleanup etc. - Patches against the latest U-Boot tree as of now. - Fixed CONFIG_CMD_NET in net files. - Fixed CONFIG_CMD_EEPROM for schmoogie. - Made sure it compiles and works (forceenv() link problem) on SCHMOOGIE and DV_EVM. Can't check if it works on SONATA, don't have a board any more, but it at least compiles. Here is an excerpt from session log on SCHMOOGIE... U-Boot 1.2.0-g6c33c785-dirty (Aug 7 2007 - 13:07:17) DRAM: 128 MB NAND: 128 MiB In: serial Out: serial Err: serial ARM Clock : 297MHz DDR Clock : 162MHz ETH PHY : DP83848 @ 0x01 U-Boot > iprobe Valid chip addresses: 1B 38 3A 3D 3F 50 5D 6F U-Boot > ping 192.168.253.10 host 192.168.253.10 is alive U-Boot > Signed-off-by: Sergey Kubushyn <ksi@koi8.net> Acked-by: Dirk Behme <dirk.behme@gmail.com> Acked-by: Zach Sadecki <Zach.Sadecki@ripcode.com> Acked-by: Stefan Roese <sr@denx.de>
* | | | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-06-97/+97
|\ \ \ \
| * \ \ \ Merge branch 'testing' into workingAndy Fleming2007-08-03-98/+97
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG fs/fat/fat.c include/configs/MPC8560ADS.h include/configs/pcs440ep.h net/eth.c
| | * | | Fix some compile problems introduced by the latest CFG_CMD_xxx cleanupStefan Roese2007-07-11-4/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | net/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-10-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Jon Loeliger <jdl@freescale.com>
| | * | | Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!Jon Loeliger2007-07-09-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Jon Loeliger <jdl@freescale.com>
| | * | | net/: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-09-58/+58
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | * | | net/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-54/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Jon Loeliger <jdl@freescale.com>
* | | | | [ADS5121] Support for the ADS5121 boardRafal Jaworowski2007-07-27-0/+4
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following MPC5121e subsystems are supported: - low-level CPU init - NOR Boot Flash (common CFI driver) - DDR SDRAM - FEC - I2C - Watchdog Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Jan Wrobel <wrr@semihalf.com>
* | | | make show_boot_progress () weak.Heiko Schocher2007-07-13-11/+3
|/ / / | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | Merge with /home/hs/Atronic/u-bootWolfgang Denk2007-07-09-0/+11
|\ \ \ | |/ / |/| |