Haris Papadopoulos <ha...@amberbox.com> writes: > Hi, > > I type fw_printenv variable_name to take the name of a uboot variable from > linux. > > I get variable_name=10 for example > > How can I use the value 10 in the continuation of my script? > > I have tried > > string = fw_printenv flag_boot_error > IFS="=" read name value <<< $string > > but it does not work
"fw_printenv -n VAR" prints the value of variable VAR without the name and equals sign. -- Måns Rullgård _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot