From mboxrd@z Thu Jan 1 00:00:00 1970 From: HS8JCV Date: Thu, 7 Jul 2005 03:47:51 +0700 Subject: [U-Boot-Users] Error: start address not on sector boundary Message-ID: <7febb0a1050706134762dfe45e@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all I complie new u-boot for Flash SST39VF3201. It complete and can boot with u-boot. Follow that. boot 1.0 (Nov 25 2003 - 23:08:05) Uncompressing image... U-Boot 1.1.2 (Jun 25 2005 - 22:30:04) U-Boot code: 21F00000 -> 21F16F88 BSS: -> 21F1B640 RAM Configuration: Bank #0: 20000000 32 MB SST: SST39VF3201 (32Mbit) Flash: 4 MB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial U-Boot> after I setenv and saveenv It reponse "Error: start address not on sector boundary". U-Boot> setenv ethaddr 12:34:56:78:99:22 U-Boot> saveenv Saving Environment to Flash... Error: start address not on sector boundary and Flash Organizations follow this code. OrgDef OrgSST39VF3201[] = { { 1,16*1024 }, /* 1 * 16 kBytes sectors */ { 2,8*1024 }, /* 2 * 8 kBytes sectors */ { 1,32*1024 }, /* 1 * 32 kBytes sectors */ { 63,64*1024 }, /* 31 * 64 kBytes sectors */ }; Why it show error.? How to resolve this error.? Best Regard Supparerk