Skip to contentSkip to conversation

Bug#540039: uboot-envtools: add uboot-envedit script from fso-utils?

U-Boot Per Andersson 2 participants 2 messages Aug 5, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1249466863.26630.13.camel@chianamo

#1 lore raw

(Please keep me in Cc since I am not subscribed.)

Hi!

Recently I received a request [0] to include a perl script which can edit the uboot environment. Use case is attached below, the file (uboot-envedit) is also attached.

Since it is confusing to add random scripts to Debian packages which are not in upstream, I ask you to include it at your end.

All the best,
Per

[0] http://bugs.debian.org/540039

Quoted 17 lines · Paul Wise

Package: uboot-envtools
Severity: wishlist

It would be nice to include the uboot-envedit script from fso-utils. It is more suitable for the case where you want to upload uboot configuration from a separate host via USB with dfu-util or similar. My workflow for that is to keep a text file containing my OpenMoko Freerunner uboot configuration and the binary equivalent. When I want to change something, I edit the text file, generate a new binary file with uboot-envedit, upload the new binary file to the Freerunner u-boot_env partition with dfu-util and when it is tested, overwrite the old binary file with the new one.

--
bye,
pabs

Quoted 8 lines

http://wiki.debian.org/PaulWise

_______________________________________________
pkg-fso-maint mailing list
pkg-fso-maint at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uboot-envedit
Type: application/octet-stream
Size: 7359 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090805/620d82fd/attachment.obj

#2 lore raw

Dear Per Andersson,

Quoted 7 lines · In message <[email protected]> you…

Recently I received a request [0] to include a perl script which can edit the uboot environment. Use case is attached below, the file (uboot-envedit) is also attached.

Since it is confusing to add random scripts to Debian packages which are not in upstream, I ask you to include it at your end.

I'm afraid I don't really understand what this script is intended for.

To "edit" the U-Boot invironment we usually use the fw_printenv / fw_setenv tools from the tools/env/ directory.

These know how do deal with plain and with redundant environment, stored in NOR and in NAND flash, etc.

It seems the perl script does none of this?

If you want it included, please add some documentation, and submit it as a proper patch. Please see http://www.denx.de/wiki/U-Boot/Patches
for details. And make sure not to forget your Signed-off-by: line.

Thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The universe, they said, depended for its operation on the balance of
four forces which they identified as charm,  persuasion,  uncertainty
and bloody-mindedness.      -- Terry Pratchett, "The Light Fantastic"