From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Wed, 16 May 2007 14:58:05 -0500 Subject: [U-Boot-Users] Question about CFG_ENV_ADDR during RAMBOOT Message-ID: <464B624D.2050102@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On a lot of boards, if CFG_RAMBOOT is defined, the following code is compiled: #define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000) #define CFG_ENV_SIZE 0x2000 This means that the environment is stored 0x1000 bytes before the start of u-boot.bin. Doesn't that mean that if the environment is larger than 0x1000 bytes, that it will overwrite the beginning of u-boot.bin whenever someone does a saveenv? -- Timur Tabi Linux Kernel Developer @ Freescale