Re: [U-Boot] [pkg-fso-maint] Bug#540039: uboot-envtools: add uboot-envedit script from fso-utils?

(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
On Wed, Aug 5, 2009 at 12:07 PM, Paul Wisepabs@debian.org wrote:
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
http://wiki.debian.org/PaulWise
pkg-fso-maint mailing list pkg-fso-maint@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint

Dear Per Andersson,
In message 3d9141e80908050719h1708b7ackcf7174a32c33852@mail.gmail.com you wrote:
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
participants (2)
-
Per Andersson
-
Wolfgang Denk