[U-Boot-Users] Edit U-Boot Env with fw_printenv & fw_saveenv

Well just a simple question, how can I use these commands. I found the commands in the tools folder of U-Boot but they can't be compiled. So I ask if someone got experience with this.
THX Destrukto

Hi Destrukto,
Destrukto simon.bielmann@gmx.ch writes:
Well just a simple question, how can I use these commands. I found the commands in the tools folder of U-Boot but they can't be compiled. So
Compiles ok here:
mk@lisa:~/src/git/u-boot$ make env make -C tools/env all MTD_VERSION= || exit 1 make[1]: Entering directory `/home/mk/src/git/u-boot/tools/env' make[1]: Leaving directory `/home/mk/src/git/u-boot/tools/env' make[1]: Entering directory `/home/mk/src/git/u-boot/tools/env' ppc_4xxFP-gcc -Wall -DUSE_HOSTCC crc32.c fw_env.c fw_env_main.c -o fw_printenv make[1]: Leaving directory `/home/mk/src/git/u-boot/tools/env'
You have to use top of tree U-Boot as a compile fix was just merged recently. Also make sure to read tools/env/README.
Best regards
Markus Klotzbuecher
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de

In message 87hch2fdh5.fsf@denx.de Markus wrote:
You have to use top of tree U-Boot as a compile fix was just merged recently. Also make sure to read tools/env/README.
And of course you should read the manual and especially the FAQ. Please do that *before* posting.
See http://www.denx.de/wiki/view/DULG/HowCanIAccessUBootEnvironmentVariablesInLi...
Best regards,
Wolfgang Denk

Well, this was the first I've tried but it didn't work maybe you could explain me the instruction step by step so I can check out where I've made a mistake.
Thx Destrukto
wd wrote:
In message 87hch2fdh5.fsf@denx.de Markus wrote:
You have to use top of tree U-Boot as a compile fix was just merged recently. Also make sure to read tools/env/README.
And of course you should read the manual and especially the FAQ. Please do that *before* posting.
See http://www.denx.de/wiki/view/DULG/HowCanIAccessUBootEnvironmentVariablesInLi...
Best regards,
Wolfgang Denk
-- 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@denx.de I was playing poker the other night... with Tarot cards. I got a full house and 4 people died. - Steven Wright
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Destrukto simon.bielmann@gmx.ch writes:
Well, this was the first I've tried but it didn't work maybe you could explain me the instruction step by step so I can check out where I've made a mistake.
Please post exactly what you did and what errors you got, and we'll try to tell you what you're doing wrong.
Best regards
Markus Klotzbuecher
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de

In message 15090115.post@talk.nabble.com you wrote:
Well, this was the first I've tried but it didn't work maybe you could explain me the instruction step by step so I can check out where I've made a mistake.
"didn't work" is such a vague description that help is impossible. Please see http://www.catb.org/%7eesr/faqs/smart-questions.html
And read the FAQ; the description there is pretty good, me thinks. If you don't understand it, please explain which specific part you don't understand, so we can improve it.
Best regards,
Wolfgang Denk
participants (3)
-
Destrukto
-
Markus Klotzbücher
-
Wolfgang Denk