’ expects type ‘long int’, but argument
3 has type ‘unsigned int’
I don't have these warnings ... I guess it is because we don't have the
same compiler ? Thank you, I didn't know the %zu format :)
Acked-by: David Wagner deubeul...@gmail.com
Cheers,
David
On 27/03/2012 10:32, Anatolij Gustschin wrote:
[...]
I'll queue them in my staging branch.
Thanks,
Anatolij
Thanks a lot !
David.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On 15/01/2012 02:22, Mike Frysinger wrote:
Acked-by: Mike Frysingervap...@gentoo.org
-mike
Dear Wolfgang,
I think Mike has acked all the 7 patches in v5. Thanks a lot if you can
apply them.
Regards,
David Wagner.
___
U-Boot mailing list
U-Boot
Le 13/01/2012 21:07, Wolfgang Denk a écrit :
Sorry, but this patch series has become a mess; we have the original
1-9 series, then a v2 1-10, then v3 1-8, and even a v4 1-8, with htese
later series all being sparse ones. Sonce the number of patches
changed several times, it's totally unclear to
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 41 +++--
1 files changed, 15 insertions(+), 26 deletions
compiler.h needs to be included from U-Boot's headers.
Also, group U-Boot-specific includes together
stdlib.h was missing.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 26 +-
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index cc1deec..a5676be 100644
--- a/tools/mkenvimage.c
+++ b/tools
Fall back to read() if it fails.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 25 +++--
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index a5676be..8ce1be6 100644
--- a/tools
Remove this feature since it seems impossible to reliably detect them.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 8ce1be6..ddd4515
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index ddd4515..e148f89 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -285,7 +285,9
Verbosly fail if the target environment size or the padding byte are badly
formated.
Verbosly fail if something bad happens when reading from standard input.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 31 +--
1 files
Le 08/01/2012 07:50, Mike Frysinger a écrit :
On Thursday 05 January 2012 13:44:56 David Wagner wrote:
+ bin_fd = creat(bin_filename, S_IRUSR | S_IWUSR | S_IRGRP |
+S_IWGRP);
this should prob be open()
-mike
What is wrong with creat
compiler.h needs to be included from U-Boot's headers.
Also, group U-Boot-specific includes together
stdlib.h was missing.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tools
Fall back to read() if it fails.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
I let an error message be printed when mmap fails, as the user may want to know
why.
tools/mkenvimage.c | 25 +++--
1 files changed, 19 insertions(+), 6 deletions(-)
diff
Verbosly fail if the target environment size or the padding byte are badly
formated.
Verbosly fail if something bad happens when reading from standard input.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 30 --
1 files changed
Verbosly fail if the target environment size or the padding byte are badly
formated.
Verbosly fail if something bad happens when reading from standard input.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 31 +--
1 files
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index a5f989a..64bcc4d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -194,6 +194,7 @@ $(obj)xway-swap-bytes
compiler.h and u-boot/crc.h need to be included from U-Boot's headers.
stdlib.h was missing.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 26 +-
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index eb9a8f2..6db2b21 100644
--- a/tools/mkenvimage.c
+++ b/tools
Verbosly fail if the target environment size or the padding byte are badly
formated.
Verbosly fail if something bad happens when reading from standard input.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 32 ++--
1 files
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 41 +++--
1 files changed, 15 insertions(+), 26 deletions
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 15 +--
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 6db2b21..58f1d0b 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
Remove this feature since it seems impossible to reliably detect them.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 58f1d0b..a3d4e27
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index a3d4e27..c1e6cad 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -276,7 +276,9
Le 21/12/2011 08:41, Thomas Petazzoni a écrit :
Seems like your forgot to resolve some conflicts. A compile test would
have detected those issues.
Regards,
Thomas
Ow. right...
However, I will first wait for Horst's patch 3/4 (print program basename
instead of whole path in usage()) to be
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
This version is rebased on top of 'next' (it didn't apply anymore, after Horst
Kronstorfer's patches).
tools
compiler.h and u-boot/crc.h need to be included from U-Boot's headers.
stdlib.h was missing.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
This version is rebased on top of 'next' (it didn't apply anymore, after Horst
Kronstorfer's patches).
tools/mkenvimage.c | 15
Also, fix some comments (minor)
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 9899631..0c9194b 100644
--- a/tools/mkenvimage.c
Le 27/11/2011 20:59, Mike Frysinger a écrit :
don't see anything wrong with the latest patchset now, thanks!
-mike
Hi,
I re-sent 2 patches that didn't apply anymore on top of next (v2 2/10
and v2 3/10) ; the others should be fine.
I also sent one more patch ([PATCH 09/10] Correctly handle
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
This 2nd version is a meld of the 1st version and patch 9
tools/mkenvimage.c | 26 +-
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index b6e7f14
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 221e9de..4e69056 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -257,7 +257,9
On 25/11/2011 22:36, Mike Frysinger wrote:
squash this into the first stdin patch ?
[PATCH 5/9] mkenvimage: Read from stdin if the filename is -
-mike
Done, you can ignore this patch.
David.
___
U-Boot mailing list
U-Boot@lists.denx.de
Remove this feature since it seems impossible to reliably detect them.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 74b296e..8d84c85
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/Makefile b/tools/Makefile
index a5f989a..64bcc4d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -194,6 +194,7 @@ $(obj)xway-swap-bytes
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 8d84c85..fa6eb6e 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -257,7 +257,9
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 11 +++
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index b6e7f14..86a4e05 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
@@ -154,15
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 15 +--
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index 86a4e05..74b296e 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
Also, don't split error messages over several lines as per a coding style
exception making them easier to grep.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 39 ++-
1 files changed, 14 insertions(+), 25 deletions
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 14 +-
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
index fa6eb6e..8ba63d2 100644
--- a/tools/mkenvimage.c
+++ b/tools/mkenvimage.c
Verbosly fail if the target environment size or the padding byte are badly
formated.
Verbosly fail if something bad happens when reading from standard input.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c | 32 ++--
1 files
compiler.h and u-boot/crc.h need to be included from U-Boot's headers.
stdlib.h was missing.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/mkenvimage.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c
,
David.
David Wagner (9):
Strip mkenvimage
mkenvimage: correct and clarify comments and error messages
mkenvimage: Correct the includes and add a missing one
mkenvimage: More error handling
mkenvimage: Read from stdin if the filename is -
mkenvimage: Use mmap() when reading from
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
Acked-by: Mike Frysinger vap
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
Acked-by; Mike Frysinger vap
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
Acked-by; Mike Frysinger vap
used as direct input into this utility.
Regards
Nick Thomas
--
David Wagner, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
U-Boot mailing list
U-Boot
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
Acked-by; Mike Frysinger vap
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
changes since v5
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
changes since v5
oops, subject is missing v6. I just resent a correct version.
David
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
use case: flash the environment with an external tool
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
changes since v4
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environment image, ready to be flashed.
For now, it doesn't work properly if environment variables have embedded
newlines.
Signed-off-by: David Wagner david.wag...@free-electrons.com
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environnment image, ready to be flashed.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
Hi Mike,
This 3rd version should address what you pointed out.
I had
Hi,
On 08/06/2011 01:18 PM, Mike Frysinger wrote:
On Fri, Aug 5, 2011 at 09:23, David Wagner wrote:
+#include endian.h
this is not portable. include compiler.h and use the already existing
uswap/cpu_to/to_cpu/etc... helpers.
+static void usage(void)
+{
+ printf(envcrc [-h
On 08/08/2011 10:46 AM, Albert ARIBAUD wrote:
Hi David,
Le 08/08/2011 10:16, David Wagner a écrit :
+static void usage(void)
+{
+ printf(envcrc [-h] [-r] [-b] -senvrionnment partition
size -ooutput
funny, envcrc isnt what the filename actually is ...
ah, yes, it began
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environnment image, ready to be flashed.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
tools/Makefile |5 ++
tools/mkenvimage.c | 157
This tool takes a key=value configuration file (same as would a `printenv' show)
and generates the corresponding environnment image, ready to be flashed.
Signed-off-by: David Wagner david.wag...@free-electrons.com
---
Hi Thomas,
This second version addresses all your comments except
57 matches
Mail list logo