Hi
I am on barebox 2010.05.0-00446-g02f7dfe-dirty (Aug 23 2010 - 10:05:28).
I need to store the Env onto dataflash. While using u-boot, the env is written to 0x4000 in the dataflash.
Which of this could be the Data-flash device?
9263-EK:/ ls -l /dev/
/dev/zero /dev/defaultenv /dev/mem
/dev/ram0 /dev/nand0 /dev/nand_oob0
/dev/phy0 /dev/nor0 /dev/self
/dev/env0 /dev/nor0.barebox /dev/nor0.bareboxenv
/dev/nor0.kernel /dev/nor0.root
9263-EK:/ ls -l /dev/defaultenv
drwxrwxrwx 0 .
drwxrwxrwx 0 ..
drwxrwxrwx 0 dev
drwxrwxrwx 0 env
-rwxrwxrwx 0 uImage
Tried on /dev/defaultenv to get this , and stalls:-
9263-EK:/ unprotect /dev/defaultenv
9263-EK:/ saveenv
saving environment
cfi_protect: unprotect 0xf1851002 (size 131072)
regards
Nataraj