[U-Boot] [PATCH 13/28] net: Refactor bootp packet length computations

2012-01-20 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- net/bootp.c | 26 ++ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/net/bootp.c b/net/bootp.c index 0c2af48..0d5f4cf 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -582,7 +582,8

[U-Boot] [PATCH 14/28] net: Refactor ping recieve handler

2012-01-20 Thread Joe Hershberger
There is no need to call through the handler when we can handle it inline Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- net/ping.c | 19 ++- 1 files changed, 2 insertions(+), 17 deletions(-) diff --git a/net/ping.c b/net/ping.c index 12f9185

[U-Boot] [PATCH 27/28] net: Work-around for brain-damaged Cisco routers with arp-proxy

2012-01-20 Thread Joe Hershberger
n and will delay replying to the ARP request for 5ms so that the first packet is sent to the Cisco equipment and all following packets are sent to our device Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- net/arp.c | 13 + 1 files changed, 13 insert

[U-Boot] [PATCH 17/28] net: Refactor to separate the UDP handler from the ARP handler

2012-01-20 Thread Joe Hershberger
Only call the handlers if one was 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: Joe Hershberge

[U-Boot] [PATCH 24/28] net: Don't copy every packet that waits for an ARP

2012-01-20 Thread Joe Hershberger
Use the NetArpTxPacket for the ARP packet, not to hold what used to be in NetTxPacket This saves a copy and makes the code easier to understand Generalize the formation of the ARP packet Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- net/arp.c | 44

[U-Boot] [PATCH 09/28] net: cosmetic: Un-typedef variables in net

2012-01-20 Thread Joe Hershberger
Un-typedef IP_t, Ethernet_t, VLAN_Ethernet_t, ARP_t, ICMP_t 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: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- arch/powerpc/cpu

[U-Boot] [PATCH 00/28] Add link-local addressing support

2012-01-20 Thread Joe Hershberger
hex filename 265657 24956 42104 332717 513ad /tmp/u-boot-build/ppc/u-boot Passed: 63a3ddaf7e029bb7ec71b1edb42473ae6a208dec. Testing ./sizeofMCP8313 HEAD is now at 7d5229d net: Allow filtering on debug traces in the net subsystem textdata bss dec hex filename 26559

[U-Boot] [PATCH 10/28] net: cosmetic: Improve variable names and code readability

2012-01-20 Thread Joe Hershberger
also remove related BOOTP_SIZE which was unused and doesn't take into account VLAN packets Rename tmp to reply_ip_addr in arp.c Alphabetize includes in net.c Replace magic numbers in arp.c with constants Add a more explicit comment about 802.2 Signed-off-by: Joe Hershberger Cc: Joe Hersh

[U-Boot] [PATCH 28/28] net: Allow filtering on debug traces in the net subsystem

2012-01-20 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- drivers/net/netconsole.c |6 ++ net/arp.c| 12 net/link_local.c | 31 +++ net/net.c| 45

[U-Boot] [PATCH 08/28] net: Move RARP receive logic out of net.c

2012-01-20 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- net/net.c | 25 + net/rarp.c | 38 +++--- net/rarp.h |1 + 3 files changed, 29 insertions(+), 35 deletions(-) diff --git a/net/net.c b/net/net.c index

[U-Boot] [PATCH 05/28] net: Move CDP out of net.c

2012-01-20 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger Cc: Wolfgang Denk --- arch/powerpc/cpu/mpc8xx/fec.c |2 +- include/net.h |9 +- net/Makefile |1 + net/cdp.c | 380 + net/cdp.h

Re: [U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface

2012-01-20 Thread Joe Hershberger
Hi Simon, On Fri, Jan 20, 2012 at 10:22 AM, Simon Glass wrote: > Hi Joe, > > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger > wrote: >> The mv_eth driver should not redefine the net function definition >> >> Signed-off-by: Joe Hershberger >> Cc: J

Re: [U-Boot] [PATCH 02/28] net: cosmetic: checkpatch compliance

2012-01-20 Thread Joe Hershberger
Hi Simon, On Fri, Jan 20, 2012 at 10:30 AM, Simon Glass wrote: > Hi Joe, > > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger > wrote: >> Signed-off-by: Joe Hershberger >> Cc: Joe Hershberger >> Cc: Wolfgang Denk >> --- >>  common/main.c      

Re: [U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface

2012-01-23 Thread Joe Hershberger
Hi Simon, On Tue, Jan 24, 2012 at 12:09 AM, Simon Glass wrote: > Hi Joe, > > On Fri, Jan 20, 2012 at 12:15 PM, Joe Hershberger > wrote: >> Hi Simon, >> >> On Fri, Jan 20, 2012 at 10:22 AM, Simon Glass wrote: >>> Hi Joe, >>> >>> On

Re: [U-Boot] [PATCH 13/28] net: Refactor bootp packet length computations

2012-01-23 Thread Joe Hershberger
Hi Simon, On Tue, Jan 24, 2012 at 1:05 AM, Simon Glass wrote: > Hi Joe, > > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger > wrote: >> Signed-off-by: Joe Hershberger >> Cc: Joe Hershberger >> Cc: Wolfgang Denk >> --- >>  net/bootp.c |   26

Re: [U-Boot] [PATCH 00/28] Add link-local addressing support

2012-01-25 Thread Joe Hershberger
Hi Stefano, On Wed, Jan 25, 2012 at 4:27 AM, Stefano Babic wrote: > On 20/01/2012 01:53, Joe Hershberger wrote: >> Link-local support allows the bootloader to get a usable network address >> regardless of network environment.  Given that bootloaders may not always >> have ac

Re: [U-Boot] [PATCH 01/28] net: Remove volatile from all of net except the eth driver interface

2012-02-07 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 5:44 AM, Mike Frysinger wrote: > in general, i like this.  my only concern would be the drivers that might > break due to incorrect cache management (which the volatile markers happen to > work around for them). > > having the API accept a volatile but then casting

Re: [U-Boot] [PATCH 17/28] net: Refactor to separate the UDP handler from the ARP handler

2012-02-08 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:21 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:20 Joe Hershberger wrote: >> Only call the handlers if one was registered... don't require >>    protocols to register a handler (eliminating dummies) >> NetConsole now

Re: [U-Boot] [PATCH 09/28] net: cosmetic: Un-typedef variables in net

2012-02-09 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:05 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:12 Joe Hershberger wrote: >> Un-typedef IP_t, Ethernet_t, VLAN_Ethernet_t, ARP_t, ICMP_t > > i'm not sure about this.  i don't mind the typedefs myself and they have t

Re: [U-Boot] [PATCH 18/28] net: Add NetUpdateEther() to handle ARP or Ping replies (VLAN or SNAP)

2012-02-09 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:25 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:21 Joe Hershberger wrote: >> --- a/net/net.c >> +++ b/net/net.c >> >> +int >> +NetUpdateEther(struct Ethernet_t *et, uchar *addr, uint prot) >> +{ >>

Re: [U-Boot] [PATCH 22/28] net: Fix net buffer initialization

2012-02-10 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:37 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:25 Joe Hershberger wrote: >> @@ -627,6 +639,12 @@ NetSendUDPPacket >> >> +     /* make sure the NetTxPacket is initialized (NetInit() was called) */ >> +

Re: [U-Boot] [PATCH 04/28] net: Make the MAC-seeded random number generator available to /net

2012-02-10 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 5:51 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:07 Joe Hershberger wrote: >> --- a/net/bootp.c >> +++ b/net/bootp.c >> >> +#ifdef CONFIG_BOOTP_RANDOM_DELAY >> +#include "net_rand.h" >> +#endif >

Re: [U-Boot] [PATCH 26/28] net: Add link-local addressing support

2012-02-13 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:42 AM, Mike Frysinger wrote: > On Thursday 19 January 2012 19:53:29 Joe Hershberger wrote: >> +     NetOurGatewayIP = 0; >> +     ip_to_string(NetOurGatewayIP, tmp); >> +     setenv("gatewayip", tmp); >> + >&g

Re: [U-Boot] [PATCH 07/28] net: Move PING out of net.c

2012-02-13 Thread Joe Hershberger
Hi Mike, On Fri, Feb 3, 2012 at 6:07 AM, Mike Frysinger wrote: > hmm, thinking a bit more, i wonder if it makes more sense to split all of icmp > out of net.c This would also be fine. Are you thinking that icmp would include all of icmp or would we still have ping separate? Does this need to b

Re: [U-Boot] [PATCH 7/9] CACHE: net: Test if start address is aligned

2012-06-25 Thread Joe Hershberger
er, but that involves a > lot of copying and therefore degrades performance rapidly. > Therefore disallow this possibility of unaligned load address > altogether if data cache is on. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger &

Re: [U-Boot] [PATCH 8/9] CACHE: net: asix: Fix asix driver to work with data cache on

2012-06-25 Thread Joe Hershberger
Hi Marex, On Sun, Jun 24, 2012 at 7:17 PM, Marek Vasut wrote: > The asix driver did not align buffers, therefore it didn't work > with data cache enabled. Fix this. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > --- Ac

Re: [U-Boot] [PATCH] api: net: fix length check in eth_receive()

2012-06-25 Thread Joe Hershberger
; portion of the received packet and remove it from the receive buffers. > > This fixes FreeBSD's ubldr. Without this patch it will just stop receiving > packets if the NIC receives more than PKTBUFSRX too large packets. > > Signed-off-by: Michael Walle > Cc: Joe Hershberger

Re: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-26 Thread Joe Hershberger
Hi Tetsuyuki, On Tue, Jun 26, 2012 at 3:52 AM, Wolfgang Denk wrote: > Dear Tetsuyuki Kobayashi, > > In message <4fe9711a.2090...@kmckk.co.jp> you wrote: >> >> >> Are you sure the problems are not in the board specific code? >> > OK. I will try the same thing on an in-tree board (maybe, panda boar

Re: [U-Boot] [PATCH] net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other

2012-06-26 Thread Joe Hershberger
Hi Nobuhiro Iwamatsu, On Mon, Jun 25, 2012 at 11:18 PM, Nobuhiro Iwamatsu wrote: > Hi, > > Joe, could you pick-up ths patch to your network repository? > This is bug fix to 201207. Yes. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.de

Re: [U-Boot] [PATCH] net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other

2012-06-26 Thread Joe Hershberger
On Tue, Jun 26, 2012 at 1:03 PM, Joe Hershberger wrote: > Hi Nobuhiro Iwamatsu, > > On Mon, Jun 25, 2012 at 11:18 PM, Nobuhiro Iwamatsu > wrote: >> Hi, >> >> Joe, could you pick-up ths patch to your network repository? >> This is bug fix to 2012

Re: [U-Boot] [RFC][PATCH] net: nfs: extend NFS_TIMEOUT

2012-06-26 Thread Joe Hershberger
Hi Scott, On Tue, Jun 26, 2012 at 1:34 PM, Scott Wood wrote: > On 06/26/2012 10:30 AM, Joe Hershberger wrote: >> Hi Tetsuyuki, >> >> On Tue, Jun 26, 2012 at 3:52 AM, Wolfgang Denk wrote: >>> Dear Tetsuyuki Kobayashi, >>> >>> In message <4fe97

Re: [U-Boot] [RFC][PATCH] net: nfs: make NFS_TIMEOUT configurable

2012-07-03 Thread Joe Hershberger
On Jul 3, 2012, at 6:22 AM, Tetsuyuki Kobayashi wrote: > NFS_TIMEOUT is constant value defined in net/nfs.c. But sometimes it needs to > adjust. > This patch enables to override NFS_TIMEOUT by defining CONFIG_NFS_TIMEOUT in > a board specific config file. > > Signed-off-by: Tetsuyuki Kobayas

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Mon, Jul 9, 2012 at 1:52 PM, Timur Tabi wrote: > Now that phy_startup() can return an actual error code, check for that error > code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > Acked-by: Nobuhiro Iwamamatsu (sh_eth part) > Acked-by: Steph

Re: [U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Sun, Jul 8, 2012 at 2:58 PM, Wolfgang Denk wrote: > Dear Tetsuyuki Kobayashi, > > In message <4fe85b87.6090...@kmckk.co.jp> you wrote: >> NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. > > Your patch is OK per se, but please note that it is a mandatory

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Tue, Jul 10, 2012 at 11:15 AM, Timur Tabi wrote: > Joe Hershberger wrote: > >>> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c >>> index eee41d7..5700552 100644 >>> --- a/drivers/net/fec_mxc.c >>> +++ b/drivers/net/fec

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Jayachandran C, On Tue, Jul 10, 2012 at 1:18 AM, Jayachandran C wrote: > [Sending again, probably for the last time. This is a simple fix for an > obvious issue, please merge if you are convinced :) ] > > The block argument for store_block can be -1 when the tftp sequence > number rolls over

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
On Tue, Jul 10, 2012 at 1:35 PM, Timur Tabi wrote: > Joe Hershberger wrote: > >>>>> diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c >>>>> index bb57e4d..268d884 100644 >>>>> --- a/drivers/net/sh_eth.c >>>>> +++ b/driver

Re: [U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Joe Hershberger
Hi Mike, On Tue, Jul 10, 2012 at 5:41 AM, Mike Frysinger wrote: > The clean up patch missed an &, so we end up passing an int rather than > a pointer to the sprintf function. > > arp.c: In function 'ArpReceive': > arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has > type '

[U-Boot] Pull request: u-boot-net/master

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, Please pull a few bug fixes. The following changes since commit 211e47549b668c7cdd8658c0413a272f0d0495d4: Wolfgang Denk (1): Prepare v2012.07-rc1 are available in the git repository at: git://git.denx.de/u-boot-net.git master Mike Frysinger (1): net: fix typo in

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-10 Thread Joe Hershberger
Hi Prafulla, On Mon, Jul 9, 2012 at 3:42 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 09 July 2012 17:34 >> To: Prafulla Wadaskar >> Cc: Detlev Zundel; Valentin Longchamp; u-boot@lists.denx.de >> Subject: Re: [PA

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Tue, Jul 10, 2012 at 2:39 PM, Wolfgang Denk wrote: > Dear Joe, > > In message > you > wrote: >> >> Something about your email is not being pulled into patchwork. >> Perhaps it hasn't made it past a list moderator? > > List moderation has nothing to do with that. Patchwork is ju

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2012-07-10 Thread Joe Hershberger
Hi Marek, On Fri, Dec 16, 2011 at 2:36 PM, Marek Vasut wrote: >> On Friday 16 December 2011 13:13:33 Marek Vasut wrote: >> > On Friday 16 December 2011 12:33:53 Mike Frysinger wrote: >> > > rename ISA_OFFSET to CONFIG_NE2000_IO_OFFSET, then move the "2" to >> > > CONFIG_NE2000_IO_STRIDE, and move

Re: [U-Boot] [PATCH v2] net/designware: Consecutive writes to the same register to be avoided

2012-07-11 Thread Joe Hershberger
Hi Dinh Nguyen, On Fri, Jun 8, 2012 at 10:26 AM, Dinh Nguyen wrote: > This commit is an add-on to f6c4191f. There are a few registers where > consecutive writes to the same location should be avoided or have a delay. > > According to Synopsys, here is a list of the registers and bit(s) where > co

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-11 Thread Joe Hershberger
Hi Jayachandran, On Wed, Jul 11, 2012 at 1:10 AM, Jayachandran C. wrote: > On Wed, Jul 11, 2012 at 07:37:19AM +0200, Wolfgang Denk wrote: >> Dear Joe, >> >> In message >> you >> wrote: >> Jayachandran: I cannot find any trace of your message in our server >> logs either. It appears the mail f

Re: [U-Boot] [PATCH v5] net: allow setting env enetaddr from net device setting

2012-07-11 Thread Joe Hershberger
Hi Rob, On Sat, Apr 14, 2012 at 11:06 PM, Rob Herring wrote: > From: Rob Herring > > If the net driver has setup a valid ethernet address and an ethernet > address is not set in the environment already, then set the environment > variables from the net driver setting. > > This enables pxe bootin

Re: [U-Boot] [PATCH 1/2] phylib: phy_startup() should return an error code on failure

2012-07-11 Thread Joe Hershberger
Hi Timur Tabi, On Thu, Jul 5, 2012 at 3:33 PM, Timur Tabi wrote: > phy_startup() calls the PHY driver's startup function, but it ignores the > return code from that function, and so it never returns any failures. > > Signed-off-by: Timur Tabi > --- Applied to next, thanks. -Joe ___

Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 phy accessible

2012-07-11 Thread Joe Hershberger
Hi Prafulla, On Wed, Jul 11, 2012 at 3:28 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot- >> boun...@lists.denx.de] On Behalf Of Dirk Behme >> Sent: 11 July 2012 12:23 >> To: u-boot@lists.den

Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 phy accessible

2012-07-11 Thread Joe Hershberger
Hi Troy Kisky, On Thu, Jun 28, 2012 at 1:00 PM, Troy Kisky wrote: > Micrel accidentally used the same part number > for the KS8721 and KSZ9021. So, both cannot be > in the same build of u-boot. Add a config option > to handle this. > > Signed-off-by: Troy Kisky > Acked-by: Vladimir Zapolskiy >

[U-Boot] Pull request: u-boot-net.git next

2012-07-11 Thread Joe Hershberger
avoided Jayachandran Chandrasekharan Nair (1): net: tftp: fix type of block arg to store_block Joe Hershberger (1): net: Inline the new eth_setenv_enetaddr_by_index function Marek Vasut (1): CACHE: net: asix: Fix asix driver to work with data cache on Rob Herring (1): net

Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 phy accessible

2012-07-11 Thread Joe Hershberger
gt;>> Sent: 11 July 2012 12:23 >>> To: u-boot@lists.denx.de; Joe Hershberger >>> Subject: Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 >>> phy accessible >>> >>> On 11.07.2012 02:53, Troy Kisky wrote: >>>> >>>>

Re: [U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-11 Thread Joe Hershberger
Hi Michal, On Wed, Jul 11, 2012 at 7:21 AM, Michal Simek wrote: > On 07/11/2012 02:00 PM, Simon Glass wrote: >> >> Hi Michal, >> >> >> On Wed, Jul 11, 2012 at 1:21 PM, Michal Simek > > wrote: >> >> On 07/11/2012 12:59 PM, Simon Glass wrote: Please use text only email

Re: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board

2012-07-11 Thread Joe Hershberger
On Wed, Jul 11, 2012 at 2:33 AM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <1337714515-6575-1-git-send-email-swar...@wwwdotorg.org> you wrote: >> From: Stephen Warren >> >> This can be useful for generic scripts. For example, rather than hard- >> coding a script to ext2load tegra

Re: [U-Boot] [PATCH V3 1/2] Add env vars describing U-Boot target board

2012-07-11 Thread Joe Hershberger
Hi Tom, On Wed, Jul 11, 2012 at 6:46 PM, Tom Warren wrote: > Joe, > >> -Original Message----- >> From: Joe Hershberger [mailto:joe.hershber...@gmail.com] >> Sent: Wednesday, July 11, 2012 2:54 PM >> To: Wolfgang Denk >> Cc: Stephen Warren; u-boot@lists

Re: [U-Boot] [RFC][PATCH v3] net: nfs: make NFS_TIMEOUT configurable

2012-07-12 Thread Joe Hershberger
Hi Tetsuyuki Kobayashi, On Thu, Jul 12, 2012 at 2:30 AM, Tetsuyuki Kobayashi wrote: > Dear Joe Hershberger, > > How is this patch's status? Someone marked it as RFC in patchwork, so I lost track of it. I'll apply it to next. Thanks, -Joe ___

Re: [U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-12 Thread Joe Hershberger
Hi Michal, On Wed, Jul 11, 2012 at 6:21 AM, Michal Simek wrote: > On 07/11/2012 12:59 PM, Simon Glass wrote: >> >> Hi, >> >> >> On Wed, Jul 11, 2012 at 12:43 PM, Michal Simek > > wrote: >> >> On 07/11/2012 11:59 AM, Simon Glass wrote: >> >> Hi Michal, >> >> >>

Re: [U-Boot] [RFC][PATCH v3] net: nfs: make NFS_TIMEOUT configurable

2012-07-12 Thread Joe Hershberger
Hi Tom, On Thu, Jul 12, 2012 at 11:30 AM, Tom Rini wrote: > On Thu, Jul 12, 2012 at 11:16:00AM -0500, Joe Hershberger wrote: >> Hi Tetsuyuki Kobayashi, >> >> On Thu, Jul 12, 2012 at 2:30 AM, Tetsuyuki Kobayashi >> wrote: >> > Dear Joe Hershberger,

[U-Boot] Pull request: u-boot-net.git next

2012-07-19 Thread Joe Hershberger
The following changes since commit 0878222fed3fafbfd0b1f2e5a6b2da90a81e910d: Wolfgang Denk (1): Merge branch 'next' of git://git.denx.de/u-boot-net into next are available in the git repository at: git://git.denx.de/u-boot-net.git next Tetsuyuki Kobayashi (1): net: nfs: make NF

[U-Boot] Pull request: u-boot-net.git master

2012-07-19 Thread Joe Hershberger
The following changes since commit 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae: Wolfgang Denk (1): Merge branch 'next' of git://git.denx.de/u-boot-video are available in the git repository at: git://git.denx.de/u-boot-net.git master benoit.thebaudeau@advans (2): net: bootp: fix bu

Re: [U-Boot] [PATCH] net: link_local: fix build

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 6:19 AM, Benoît Thébaudeau wrote: > Fix comment within comment build error. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > --- Applied, thanks. -Joe ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [PATCH] net: bootp: fix build

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 6:23 AM, Benoît Thébaudeau wrote: > Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe Hershberger > --- Applied, thanks. -Joe ___ U-Boot

Re: [U-Boot] [PATCH 2/2] net: fec_mxc: Fix MDC for xMII

2012-07-19 Thread Joe Hershberger
Hi Benoît, On Thu, Jul 19, 2012 at 7:12 AM, Benoît Thébaudeau wrote: > The MDC signal is available on all xMII (i.e. 'not 7-wire') interfaces, so > mii_speed has to be set for all these interfaces, and not only for MII. > > Signed-off-by: Benoît Thébaudeau > Cc: Joe H

Re: [U-Boot] Invalid Netconsole source MAC address [was: Re: [STATUS] v2012.07-rc1 is out - release date July 23]

2012-07-23 Thread Joe Hershberger
Hi Michael, On Sat, Jul 21, 2012 at 1:04 PM, Michael Walle wrote: >> Hi, >> >> Am Dienstag 10 Juli 2012, 09:31:42 schrieb Wolfgang Denk: >> > Hi everybody, >> > >> > this is to let you know that the v2012.07-rc1 prerelease is out. >> > >> > Please help testing, so we can fix the remaining issues

Re: [U-Boot] Invalid Netconsole source MAC address [was: Re: [STATUS] v2012.07-rc1 is out - release date July 23]

2012-07-23 Thread Joe Hershberger
Hi Michael, On Mon, Jul 23, 2012 at 3:41 PM, Michael Walle wrote: > > Hi Joe, > > Am Montag 23 Juli 2012, 21:30:28 schrieb Joe Hershberger: >> On Sat, Jul 21, 2012 at 1:04 PM, Michael Walle wrote: >> > Mh i guess NetLoop isn't called and thus NetOurEther is never

Re: [U-Boot] Antwort: Re: NetConsole & TFTP

2012-07-23 Thread Joe Hershberger
Hi Thomas, On Mon, Mar 26, 2012 at 5:24 AM, Thomas Pohl wrote: > Dear Wolfgang, > >>Hm... you are not running mainline code, right? Because we always >>have a single network interface active at any time. > > I am using mainline code (u-boot v2011.12) with > P2020RDB-PC_SPIFLASH_config. Unfortuna

[U-Boot] [PATCH] net: Make sure the ethaddr is updated in net_init()

2012-07-23 Thread Joe Hershberger
NetConsole may call NetSendUDPPacket before NetLoop is called. This will cause the source MAC address (NetOurEther) to be wrong. Instead of only changing it in NetLoop, move it to NetLoopInit so that it is also updated when net_init() is called (especially by nc_start()). Signed-off-by: Joe

Re: [U-Boot] [PATCH] net: Make sure the ethaddr is updated in net_init()

2012-07-23 Thread Joe Hershberger
Hi Michael, On Mon, Jul 23, 2012 at 6:11 PM, Joe Hershberger wrote: > NetConsole may call NetSendUDPPacket before NetLoop is called. This > will cause the source MAC address (NetOurEther) to be wrong. Instead > of only changing it in NetLoop, move it to NetLoopInit so that it is >

[U-Boot] Pull request: u-boot-net.git master

2012-07-24 Thread Joe Hershberger
Hi Wolfgang, Please apply this fix for netconsole for the 2012.07 release. The following changes since commit 8b10652d6d9cc05023b5a6b73840078066f95a50: Wolfgang Denk (1): Prepare v2012.07-rc2 are available in the git repository at: git://git.denx.de/u-boot-net.git master Joe

[U-Boot] Pull request: u-boot-net.git next

2012-07-24 Thread Joe Hershberger
The following changes since commit f41471e6a36e70e53bf4cbe4247ff4c0ba87e56f: benoit.thebaudeau@advans (1): net: fec_mxc: Fix MDC for xMII are available in the git repository at: git://git.denx.de/u-boot-net.git next Yoshihiro Shimoda (4): net: sh_eth: clean up for the SH7757's

Re: [U-Boot] [PATCH 1/4] net: sh_eth: clean up for the SH7757's code

2012-07-24 Thread Joe Hershberger
Hi Yoshihiro, On Mon, Jul 23, 2012 at 7:52 PM, Shimoda, Yoshihiro wrote: > Hi, > > Thank you for the reply. I will wait until it is merged. Applied to next, thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinf

Re: [U-Boot] [PATCH 2/4] net: sh_eth: add SH_ETH_TYPE_ condition

2012-07-24 Thread Joe Hershberger
Hi Yoshihiro, On Tue, Jun 26, 2012 at 9:38 PM, Shimoda, Yoshihiro wrote: > At the moment, the driver supports the following CPUs: > - GETHER (Gigabit Ethernet) : SH7763, SH7734 > - ETHER (Fast Ethernet): SH7724, SH7757 > > And the driver had the following "#if": > > #if defined(CONFIG_CPU

Re: [U-Boot] [PATCH 3/4] net: sh_eth: modify the definitions of regsiter

2012-07-24 Thread Joe Hershberger
Hi Yoshihiro, On Tue, Jun 26, 2012 at 9:38 PM, Shimoda, Yoshihiro wrote: > The previous code had many similar definitions in each CPU. > > This patch borrows from the sh_eth driver of Linux kernel. > > Signed-off-by: Yoshihiro Shimoda > --- Applied to next, thanks. -Joe

Re: [U-Boot] [PATCH 4/4] net: sh_eth: add support for SH7757's GETHER

2012-07-24 Thread Joe Hershberger
Hi Yoshihiro, On Tue, Jun 26, 2012 at 9:38 PM, Shimoda, Yoshihiro wrote: > SH7757 has 2 ETHERs and 2 GETHERs. This patch supports the SH7757's > GETHER. If CONFIG_SH_ETHER_USE_GETHER is defined using SH7757, > the driver handles the GETHER. > > Signed-off-by: Yoshihiro Shimoda > --- Applied to n

[U-Boot] [PATCH] net: Make the netconsole buffer size configurable

2012-07-24 Thread Joe Hershberger
Allow a board to configure a larger buffer for netconsole, but leave the default. Signed-off-by: Joe Hershberger --- doc/README.NetConsole|2 ++ drivers/net/netconsole.c | 10 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/README.NetConsole b/doc

[U-Boot] [PATCH] net: Make netconsole src and dest ports configurable

2012-07-24 Thread Joe Hershberger
. This is typlically not desirable. This patch allows the input and output ports to be specified separately in the environment. Signed-off-by: Joe Hershberger --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 29 - tools/netconsole | 18

[U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-24 Thread Joe Hershberger
old way for all other network operations and any time another network operation happens between netconsole operations. Signed-off-by: Joe Hershberger Cc: Stefano Babic --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 26 ++ include/net.h

Re: [U-Boot] [PATCH v3 6/8] net/bootp: add VCI support for BOOTP also

2012-07-24 Thread Joe Hershberger
Hi Ilya, On Tue, Jul 24, 2012 at 5:22 PM, Ilya Yanok wrote: > 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: Ilya Yanok > --- > > net/bootp.c |

Re: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-07-30 Thread Joe Hershberger
y 2012 01:20 >> > To: u-boot@lists.denx.de >> > Cc: Marek Vasut; Joe Hershberger; u-boot...@lists.denx.de >> > Subject: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver >> > >> > Apply the following questionable adjustment to silence GCC. >

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-30 Thread Joe Hershberger
Hi Mike, On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: > On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: >> --- a/drivers/net/netconsole.c >> +++ b/drivers/net/netconsole.c >> @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) >

[U-Boot] [PATCH v2] net: Make netconsole src and dest ports configurable

2012-07-31 Thread Joe Hershberger
. This is typlically not desirable. This patch allows the input and output ports to be specified separately in the environment. Signed-off-by: Joe Hershberger Cc: Mike Frysinger --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 29 - tools

[U-Boot] [PATCH v2] net: Make the netconsole buffer size configurable

2012-07-31 Thread Joe Hershberger
Allow a board to configure a larger buffer for netconsole, but leave the default. Signed-off-by: Joe Hershberger Cc: Mike Frysinger --- doc/README.NetConsole|2 ++ drivers/net/netconsole.c |8 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-08-01 Thread Joe Hershberger
Hi Mike, On Wed, Aug 1, 2012 at 11:35 AM, Mike Frysinger wrote: > On Monday 30 July 2012 17:08:41 Joe Hershberger wrote: >> On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger wrote: >> > On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: >> >> --- a/n

[U-Boot] [PATCH v2] net: Improve the speed of netconsole

2012-08-03 Thread Joe Hershberger
old way for all other network operations and any time another network operation happens between netconsole operations. Signed-off-by: Joe Hershberger Cc: Stefano Babic --- common/cmd_bootm.c | 17 + drivers/net/netconsole.c | 22 ++ include/net.h

Re: [U-Boot] [QUESTION] "ethaddr" env. var. vs. dev->enetaddr

2012-08-06 Thread Joe Hershberger
Hi Benoît, On Mon, Aug 6, 2012 at 2:02 PM, Benoît Thébaudeau wrote: > Hi all, > > There's a lot of stuff in U-Boot relying on ethaddr being set, e.g. the bdinfo > command, or the linklocal command because of seed_mac. If ethaddr is not set, > bdinfo will report exactly that, but linklocal will wa

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-03-04 Thread Joe Hershberger
Hi Tom, On Fri, Mar 1, 2013 at 2:28 PM, Tom Rini wrote: > On Wed, Feb 27, 2013 at 02:11:31PM -0600, Joe Hershberger wrote: >> Hi Tom, >> >> On Mon, Feb 18, 2013 at 11:20 AM, Tom Rini wrote: >> > -BEGIN PGP SIGNED MESSAGE- >> > Hash: SHA1 >> &

Re: [U-Boot] [PATCH 1/2] env_callback: Mark find_env_callback as static

2013-03-12 Thread Joe Hershberger
Hi Tom, On Tue, Mar 12, 2013 at 11:16 AM, Tom Rini wrote: > This is not called outside of env_callback.c so mark static, remove from > > > Cc: Joe Hershberger > Signed-off-by: Tom Rini > --- > http://lists.denx.de/mailman/listinfo/u-boot Acke

Re: [U-Boot] [PATCH 2/2] SPL: Fix build of CONFIG_SPL_NET_SUPPORT

2013-03-12 Thread Joe Hershberger
r entries so not __start/__end symbol was > generated. > > As the environment is not user modifiable in this particular run-time > (for any variable that had a callback associated with it) we simply > provide an empty env_callback_init in SPL. > > Cc: Joe Hershberger >

Re: [U-Boot] [PATCH 2/5] ubi: ubifs: Turn off verbose prints

2013-03-20 Thread Joe Hershberger
Hi Stefan, Sorry for the delay. On Mon, Feb 11, 2013 at 4:52 AM, Stefan Roese wrote: > On 02/08/2013 09:07 PM, Joe Hershberger wrote: >> The prints are out of control. SILENCE! >> >> Signed-off-by: Joe Hershberger >> --- >> common/cmd_ubi.c | 3 +

Re: [U-Boot] [PATCH 2/5] ubi: ubifs: Turn off verbose prints

2013-03-20 Thread Joe Hershberger
Hi Stefan, On Wed, Mar 20, 2013 at 5:14 AM, Stefan Roese wrote: > I see. This is definitely helpful for your use-case, env in UBI. But I > would like to keep the UBI printf's for all other use cases. Or at least > make it configurable. That makes sense. > How about adding a switch/define, to o

[U-Boot] [PATCH v2 3/6] ubi: ubifs: Turn off verbose prints

2013-03-26 Thread Joe Hershberger
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger --- Changes in v2: - Cleaned up the msg print silencing common/cmd_ubi.c | 3 +++ drivers/mtd/mtdpart.c | 14 -- drivers/mtd/ubi/ubi.h | 4 fs/ubifs/ubifs.h | 4 4 files changed, 19

[U-Boot] [PATCH v2 2/6] ubi: Expose a few simple functions from the cmd_ubi

2013-03-26 Thread Joe Hershberger
Part, Read, and Write functionality that will be used by env_ubi. Signed-off-by: Joe Hershberger --- Changes in v2: - Added curly braces on "multi-line" statements - Added extern consistently in header common/cmd_ubi.c| 150 +--

[U-Boot] [PATCH v2 5/6] env: Add support for UBI environment

2013-03-26 Thread Joe Hershberger
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger --- Changes in v2: None README| 15 common/Makefile | 1

[U-Boot] [PATCH v2 0/6] Add support for using an UBI volume for environment

2013-03-26 Thread Joe Hershberger
u-boot env. Changes in v2: - Fixed error handling bug that prevents fail-over to default env on error - Added curly braces on "multi-line" statements - Added extern consistently in header - Cleaned up the msg print silencing - Added curly braces on "multi-line" statements

[U-Boot] [PATCH v2 1/6] ubi: Fix broken cleanup code in attach_by_scanning

2013-03-26 Thread Joe Hershberger
The unwind code was not reversing operations correctly and was causing a hang on any error condition. Signed-off-by: Joe Hershberger --- Changes in v2: - Fixed error handling bug that prevents fail-over to default env on error drivers/mtd/ubi/build.c | 8 drivers/mtd/ubi/wl.c| 1

[U-Boot] [PATCH v2 4/6] mtd: Make mtdparts work with pre-reloc env

2013-03-26 Thread Joe Hershberger
nv to not allow sets before the env is relocated. Signed-off-by: Joe Hershberger --- Changes in v2: None common/cmd_mtdparts.c | 23 +-- common/cmd_nvedit.c | 4 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdpa

[U-Boot] [PATCH v2 6/6] env: Add redundant env support to UBI env

2013-03-26 Thread Joe Hershberger
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger --- Changes in v2: - Added curly braces on "multi-line" statements README| 6 +++ common/env_ubi.c | 117 +

[U-Boot] [PATCH v3 3/7] ubi: ubifs: Add documentation for README

2013-04-08 Thread Joe Hershberger
Describe the needed CONFIG tokens to enable UBI and UBIFS support. Signed-off-by: Joe Hershberger --- Changes in v3: - Added documentation for UBI and UBIFS to README Changes in v2: None README | 16 1 file changed, 16 insertions(+) diff --git a/README b/README index 5701016

[U-Boot] [PATCH v3 1/7] ubi: Fix broken cleanup code in attach_by_scanning

2013-04-08 Thread Joe Hershberger
The unwind code was not reversing operations correctly and was causing a hang on any error condition. Signed-off-by: Joe Hershberger --- Changes in v3: None Changes in v2: - Fixed error handling bug that prevents fail-over to default env on error drivers/mtd/ubi/build.c | 8 drivers

[U-Boot] [PATCH v3 0/7] Add support for using an UBI volume for environment

2013-04-08 Thread Joe Hershberger
curly braces on "multi-line" statements - Added extern consistently in header - Cleaned up the msg print silencing - Added curly braces on "multi-line" statements Joe Hershberger (7): ubi: Fix broken cleanup code in attach_by_scanning ubi: Expose a few simple functions fr

[U-Boot] [PATCH v3 6/7] env: Add support for UBI environment

2013-04-08 Thread Joe Hershberger
UBI is a better place for the environment on NAND devices because it handles wear-leveling and bad blocks. Gluebi is needed in Linux to access the env as an MTD partition. Signed-off-by: Joe Hershberger --- Changes in v3: - Added comment to README about using _SILENCE_MSG options Changes in v2

[U-Boot] [PATCH v3 7/7] env: Add redundant env support to UBI env

2013-04-08 Thread Joe Hershberger
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger --- Changes in v3: None Changes in v2: - Added curly braces on "multi-line" statements README| 6 +++ common/env_ubi.c

<    1   2   3   4   5   6   7   8   9   10   >