From: Manuel Sahm <Manuel.Sahm@feig.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] make env
Date: Wed, 02 Apr 2008 11:31:54 +0200 [thread overview]
Message-ID: <47F3528A.3000202@feig.de> (raw)
In-Reply-To: <20080325201148.E5F79248BF@gemini.denx.de>
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@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.
------------------------------------------------------------------------
next prev parent reply other threads:[~2008-04-02 9:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-20 15:57 [U-Boot-Users] make env Manuel Sahm
2008-03-20 16:04 ` Wolfgang Denk
2008-03-20 17:56 ` Ladislav Michl
2008-03-20 20:02 ` Wolfgang Denk
2008-03-20 20:11 ` Ladislav Michl
2008-03-20 21:27 ` Wolfgang Denk
2008-03-20 21:33 ` Ladislav Michl
2008-03-25 12:56 ` Manuel Sahm
2008-03-25 13:36 ` Markus Klotzbücher
2008-03-25 16:19 ` Manuel Sahm
2008-03-25 17:04 ` Markus Klotzbücher
2008-03-25 20:11 ` Wolfgang Denk
2008-04-02 9:31 ` Manuel Sahm [this message]
2008-04-02 10:39 ` Wolfgang Denk
2008-04-02 11:18 ` Manuel Sahm
2008-04-02 14:33 ` Wolfgang Denk
2008-04-06 17:37 ` Markus Klotzbücher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47F3528A.3000202@feig.de \
--to=manuel.sahm@feig.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox