Re: [U-Boot] [PATCH 1/6] net: introduce transparent driver private in ueth_data

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach wrote: > Avoid clutter in ueth_data. Individual drivers should not mess > with structures belonging to the core like this. > > Signed-off-by: Lucas Stach Acked-by: Joe Hershberger __

Re: [U-Boot] [PATCH 3/6] net: asix: split out basic reset function

2012-08-22 Thread Joe Hershberger
call it > from asix_eth_get_info(), so that it only gets called once. > > Signed-off-by: Lucas Stach Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/6] net: asix: add read_mac function

2012-08-22 Thread Joe Hershberger
ices that have their initial MAC stored in > EEPROM. Call this function inasix_eth_get_info(). > > Signed-off-by: Lucas Stach > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] net: asix: add AX88772B support

2012-08-22 Thread Joe Hershberger
default configuration. So stop > enumeration after we found them to avoid overwriting the > endpoint config with a non-working one. > > Signed-off-by: Lucas Stach > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/6] net: asix: add write_hwaddr function

2012-08-22 Thread Joe Hershberger
Hi Lucas, On Wed, Aug 22, 2012 at 5:09 AM, Lucas Stach wrote: > All ASIX chipsets aside from AX88172 are able to set the MAC > address on the hardware level. Add a function to expose this > ability. > > To differentiate between chip types we now carry flags as driver > private data. Also while to

Re: [U-Boot] [PATCH 1/3] nand: Add support for unlock.invert

2012-08-22 Thread Joe Hershberger
Hi Scott, On Fri, Aug 17, 2012 at 3:53 PM, Scott Wood wrote: > On 08/17/2012 03:31 PM, Joe Hershberger wrote: >> NAND unlock command allows an invert bit to be set to unlock all but >> the selected page range. >> >> Signed-off-by: Joe Hershberger >> --- >

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-08-22 Thread Joe Hershberger
Hi Andy, On Wed, Aug 22, 2012 at 3:40 PM, Andy Fleming wrote: > On Wed, Aug 22, 2012 at 2:59 PM, Troy Kisky > wrote: >> On 8/20/2012 5:35 PM, Andy Fleming wrote: >> The same way it works currently. I removed no features. > > > Agreed. But the way it works currently is bad. Many drivers do this:

Re: [U-Boot] [PATCHv2 3/5] net: asix: add write_hwaddr function

2012-08-22 Thread Joe Hershberger
e data. Also while touching the asix_dongles array > constify this. > > Signed-off-by: Lucas Stach > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 2/4] nand: Change ulong to loff_t and size_t

2012-08-22 Thread Joe Hershberger
Missed in previous cleanup. Signed-off-by: Joe Hershberger --- Changes in v2: - Added loff_t cleanup to series drivers/mtd/nand/nand_util.c | 5 +++-- include/nand.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd

[U-Boot] [PATCH v2 1/4] nand: Add support for unlock.invert

2012-08-22 Thread Joe Hershberger
NAND unlock command allows an invert bit to be set to unlock all but the selected page range. Signed-off-by: Joe Hershberger --- Changes in v2: - Changed invert to allexcept - Changed unlock printf to debug print - Dropped cast in unlock debug print common/cmd_nand.c| 13

[U-Boot] [PATCH v2 3/4] nand: consolidate duplicated constants

2012-08-22 Thread Joe Hershberger
NAND_CMD_ constants for lock/unlock should be in the header Signed-off-by: Joe Hershberger --- drivers/mtd/nand/nand_util.c | 6 -- include/linux/mtd/nand.h | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand

[U-Boot] [PATCH v2 4/4] nand: Make NAND lock status compatible with Micron

2012-08-22 Thread Joe Hershberger
Micron NAND flash (e.g. MT29F4G08ABADAH4) BLOCK LOCK READ STATUS is not the same as others. Instead of bit 1 being lock, it is #lock_tight. To make the driver support either format, ignore bit 1 and use only bit 0 and bit 2. Signed-off-by: Joe Hershberger --- Changes in v2: - Added comment

Re: [U-Boot] [PATCH 1/3] nand: Add support for unlock.invert

2012-08-23 Thread Joe Hershberger
Hi Scott, On Wed, Aug 22, 2012 at 8:38 PM, Scott Wood wrote: > On 08/22/2012 03:34 PM, Joe Hershberger wrote: >> Hi Scott, >> >> On Fri, Aug 17, 2012 at 3:53 PM, Scott Wood wrote: >>> On 08/17/2012 03:31 PM, Joe Hershberger wrote: >>>> NAND unlock

Re: [U-Boot] [PATCH 01/12] tools/env: Use a board-specific default env

2012-08-23 Thread Joe Hershberger
Hi Mike, On Wed, Aug 22, 2012 at 10:17 PM, Mike Frysinger wrote: > On Friday 17 August 2012 16:49:35 Joe Hershberger wrote: >> */ >> #define CONFIG_FILE "/etc/fw_env.config" >> >> +#ifndef CONFIG_FILE > > this doesn't make any sense. CONF

Re: [U-Boot] [PATCH 04/12] tools/env: Reduce the impact on real-time processes

2012-08-23 Thread Joe Hershberger
Hi Mike, On Wed, Aug 22, 2012 at 10:30 PM, Mike Frysinger wrote: > On Friday 17 August 2012 16:49:38 Joe Hershberger wrote: >> + * Break reads up into very small chunks so fw_printenv doesn't >> + * block the kernel long enough to starve other kernel

Re: [U-Boot] [PATCH v4 1/5] net/bootp: add VCI support for BOOTP also

2012-08-29 Thread Joe Hershberger
Hi Ilya, On Sun, Aug 5, 2012 at 4:21 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 > &g

Re: [U-Boot] [PATCH v5 4/5] OMAP: networking support for SPL

2012-08-29 Thread Joe Hershberger
Hi Ilya, On Tue, Aug 7, 2012 at 3:07 AM, Ilya Yanok wrote: > 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

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

2012-09-05 Thread Joe Hershberger
Hi Prafulla, On Mon, Sep 3, 2012 at 4:09 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Prafulla Wadaskar >> Sent: 30 July 2012 12:02 >> To: 'Marek Vasut'; u-boot@lists.denx.de >> Cc: Joe Hershberger; u-boot...@lists.de

Re: [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac

2012-09-12 Thread Joe Hershberger
buf' set but not used >> [-Wunused-but-set-variable] >> >> Signed-off-by: Marek Vasut >> Cc: Mike Frysinger > > Guess I should have Cced Joe too ... > Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/12] env: acl: Add environment variable access control list

2012-09-13 Thread Joe Hershberger
Hi Wolfgang, I guess you didn't see this the last time I sent it to you off list... On Thu, Sep 13, 2012 at 3:13 PM, Wolfgang Denk wrote: > Dear Joe Hershberger, > > In message <1345236586-19076-11-git-send-email-joe.hershber...@ni.com> you > wrote: >> Currently

Re: [U-Boot] [PATCH 2/4 v2] net: Add driver for Zynq Gem IP

2012-09-13 Thread Joe Hershberger
Hi Marek, On Thu, Sep 13, 2012 at 4:28 AM, Marek Vasut wrote: > Dear Michal Simek, >> + /* >> + * Following is the setup for Network Control register. >> + * Bit 2: Set to enable Receive operation. >> + * Bit 3: Set to enable Transmitt operation. >> + * Bit 4: Set to en

Re: [U-Boot] [PATCH 4/4 v3] xilinx: Add new Zynq board

2012-09-13 Thread Joe Hershberger
Hi Michal, On Thu, Aug 16, 2012 at 1:30 AM, Michal Simek wrote: > Add support for Xilinx Zynq board. > > Signed-off-by: Michal Simek > > --- > v2: Forget to also add config file > > v3: Change name for serial driver > Remove lowlevel_init from board folder > Remove XPSS part from timer b

Re: [U-Boot] [PATCH 1/4 v2] serial: Add Zynq serial driver

2012-09-13 Thread Joe Hershberger
Hi Marek, On Thu, Sep 13, 2012 at 9:01 AM, Marek Vasut wrote: > Dear Michal Simek, > >> On 09/13/2012 02:33 PM, Marek Vasut wrote: >> > Dear Michal Simek, >> > >> >> On 09/13/2012 11:21 AM, Marek Vasut wrote: >> >>> Dear Michal Simek, >> >>> >> The driver is used on Xilinx Zynq platform. >>

Re: [U-Boot] [PATCH 1/4 v2] serial: Add Zynq serial driver

2012-09-13 Thread Joe Hershberger
Hi Marek, On Thu, Sep 13, 2012 at 11:47 PM, Marek Vasut wrote: > Dear Joe Hershberger, > >> Hi Marek, >> >> On Thu, Sep 13, 2012 at 9:01 AM, Marek Vasut wrote: >> > Dear Michal Simek, >> > >> >> On 09/13/2012 02:33 PM, Marek Vasut wrote: >

Re: [U-Boot] [PATCH] phy: Add support for Marvell 88E1118R

2012-09-14 Thread Joe Hershberger
Hi Michal, On Fri, Sep 14, 2012 at 8:15 AM, Michal Simek wrote: > Hi Tom and Joe, > > > On 08/07/2012 02:23 PM, Michal Simek wrote: >> >> Marvell 88E1118R has different uid then 88E1118. >> >> Signed-off-by: Michal Simek >> CC: Andy Fleming >> CC: Zang Roy-R61911 >> CC: Kumar Gala >> --- >>

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Joe Hershberger
Hi Marek, On Fri, Sep 14, 2012 at 6:00 AM, Marek Vasut wrote: >> > I guess this platform won't make it into .10 release anyway. >> >> Why not? Any reason why these 4 patches should wait till the next release? > > MW is closed (Aug. 18) The first version of this series was sent on Aug 14. http://

Re: [U-Boot] [PATCH] net: sh_eth: Add support R8A7740 of rmobile (arm core)

2012-09-18 Thread Joe Hershberger
Hi Nobuhiro Iwamatsu, On Mon, Sep 17, 2012 at 8:11 PM, Nobuhiro Iwamatsu wrote: > Hi, Joe. > > Could you pick this patch to your repository? This is in my backlog. Thanks, -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/

Re: [U-Boot] [PATCH v2 1/4] nand: Add support for unlock.invert

2012-09-18 Thread Joe Hershberger
Hi Scott, On Mon, Sep 17, 2012 at 5:35 PM, Scott Wood wrote: > On Wed, Aug 22, 2012 at 04:49:42PM -0500, Joe Hershberger wrote: >> NAND unlock command allows an invert bit to be set to unlock all but >> the selected page range. >> >> Signed-off-by: Joe Hershberg

Re: [U-Boot] [PATCH 1/2] net: Allow netconsole settings to change after nc_start

2012-09-18 Thread Joe Hershberger
Hi Mike, On Fri, Aug 17, 2012 at 9:28 PM, Mike Frysinger wrote: > On Friday 17 August 2012 15:48:20 Joe Hershberger wrote: >> --- a/drivers/net/netconsole.c >> +++ b/drivers/net/netconsole.c >> >> +static int refresh_settings_from_env(void) > > this func always

[U-Boot] [PATCH 2/2] net: Filter incoming netconsole packets by IP

2012-09-18 Thread Joe Hershberger
Check the incoming packets' source IP address... if ncip isn't set to a broadcast address, only listen to the client at ncip. Signed-off-by: Joe Hershberger --- drivers/net/netconsole.c | 8 ++-- include/net.h| 3 ++- net/net.c| 1 + 3 files

[U-Boot] [PATCH 1/2] net: Allow netconsole settings to change after nc_start

2012-09-18 Thread Joe Hershberger
Refresh the netconsole settings from the env before each packet instead of only on netconsole init. Signed-off-by: Joe Hershberger --- Changes in v2: - Made string pointer const drivers/net/netconsole.c | 96 1 file changed, 65 insertions(+), 31

[U-Boot] [PATCH 0/2] net: Netconsole port configuration and filtering

2012-09-18 Thread Joe Hershberger
This series depends on this patch: http://patchwork.ozlabs.org/patch/174282/ Changes in v2: - Made string pointer const Joe Hershberger (2): net: Allow netconsole settings to change after nc_start net: Filter incoming netconsole packets by IP drivers/net/netconsole.c | 104

Re: [U-Boot] [PATCH 2/2] Add unlzo command

2012-09-18 Thread Joe Hershberger
Hi Mike, On Fri, Aug 17, 2012 at 6:26 PM, Mike Frysinger wrote: > On Friday 17 August 2012 16:59:44 Joe Hershberger wrote: >> --- a/common/Makefile >> +++ b/common/Makefile >> >> ifdef CONFIG_LZMA >> COBJS-$(CONFIG_CMD_UNLZMA) += cmd_unlzma.o >>

Re: [U-Boot] [PATCH 1/6] h2200: Add support for iPAQ h2200

2012-09-19 Thread Joe Hershberger
Hi Marek, On Wed, Sep 19, 2012 at 4:02 PM, Marek Vasut wrote: > Dear Łukasz Dałek, > > [ Joe, see the bottom of my babble here ] > >> + >> +# define CONFIG_USB_ETHER1 >> +# define CONFIG_USBNET_DEV_ADDR "de:ad:be:ef:00:01" >> +# define CONFIG_USBNET_HOST_ADDR "de:ad:b

Re: [U-Boot] [PATCH v7 3/4] OMAP: networking support for SPL

2012-09-20 Thread Joe Hershberger
n v7: > - remove explicit cmd undef from net/tftp.c also > - add GPLv2 header to config_uncmd_spl.h > - remove CONFIG_SPL_BUILD clause at hang() (not needed) Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] net/phy: support the mv88e6352 switch

2012-09-21 Thread Joe Hershberger
16:47 >>> To: u-boot@lists.denx.de >>> Cc: Valentin Longchamp; Holger Brunck; Prafulla Wadaskar; Joe >>> Hershberger >>> Subject: [PATCH] net/phy: support the mv88e6352 switch >>> >>> This patch add support for the configuration of an

[U-Boot] [RFC PATCH 0/5] Add environment call-back capability

2012-09-21 Thread Joe Hershberger
little feedback if this is a good implementation. It certainly cleans up cmd_nvedit.c significantly! Joe Hershberger (5): env: Add support for callbacks to environment vars env: Add a loadaddr env handler env: Add a bootfile env handler env: Add a baudrate env handler env: Add a

[U-Boot] [RFC PATCH 2/5] env: Add a loadaddr env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_load.c | 24 ++-- common/cmd_nvedit.c| 10 +- include/env_callback.h | 1 + 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a

[U-Boot] [RFC PATCH 4/5] env: Add a baudrate env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger --- common/Makefile| 2 +- common/cmd_nvedit.c| 35 -- common/serial.c| 58 ++ include/env_callback.h

[U-Boot] [RFC PATCH 5/5] env: Add a console env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 31 --- common/console.c | 46 ++ include/env_callback.h | 1 + 3 files changed, 47

[U-Boot] [RFC PATCH 3/5] env: Add a bootfile env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 13 - include/env_callback.h | 2 +- net/net.c | 16 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/common

[U-Boot] [RFC PATCH 1/5] env: Add support for callbacks to environment vars

2012-09-21 Thread Joe Hershberger
Add support for callbacks to the "hashtable" functions. One check-patch warning to inter-op with existing hashtable code: WARNING: do not add new typedefs +typedef struct entry ENTRY; Signed-off-by: Joe Hershberger --- arch/arm/cpu/u-boot.lds | 7 +++ common/Makefile | 2

Re: [U-Boot] [PATCH 1/3] common: Add symbol handling for generic lists into Makefile

2012-09-24 Thread Joe Hershberger
iles. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Mike Frysinger > --- > Makefile | 21 ++--- > spl/Makefile | 14 +- > 2 files changed, 31 insertions(+), 4 deletions(-) > > diff --git a/Makefile b/Makefile >

Re: [U-Boot] [PATCH 2/3] common: Implement support for linker-generated arrays

2012-09-24 Thread Joe Hershberger
begining and end > respecitively. > > This allows for simple run-time traversing of the array, since the > symbols are properly defined. > > Signed-off-by: Marek Vasut > Cc: Joe Hershberger > Cc: Mike Frysinger > --- > include/linker_lists.h | 125 > +++

Re: [U-Boot] [PATCH 3/3] common: Add .u_boot_list into all linker files

2012-09-24 Thread Joe Hershberger
Hi Marek, On Sun, Sep 23, 2012 at 8:21 PM, Marek Vasut wrote: > Add section for the linker-generated lists into all possible linker > files, so that everyone can easily use these lists. This is mostly > a mechanical adjustment. > > Signed-off-by: Marek Vasut > Cc: Joe Hersh

Re: [U-Boot] [PATCH 1/3] common: Add symbol handling for generic lists into Makefile

2012-09-24 Thread Joe Hershberger
Hi Marex, On Mon, Sep 24, 2012 at 11:04 AM, Marek Vasut wrote: > Dear Joe Hershberger, [...] >> Could you not reuse this complicated logic by defining a make function >> and then call + eval it? Something like this: > > > Can you elaborate more? I don't quite ge

Re: [U-Boot] [PATCH 3/3] common: Add .u_boot_list into all linker files

2012-09-24 Thread Joe Hershberger
Hi Tom, On Mon, Sep 24, 2012 at 12:18 PM, Tom Rini wrote: > On Mon, Sep 24, 2012 at 07:09:35PM +0200, Marek Vasut wrote: >> Dear Tom Rini, >> >> > On Mon, Sep 24, 2012 at 06:53:19PM +0200, Marek Vasut wrote: >> > > Dear Joe Hershberger, >> > > &g

Re: [U-Boot] [PATCH 1/3] common: Add symbol handling for generic lists into Makefile

2012-09-24 Thread Joe Hershberger
Hi Marek, On Mon, Sep 24, 2012 at 12:08 PM, Marek Vasut wrote: > Dear Joe Hershberger, > >> Hi Marex, >> >> On Mon, Sep 24, 2012 at 11:04 AM, Marek Vasut wrote: >> > Dear Joe Hershberger, >> >> [...] >> >> >> Could you not reuse th

Re: [U-Boot] [PATCH V1 1/3] phy: add phy_connect_by_mask

2012-09-26 Thread Joe Hershberger
Hi Troy, On Wed, Aug 22, 2012 at 4:21 PM, Troy Kisky wrote: > On 8/22/2012 1:40 PM, Andy Fleming wrote: >> >> >> >> 1) Modify the driver so that the PHY address is passed in from board >> initialization code programmatically. As a nod to the effort of doing >> so for all boards, you can create a

Re: [U-Boot] KernelDoc

2012-09-26 Thread Joe Hershberger
Hi Marek, On Wed, Sep 26, 2012 at 10:26 AM, Marek Vasut wrote: > Dear Wolfgang Denk, > >> Dear Marek, >> >> In message <201209252246.10322.ma...@denx.de> you wrote: >> > I've had a discussion with Wolfgang just now about U-Boot coding style. I >> > tried using KernelDoc in a patch, which is not p

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

2012-09-27 Thread Joe Hershberger
Address) Chander Kashyap (1): PXE: FDT: Add support for fdt in PXE Joe Hershberger (5): net: Make netconsole src and dest ports configurable net: Make the netconsole buffer size configurable net: Improve the speed of netconsole net: Allow netconsole settings to change after

[U-Boot] [RFC PATCH v2 0/5] Add environment call-back capability

2012-09-27 Thread Joe Hershberger
little feedback if this is a good implementation. It certainly cleans up cmd_nvedit.c significantly! Changes in v2: - Added much-needed documentation - Factored out prevch and nextch in env_attr_lookup() Joe Hershberger (5): env: Add support for callbacks to environment vars env: Add a

[U-Boot] [RFC PATCH v2 3/5] env: Add a bootfile env handler

2012-09-27 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 13 - include/env_callback.h | 2 +- net/net.c | 16 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/common

[U-Boot] [RFC PATCH v2 5/5] env: Add a console env handler

2012-09-27 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 31 --- common/console.c | 46 ++ include/env_callback.h | 1 + 3 files changed, 47

[U-Boot] [RFC PATCH v2 2/5] env: Add a loadaddr env handler

2012-09-27 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_load.c | 24 ++-- common/cmd_nvedit.c| 10 +- include/env_callback.h | 1 + 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a

[U-Boot] [RFC PATCH v2 4/5] env: Add a baudrate env handler

2012-09-27 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger --- common/Makefile| 2 +- common/cmd_nvedit.c| 35 -- common/serial.c| 58 ++ include

[U-Boot] [RFC PATCH v2 1/5] env: Add support for callbacks to environment vars

2012-09-27 Thread Joe Hershberger
Add support for callbacks to the "hashtable" functions. One check-patch warning to inter-op with existing hashtable code: WARNING: do not add new typedefs +typedef struct entry ENTRY; Signed-off-by: Joe Hershberger --- Changes in v2: - Added much-needed documentation - Factored out

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Joe Hershberger
Hi Chris, On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham wrote: > Hi, > > Here at $dayjob we make embedded network devices (routers & switches). > Because we have an interest in getting people to adopt IPv6 we've added code > to our local u-boot repository to add basic IPv6 support on our boards.

Re: [U-Boot] [RFC] Is anyone interested IPv6 support for u-boot

2013-01-10 Thread Joe Hershberger
Hi Chris, On Thu, Jan 10, 2013 at 3:34 PM, Chris Packham wrote: > > On Fri, Jan 11, 2013 at 8:16 AM, Joe Hershberger > wrote: >> >> Hi Chris, >> >> On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham >> wrote: >> > Hi, >> > >> > He

Re: [U-Boot] [PATCH v5 07/20] env: Add support for callbacks to environment vars

2013-01-14 Thread Joe Hershberger
Hi Stefan, On Fri, Jan 11, 2013 at 2:06 AM, Stefan Roese wrote: > Hi Joe, > > On 12/12/2012 05:16 AM, Joe Hershberger wrote: >> Add support for per-variable callbacks to the "hashtable" functions. > > I just noticed using latest master branch that booting on a N

Re: [U-Boot] [RFC PATCH v2 0/5] Initial IPv6 support

2013-01-18 Thread Joe Hershberger
an ipv6 >> branch collecting my changes if anyone wants to pull it down for their >> own testing. If we want to apply some of the simple stuff early that's >> fine by me. > > I see no problem with handling this as a branch (for example in the > u-boot-net or u-boot-

Re: [U-Boot] [PATCH] vfat: Fix mkcksum argument sizes

2013-01-31 Thread Joe Hershberger
lt; sizeof(name); i++) > + for (i = 0; i < 8; i++) > ret = (((ret & 1) << 7) | ((ret & 0xfe) >> 1)) + name[i]; > - for (i = 0; i < sizeof(ext); i++) > + for (i = 0; i < 3; i++) >

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

2013-02-08 Thread Joe Hershberger
u-boot env. Joe Hershberger (5): ubi: Expose a few simple functions from the cmd_ubi ubi: ubifs: Turn off verbose prints mtd: Make mtdparts work with pre-reloc env env: Add support for UBI environment env: Add redundant env support to UBI env README| 21 + common

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

2013-02-08 Thread Joe Hershberger
Allow the user to specify two UBI volumes to use for the environment Signed-off-by: Joe Hershberger --- README| 6 +++ common/env_ubi.c | 115 ++ include/environment.h | 3 ++ tools/env/fw_env.c| 3 ++ 4 files

[U-Boot] [PATCH 3/5] mtd: Make mtdparts work with pre-reloc env

2013-02-08 Thread Joe Hershberger
nv to not allow sets before the env is relocated. Signed-off-by: Joe Hershberger --- 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_mtdparts.c index 06fc171..e7

[U-Boot] [PATCH 1/5] ubi: Expose a few simple functions from the cmd_ubi

2013-02-08 Thread Joe Hershberger
Part, Read, and Write functionality that will be used by env_ubi. Signed-off-by: Joe Hershberger --- common/cmd_ubi.c| 146 include/ubi_uboot.h | 3 ++ 2 files changed, 83 insertions(+), 66 deletions(-) diff --git a/common/cmd_ubi.c b

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

2013-02-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 --- README| 15 common/Makefile | 1 + common

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

2013-02-08 Thread Joe Hershberger
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger --- common/cmd_ubi.c | 3 +++ drivers/mtd/mtdpart.c | 14 -- drivers/mtd/ubi/ubi.h | 3 ++- fs/ubifs/ubifs.h | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/common/cmd_ubi.c

[U-Boot] [PATCH] env: Avoid clobbering an edited variable on ctrl-c

2013-02-08 Thread Joe Hershberger
If readline says there was an error, don't write to the variable! Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 7633f0c..063536b 100644 --- a/common/cmd_nvedit.c

[U-Boot] [PATCH] Allow u-boot to be silent without forcing Linux to be

2013-02-08 Thread Joe Hershberger
That's a bit presumptuous of you, u-boot! Signed-off-by: Joe Hershberger --- common/cmd_bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 7ae5d5b..435c980 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bo

[U-Boot] [PATCH] net: Correct check for link-local target IP conflict

2013-02-08 Thread Joe Hershberger
Make the link-local code conform more completely with the RFC. This will prevent ARP queries for the target (such as while it is rebooting) from causing the device to choose a different link-local address, thinking that its address is in use by another machine. Signed-off-by: Joe Hershberger

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

2013-02-08 Thread Joe Hershberger
runtime. Signed-off-by: Joe Hershberger --- common/main.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/common/main.c b/common/main.c index e2d2e09..0973c59 100644 --- a/common/main.c +++ b/common/main.c @@ -95,7 +95,7 @@ extern void mdm_init(void); /* defined in

Re: [U-Boot] [PATCH v2] MAKEALL: fix kill_children for BSD hosts

2013-02-08 Thread Joe Hershberger
ild PID detection. > > Signed-off-by: Andreas Bießmann > Cc: Joe Hershberger > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] mtd: nand: Check if NAND is locked tight before lock cmds

2013-02-08 Thread Joe Hershberger
If the NAND is locked tight, commands such as lock and unlock will not work, but the NAND chip may not report an error. Check the lock tight status before attempting such operations so that an error status can be reported if we know the operation will not succeed. Signed-off-by: Joe Hershberger

Re: [U-Boot] [PATCH v2 1/7] usb: net: asix: Do a fast init if link already established

2013-02-17 Thread Joe Hershberger
Hi Simon, On Sun, Feb 17, 2013 at 12:47 AM, Simon Glass wrote: > Hi Joe, > > On Thu, Dec 20, 2012 at 6:29 PM, Joe Hershberger > wrote: >> Hi Simon, >> >> On Thu, Dec 13, 2012 at 8:21 PM, Simon Glass wrote: >>> The Asix driver takes the link down during

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

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