[U-Boot] fw_printenv is not working

Nih_a niharika at embeddedwireless.com
Mon Oct 22 06:13:43 CEST 2012


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.



More information about the U-Boot mailing list