[U-Boot-Users] make env
Manuel Sahm
Manuel.Sahm at feig.de
Wed Apr 2 11:31:54 CEST 2008
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 <47E8F686.9020903 at feig.de> 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: manuel.sahm at feig.de
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.
------------------------------------------------------------------------
More information about the U-Boot
mailing list