[U-Boot-Users] Error: start address not on sector boundary

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

In message 7febb0a1050706134762dfe45e@mail.gmail.com you wrote:
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)
And which board is this exactly, and which board configuration did you use?
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.?
Because your flash driver was misconfigured.
How to resolve this error.?
Fix your flash driver configuration.
[I cannot give any better help without even knowing which board you are talking about.]
Best regards,
Wolfgang Denk

Wolfgang Denk <wd <at> denx.de> writes:
In message <7febb0a1050706134762dfe45e <at> mail.gmail.com> you wrote:
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)
And which board is this exactly, and which board configuration did you use?
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.?
Because your flash driver was misconfigured.
How to resolve this error.?
Fix your flash driver configuration.
[I cannot give any better help without even knowing which board you are talking about.]
Best regards,
Wolfgang Denk
Hi,
I am also getting the same error like below, but i dont know why it is coming!
i am using Versatile PB by ARM and i am using U-boot-1.1.3, and i am using the flash of size 64M
Versatile # saveenv Saving Environment to Flash... Error: start address not on sector boundary
can any body give a hint to solve this problem,
Thanks in advance, Saikrishna Gajula
participants (3)
-
HS8JCV
-
Saikrishna Gajula
-
Wolfgang Denk