[U-Boot-Users] U-boot saveenv Error: start and/or end address not on sector bou ndary

Mitchell Black mblack at mantaro.com
Wed Jul 21 17:26:36 CEST 2004


I had this same issue and found that during cfi detect, specifically in
flash_get_size the sector_size was not calculated correctly.  From the
u-boot command line execute flinfo and see if your flash sector boundaries
look correct.  If not then looking in the flash_get_size routine and you may
have a problem with the sector size calculation.  It's the (tmp & 0xffff) ?
blah : 128 line of code - can't remember exactly.

Mitch

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Povolotsky,
Alexander
Sent: Wednesday, July 21, 2004 5:02 AM
To: 'u-boot-users at lists.sourceforge.net'
Cc: 'wd at denx.de'
Subject: [U-Boot-Users] U-boot saveenv Error: start and/or end address not
on sector bou ndary

Hi,

I have problem with saveenv on Motorola's ADS (8270)
Could someone help please with the hint how to resolve this?

Thanks,
Best regards,
alex povolotsky
**************
=> printenv
bootdelay=5
ethaddr=00:11:22:33:44:55
bootcmd=bootm fff80000
baudrate=19200
bootargs=root=/dev/nfs rw nfsroot=172.16.246.111:/home/gaiotto/fadsroot
stdin=serial
stdout=serial
stderr=serial
filesize=992d2
ipaddr=172.16.119.3
serverip=172.16.240.200

Environment size: 248/262140 bytes
=> saveenv
Saving Environment to Flash...
Error: start and/or end address not on sector boundary
=>


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users





More information about the U-Boot mailing list