Re: [U-Boot] Unable to save environment variable in NOR Flash

2010-07-15 Thread Marek Vasut
Dne Čt 15. července 2010 14:20:04 StephenPaulraj Chinnadurai-ERS,HCLTech 
napsal(a):
 Hi,
 
 I am having a board which is using PXA270 controller and connected to the
 PC48F4400P0VT00 flash.
 
 I am using the u-boot which is in the devel branch (version: PXA: Toradex
 Colibri PXA270
 supporthttp://git.denx.de/?p=u-boot/u-boot-pxa.git;a=commit;h=4cca3cf3041
 c2257cfaf0b4f664c43d68e13a0d1).
 
 I am getting the following error message while saving the environment
 variable.
 
 saveenv
 Saving Environment to Flash...
 . done
 Un-Protected 1 sectors
 . done
 Un-Protected 1 sectors
 Unable to save the rest of sector (245760)
 . done
 Protected 1 sectors
 . done
 Protected 1 sectors
 $
 
 I need your help to save the environment variable in the flash.

Also openpxa is for pxa3xx, pxa2xx stuff goes only through u-boot mailing list 
(CCed).

Cheers
 
 Thanks and Regards
 Stephen Paulraj C
 
 HCL Technologies Ltd.
 D-12, Sidco Industrial Estate,
 Ambattur, Chennai -58
 Tel: +91 44  42004800 Extn: 2319
 Mob:+91 9962583934
 www.hcl.infile:///C:\Documents%20and%20Settings\stephenpaulrajc\Applicatio
 n%20Data\Microsoft\Signatures\www.hcl.in
 [cid:image001.jpg@01CB2446.27A6E1F0]
 
 
 DISCLAIMER:
 ---
 
 
 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only. It shall not attach any
 liability on the originator or HCL or its affiliates. Any views or
 opinions presented in this email are solely those of the author and may
 not necessarily reflect the opinions of HCL or its affiliates. Any form of
 reproduction, dissemination, copying, disclosure, modification,
 distribution and / or publication of this message without the prior
 written consent of the author of this e-mail is strictly prohibited. If
 you have received this email in error please delete it and notify the
 sender immediately. Before opening any mail and attachments please check
 them for viruses and defect.
 
 ---
 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Unable to save environment variable in NOR Flash

2010-07-15 Thread StephenPaulraj Chinnadurai-ERS,HCLTech
Hi,

I am having a board which is using PXA270 controller and connected to the 
PC48F4400P0VT00 Intel Strataflash.

I am using the u-boot which is in the devel branch (version: PXA: Toradex 
Colibri PXA270 
supporthttp://git.denx.de/?p=u-boot/u-boot-pxa.git;a=commit;h=4cca3cf3041c2257cfaf0b4f664c43d68e13a0d1).

I am getting the following error message while saving the environment variable.

saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
. done
Un-Protected 1 sectors
Unable to save the rest of sector (245760)
. done
Protected 1 sectors
. done
Protected 1 sectors
$

I need your help to save the environment variable in the flash.

Whether drivers/mtd/cfi_flash.c file is a correct one or I need use 
board\g2000\strataflash.c file to interact with the flash?

Kindly someone suggest me the solution.

Thanks and Regards
Stephen Paulraj C


Thanks and Regards
Stephen Paulraj C

HCL Technologies Ltd.
D-12, Sidco Industrial Estate,
Ambattur, Chennai -58
Tel: +91 44  42004800 Extn: 2319
Mob:+91 9962583934
www.hcl.infile:///C:\Documents%20and%20Settings\stephenpaulrajc\Application%20Data\Microsoft\Signatures\www.hcl.in
[cid:image001.jpg@01CB246D.4D092030]


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
inline: image001.jpg___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot