mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Barebox: unprotect dataflash
@ 2010-08-27  4:28 Nataraj S Narayan
  0 siblings, 0 replies; only message in thread
From: Nataraj S Narayan @ 2010-08-27  4:28 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1053 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-27  4:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27  4:28 Barebox: unprotect dataflash Nataraj S Narayan

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