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
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
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
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
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
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
>>
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
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
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
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
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
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
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
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
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
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
>
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
> +++
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
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
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
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
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
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
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
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
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
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
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
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
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
Hi Michael,
On Mon, Jun 25, 2012 at 3:50 PM, Michael Walle wrote:
>
> [removed Piotr Kruszynski from CC because mail address does not exist anymore]
>
> Hi Joe,
>
> Am Montag 25 Juni 2012, 22:25:56 schrieb Joe Hershberger:
>> Hi Michael,
>>
>> On Fri, Ju
Hi Tetsuyuki,
On Mon, Jun 25, 2012 at 7:37 AM, Tetsuyuki Kobayashi wrote:
> NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000.
>
> Signed-off-by: Tetsuyuki Kobayashi
> ---
I decided this doesn't hurt and it sort-of documents what "must be" (tm).
Applied, thanks.
-Joe
Hi Marek,
On Sat, Jul 21, 2012 at 10:02 AM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut
> Cc: Bryan Hundven
> Cc: Michael Schwingen
> Cc: Wolfgang Denk
> Cc: Albert Aribaud
> Cc: U-Boot DM
> Cc: Joe Hershberger
> ---
Hi Michal,
On Fri, Jun 29, 2012 at 2:37 AM, Michal Simek wrote:
> Support new CONFIG_OF_CONTROL option where device
> probing is done based on device tree description.
>
> Signed-off-by: Michal Simek
> CC: Joe Hershberger
> ---
Appl
strict-aliasing]
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
Applied, thanks.
-Joe
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Nobuhiro,
On Fri, Aug 3, 2012 at 3:08 AM, Nobuhiro Iwamatsu
wrote:
> R8A7740 of rmobile has ethernet device, and this is same IP of
> sh-ether. This support R8A7740 of rmobile.
>
> Signed-off-by: Hideyuki Sano
> Signed-off-by: Nobuhiro Iwamatsu
> ---
Applied, thanks.
-Joe
_
Hi Lucas,
On Wed, Aug 22, 2012 at 4:04 PM, 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
> Reviewed-by: Marek Vasut
> Acked-by: Marek Vasut
> Acke
call it
> from asix_eth_get_info(), so that it only gets called once.
>
> Signed-off-by: Lucas Stach
> Acked-by: Joe Hershberger
> ---
Applied, thanks.
-Joe
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Lucas,
On Wed, Aug 22, 2012 at 4:04 PM, 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
ices that have their initial MAC stored in
> EEPROM. Call this function inasix_eth_get_info().
>
> Signed-off-by: Lucas Stach
> Reviewed-by: Marek Vasut
> Acked-by: Marek Vasut
> Acked-by: Joe Hershberger
> ---
Failed checkpatch.pl
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
> Reviewed-by: Marek Vasut
> Acked-by: Marek Vasut
> Acked-by: Joe Hershberger
> ---
Failed c
Hi Michal,
On Fri, Sep 14, 2012 at 1:23 AM, Michal Simek wrote:
> Device driver for Zynq Gem IP.
>
> Signed-off-by: Michal Simek
> CC: Joe Hershberger
> CC: Marek Vasut
Applied, thanks.
-Joe
___
U-Boot mailing list
U-Boot@lis
Hi Benoît,
On Fri, Aug 10, 2012 at 12:56 PM, Benoît Thébaudeau
wrote:
> If dev->enetaddr was supposed to be set with dev->write_hwaddr() but the MAC
> address was not valid, return an error.
>
> Signed-off-by: Benoît Thébaudeau
> Cc: Joe Hershberger
> ---
Signed-off-by: Valentin Longchamp
> cc: Holger Brunck
> cc: Prafulla Wadaskar
> cc: Joe Hershberger
> ---
Applied, thanks.
-Joe
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi York,
On Fri, Aug 17, 2012 at 1:28 PM, York Sun wrote:
> From: Priyanka Jain
>
> -VSC8662 is Dual Port 10/100/1000Base-T Phy,
> 100Base-FX/1000/Base-X Gigabit Ethernt Transceiver Phy.
>
> -Its register set and features are similar to
> other Vitesse Phys
>
> Signed-off-by: Priyanka Jain
>
> from time to time.
>
> Signed-off-by: Marek Vasut
> Cc: Benoit Thebaudeau
> Cc: Eric Nelson
> Cc: Fabio Estevam
> Cc: Joe Hershberger
> ---
Applied, thanks.
-Joe
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Marek,
On Sun, Aug 26, 2012 at 3:19 PM, Marek Vasut wrote:
> Align the address that's to be invalidated/flushed properly.
>
> Signed-off-by: Marek Vasut
> Cc: Benoit Thebaudeau
> Cc: Eric Nelson
> Cc: Fabio Estevam
> Cc: Joe Hershberger
>
Hi Marek,
On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote:
> The FEC hardware sometimes errors out on data transfer and hangs in
> the tightloop adjusted by this patch. So add timeout into the tightloop
> to make such a hang recoverable.
>
> Signed-off-by: Marek Vasut
> C
is beneficial.
>
> Rework the sequence that wait for completion of the transmission so that
> the TDAR bit is tested first and afterwards check the E-bit being clear.
> This cuts down the number of cache invalidation calls to one.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hers
Hi Marek,
On Wed, Aug 29, 2012 at 8:49 AM, Marek Vasut wrote:
> Replace the magic contant 1 << 24 with properly defined bits.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Fabio Estevam
> Cc: Otavio Salvador
> Cc: Stefano Babic
&g
Hi Chander,
On Fri, Sep 7, 2012 at 12:36 AM, Chander Kashyap
wrote:
> Now DT support is becoming common for all new SoC's. Hence it is better
> to have option for getting specific FDT from the remote server.
>
> This patch adds support for new label i.e. 'fdt'. This will allow to
> retrieve 'fdt
Hi Brian,
On Tue, Sep 11, 2012 at 2:22 PM, Brian Rzycki wrote:
> Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28,
> Broadcast Address as specified in RFC 2132. Without this patch u-boot
> displays the warning:
> *** Unhandled DHCP Option in OFFER/ACK: 28
>
> The patch suppres
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 | 124
> +++
y, since the
> symbols are properly defined.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Mike Frysinger
> ---
Tested-by: Joe Hershberger
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
iles.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Mike Frysinger
> ---
Tested-by: Joe Hershberger
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Marek,
On Sat, Sep 29, 2012 at 7:17 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
ntroduced LG-array API instead of directly using linker-generated
> symbols.
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Mike Frysinger
> ---
Tested-by: Joe Hershberger
Acked-by: Joe Hershberger
___
U-Boot mailin
ociated with this section from include/command.h .
>
> Signed-off-by: Marek Vasut
> Cc: Joe Hershberger
> Cc: Mike Frysinger
> ---
Tested-by: Joe Hershberger
Acked-by: Joe Hershberger
___
U-Boot mailing list
U-Boot@lists.denx.de
h
Hi Mike,
Sorry for the delay... I've been distracted.
On Wed, Aug 22, 2012 at 10:33 PM, Mike Frysinger wrote:
> On Friday 17 August 2012 16:49:39 Joe Hershberger wrote:
>> Use a lock file at /var/lock/fw_printenv.lock.
>
> the lock should be per-MTD, not per-system.
I
Adjustment of Michael Walle's fix patch
Commit 8a0eccb1056b313b45ab62e3aac400f339aa71b4 breaks netconsole. src_ip
must not be converted to host byte order, because nc_ip is already stored
in network byte order (see string_to_ip(), called by getenv_IPaddr()).
Signed-off-by: Joe Hershb
config.h
Need to define "TEXT_BASE" when building the fw_env tool so that the
default env will be correct for environments which use it.
Define __ASSEMBLY__ when calling #include so that we only
get #defines (all we're interested in).
Signed-off-by: Joe Hershberger
---
tools/en
If the pointer passed into envmatch() is NULL, return -1 instead of
crashing.
Signed-off-by: Joe Hershberger
---
common/cmd_nvedit.c | 3 +++
tools/env/fw_env.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index 3474bc6..5a28dee 100644
--- a
We will only call fw_getenv when the env has already been initialized.
Signed-off-by: Joe Hershberger
---
tools/env/fw_env.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index af879f1..f883804 100644
--- a/tools/env/fw_env.c
+++ b/tools/env
This is a gutted version of my previous env series in an effort to reduce the
risk to the release that is approaching shortly.
Changes in v2:
- Further simplified based Mike's comments
Joe Hershberger (5):
tools/env: Use a board-specific default env
tools/env: Remove unneeded compl
The length included the name length, and then it was subtracted back
out on each use. Now we don't include it in the first place. Also
realloc as we process arguments and eliminate memset. Use memcpy
instead of manually copying each byte.
Signed-off-by: Joe Hershberger
---
Changes
Use a lock file at /var/lock/fw_printenv.lock.
Avoids seriously confusing the MTD driver.
Signed-off-by: Joe Hershberger
---
tools/env/fw_env_main.c | 59 +++--
1 file changed, 37 insertions(+), 22 deletions(-)
diff --git a/tools/env/fw_env_main.c b
Hi Mike,
On Fri, Aug 17, 2012 at 6:41 PM, Mike Frysinger wrote:
> On Friday 17 August 2012 16:56:12 Joe Hershberger wrote:
>> --- a/common/cmd_test.c
>> +++ b/common/cmd_test.c
>>
>> -#if 0
>> +#ifdef DEBUG
>> {
>> - printf("
Only print when queried, not every time the setting is changed.
Signed-off-by: Joe Hershberger
---
common/cmd_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 13cc3d8..5512f92 100644
--- a/common/cmd_cache.c
+++ b/common
Old code that is not compliant.
Signed-off-by: Joe Hershberger
---
common/cmd_cache.c | 47 ++-
1 file changed, 26 insertions(+), 21 deletions(-)
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 9c228e2..13cc3d8 100644
--- a/common
This allows you to read ini-formatted data from anywhere and then
import one of the sections into the environment
This is based on rev 16 at http://code.google.com/p/inih/
Signed-off-by: Joe Hershberger
---
Changes in v2:
- Documented in README
- Made all functions static
- Changed if statments
Two sub-commands... start and get.
* start sets the reference.
* get prints out the time since the last start (in "." format).
If get is called without start, returns time since boot.
Simple way to benchmark an operation: "timer start;;timer
get"
Signed-off-by: Joe Hershbe
Change echo to puts characters together where it knows about them
together. This improves netconsole performance by greatly reducing
the number of packets that are sent.
Signed-off-by: Joe Hershberger
---
Changes in v2:
- Check for someone to specify "\c" more than once in each wor
Hi Jerry,
On Fri, Aug 17, 2012 at 3:34 PM, Joe Hershberger wrote:
> Before this patch, error codes returned from fdtlib were ignored and
> continued access would cause a crash. Now just check if the image is
> truncated and error if so.
>
> Signed-off-by: Joe Hershberger
&g
Add a mention of the lock file to the README for the fw_printenv tool.
Signed-off-by: Joe Hershberger
Reported-by: Luka Perkov
---
This patch is independent of the series, but should be applied afterward
tools/env/README | 4
1 file changed, 4 insertions(+)
diff --git a/tools/env/README
Instead of referenceing the source webpage (which can change) include
the license in the source file.
Signed-off-by: Joe Hershberger
Reported-by: Igor Grinberg
Cc: Igor Grinberg
Cc: Tom Rini
Cc: Wolfgang Denk
---
common/cmd_ini.c | 32 ++--
1 file changed, 30
There used to be a huge structure duplicated 3 times in the source.
Signed-off-by: Joe Hershberger
---
common/env_common.c | 97 +---
common/env_embedded.c | 104 ++
include/env_default.h | 135
This was introduced in:
8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
COMMON: Use __stringify() instead of MK_STR()
The header is now needed since common.h is not included in this tool.
Signed-off-by: Joe Hershberger
---
tools/env/fw_env.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Hi Marek,
On Fri, Oct 12, 2012 at 5:20 PM, Marek Vasut wrote:
> Dear Joe Hershberger,
>
>> This was introduced in:
>> 8679d0ffdcc0beafea8e6942c0c67cf859afa18e -
>> COMMON: Use __stringify() instead of MK_STR()
>>
>> The header is now needed since c
Hi Wolfgang,
On Mon, Oct 15, 2012 at 1:57 PM, Wolfgang Denk wrote:
> Dear Stefano Babic,
>
> In message <507c3b70.4060...@denx.de> you wrote:
>>
>> Hopefully I do nid run Jonathan Corbet's gitdm in a wrong way (git log
>> -p -M v2012.07..v2012.10 | gitdm -u -s -a -o /tmp/results -h
>> /tmp/result
Hi Andreas,
On Tue, Jan 24, 2012 at 3:10 AM, Andreas Bießmann
wrote:
> From: Andreas Bießmann
>
> If one want to use fw_printenv/fw_setenv in special variants (eg compiled in
> MTD parameters without configuration file) he need to change the sources.
> This patch add the posibillity to change th
Hi Christian,
On Thu, Jan 5, 2012 at 6:30 PM, Christian Daudt wrote:
> Changes from previous:
> - Changed // to /* */
> - Ran through checkpatch.pl, cleaned up a number of line-too-big and
> extra space in the code that was shifted due to being in the new 'if'.
Your patch appears to be corrupt.
Hi Christian,
On Thu, Jan 5, 2012 at 6:30 PM, Christian Daudt wrote:
> Changes from previous:
> - Changed // to /* */
> - Ran through checkpatch.pl, cleaned up a number of line-too-big and
> extra space in the code that was shifted due to being in the new 'if'.
>
> Thanks,
> csd
>
>
> Subjec
Fix crash introduced by a073d63a36524453a817ab029fad5b188f46127e
when attempting to delete a variable.
Signed-off-by: Joe Hershberger
---
tools/env/fw_env.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 520ce3f..906ccbf
Provide more information when using redundant environments
Consistently print debug info to stderr
Signed-off-by: Joe Hershberger
---
tools/env/fw_env.c | 27 ++-
1 file changed, 22 insertions(+), 5 deletions(-)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index
net custodian. IIRC, Simon and Mike (added to Cc) volunteered
>> to take over. I'm not sure about the outcome though. Simon, Mike, is this now
>> decided?
>
> Nothing is decided yet. Actually I was discussing off list with Joe
> Hershberger if he was wiling to do this work - IMO t
Hi Michal,
On Tue, Mar 27, 2012 at 7:25 AM, Michal Simek wrote:
> Dear Stephan,
>
>
> Stephan Linz wrote:
>>
>> Xilinx LocalLink Tri-Mode Ether MAC driver can be
>> used by Xilinx Microblaze or Xilinx ppc405/440 in
>> SDMA and FIFO mode. DCR or XPS bus can be used.
>
> Joe, Wolfgang: I don't agre
Checking for CDP packets should be encapsulated, not copied code.
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split from patch "Move CDP out of net.c"
- Changed to static inline
arch/powerpc/cpu/mpc8xx/fe
This is not called as a handler, so don't name it that way
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split from "Improve variable names and code readability"
net/cdp.c |2 +-
net/cdp.h |2 +-
net/net
ICMP (ping) was reimplementing IP header code... it now shares code.
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Eliminate CamelCase in new functions
include/net.h |4 +++-
net/bootp.c |8
net/net.c
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Moved config fixes to a separate patch
- Pushed #ifdef CONFIG_CMD_PING into header
- Eliminated CamelCase
net/Makefile |1 +
net/net.c| 133
Rename IP header related things to IP_UDP. The existing definition
of IP_t includes UDP header, so name it to accurately describe the
structure. Also add a structure that only contains IP header fields
to be used by functions that don't need UDP.
Signed-off-by: Joe Hershberger
Cc
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split apart from "Un-typedef variables in net"
- Renamed structs from *_t to *_hdr since they are nolonger types
include/net.h |5 ++---
net/arp.c |8 +++
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Moved is_cdp_packet to a separate patch
- Fixed blank newline at the end of cdp.h
- Pushed #ifdef CONFIG_CMD_CDP into header
include/net.h |8 +-
net/Makefile |1
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split apart from "Un-typedef variables in net"
- Renamed structs from *_t to *_hdr since they are nolonger types
include/net.h |6 --
net/net.c |2 +-
Clearer constant name.
Also remove related BOOTP_SIZE which was unused and doesn't take
into account VLAN packets.
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split from "Improve variable names and code readabil
Make the MAC-seeded random number generator available to /net in
general. 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: Simon Glass
Cc: Mike Frysinger
---
net/Makefile |1 +
net/bootp.c| 69
If CONFIG_BOOTP_SERVERIP is not defined, unused
variable warning is reported. This was fixed in
origin using a compiler feature instead of a
simple reorder of the statements.
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
net/bootp.c |7
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split into smaller patches
net/bootp.c | 340 ++-
net/bootp.h | 56 +-
2 files changed, 203 insertions(+), 193
Requires:
--ignore CONSIDER_KSTRTO
Signed-off-by: Joe Hershberger
Cc: Joe Hershberger
Cc: Simon Glass
Cc: Mike Frysinger
---
Changes for v2:
- Split into smaller patches
drivers/net/netconsole.c | 122 +++--
1 files changed, 62 insertions(+), 60
When the network is VLAN or SNAP, 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: Simon Glass
Cc: Mike Frysinger
---
include/net.h |1 +
net/arp.c
801 - 900 of 4631 matches
Mail list logo