Hello,

I try to modify the env toll for accessing nand flash.

My problem the structure of the enviroment:
If I understand:
4 byte crc; 1 byte flags, 0x20000-5 byte data.

The Enviroment has a size of 0x20000 bytes. There is a redundant 
enviroment too.(same size)

The CRC is over the data bytes,( not the flags byte included) , right ??

What about the flag byte, which values should I have to write here ?

Thank you very much

Manuel Sahm

Wolfgang Denk schrieb:
> In message <[EMAIL PROTECTED]> you wrote:
>   
>> I took the U-Boot version 1.3.2; now I am able to generate the make env 
>> -> fw_printenv utility.
>>
>> I copy the jw_printenv binary and rename it to fw_setenv.
>>     
> ...
>   
>> I want to access a NAND flash. [Pagesize = 0x800; ERASEBLOCKSIZE=0x20000]
>>     
> ...
>   
>> Is this correct ?
>>     
>
> No. the fw_env tools are written with NOR flash support in mind. Don't
> expect this to work unchanged on NAND flash.
>
> Best regards,
>
> Wolfgang Denk
>
>   

-- 
Freundliche Grüße / Best regards 

Manuel Sahm     

Research & Development

FEIG ELECTRONIC GmbH
Lange Straße 4
35781 Weilburg
Germany
 
Tel.:  +49 (0)6471-3109.492
Fax.:  +49 (0)6471-3109.99
email: [EMAIL PROTECTED]
internet: http://www.feig.de

------------------------------------------------------------------------
Amtsgericht Limburg HRB 3178
Geschäftsführer: Dipl.-Ing. Wolfgang Feig
------------------------------------------------------------------------

------------------------------------------------------------------------
Diese Email (eingeschlossen die Anhaenge) unterliegt Urheberrecht, die
Informationen sind vertraulich und rechtswirksam privilegiert. Der
Gebrauch dieser Email oder der Anhaenge von einem anderen als den
Adressaten ist nicht gestattet und unrechtmaessig.

This email (including any attachments) is subject to copyright, the
information in it is confidential, and it is legally privileged. Use of
this email or of any information in it other than by the addressee is
unauthorised and unlawful.
------------------------------------------------------------------------


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to