public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] fw_printenv is not working
@ 2010-07-29 15:21 mateer
  2010-07-29 15:24 ` Mike Frysinger
  2012-10-22  4:13 ` Nih_a
  0 siblings, 2 replies; 5+ messages in thread
From: mateer @ 2010-07-29 15:21 UTC (permalink / raw)
  To: u-boot


Hi,
when i run fw_printenv , its not working..It shows:-   fw_printenv: line 1:
syntax error: "(" unexpected  error... Let me tell you what i did...
1) i copy the u-boot source code from my colleague and copy in my hard disk.
2) After then i set the environment through commnads. the commands which i
run are
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_evm_config
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
3) After then i go to /tools/env, where i configure the fw_env.config and
then run make command.
4) After ruuning the command i got crc32.c and fw_printenv.
5)i copied the fw_printenv into the SD-Card and insert the card into the
OMAP3EVM board.
6) after then when i use the command ./fw_printenv it throws the error
fw_printenv: line 1: syntax error: "(" unexpected  error..
         Can u please help me what i have to do... I think i am doing
something wrong...

-- 
View this message in context: http://old.nabble.com/fw_printenv-is-not-working-tp29297562p29297562.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] fw_printenv is not working
@ 2010-07-29 15:22 mateer
  0 siblings, 0 replies; 5+ messages in thread
From: mateer @ 2010-07-29 15:22 UTC (permalink / raw)
  To: u-boot


Hi,
when i run fw_printenv , its not working..It shows:-   fw_printenv: line 1:
syntax error: "(" unexpected  error... Let me tell you what i did...
1) i copy the u-boot source code from my colleague and copy in my hard disk.
2) After then i set the environment through commnads. the commands which i
run are
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_evm_config
	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
3) After then i go to /tools/env, where i configure the fw_env.config and
then run make command.
4) After ruuning the command i got crc32.c and fw_printenv.
5)i copied the fw_printenv into the SD-Card and insert the card into the
OMAP3EVM board.
6) after then when i use the command ./fw_printenv it throws the error
fw_printenv: line 1: syntax error: "(" unexpected  error..
         Can u please help me what i have to do... I think i am doing
something wrong...

-- 
View this message in context: http://old.nabble.com/fw_printenv-is-not-working-tp29297564p29297564.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] fw_printenv is not working
  2010-07-29 15:21 [U-Boot] fw_printenv is not working mateer
@ 2010-07-29 15:24 ` Mike Frysinger
  2012-10-22  4:13 ` Nih_a
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2010-07-29 15:24 UTC (permalink / raw)
  To: u-boot

On Thursday, July 29, 2010 11:21:22 mateer wrote:
> when i run fw_printenv , its not working..It shows:-   fw_printenv: line 1:
> syntax error: "(" unexpected  error...

looks like your config file has a syntax error in it
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100729/a662acb6/attachment.pgp 

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

* [U-Boot] fw_printenv is not working
  2010-07-29 15:21 [U-Boot] fw_printenv is not working mateer
  2010-07-29 15:24 ` Mike Frysinger
@ 2012-10-22  4:13 ` Nih_a
  2012-10-22 13:19   ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Nih_a @ 2012-10-22  4:13 UTC (permalink / raw)
  To: u-boot


Hi Mateer,

I am also facing the same issue. I am also getting the error:
fw_printenv: line 1: syntax error: "(" unexpected
whenever I give command fw_printenv. I am using OMAPL138 EVM board.

Can u please help me... How did you resolve this error for your board??
Thanks in advance...
Nih_a


mateer wrote:
> 
> Hi,
> when i run fw_printenv , its not working..It shows:-   fw_printenv: line
> 1: syntax error: "(" unexpected  error... Let me tell you what i did...
> 1) i copy the u-boot source code from my colleague and copy in my hard
> disk.
> 2) After then i set the environment through commnads. the commands which i
> run are
> 	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
> 	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm omap3_evm_config
> 	# make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
> 3) After then i go to /tools/env, where i configure the fw_env.config and
> then run make command.
> 4) After ruuning the command i got crc32.c and fw_printenv.
> 5)i copied the fw_printenv into the SD-Card and insert the card into the
> OMAP3EVM board.
> 6) after then when i use the command ./fw_printenv it throws the error
> fw_printenv: line 1: syntax error: "(" unexpected  error..
>          Can u please help me what i have to do... I think i am doing
> something wrong...
> 
> 
-- 
View this message in context: http://old.nabble.com/fw_printenv-is-not-working-tp29297562p34585226.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] fw_printenv is not working
  2012-10-22  4:13 ` Nih_a
@ 2012-10-22 13:19   ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2012-10-22 13:19 UTC (permalink / raw)
  To: u-boot

Dear Nih_a,

when replying to a mail, please make sure to maintain thread
information, i. e. make sure to set appropriate In-reply-to: and
References: headers.


In message <34585226.post@talk.nabble.com> you wrote:
> 
> I am also facing the same issue. I am also getting the error:
> fw_printenv: line 1: syntax error: "(" unexpected
> whenever I give command fw_printenv. I am using OMAPL138 EVM board.

I guess you did not read  tools/env/README , or did you?  Did you
follow the instructions of setting HOSTCC= in the call to make ?

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 at denx.de
When the tide of life turns against you
And the current upsets your boat
Don't waste tears on what might have been
Just lie on your back and float.

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

end of thread, other threads:[~2012-10-22 13:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 15:21 [U-Boot] fw_printenv is not working mateer
2010-07-29 15:24 ` Mike Frysinger
2012-10-22  4:13 ` Nih_a
2012-10-22 13:19   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2010-07-29 15:22 mateer

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