From: Detlev Zundel Date: Tue, 09 Mar 2010 18:22:02 +0100 Subject: [U-Boot] bootcounter implementation for OMAP3 In-Reply-To: <577749.12254.qm@web50102.mail.re2.yahoo.com> (Nitin Mahajan's message of "Tue, 9 Mar 2010 03:53:16 -0800 (PST)") References: <577749.12254.qm@web50102.mail.re2.yahoo.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Nitin, >> You are writing a 32 bit entity to an non 32-bit aligned address. >> Although I do not know the omap too well, this can be a problem on >> any architecture. >> >> Can you write 32-bot to that exact address from within the U-Boot >> commandline with e.g. "mm"? > > That was the basic mistake I think. I was trying to write to a non 32 > bit aligned address. This got solved, but I have some new errors > saying this Ok, thanks for the confirmation. > ## Error: environment overflow, "stdin" deleted > ## Error: environment overflow, "stdout" deleted > ## Error: environment overflow, "stderr" deleted > ## Error: environment overflow, "bootcount" deleted [dzu at pollux u-boot-testing (master)]$ git grep "environment overflow" common/cmd_nvedit.c: printf ("## Error: environment overflow, \"%s\" deleted\n", name); tools/env/fw_env.c: "Error: environment overflow, \"%s\" deleted\n", > Does that mean the size allocated for env is smaller compared to the > actual contents in env file. I am new to u-boot. Can you give some > pointers on this? Only you can answer what you have defined for your configuration. Cheers Detlev -- He who can properly define and divide is to be considered a god. -- Plato -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de