Other Parts Discussed in Thread: OMAP-L138
Hi,
We're using the OMAP-L138 LCDK dev board from TI.
Right now we're trying to change the U Boot parameters from Linux user space.
To do this the fw_printenv and fw_setenv will be used.
I found those executables in the Linux SDK from TI for the OMAP-L138 and put them in the file system of the target board.
I then modified the fw_env.config file to use NAND flash with a zero offset, and placed the config file at /etc/fw_env.config.
I also verified that the version of fw_printenv was compiled with the CONFIG_FILE defined because # ./fw_printenv -help produces a help menu with the below line in the help menu:
-c, --config configuration file, default:/etc/fw_env.config
Through using # cat mtd0 I was able to see the parameters from U Boot in NAND flash too, so they are there.
However, when I run fw_printenv it declares that a checksum mismatch was encountered while reading the data, and then proceeds to output some default values for parameters and not the ones from NAND flash (I modified the boot delay to 5 seconds from 3 through U Boot so I'd know if it read the correct data or not).
I'm thinking it failed to read the data because I haven't configured the fw_env.config file correctly.
I will upload my fw_env.config file in another post.
Any help on the topic would be appreciated.
Ben