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
Signature · 2 lines
View this message in context: http://www.nabble.com/Edit-U-Boot-Env-with-fw_printenv---fw_saveenv-tp15084184p15084184.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Hi Destrukto,
Quoted 2 lines · Destrukto
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 at 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 at denx.de
Quoted 3 lines · In message <[email protected]> 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/HowCanIAccessUBootEnvironmentVariablesInLinux
Best regards,
Wolfgang Denk
Signature · 5 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 I was playing poker the other night... with Tarot cards. I got a full house and 4 people died. - Steven Wright
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
Quoted 34 lines · wd
Quoted 3 lines · In message <[email protected]> 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/HowCanIAccessUBootEnvironmentVariablesInLinuxBest regards,
Wolfgang Denk
Signature · 14 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 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Signature · 2 lines
View this message in context: http://www.nabble.com/Edit-U-Boot-Env-with-fw_printenv---fw_saveenv-tp15084184p15090115.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 3 lines · Destrukto
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 at denx.de
Quoted 4 lines · In message <[email protected]> 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
Signature · 7 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
Brontosaurus Principle: Organizations can grow faster than their
brains can manage them in relation to their environment and to their
own physiology: when this occurs, they are an endangered species.
- Thomas K. Connellan