From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 17 Sep 2010 17:02:46 +0200 Subject: [U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables In-Reply-To: <1918F436C366B34BB245DD28389E039453ADE8BB05@mars.easii.fr> References: <1918F436C366B34BB245DD28389E039453ADFAAD1E@mars.easii.fr> <20100915131514.7792c2ea@schlenkerla.am.freescale.net> <1918F436C366B34BB245DD28389E039453ADFAAD1F@mars.easii.fr>, <20100916115516.131b884d@schlenkerla.am.freescale.net> <1918F436C366B34BB245DD28389E039453ADFAAD25@mars.easii.fr>, <20100917123721.0A2D015242D@gemini.denx.de> <1918F436C366B34BB245DD28389E039453ADFAAD2A@mars.easii.fr> <20100917143204.6416A15242D@gemini.denx.de> <1918F436C366B34BB245DD28389E039453ADE8BB05@mars.easii.fr> Message-ID: <20100917150246.C5DBC135155@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 Dear Reda MIMOUNE, In message <1918F436C366B34BB245DD28389E039453ADE8BB05@mars.easii.fr> you wrote: > > No Davinci did not mess it up. I read 0x4000 (16KB) instead of 0x40000 (256KB). Actually I do think Davinci is messed up. Many boards define CONFIG_ENV_SIZE as 256 or 128 KiB, which makes no sense (it just slows down booting): davinci_dm355evm, davinci_dm355leopard, davinci_dm365evm, davinci_dvevm, davinci_schmoogie, davinci_sffsdr And many boards define a ewrase block size which seems to be way too small for common NAND flash devices: davinci_dvevm 512 or 2048 bytes davinci_schmoogie 2048 bytes davinci_sffsdr 2048 bytes davinci_sonata 512 bytes Sandeep, can you please have a look? Thanks in advance. 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 The only person who always got his work done by Friday was Robinson Crusoe.