public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] tool to create environment on host?
@ 2005-05-25  9:04 Steven Scholz
  2005-05-25  9:15 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Steven Scholz @ 2005-05-25  9:04 UTC (permalink / raw)
  To: u-boot

Hi there,

is there a tool to create a binary environment block from a text file on the 
host?

If not what would be the best point to start?

-- 
Steven

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25  9:04 [U-Boot-Users] tool to create environment on host? Steven Scholz
@ 2005-05-25  9:15 ` Wolfgang Denk
  2005-05-25 10:16   ` Simon Poole
  2005-05-25 12:23   ` Steven Scholz
  0 siblings, 2 replies; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25  9:15 UTC (permalink / raw)
  To: u-boot

In message <42943FAC.4010206@imc-berlin.de> you wrote:
> 
> is there a tool to create a binary environment block from a text file on the 
> host?

No, not yet.

> If not what would be the best point to start?

tools/env/fw_env.[ch]

Replace the flash_io() code with something  that  simply  writes  the
data to a regular file.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Always borrow money from a pessimist; they don't expect  to  be  paid
back.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25  9:15 ` Wolfgang Denk
@ 2005-05-25 10:16   ` Simon Poole
  2005-05-25 13:14     ` Steven Scholz
  2005-05-25 13:25     ` Wolfgang Denk
  2005-05-25 12:23   ` Steven Scholz
  1 sibling, 2 replies; 20+ messages in thread
From: Simon Poole @ 2005-05-25 10:16 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> In message <42943FAC.4010206@imc-berlin.de> you wrote:
> 
>>is there a tool to create a binary environment block from a text file on the 
>>host?
> 
> 
> No, not yet.
> 

That would be *so* useful for our nightly builds...

--
Simon Poole
www.appliancestudio.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25  9:15 ` Wolfgang Denk
  2005-05-25 10:16   ` Simon Poole
@ 2005-05-25 12:23   ` Steven Scholz
  2005-05-25 13:30     ` Wolfgang Denk
  1 sibling, 1 reply; 20+ messages in thread
From: Steven Scholz @ 2005-05-25 12:23 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

> In message <42943FAC.4010206@imc-berlin.de> you wrote:
> 
>>is there a tool to create a binary environment block from a text file on the 
>>host?
> 
> 
> No, not yet.

How do I handle the byteorde of the CRC?
Where is this done in U-Boot?


--
Steven

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 10:16   ` Simon Poole
@ 2005-05-25 13:14     ` Steven Scholz
  2005-05-25 13:25     ` Wolfgang Denk
  1 sibling, 0 replies; 20+ messages in thread
From: Steven Scholz @ 2005-05-25 13:14 UTC (permalink / raw)
  To: u-boot

Simon,

>>> is there a tool to create a binary environment block from a text file 
>>> on the host?
>>
>> No, not yet.
> 
> That would be *so* useful for our nightly builds...

Quick and Dirty Hack attached!

Good luck,

Steven


--
Index: tools/Makefile
===================================================================
RCS file: /cvsroot/u-boot/u-boot/tools/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- tools/Makefile      28 Sep 2004 21:39:46 -0000      1.10
+++ tools/Makefile      25 May 2005 13:12:49 -0000
@@ -21,9 +21,9 @@
  # MA 02111-1307 USA
  #

-BINS   = img2srec$(SFX) mkimage$(SFX) envcrc$(SFX) gen_eth_addr$(SFX) 
bmp_logo$(SFX)
+BINS   = img2srec$(SFX) mkimage$(SFX) envcrc$(SFX) gen_eth_addr$(SFX) 
bmp_logo$(SFX) txt2env$(SFX)

-OBJS   = environment.o img2srec.o mkimage.o crc32.o envcrc.o gen_eth_addr.o 
bmp_logo.o
+OBJS   = environment.o img2srec.o mkimage.o crc32.o envcrc.o gen_eth_addr.o 
bmp_logo.o txt2env.o

  ifeq ($(ARCH),mips)
  BINS   += inca-swap-bytes$(SFX)
@@ -121,6 +121,9 @@
  envcrc$(SFX):  envcrc.o crc32.o environment.o
                 $(CC) $(CFLAGS) -o $@ $^

+txt2env$(SFX): txt2env.o crc32.o environment.o
+               $(CC) $(CFLAGS) -o $@ $^
+
  img2srec$(SFX):        img2srec.o
                 $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
                 $(STRIP) $@
@@ -152,6 +155,9 @@
  envcrc.o:      envcrc.c
                 $(CC) -g $(CFLAGS) -c $<

+txt2env.o:     txt2env.c
+               $(CC) -g $(CFLAGS) -c $<
+
  crc32.o:       crc32.c
                 $(CC) -g $(CFLAGS) -c $<

-------------- next part --------------
A non-text attachment was scrubbed...
Name: txt2env.c
Type: text/x-csrc
Size: 5927 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050525/c4485490/attachment.c 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
@ 2005-05-25 13:19 Eisenhut, Daniel
  2005-05-25 13:27 ` Steven Scholz
  0 siblings, 1 reply; 20+ messages in thread
From: Eisenhut, Daniel @ 2005-05-25 13:19 UTC (permalink / raw)
  To: u-boot

Steven,

I've created a tool for doing this in our environment.  See attached tar.bz2.  You'll have to adjust the Makefile to build in your environment, as it has a define to point to your u-boot sources.

The tool uses stdin for the text file and stdout for the binary.  See README file.

Dan

-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Steven
Scholz
Sent: Wednesday, May 25, 2005 4:05 AM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] tool to create environment on host?


Hi there,

is there a tool to create a binary environment block from a text file on the 
host?

If not what would be the best point to start?

-- 
Steven


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATTACHMENT_OR_CONTENT_BLOCKING_makeenv.tar.bz2.TXT
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050525/45be63f6/attachment.txt 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 10:16   ` Simon Poole
  2005-05-25 13:14     ` Steven Scholz
@ 2005-05-25 13:25     ` Wolfgang Denk
  2005-05-25 14:31       ` Simon Poole
  1 sibling, 1 reply; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25 13:25 UTC (permalink / raw)
  To: u-boot

In message <4294507C.1050104@themalago.net> you wrote:
>
> >>is there a tool to create a binary environment block from a text file on the 
> >>host?
...
> That would be *so* useful for our nightly builds...

Why so? If correctly configured, the environment is  built  automati-
cally with the U-Boot image anyway.

Even if there is good reason for split off environment sectors or for
storing the environment in  EEPROM  (oops,  no,  impossible  -  there
cannot  be  any good resons to do that) you can (and should) define a
valid and useful default environment, which can  even  take  care  of
automatic  initialization of the "external" environment storage. This
requires just a single line of command definitions.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Only in our dreams we are free.  The rest of the time we need  wages.
                                    - Terry Pratchett, _Wyrd Sisters_

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 13:19 Eisenhut, Daniel
@ 2005-05-25 13:27 ` Steven Scholz
  0 siblings, 0 replies; 20+ messages in thread
From: Steven Scholz @ 2005-05-25 13:27 UTC (permalink / raw)
  To: u-boot

Daniel,

> I've created a tool for doing this in our environment.  See attached tar.bz2.  You'll have to adjust the Makefile to build in your environment, as it has a define to point to your u-boot sources.
> 
> The tool uses stdin for the text file and stdout for the binary.  See README file.

20 min to late! :-(

Thanks anyway!

--
Steven

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 12:23   ` Steven Scholz
@ 2005-05-25 13:30     ` Wolfgang Denk
  0 siblings, 0 replies; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25 13:30 UTC (permalink / raw)
  To: u-boot

In message <42946E59.5090902@imc-berlin.de> you wrote:
>
> How do I handle the byteorde of the CRC?

Use the target's host byte order.

> Where is this done in U-Boot?

U-Boot or the fw_env tools are always running on the target, so  they
just use the native byte order.

If your tool is  running  on  the  host,  you  must  add  appropriate
conversion.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The word "fit", as I understand it, means "appropriate to a purpose",
and I would say the body of the Dean is supremely appropriate to  the
purpose of sitting around all day and eating big heavy meals.
                                 - Terry Pratchett, _Moving Pictures_

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 13:25     ` Wolfgang Denk
@ 2005-05-25 14:31       ` Simon Poole
  2005-05-25 15:06         ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Simon Poole @ 2005-05-25 14:31 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> In message <4294507C.1050104@themalago.net> you wrote:
> 
>>>>is there a tool to create a binary environment block from a text file on the 
>>>>host?
> 
> ...
> 
>>That would be *so* useful for our nightly builds...
> 
> 
> Why so? If correctly configured, the environment is  built  automati-
> cally with the U-Boot image anyway.
> 

Our nightly build produces the full u-boot, kernel, rootfs for our 
products and wraps it up into a nice single firmware image ready for 
flashing onto the boards.

The environment for a single board may vary slightly depending on the 
product it is going into (e.g. different mtdparts kernel bootarg).  Our 
current procedure is to run u-boot on the board, setup the environment 
correctly, save a binary image of it and put that in the nightly build. 
  Steven's idea means we can keep the environment in 'source' format and 
build the binary on the fly.

I might have missed a trick though if this can be done as part of the 
normal u-boot build?

Simon.
--
Simon Poole
www.appliancestudio.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 14:31       ` Simon Poole
@ 2005-05-25 15:06         ` Wolfgang Denk
  2005-05-25 15:10           ` Simon Poole
  2005-05-25 18:12           ` NZG
  0 siblings, 2 replies; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25 15:06 UTC (permalink / raw)
  To: u-boot

In message <42948C33.4010209@themalago.net> you wrote:
>
> The environment for a single board may vary slightly depending on the 
> product it is going into (e.g. different mtdparts kernel bootarg).  Our 

OK - so you have  several  configurations,  which  require  different
environment settings. Right?

>   Steven's idea means we can keep the environment in 'source' format and 
> build the binary on the fly.

You can have several (default) configuration stored  simply  in  your
board's  config  file and select these for example by using different
Makefile targets.

> I might have missed a trick though if this can be done as part of the 
> normal u-boot build?

Add the required definitions to your board config  file,  and  select
these  as  different  make targets. See for example tre adjustment of
the   U-Boot   image   file   name   on   the    TFTP    server    in
"include/configs/TQM5200.h" (search for CONFIG_U_BOOT_SUFFIX), or see
the  different  initialization  of the environment depending on flash
size  (CONFIG_FLASH_8MB)  and  whether  or  not  the  hush  shell  is
activated (CFG_HUSH_PARSER) in "include/configs/trab.h"

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You are only young once, but you can stay immature indefinitely.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 15:06         ` Wolfgang Denk
@ 2005-05-25 15:10           ` Simon Poole
  2005-05-25 18:12           ` NZG
  1 sibling, 0 replies; 20+ messages in thread
From: Simon Poole @ 2005-05-25 15:10 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> 
> OK - so you have  several  configurations,  which  require  different
> environment settings. Right?
> 

Right.

> 
> Add the required definitions to your board config  file,  and  select
> these  as  different  make targets. See for example tre adjustment of
> the   U-Boot   image   file   name   on   the    TFTP    server    in
> "include/configs/TQM5200.h" (search for CONFIG_U_BOOT_SUFFIX), or see
> the  different  initialization  of the environment depending on flash
> size  (CONFIG_FLASH_8MB)  and  whether  or  not  the  hush  shell  is
> activated (CFG_HUSH_PARSER) in "include/configs/trab.h"
> 

Thanks for the pointers. I'll have a play...

--
Simon Poole
www.appliancestudio.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 15:06         ` Wolfgang Denk
  2005-05-25 15:10           ` Simon Poole
@ 2005-05-25 18:12           ` NZG
  2005-05-25 19:56             ` Wolfgang Denk
  1 sibling, 1 reply; 20+ messages in thread
From: NZG @ 2005-05-25 18:12 UTC (permalink / raw)
  To: u-boot

> You can have several (default) configuration stored  simply  in  your
> board's  config  file and select these for example by using different
> Makefile targets.
That's a good idea, but doesn't work for us because we distribute the boards 
with valid MAC's in the enviornment, hence every one must be different, and 
gets hand programmed.
I don't know that there's a way to get around this, but if someone has come up 
with a tool, I would love to get my hands on it!

NZG.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
@ 2005-05-25 18:28 Bob Peterson
  2005-05-25 20:01 ` Wolfgang Denk
  2005-06-08 16:41 ` Jeff Angielski
  0 siblings, 2 replies; 20+ messages in thread
From: Bob Peterson @ 2005-05-25 18:28 UTC (permalink / raw)
  To: u-boot

Hi All U-Booters,

I have written a simple u-boot environment modifying tool that you guys may 
find
useful.  (Attached).  The tool is essential for our company since our devices
often get to me all packaged up and the console serial port assigned to 
u-boot is
physically inaccessible.  The flash chips are pre-burned with our initial 
values,
defining the device as host ppc1 with a fixed mac address and ip address, but
we're often called upon to change those values after the fact.

Therefore, my tool is designed to switch a device's hostname, mac address,
and ip address in several places in the u-boot environment.  For example, to
change a device called ppc1 to ppc4, I can simply do something like this:

ssh ppc1
envtool 4

To print your current values for hostname, ip and mac address, I do:

envtool -print

To print all u-boot variables, I do:

envtool -printenv

I'm not claiming this tool is perfect, nor even elegant.  It is simple and 
effective,
and I'm stilling making tweaks here and there.

WARNING: The tool relies heavily upon the assumption that the u-boot
environment variables are being stored in /dev/mtdblock1.  That's how I have
the kernel for my icecube-based board set up.

To compile for icecube, do this:

ppc_6xx-gcc -o envtool envtool.c

Regards,

Bob Peterson
Advanced Communication Design
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: envtool.c
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050525/1c3fa812/attachment.txt 
-------------- next part --------------

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 18:12           ` NZG
@ 2005-05-25 19:56             ` Wolfgang Denk
  2005-05-26  7:50               ` Steven Scholz
  0 siblings, 1 reply; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25 19:56 UTC (permalink / raw)
  To: u-boot

In message <200505251312.29064.ngustavson@emacinc.com> you wrote:
>
> That's a good idea, but doesn't work for us because we distribute the boards 
> with valid MAC's in the enviornment, hence every one must be different, and 
> gets hand programmed.

There are solutions for this, too.

> I don't know that there's a way to get around this, but if someone has come up 
> with a tool, I would love to get my hands on it!

See "board/tqm8xx/load_sernum_ethaddr.c" - on these boards the unused
space at the end of the last U-Boot flash sector is  used:  we  store
some  data  structure  in the last 64 bytes of this sector containing
the serial number, MAC address and som configuration  information  of
the  board.  These 64 bytes are programmed after all the software has
been installed, right before testing the boards.

U-Boot  will  check  if  the  envrionment  variables  "serial#"   and
"ethaddr" are already defined - if this is the case, nothing happens;
if  not  they  get auto-initialized from this data structure. This is
completely transparent to the user.


You see, all these problems were already addressed somewhere :-)

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Even if you can deceive people about  a  product  through  misleading
statements, sooner or later the product will speak for itself.
- Hajime Karatsu

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 18:28 Bob Peterson
@ 2005-05-25 20:01 ` Wolfgang Denk
  2005-06-08 16:41 ` Jeff Angielski
  1 sibling, 0 replies; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-25 20:01 UTC (permalink / raw)
  To: u-boot

In message <6.2.0.14.1.20050525131123.03ce4e30@mail.int.acdstar.com> you wrote:
>
> I have written a simple u-boot environment modifying tool that you guys may 
> find useful.  (Attached).  The tool is essential for our company since our devices

Why didn't you simply use the existing tool/env/fw_env*  code?  Looks
like it does the same, just in a more flexible way?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is only one way to console a widow.  But remember the risk.
                                                   -- Robert Heinlein

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 19:56             ` Wolfgang Denk
@ 2005-05-26  7:50               ` Steven Scholz
  2005-05-26 10:32                 ` Wolfgang Denk
  0 siblings, 1 reply; 20+ messages in thread
From: Steven Scholz @ 2005-05-26  7:50 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

> See "board/tqm8xx/load_sernum_ethaddr.c" - on these boards the unused
> space at the end of the last U-Boot flash sector is  used:  we  store
> some  data  structure  in the last 64 bytes of this sector containing
> the serial number, MAC address and som configuration  information  of
> the  board.

And if you update U-Boot in the field these information get lost!?

--
Steven

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-26  7:50               ` Steven Scholz
@ 2005-05-26 10:32                 ` Wolfgang Denk
  0 siblings, 0 replies; 20+ messages in thread
From: Wolfgang Denk @ 2005-05-26 10:32 UTC (permalink / raw)
  To: u-boot

In message <42957FBE.6010202@imc-berlin.de> you wrote:
> 
> > See "board/tqm8xx/load_sernum_ethaddr.c" - on these boards the unused
> > space at the end of the last U-Boot flash sector is  used:  we  store
> > some  data  structure  in the last 64 bytes of this sector containing
> > the serial number, MAC address and som configuration  information  of
> > the  board.
> 
> And if you update U-Boot in the field these information get lost!?

By then the information has long been saved to the normal environment
(it get's written with the first "saveenv"). You just  have  to  make
sure  that  the  standard update procedure takes care to keep the old
environment - but you want to do this anyway.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'm a programmer: I don't buy software, I write it.
                                                  -- Tom Christiansen

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
@ 2005-05-26 15:41 Rune Torgersen
  0 siblings, 0 replies; 20+ messages in thread
From: Rune Torgersen @ 2005-05-26 15:41 UTC (permalink / raw)
  To: u-boot

Try this one.
It takes a text file in the format of
Parametername=text
With one entry per line.

> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net 
> [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf 
> Of Steven Scholz
> Sent: Wednesday, May 25, 2005 04:05
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] tool to create environment on host?
> 
> Hi there,
> 
> is there a tool to create a binary environment block from a 
> text file on the 
> host?
> 
> If not what would be the best point to start?
> 
> -- 
> Steven
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit 
> http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: create_envbin.cpp.gz
Type: application/x-gzip
Size: 2915 bytes
Desc: create_envbin.cpp.gz
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050526/9743b65d/attachment.bin 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [U-Boot-Users] tool to create environment on host?
  2005-05-25 18:28 Bob Peterson
  2005-05-25 20:01 ` Wolfgang Denk
@ 2005-06-08 16:41 ` Jeff Angielski
  1 sibling, 0 replies; 20+ messages in thread
From: Jeff Angielski @ 2005-06-08 16:41 UTC (permalink / raw)
  To: u-boot

On Wed, 2005-05-25 at 13:28 -0500, Bob Peterson wrote:
> Hi All U-Booters,
> 
> I have written a simple u-boot environment modifying tool that you guys may 
> find
> useful. 

Why didn't you just use fw_printenv and fw_setenv in the u-boot
tools/env?


Jeff Angielski
The PTR Group

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-06-08 16:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25  9:04 [U-Boot-Users] tool to create environment on host? Steven Scholz
2005-05-25  9:15 ` Wolfgang Denk
2005-05-25 10:16   ` Simon Poole
2005-05-25 13:14     ` Steven Scholz
2005-05-25 13:25     ` Wolfgang Denk
2005-05-25 14:31       ` Simon Poole
2005-05-25 15:06         ` Wolfgang Denk
2005-05-25 15:10           ` Simon Poole
2005-05-25 18:12           ` NZG
2005-05-25 19:56             ` Wolfgang Denk
2005-05-26  7:50               ` Steven Scholz
2005-05-26 10:32                 ` Wolfgang Denk
2005-05-25 12:23   ` Steven Scholz
2005-05-25 13:30     ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-05-25 13:19 Eisenhut, Daniel
2005-05-25 13:27 ` Steven Scholz
2005-05-25 18:28 Bob Peterson
2005-05-25 20:01 ` Wolfgang Denk
2005-06-08 16:41 ` Jeff Angielski
2005-05-26 15:41 Rune Torgersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox