From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hurricane555 Date: Tue, 6 Jun 2006 09:47:36 -0700 (PDT) Subject: [U-Boot-Users] Error: end address not on sector boundary In-Reply-To: References: <4705029.post@talk.nabble.com> <20060606071725.41A1C352655@atlas.denx.de> <4728893.post@talk.nabble.com> Message-ID: <4736940.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Nuno Jo?o (Ext_NBS) wrote: > >> From: u-boot-users-bounces at lists.sourceforge.net >> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf >> Of Hurricane555 >> Sent: ter?a-feira, 6 de Junho de 2006 8:48 >> To: u-boot-users at lists.sourceforge.net >> Subject: Re: [U-Boot-Users] Error: end address not on sector boundary >> >> >> Now I changed my settings as follows: >> >> >> #define PHYS_FLASH_SIZE 0x000400000 /* 4 MB */ >> ... > > > This is mine: > > #define CFG_ENV_IS_IN_FLASH 1 > #define CFG_ENV_SECT_SIZE 0x40000 /* 256K (one sector) for env > */ > #define CFG_ENV_SIZE CFG_ENV_SECT_SIZE > #define CFG_ENV_ADDR 0xffe00000 > > I have a 256KB sized-sector flash, u-boot (512KB) at 0xFFF80000 > (at the end of flash) and the environment at 0xFFE00000 (1 sector). > > >> Now I can make saveenv, but after restart the bootloader is damaged! > > This probably means that you're setting your environment to > overlap u-boot's flash area. Check your memory map and (re-)read > the file README in u-boot's root directory about the environment's > configuration defines. > > > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > > Hmmmm.... I see what my mistake was! My ENV was on the same address like U-BOOT! U-BOOT is now on address 50000000. The ENV on 50010000! I checked this address and I was clear! No data was on it, so I thougt I could use the section for my ENV. But when I make saveenv the bootloader is dead!? Why? -- View this message in context: http://www.nabble.com/Error%3A-end-address-not-on-sector-boundary-t1731654.html#a4736940 Sent from the Uboot - Users forum at Nabble.com.