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 joe.hershber...@ni.com 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

[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 yoshihiro.shimoda...@renesas.com 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

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 yoshihiro.shimoda...@renesas.com 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:

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 yoshihiro.shimoda...@renesas.com 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 yoshihiro.shimoda...@renesas.com

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 yoshihiro.shimoda...@renesas.com 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

[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 joe.hershber...@ni.com --- doc/README.NetConsole|2 ++ drivers/net/netconsole.c | 10 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/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 joe.hershber...@ni.com --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 29 - tools

[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 joe.hershber...@ni.com Cc: Stefano Babic sba...@denx.de --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 26

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 ilya.ya...@cogentembedded.com 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

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

2012-07-30 Thread Joe Hershberger
: 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. armada100_fec.c: In function 'armdfec_send': armada100_fec.c:589:2: warning: dereferencing type-punned pointer

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 vap...@gentoo.org 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 joe.hershber...@ni.com Cc: Mike Frysinger vap...@gentoo.org --- doc/README.NetConsole|3 +++ drivers/net/netconsole.c | 29

[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 joe.hershber...@ni.com Cc: Mike Frysinger vap...@gentoo.org --- doc/README.NetConsole|2 ++ drivers/net/netconsole.c |8 ++-- 2 files changed, 8 insertions(+), 2

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 vap...@gentoo.org 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/net/eth.c +++ b/net/eth.c

[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 joe.hershber...@ni.com Cc: Stefano Babic sba...@denx.de --- common/cmd_bootm.c | 17 + drivers/net/netconsole.c | 22

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 benoit.thebaud...@advansee.com 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

[U-Boot] [PATCH v4 19/20] env: Implement the env delete command

2012-12-04 Thread Joe Hershberger
Implement a way to delete more than one variable at a time. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: - Implement delete Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 35 --- 1 file changed, 32 insertions(+), 3

[U-Boot] [PATCH v4 04/20] env: Refactor apply into change_ok

2012-12-04 Thread Joe Hershberger
access to the whole data structure. Pass an enum to the callback that specifies the operation being approved. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: - Split hdelete_r() into the core delete and the validation before delete - Delete vars on failed

[U-Boot] [PATCH v4 0/20] Add environment call-back and flags capability

2012-12-04 Thread Joe Hershberger
in env_attr_lookup() - Fix space skipping in env_attr_lookup() - All errors coming back from hsearch_r() are no longer fatal. Don't abort import on failed ENTER action. - Removed checkpatch.pl warning Changes in v2: - Added much-needed documentation - Factored out prevch and nextch in env_attr_lookup() Joe

[U-Boot] [PATCH v4 10/20] env: Add a baudrate env handler

2012-12-04 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 47 - drivers/serial/serial.c | 70

[U-Boot] [PATCH v4 12/20] env: Add a console env handler

2012-12-04 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 36 +++- common/console.c | 44

[U-Boot] [PATCH v4 14/20] env: Add environment variable flags

2012-12-04 Thread Joe Hershberger
in the environment distracting you. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None README | 37 ++ common/Makefile| 2 + common/cmd_nvedit.c| 50 +--- common/env_common.c| 2 +- common/env_flags.c

[U-Boot] [PATCH v4 20/20] env: Handle write-once ethaddr and serial# generically

2012-12-04 Thread Joe Hershberger
Use the variable access flags to implement the protection for ethaddr and serial# instead of hard-coding them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/env_flags.c | 19 --- include/env_flags.h

[U-Boot] [PATCH v4 08/20] env: Add a command to view callbacks

2012-12-04 Thread Joe Hershberger
The callbacks can be bound, but are otherwise invisible. Add a command to show what callbacks are available. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None README | 1 + common/cmd_nvedit.c | 77

[U-Boot] [PATCH v4 02/20] env: Refactor do_apply to a flag

2012-12-04 Thread Joe Hershberger
Use a flag in hsearch_r for insert mode passed from import to allow the behavior be different based on use. Now that do_check is called for all imports, ensure console init is complete before updating the console on relocation import Signed-off-by: Joe Hershberger joe.hershber...@ni.com

[U-Boot] [PATCH v4 05/20] env: Use getenv_yesno() more generally

2012-12-04 Thread Joe Hershberger
Move the getenv_yesno() to env_common.c and change most checks for 'y' or 'n' to use this helper. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/lib/board.c| 4 +--- arch/m68k/lib/board.c | 3

[U-Boot] [PATCH v4 06/20] env: Hide '.' variables in env print by default

2012-12-04 Thread Joe Hershberger
When printing all variables with env print, don't print variables that begin with '.'. If env print is called with a '-a' switch, then include variables that begin with '.' (just like the ls command). Variables printed explicitly will be printed even without the -a. Signed-off-by: Joe

[U-Boot] [PATCH v4 11/20] env: Add a loadaddr env handler

2012-12-04 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 12 common/image.c | 21 + include

[U-Boot] [PATCH v4 09/20] env: Add a bootfile env handler

2012-12-04 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 9 - include/env_callback.h | 1 + net/net.c | 17

[U-Boot] [PATCH v4 16/20] env: Add a command to display details about env flags

2012-12-04 Thread Joe Hershberger
Similar to the env callback command, this will show details about the options available, the static list, and the currently active variables. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: - Add help text for env flags command Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 01/20] Make linux kernel string funcs available to tools

2012-12-04 Thread Joe Hershberger
-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None include/linux/linux_string.h | 8 +++ include/linux/string.h | 5 + lib/Makefile | 1 + lib/linux_string.c | 51

[U-Boot] [PATCH v4 18/20] env: Add setenv force support

2012-12-04 Thread Joe Hershberger
Now that we have support for permissions, add a way to override them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: - Add force support to setenv Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 29 +++-- 1 file changed, 23

[U-Boot] [PATCH v4 03/20] env: Consolidate common code in hsearch_r()

2012-12-04 Thread Joe Hershberger
The same chunk of code was replicated in two places and the following changes will make that chunk grow a bit, so combine into a static func. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None lib/hashtable.c | 71

[U-Boot] [PATCH v4 13/20] env: Add a silent env handler

2012-12-04 Thread Joe Hershberger
The silent variable now updates the global data flag anytime it is changed as well as after the env relocation (in case its value is different from the default env in such cases as NAND env) Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes

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

2012-12-04 Thread Joe Hershberger
Add support for per-variable callbacks to the hashtable functions. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: - Use Marek's linker lists instead of implementing it directly - Rebase onto latest master - Add flags parameter to callbacks - Implement

[U-Boot] [PATCH v4 15/20] tools/env: Add environment variable flags support

2012-12-04 Thread Joe Hershberger
, but prevents the need to have every definition in the environment distracting you. Need to build in _ctype for isdigit for Linux. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None common/env_attr.c | 7 + common

[U-Boot] [PATCH v4 17/20] env: Add support for access control to .flags

2012-12-04 Thread Joe Hershberger
Add support for read-only, write-once, and change-default. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: None Changes in v3: None Changes in v2: None README| 13 - common/cmd_nvedit.c | 31 -- common/env_common.c | 18 ++ common

[U-Boot] [PATCH] env: Fixup typos in callback

2012-12-11 Thread Joe Hershberger
Use the same command guard on the help and make the help accurate. Fix spelling in header. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- common/cmd_nvedit.c| 6 +++--- include/env_callback.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common

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

2012-12-11 Thread Joe Hershberger
to 7680b9a758b257ea272c83518d9c76c3ef0a59b8: net: usb: smsc95xx: Pull out init of struct eth_ops (2012-12-10 14:28:03 -0600) Joe Hershberger (1): net: Fix endianness bug in link-local Michal Simek (1): phy: Add support for Marvell 88E1118R Ruchika

[U-Boot] [BUGFIX PATCH] mips: serial: Fix busted manual relocation

2012-12-11 Thread Joe Hershberger
serial_initialize() must be called after relocation to adjust the pointers to putc(), getc(), etc. This is busted ever since the serial driver-model-ification series. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- arch/mips/lib/board.c | 2 ++ 1 file changed, 2 insertions(+) diff

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

2012-12-11 Thread Joe Hershberger
Hi Thomas, On Tue, Dec 11, 2012 at 5:47 PM, Langer Thomas (LQDE RD ST PON SW) thomas.lan...@lantiq.com wrote: Hello Joe, These patches for static initialization of the struct eth_ops will break the drivers on any architecture which needs manual relocation! I've send a comment regarding

[U-Boot] [PATCH v5 13/20] env: Add a silent env handler

2012-12-11 Thread Joe Hershberger
The silent variable now updates the global data flag anytime it is changed as well as after the env relocation (in case its value is different from the default env in such cases as NAND env) Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes

[U-Boot] [PATCH v5 10/20] env: Add a baudrate env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 47 - drivers/serial/serial.c

[U-Boot] [PATCH v5 16/20] env: Add a command to display details about env flags

2012-12-11 Thread Joe Hershberger
Similar to the env callback command, this will show details about the options available, the static list, and the currently active variables. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: - Add help text for env flags command Changes in v3: None

[U-Boot] [PATCH v5 20/20] env: Handle write-once ethaddr and serial# generically

2012-12-11 Thread Joe Hershberger
Use the variable access flags to implement the protection for ethaddr and serial# instead of hard-coding them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/env_flags.c | 19

[U-Boot] [PATCH v5 09/20] env: Add a bootfile env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 9 - include/env_callback.h | 1 + net/net.c

[U-Boot] [PATCH v5 06/20] env: Hide '.' variables in env print by default

2012-12-11 Thread Joe Hershberger
When printing all variables with env print, don't print variables that begin with '.'. If env print is called with a '-a' switch, then include variables that begin with '.' (just like the ls command). Variables printed explicitly will be printed even without the -a. Signed-off-by: Joe

[U-Boot] [PATCH v5 12/20] env: Add a console env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 36 +++- common/console.c

[U-Boot] [PATCH v5 08/20] env: Add a command to view callbacks

2012-12-11 Thread Joe Hershberger
The callbacks can be bound, but are otherwise invisible. Add a command to show what callbacks are available. Signed-off-by: Joe Hershberger joe.hershber...@ni.com !!! fix callback command --- Changes in v5: - Fixed callbacks command help - Compare current callback against pre-relocation address

[U-Boot] [PATCH v5 0/20] Add environment call-back and flags capability

2012-12-11 Thread Joe Hershberger
- Factored out prevch and nextch in env_attr_lookup() Joe Hershberger (20): Make linux kernel string funcs available to tools env: Refactor do_apply to a flag env: Consolidate common code in hsearch_r() env: Refactor apply into change_ok env: Use getenv_yesno() more generally env: Hide

[U-Boot] [PATCH v5 05/20] env: Use getenv_yesno() more generally

2012-12-11 Thread Joe Hershberger
Move the getenv_yesno() to env_common.c and change most checks for 'y' or 'n' to use this helper. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/lib/board.c| 4 +--- arch/m68k/lib

[U-Boot] [PATCH v5 19/20] env: Implement the env delete command

2012-12-11 Thread Joe Hershberger
Implement a way to delete more than one variable at a time. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: - Implement delete Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 35 --- 1 file changed, 32

[U-Boot] [PATCH v5 18/20] env: Add setenv force support

2012-12-11 Thread Joe Hershberger
Now that we have support for permissions, add a way to override them. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: - Add force support to setenv Changes in v3: None Changes in v2: None common/cmd_nvedit.c | 29 +++-- 1

[U-Boot] [PATCH v5 11/20] env: Add a loadaddr env handler

2012-12-11 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_nvedit.c| 12 common/image.c | 21

[U-Boot] [PATCH v5 02/20] env: Refactor do_apply to a flag

2012-12-11 Thread Joe Hershberger
Use a flag in hsearch_r for insert mode passed from import to allow the behavior be different based on use. Now that do_check is called for all imports, ensure console init is complete before updating the console on relocation import Signed-off-by: Joe Hershberger joe.hershber...@ni.com

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

2012-12-11 Thread Joe Hershberger
Add support for per-variable callbacks to the hashtable functions. Signed-off-by: Joe Hershberger joe.hershber...@ni.com !!!fix comment in callback --- Changes in v5: - Add support for CONFIG_NEEDS_MANUAL_RELOC boards - Fixed comment typo Changes in v4: None Changes in v3: - Use Marek's linker

[U-Boot] [PATCH v5 01/20] Make linux kernel string funcs available to tools

2012-12-11 Thread Joe Hershberger
-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/linux/linux_string.h | 8 +++ include/linux/string.h | 5 + lib/Makefile | 1 + lib/linux_string.c | 51

[U-Boot] [PATCH v5 17/20] env: Add support for access control to .flags

2012-12-11 Thread Joe Hershberger
Add support for read-only, write-once, and change-default. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: - Fixed out-of-bounds array access in env_flags_parse_varaccess() Changes in v4: None Changes in v3: None Changes in v2: None README| 13

[U-Boot] [PATCH v5 15/20] tools/env: Add environment variable flags support

2012-12-11 Thread Joe Hershberger
, but prevents the need to have every definition in the environment distracting you. Need to build in _ctype for isdigit for Linux. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None common/env_attr.c | 7

[U-Boot] [PATCH v5 04/20] env: Refactor apply into change_ok

2012-12-11 Thread Joe Hershberger
access to the whole data structure. Pass an enum to the callback that specifies the operation being approved. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: - Manually relocate change_ok() pointer Changes in v4: None Changes in v3: - Split hdelete_r() into the core delete

[U-Boot] [PATCH v5 03/20] env: Consolidate common code in hsearch_r()

2012-12-11 Thread Joe Hershberger
The same chunk of code was replicated in two places and the following changes will make that chunk grow a bit, so combine into a static func. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None lib/hashtable.c

[U-Boot] [PATCH v5 14/20] env: Add environment variable flags

2012-12-11 Thread Joe Hershberger
in the environment distracting you. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v5: - Fixed out-of-bounds array access in env_flags_parse_vartype() Changes in v4: None Changes in v3: None Changes in v2: None README | 37 ++ common/Makefile| 2 + common

Re: [U-Boot] [PATCH] net: sh_eth: add support for SH7752

2012-12-11 Thread Joe Hershberger
Hi On Wed, Dec 12, 2012 at 12:37 AM, Nobuhiro Iwamatsu iwama...@nigauri.org wrote: Hi, Joe. Please pick this patch for your repository. Sure thing. Did you recently assign it to me in patchwork? I don't remember seeing it when I pulled patches a few days back. -Joe Best regards,

Re: [U-Boot] [PATCH] env: don't generate callback list entries for SPL

2012-12-14 Thread Joe Hershberger
) to break due to size limitations. A static inline function is used to provide a context in which we can consume the callback, and thus avoid unused function warnings. Signed-off-by: Scott Wood scottw...@freescale.com Sorry about that. Acked-by: Joe Hershberger joe.hershber...@ni.com

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

2012-12-14 Thread Joe Hershberger
*/ /* driver private */ void *dev_priv; Acked-by: Joe Hershberger joe.hershber...@ni.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] fw_env: fix incorrect usage of open(O_CREAT)

2012-12-15 Thread Joe Hershberger
...@gentoo.org Acked-by: Joe Hershberger joe.hershber...@ni.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] fw_env: fix type of len

2012-12-15 Thread Joe Hershberger
' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat] Signed-off-by: Mike Frysinger vap...@gentoo.org --- Acked-by: Joe Hershberger joe.hershber...@ni.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH 3/3] fw_env: fix building w/out a config.h

2012-12-15 Thread Joe Hershberger
Hi Mike On Sat, Nov 10, 2012 at 11:47 PM, Mike Frysinger vap...@gentoo.org wrote: Signed-off-by: Mike Frysinger vap...@gentoo.org --- tools/env/Makefile | 11 ++- tools/env/fw_env.h | 25 - 2 files changed, 10 insertions(+), 26 deletions(-) diff --git

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

2012-12-15 Thread Joe Hershberger
: sh_eth: add support for SH7752 (2012-12-15 12:28:24 -0600) Joe Hershberger (1): net: Fix endianness bug in link-local Michal Simek (1): phy: Add support for Marvell 88E1118R Ruchika Gupta (1): e1000e : Correct Rx

Re: [U-Boot] [PATCH] env: don't generate callback list entries for SPL

2012-12-17 Thread Joe Hershberger
Hi Tom, On Mon, Dec 17, 2012 at 1:58 PM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/17/12 14:55, Wolfgang Denk wrote: Dear Tom, In message 50cf6ea8.4050...@ti.com you wrote: Since I'd assume 'sort' in make isn't sort -u, I'm not sure how it's

Re: [U-Boot] [U-Boot,1/3] fw_env: fix type of len

2012-12-19 Thread Joe Hershberger
'fw_setenv': fw_env.c:409:5: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'int' [-Wformat] Signed-off-by: Mike Frysinger vap...@gentoo.org Acked-by: Joe Hershberger joe.hershber...@ni.com For the series, applied to u-boot/master, thanks! I NACKed

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

2012-12-20 Thread Joe Hershberger
--- Changes in v2: None Acked-by: Joe Hershberger joe.hershber...@ni.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 5/7] usb: usbeth: smsc95xx: remove EEPROM loaded check

2012-12-20 Thread Joe Hershberger
operations. This prevents any reading or writing unless a correctly programmed EEPROM is installed. Signed-off-by: Michael Spang sp...@chromium.org Signed-off-by: Simon Glass s...@chromium.org Acked-by: Marek Vasut ma...@denx.de --- Acked-by: Joe Hershberger joe.hershber...@ni.com

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 judge.pack...@gmail.com 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

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 judge.pack...@gmail.com wrote: On Fri, Jan 11, 2013 at 8:16 AM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Chris, On Wed, Jan 9, 2013 at 9:25 PM, Chris Packham judge.pack...@gmail.com wrote: Hi, Here at $dayjob we

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 s...@denx.de 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 NOR flash based board (sequoia

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

2013-01-18 Thread Joe Hershberger
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-testing repositories). This should probably be decided by Joe

[U-Boot] TFTP Server in U-Boot / Pushing files to U-Boot

2009-09-21 Thread Joe Hershberger
Hi All, This is related to the post here: http://www.mail-archive.com/u-boot@lists.denx.de/msg06428.html My use case is similar... updating the kernel remotely to a deployed, physically inaccessible system. I am considering the same thing (TFTP server in U-Boot), but I believe I have a good

Re: [U-Boot] TFTP Server in U-Boot / Pushing files to U-Boot

2009-09-21 Thread Joe Hershberger
On Mon, Sep 21, 2009 at 4:56 PM, Wolfgang Denk w...@denx.de wrote: In message 4b538920909211414o3a7e9c84se0df6e1622f49...@mail.gmail.com you wrote: I am considering the same thing (TFTP server in U-Boot), but I believe I have a good reason for wanting it.  At the same time, I don't want

[U-Boot] Read-only env variables

2010-04-27 Thread Joe Hershberger
Hi u-boot, I see u-boot supports readonly serial# and ethaddr, but I have a few other variables that I need to be read-only. I'm planning to implement a generic list of variables that cannot be changed or deleted. I'm interested to know what sort of specification people would find most

Re: [U-Boot] Read-only env variables

2010-05-10 Thread Joe Hershberger
On Mon, May 10, 2010 at 1:56 AM, Wolfgang Denk w...@denx.de wrote: Well, we could go for a simple type scheme, something like        d - decimal number        i - IP address        m - mac address        s - string        x - hex number        ... l - list delimited by ';' (special

Re: [U-Boot] Read-only env variables

2010-05-10 Thread Joe Hershberger
On Mon, May 10, 2010 at 3:43 PM, Wolfgang Denk w...@denx.de wrote:        l - list delimited by ';' (special behavior for setenv) Don't do this. ';' has a clear meaning. Using it for other purposes Fair enough... ',' then. That seems pretty reasonable.  I think I'd like to see the access

Re: [U-Boot] Read-only env variables

2010-05-11 Thread Joe Hershberger
On Tue, May 11, 2010 at 5:03 PM, Wolfgang Denk w...@denx.de wrote: In message 67bfaf42e016fc40ade4ee73e07b706004668...@pks5.kanatek.com you wrote: I ran into the same situation, where I needed set of environment variables for in house testing, and a different set for when products

Re: [U-Boot] Read-only env variables

2010-05-12 Thread Joe Hershberger
On Wed, May 12, 2010 at 4:34 AM, Wolfgang Denk w...@denx.de wrote: There has been discussion about such a feature in the past. I even tried to define the user interface for such a command set, but unfortunately I didn't have enough time myself and nobody else took the bait either. Ok...

Re: [U-Boot] NetConsole and network API

2010-10-22 Thread Joe Hershberger
On Fri, Oct 22, 2010 at 2:23 AM, RaúlSánchez Siles rsanch...@infoglobal.es wrote:  Hello Joe: Joe Hershberger joe.hershberger at gmail.com writes: I've run into the same issue and patched net.c a bit to improve the behavior of the NetConsole use case.  It's a surgical change, though

Re: [U-Boot] Read-only env variables

2010-06-22 Thread Joe Hershberger
have not removed the other options it could replace. I think we should make this a compile time option - and if it was for the unavoidable additional memory footprint. So that means we should not remove the current ethaddr and serial# write protection. Best regards, -Joe Hershberger

[U-Boot] u-boot patch base version

2010-08-09 Thread Joe Hershberger
Hello, I'm looking to submit some patches that I'm currently running on u-boot-2009.11. I'd like to know before I go through the trouble of creating the separate patches if it is a problem for the patches to be based on that version. Should I first port the changes to a newer version or not?

Re: [U-Boot] NetConsole and network API

2010-08-13 Thread Joe Hershberger
On Fri, Aug 13, 2010 at 8:52 AM, Stefano Babic sba...@denx.de wrote: My main question to the ML is, independently from the particular problem on my target, if we should change the actual concept. For example, if we provide to stop all devices only before booting an OS, but leaving them alive

Re: [U-Boot] [PATCH v4 0/3] net: helper functions

2012-05-11 Thread Joe Hershberger
Hi Michael, On Fri, May 11, 2012 at 11:32 AM, Michael Walle mich...@walle.cc wrote: Am Donnerstag 10 Mai 2012, 19:32:11 schrieb Michael Walle: This patchset is a split-off from my patch series Kirkwood: add lschlv2 and lsxhl board support. Hi Joe, will you ack/nak these patch series and in

[U-Boot] [PATCH v3 10/10] net: cosmetic: netconsole.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Requires: --ignore CONSIDER_KSTRTO Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: drivers/net/netconsole.c | 122 +++-- 1 files

[U-Boot] [PATCH v3 09/10] net: cosmetic: tftp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: include/net.h |4 net/tftp.c| 30 ++ net/tftp.h|2 +- 3 files changed, 19

[U-Boot] [PATCH v3 03/10] net: cosmetic: bootp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Fixed commit summary net.c - bootp.* net/bootp.c | 340 ++- net

[U-Boot] [PATCH v3 05/10] net: cosmetic: net.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: common/main.c|1 - include/common.h |4 include/net.h|5 + net/net.c| 22

[U-Boot] [PATCH v3 07/10] net: cosmetic: rarp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: net/rarp.c | 28 ++-- net/rarp.h |4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff

[U-Boot] [PATCH v3 00/10] Network stack checkpatch.pl compliance

2012-05-15 Thread Joe Hershberger
. This is a portion of the changes split from the series: Add link-local addressing support Joe Hershberger (10): net: Remove volatile from net API net: cosmetic: net.h checkpatch compliance net: cosmetic: bootp.* checkpatch compliance net: cosmetic: eth.c checkpatch compliance net: cosmetic: net.c

[U-Boot] [PATCH v3 02/10] net: cosmetic: net.h checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Added blank lines for Simon Glass include/net.h | 116 +--- 1 files

[U-Boot] [PATCH v3 08/10] net: cosmetic: sntp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: - Changed literal to sizeof() for Simon Glass net/sntp.c | 31 +-- net/sntp.h |2 +- 2 files

[U-Boot] [PATCH v3 06/10] net: cosmetic: nfs.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger joe.hershber...@ni.com Cc: Joe Hershberger joe.hershber...@gmail.com --- Changes for v2: - Split into smaller patches Changes for v3: net/nfs.c | 300 ++--- net/nfs.h |2 +- 2 files changed, 150

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