Make a thorough pass through all variables and function names contained
within bootp.c and remove CamelCase and improve naming.
Signed-off-by: Joe Hershberger
---
Changes in v2: None
net/bootp.c | 119 +---
net/bootp.h | 14 +++
net
Make a thorough pass through all variables and function names contained
within ping.c and remove CamelCase and improve naming.
Signed-off-by: Joe Hershberger
---
Changes in v2: None
net/ping.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/net/ping.c b/net
Make a thorough pass through all variables and function names contained
within rarp.c and remove CamelCase and improve naming.
Signed-off-by: Joe Hershberger
---
Changes in v2: None
net/net.c | 4 ++--
net/rarp.c | 23 +++
net/rarp.h | 6 +++---
3 files changed, 16
the scope of this patch to fix (drivers that are in gross violation
of checkpatch.pl).
Signed-off-by: Joe Hershberger
---
Changes in v2: None
arch/mips/mach-au1x00/au1x00_eth.c | 12 ++-
arch/powerpc/cpu/mpc8260/ether_fcc.c | 4 ++--
arch/powerpc/cpu/mpc8260/ether_scc.c | 4
Hi Simon,
On Tue, Apr 7, 2015 at 8:26 PM, Simon Glass wrote:
>
> Hi Joe,
>
> On 3 April 2015 at 15:14, Joe Hershberger wrote:
> > This patch is simply clean-up to make the IPv4 type that is used match
> > what Linux uses. It also attempts to move all variables that are I
Hi Sjoerd,
On Mon, Apr 13, 2015 at 5:07 PM, Simon Glass wrote:
>
> Hi Sjoerd,
>
> On 13 April 2015 at 14:54, Sjoerd Simons
wrote:
> > Make the sandbox setup more generic/examplary by including
> > config_distro_defaults.h and config_distro_bootcmd.h.
> >
> > Among other things this makes it easy
Hi Michal,
On Wed, Apr 15, 2015 at 5:50 AM, Michal Simek
wrote:
>
> From: Siva Durga Prasad Paladugu
>
> Based on rfc951 transaction ID has 4 bytes which is not the case when
> ulong type is used on ARM64.
> Use u32 type which is well defined for all archs.
>
> BOOTP_VENDOR_MAGIC is also 4 bytes
Hi Michal,
On Wed, Apr 15, 2015 at 6:31 AM, Michal Simek
wrote:
>
> Use phys_addr_t which is used in function prototype
> in system.h.
>
> Signed-off-by: Michal Simek
Applied to u-boot-net/next, thanks!
-Joe
___
U-Boot mailing list
U-Boot@lists.denx.d
Hi Simon,
On Mon, Apr 20, 2015 at 1:37 PM, Simon Glass wrote:
> When setting the date, support driver model RTC also.
>
> Signed-off-by: Simon Glass
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.d
Hi Bin Meng,
On Tue, Apr 14, 2015 at 9:02 PM, Bin Meng wrote:
> The name "pch_gbe.%x" exceeds the limit of the name in the
> 'struct eth_device'. Rename it as just "pch_gbe".
>
> Signed-off-by: Bin Meng
Applied to u-boot-net/next, thanks!
-Joe
___
U-
on Realtek Ethernet PHY drivers
Joe Hershberger (1):
Update MAINTAINERS and git-mailrc for net
Luca Ellero (1):
net: phy: micrel: add support for KSZ8081MNX
Michal Simek (1):
net: gem: Use correct type for casting
Shengzhou Liu (1):
net/phy: fixup for get_phy_id
Thierry
Hi Sjoerd,
On Mon, Apr 13, 2015 at 3:54 PM, Sjoerd Simons
wrote:
> Make the sandbox setup more generic/examplary by including
> config_distro_defaults.h and config_distro_bootcmd.h.
>
> Among other things this makes it easy to test whether images will boot
> though with the standard distro bootcm
Hi Simon,
On Wed, Mar 25, 2015 at 1:23 PM, Simon Glass wrote:
> This adds a simple test for probing and a functional test using the flash
> stick emulator, which tests a large chunk of the USB stack.
>
> Signed-off-by: Simon Glass
I'm seeing a seg fault when running the dm tests and bisected it
> Adjust the code to cope.
>
> Signed-off-by: Simon Glass
This fixed the seg fault I was seeing. Thanks!
Reviewed-by: Joe Hershberger
Tested-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Simon,
On Mon, Apr 20, 2015 at 1:37 PM, Simon Glass wrote:
> Sort these aliases to avoid confusion as to what is present.
>
> Signed-off-by: Simon Glass
> ---
Reviewed-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.
Hi Simon,
On Sun, Apr 19, 2015 at 8:20 AM, Simon Glass wrote:
> The terminator is missing. Add it for completeness.
>
> Signed-off-by: Simon Glass
Reviewed-by: Joe Hershberger
Tested-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@list
Hi Simon,
On Sun, Apr 19, 2015 at 8:21 AM, Simon Glass wrote:
> There are a lot more tests now. To avoid confusion add the updated test
> output to the driver model README.
>
> Signed-off-by: Simon Glass
> ---
Reviewed-by: Joe Hershberger
___
d 0, got -1
"""
Reviewed-by: Joe Hershberger
Tested-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Simon,
On Tue, Apr 21, 2015 at 8:14 AM, Simon Glass wrote:
> Hi Joe,
>
> On 20 April 2015 at 23:24, Joe Hershberger wrote:
>> Hi Simon,
>>
>> On Wed, Mar 25, 2015 at 1:23 PM, Simon Glass wrote:
>>> This adds a simple test for probing and a functional tes
Hi Simon,
On Tue, Apr 21, 2015 at 11:19 AM, Simon Glass wrote:
> Hi Joe,
>
> On 21 April 2015 at 10:05, Joe Hershberger wrote:
>>
>> Hi Simon,
>>
>> On Tue, Apr 21, 2015 at 8:14 AM, Simon Glass wrote:
>> > Hi Joe,
>> >
>> > On 20
Add a function that maintains an offset to include in the system timer
values returned from the lib/time.c APIs.
This will allow timeouts to be skipped instantly in tests
Signed-off-by: Joe Hershberger
---
arch/sandbox/cpu/cpu.c | 5 -
arch/sandbox/include/asm/test.h | 8
Indicate to the emulated sandbox Ethernet driver when we expect a
timeout and tell it to leap forward.
Signed-off-by: Joe Hershberger
---
test/dm/eth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dm/eth.c b/test/dm/eth.c
index 4891f3a..196eba8 100644
--- a/test/dm/eth.c
+++ b
When called, the next call to receive will trigger a 10-second leap
forward in time to avoid waiting for time to pass when tests are
evaluating timeout behavior.
Signed-off-by: Joe Hershberger
---
arch/sandbox/include/asm/eth.h | 2 ++
drivers/net/sandbox.c | 17 +
2
Add support for advancing time in sandbox and make use of the new API to
speed up the existing dm/eth tests that wait for timeouts.
This series is based on u-boot-dm/test-working
Joe Hershberger (3):
sandbox: Add test function to advance time
sandbox: eth: Add a function to skip ping
Hi Bin Meng,
On Tue, Apr 21, 2015 at 8:54 AM, Simon Glass wrote:
> Hi Bin,
>
> On 20 April 2015 at 23:05, Bin Meng wrote:
>> Not like other x86 chipset, there is no EEPROM for the ethernet
>> controller on the Intel Quark SoC to retreive the mac address
>> after power up. With pre-defined mac ad
Hi Simon,
On Tue, Apr 21, 2015 at 12:00 PM, Simon Glass wrote:
> Hi Joe,
>
> On 21 April 2015 at 10:57, Joe Hershberger wrote:
>> Hi Simon,
>>
>> On Tue, Apr 21, 2015 at 11:19 AM, Simon Glass wrote:
>>> Hi Joe,
>>>
>>> On 21 April 2015 at
Enable some additional ENV commands in sandbox to aid in build testing
and run testing.
Signed-off-by: Joe Hershberger
---
include/configs/sandbox.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 3bf45a2..6079898 100644
This function returned numbers for error codes. Change them to error
codes.
Signed-off-by: Joe Hershberger
---
common/env_attr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/env_attr.c b/common/env_attr.c
index 64baca5..e791f44 100644
--- a/common/env_attr.c
Use a regular expression to apply the default formatting flags for all
ethaddr env vars.
Signed-off-by: Joe Hershberger
---
include/env_flags.h | 11 ---
test/dm/eth.c | 1 +
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/include/env_flags.h b/include/env_flags.h
The logic to find the whole matching name was split needlessly between
the reverse_strstr function and its caller. Fully contain it to make the
interface for calling it more consistent.
Signed-off-by: Joe Hershberger
---
common/env_attr.c | 79
Enable regex support on sandbox.
Signed-off-by: Joe Hershberger
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 5de7fbe..340f5eb 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
Check that the common network stack's env vars conform to the proper
format for IP addresses.
Signed-off-by: Joe Hershberger
---
include/env_flags.h | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/include/env_flags.h b/include/env_flags.h
index fc6d0d8..2d
Allow the features that use env_attrs to specify regexs for the name
Signed-off-by: Joe Hershberger
---
common/env_attr.c | 85 ++
include/env_callback.h | 10 --
2 files changed, 93 insertions(+), 2 deletions(-)
diff --git a/common
In some cases it can be helpful to have context in the callback about
the calling situation. This is needed for following patches.
Signed-off-by: Joe Hershberger
---
common/cmd_nvedit.c | 10 ++
common/env_attr.c | 15 ++-
common/env_callback.c | 6 +++---
common
calls any variant of setenv() ).
Signed-off-by: Joe Hershberger
---
common/cmd_nvedit.c | 26 +++---
include/search.h| 2 ++
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 6ca5a2e..f4c2523 100644
--- a/common/cm
Instead of checking for changes to the env each time we enter the
net_loop, use the env callbacks to update the values of the variables.
Don't update the variables when the source was programmatic, since the
variables were the source of the new value.
Signed-off-by: Joe Hershberger
---
in
Hi All,
On Tue, Apr 21, 2015 at 5:02 PM, Joe Hershberger wrote:
> In some cases it can be helpful to have context in the callback about
> the calling situation. This is needed for following patches.
>
> Signed-off-by: Joe Hershberger
> ---
8<--snip-->8
> diff --g
Hi Shengzhou Liu,
On Thu, Mar 12, 2015 at 5:54 AM, Shengzhou Liu
wrote:
> RTL8211F has different registers from RTL8211E.
> This patch adds support for RTL8211F PHY which
> can be found on Freescale's T1023 RDB board.
>
> Signed-off-by: Shengzhou Liu
Please Cc me in the future.
Applied to u-bo
On Tue, Mar 31, 2015 at 6:41 AM, Michal Simek wrote:
> On 03/30/2015 08:08 PM, Joe Hershberger wrote:
>> Hi Michal,
>>
>> On Tue, Mar 24, 2015 at 2:41 AM, Joe Hershberger
>> wrote:
>>>
>>> When the ethaddr changes in the env, the hardware should a
Hi Bin,
On Tue, Apr 21, 2015 at 7:20 PM, Bin Meng wrote:
> Hi Joe,
>
> On Wed, Apr 22, 2015 at 3:41 AM, Joe Hershberger
> wrote:
>> Hi Bin Meng,
>>
>> On Tue, Apr 21, 2015 at 8:54 AM, Simon Glass wrote:
>>> Hi Bin,
>>>
>>> On 20 Apri
call to net_loop.
This is a step in the right direction to refactoring the network stack
to be similar to that of barebox.
Joe Hershberger (11):
sandbox: Enable some ENV commands
kconfig: Move REGEX to Kconfig
sandbox: Enable regex support
env: Fix return values in env_attr_lookup()
env
Having this as a Kconfig allows it to be a dependent feature.
Signed-off-by: Joe Hershberger
---
configs/acadia_defconfig | 1 +
configs/bamboo_defconfig | 1 +
configs/bubinga_defconfig | 1 +
configs/canyonlands_defconfig | 1 +
configs/dlvision
Hi Shengzhou Liu,
On Wed, Apr 22, 2015 at 5:22 AM, Shengzhou Liu
wrote:
> RTL8211F needs to enalbe TXDLY for RGMII during
> phy initialization, so move it to rtl8211f_config
> for early initialization.
>
> Signed-off-by: Shengzhou Liu
> cc: Joe Hershberger
> ---
> d
On Thu, Apr 23, 2015 at 12:58 AM, shengzhou@freescale.com
wrote:
>> -Original Message-
>> From: Florian Fainelli [mailto:f.faine...@gmail.com]
>> Sent: Thursday, April 23, 2015 12:39 PM
>> To: Liu Shengzhou-B36685; net...@vger.kernel.org; joe.hershber...@gmail.com
>> Subject: Re: [PATC
for sandbox as config_distro_bootcmd
> failed to sanity check the configuration but couldn't find the
> pre-conditions for the host command previously.
>
> Signed-off-by: Sjoerd Simons
> ---
This fixed the problem building the env target for me. Thanks!
Tested-by: Joe Hershber
Hi Simon,
On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote:
> Hi Joe,
>
> On 21 April 2015 at 16:02, Joe Hershberger wrote:
>> The logic to find the whole matching name was split needlessly between
>> the reverse_strstr function and its caller. Fully contain it to make
Hi Simon,
On Thu, Apr 23, 2015 at 11:32 PM, Simon Glass wrote:
> Hi Joe,
>
> On 21 April 2015 at 16:02, Joe Hershberger wrote:
>> This includes moving CONFIG_REGEX to Kconfig and adding support for
>> regex to the env_attr lists (when CONFIG_REGEX is enabled).
>>
>
Hi Simon,
On Mon, Apr 27, 2015 at 2:24 PM, Joe Hershberger
wrote:
> Hi Simon,
>
> On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote:
>> Hi Joe,
>>
>> On 21 April 2015 at 16:02, Joe Hershberger wrote:
>>> The logic to find the whole matching name
Hi Simon,
On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote:
> On 21 April 2015 at 16:02, Joe Hershberger wrote:
>> Use a regular expression to apply the default formatting flags for all
>> ethaddr env vars.
>>
>> Signed-off-by: Joe Hershberger
>> --
Hi Simon,
On Thu, Apr 23, 2015 at 11:34 PM, Simon Glass wrote:
> Hi Joe,
>
> On 21 April 2015 at 16:02, Joe Hershberger wrote:
>> Instead of checking for changes to the env each time we enter the
>> net_loop, use the env callbacks to update the values of the variables
On Fri, Apr 24, 2015 at 3:57 AM, Shengzhou Liu
wrote:
> RTL8211F needs to enalbe TXDLY for RGMII during
> phy initialization, so move it to rtl8211f_config
> for early initialization.
>
> Signed-off-by: Shengzhou Liu
> cc: Joe Hershberger
Acked-b
On Mon, Apr 27, 2015 at 2:53 PM, Simon Glass wrote:
> Hi Joe,
>
> On 27 April 2015 at 12:20, Joe Hershberger wrote:
>> Hi Simon,
>>
>> On Thu, Apr 23, 2015 at 11:32 PM, Simon Glass wrote:
>>> Hi Joe,
>>>
>>> On 21 April 2015 at 16
Hi Joakim,
On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund
wrote:
> Trying to get a better handle of HUSH shell expressions, this does not work
> as I expect:
> => false && true || echo ECHO
> => false && false || echo ECHO
>
> none prints ECHO, seems like a bug?
I think it works as it should
Hi James,
On Tue, Apr 28, 2015 at 1:19 PM, James Chargin wrote:
> Dear Joe Hershberger,
>
> On 04/28/2015 11:00 AM, Joe Hershberger wrote:
>>
>> Hi Joakim,
>>
>> On Mon, Apr 27, 2015 at 8:39 AM, Joakim Tjernlund
>> wrote:
>>>
>>> Tryi
Hi James,
On Tue, Apr 28, 2015 at 2:13 PM, James Chargin wrote:
> Dear Joe,
>
> On 04/28/2015 11:35 AM, Joe Hershberger wrote:
>>
>> Hi James,
>>
>> On Tue, Apr 28, 2015 at 1:19 PM, James Chargin
>> wrote:
>>>
>>> Dear Joe Hershberg
failing with a probe error
-22 in the dm_test_children test.
Test: dm_test_children
test/dm/core.c:544, dm_test_children(): 0 == ret: Expected 0, got -22
This restores the original behavior which would avoid a probe on invalid
device pointers.
Signed-off-by: Joe Hershberger
---
drivers/core/uclass.c
Enable some additional ENV commands in sandbox to aid in build testing
and run testing.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
include/configs/sandbox.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/sandbox.h b/include
The defconfigs should not be edited directly. They should be generated
by editing the .config (through menuconfig or whatever) and then run
make savedefconfig to have the Kconfig system generate a clean defconfig
I did this for sandbox here with no actual changes.
Signed-off-by: Joe Hershberger
Instead of checking for changes to the env each time we enter the
net_loop, use the env callbacks to update the values of the variables.
Don't update the variables when the source was programmatic, since the
variables were the source of the new value.
Signed-off-by: Joe Hershberger
Review
Use a regular expression to apply the default formatting flags for all
ethaddr env vars.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2:
-Added comments about the use of .flags in the dm eth test
include/env_flags.h | 11 ---
test/dm/eth.c | 3 +++
2
The behavior of the env attrs depends on CONFIG_REGEX. Add an additional
test if that variable is set.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
test/env/attr.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/env/attr.c b/test
Enable regex support on sandbox.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 5de7fbe..340f5eb 100644
--- a/configs
The logic to find the whole matching name was split needlessly between
the reverse_strstr function and its caller. Fully contain it to make the
interface for calling it more consistent.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-Fix bisectability issue
-Fix corner case in
Enable the new env unit tests on sandbox.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 2bf3799..ff05c95 100644
--- a/configs
This function returned numbers for error codes. Change them to error
codes.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
common/env_attr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/env_attr.c b/common/env_attr.c
index
Add a test of the env_attr_lookup() function.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
test/env/Makefile | 1 +
test/env/attr.c | 62 +++
2 files changed, 63 insertions(+)
create mode 100644 test/env/attr.c
There's not much point in having a failure count if we always give up on
the first failure. Also stop clearing the entire state between tests.
Make sure that any failures are still passed out to the command line.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
te
Check that the common network stack's env vars conform to the proper
format for IP addresses.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
include/env_flags.h | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/in
Add a new "test" subcommand to the env command.
This will run unit tests on the env code. This should be targetable to
any device that supports the env features needed for the tests.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
Makefile| 1
Allow the features that use env_attrs to specify regexs for the name
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2:
-Added description to README
README | 8 +
common/env_attr.c | 85
The asserts are sometimes called from the context of the test command
itself so make sure that a return that happens as a result of a failure
is compatible with that command return. When called within a test, the
return value is ignored.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New
calls any variant of setenv() ).
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
common/cmd_nvedit.c | 26 +++---
include/search.h| 2 ++
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/common/cmd_nvedit.c b/common/cmd_nved
In some cases it can be helpful to have context in the callback about
the calling situation. This is needed for following patches.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
common/cmd_nvedit.c | 10 ++
common/env_attr.c | 5 +++--
common
Separate the ability to define tests and assert status of test functions
from the dm tests so they can be used more consistenly throughout all
tests.
Signed-off-by: Joe Hershberger
---
Changes in v2:
-New for version 2
include/dm/test.h | 35 +-
include/test/test.h
Having this as a Kconfig allows it to be a dependent feature.
Signed-off-by: Joe Hershberger
Reviewed-by: Simon Glass
---
Changes in v2: None
configs/acadia_defconfig | 1 +
configs/bamboo_defconfig | 1 +
configs/bubinga_defconfig | 1 +
configs
bisectability issue
-Fix corner case in reverse_name_search() where searched starts with ' '
-New for version 2
-Simplified test for H_PROGRAMMATIC
Joe Hershberger (19):
sandbox: Enable some ENV commands
kconfig: Move REGEX to Kconfig
sandbox: Enable regex support
env: Fix return
Hi Simon,
On Wed, Apr 29, 2015 at 8:30 AM, Simon Glass wrote:
> Hi Joe,
>
> On 28 April 2015 at 22:14, Joe Hershberger wrote:
>> The change to refactor these functions created a regression.
>>
>> commit c1d6f91952d0761f61b0f0f96e4c7aa32eee2788
>> Author: Przem
o align with the RM.
>
> Signed-off-by: Shaohui Xie
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ed to read 10G phy_id;
>
> Signed-off-by: Shaohui Xie
> Signed-off-by: Roy Zang
Acked-By: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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?
Th
On Fri, Aug 13, 2010 at 8:52 AM, Stefano Babic 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 after the fi
On Mon, Oct 13, 2014 at 3:56 AM, Alban Bedel
wrote:
>
> On Thu, 9 Oct 2014 17:17:00 +0200
> Marek Vasut wrote:
>
> > On Thursday, October 09, 2014 at 01:42:49 PM, Alban Bedel wrote:
> > > Many ethernet devices use an EEPROM to store various settings, most
> > > commonly the device MAC address. Bu
On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote:
>
> Hi,
>
> On 14 October 2014 18:26, Alban Bedel
wrote:
> > Many ethernet devices use an EEPROM to store various settings, most
> > commonly the device MAC address. But on some devices it can contains
> > a lot more, for example USB device mig
ICMP (ping) was reimplementing IP header code... it now shares code.
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include/net.h |4 +++-
net/bootp.c |6 +++---
net/net.c | 47 ---
net/ping.c| 52
A new non-static function NetInit() will initialize buffers and read
from the env
Only update from the env on each entry to NetLoop()
Check when attempting to send a packet that the buffers were initialized
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include
MAC-seeded rand() will be needed by link-local as well, so give it
an interface
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/Makefile |1 +
net/bootp.c| 69 +++
net/bootp.h|3 --
net
This is useful if you want to look for a DHCP server, but try some
other settings if not available
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
README |7 +++
net/bootp.c |5 +
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a
Clears up checkpatch.pl complaint about extern in c file
Completes the effort started by Ben Warren in 2008 to generalize
eth init
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
board/Marvell/db64360/db64360.c | 12 ++-
board/Marvell/db64360/mv_eth.c | 76
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/net.c | 44 +---
1 files changed, 25 insertions(+), 19 deletions(-)
diff --git a/net/net.c b/net/net.c
index 51d899b..59ac167 100644
--- a/net/net.c
+++ b/net/net.c
@@ -638,6
There is no reason to use compiler magic to fix this
Actually move the definition inside the #ifdef
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/bootp.c |7 +++
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/net/bootp.c b/net/bootp.c
Use this entry-point consistently across the net/ code
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/arp.c |6 +++---
net/cdp.c |2 +-
net/net.c |2 +-
net/ping.c |3 +--
4 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/net/arp.c
NetUpdateEther() will preserve the original Ethernet packet header
and simply replace the src and dest MACs and the protocol
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include/net.h |1 +
net/arp.c |2 +-
net/net.c | 22
Code based on networking/zcip.c in busybox
- commit 8531d76a15890c2c535908ce888b2e2aed35b172
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
README | 15 +++-
common/cmd_net.c | 30 +
include/net.h|2 +-
net/Makefile |4 +-
net
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/arp.c | 13 -
net/ping.c |7 ---
net/rarp.c |6 --
3 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/net/arp.c b/net/arp.c
index 456decd..60a1ded 100644
--- a/net/arp.c
Before this patch, bootp would not overwrite the value, but the
value was still clobbered in the env
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
common/cmd_net.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/cmd_net.c b
Don't force ARP clients to return the MAC address if they don't
care about it (such as ping)
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
net/arp.c |9 +
net/ping.c | 10 +++---
2 files changed, 8 insertions(+), 11 deletions(-)
di
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include/net.h |3 +-
net/Makefile |1 +
net/arp.c | 213 +
net/arp.h | 30
net/net.c | 209
The mv_eth driver should not redefine the net function definition
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
board/Marvell/db64360/mv_eth.c |2 --
board/Marvell/db64460/mv_eth.c |2 --
board/esd/cpci750/mv_eth.c |2 --
board/prodrive/p3mx/mv_eth.c
Changes to NetState now go through an accessor function called
NetSetState()
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
drivers/net/netconsole.c |6 +++---
include/net.h| 13 +++--
net/cdp.c|2 +-
net/dns.c
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Wolfgang Denk
---
include/configs/am3517_crane.h |2 +-
include/configs/am3517_evm.h |2 +-
include/configs/origen.h |2 +-
net/Makefile |1 +
net/net.c | 133
401 - 500 of 4631 matches
Mail list logo