From: Wolfgang Denk Date: Tue, 25 Mar 2008 21:11:48 +0100 Subject: [U-Boot-Users] make env In-Reply-To: Your message of "Tue, 25 Mar 2008 13:56:38 +0100." <47E8F686.9020903@feig.de> Message-ID: <20080325201148.E5F79248BF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Es ist offensichtlich, dass das menschliche Gehirn wie ein Computer funktioniert. Da es keine dummen Computer gibt, gibt es also auch keine dummen Menschen. Nur ein paar Leute, die unter DOS laufen. --