From: Hurricane555 <sohnschein@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Error: end address not on sector boundary
Date: Sun, 4 Jun 2006 11:22:03 -0700 (PDT) [thread overview]
Message-ID: <4705029.post@talk.nabble.com> (raw)
Hello I?m using a Am29LV160B FLASH with a size of 4MB. My problem is, that I
can?t using the option saveenv. Writing and deleteting of FLASH is no
problem.
My settings are follows:
....
#define PHYS_FLASH_SIZE 0x000400000 /* 4 MB */
#define CFG_MAX_FLASH_SECT (35) /* max number of sectors on one chip */
#define CFG_MAX_FLASH_BANKS 1 /* Max # of flash banks */
#define CFG_ENV_ADDR (CFG_FLASH_BASE) /* addr of environment*/
//#undef CFG_FLASH_CHECKSUM
#define CFG_FLASH_ERASE_TOUT 1024000 /* Flash Erase Timeout (ms) */
#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
#define CFG_ENV_IS_IN_FLASH 1
#define ENV_IS_EMBEDDED
//#define CFG_ENV_IS_NOWHERE
#define CFG_ENV_OFFSET 0x8000 /* Offset of the Environment Sector
*/
#define CFG_ENV_SIZE 0x4000 /* Size of the Environment Sector
*/
....
What I?m doing wrong?
--
View this message in context: http://www.nabble.com/Error%3A-end-address-not-on-sector-boundary-t1731654.html#a4705029
Sent from the Uboot - Users forum at Nabble.com.
next reply other threads:[~2006-06-04 18:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-04 18:22 Hurricane555 [this message]
2006-06-06 7:17 ` [U-Boot-Users] Error: end address not on sector boundary Wolfgang Denk
2006-06-06 7:47 ` Hurricane555
2006-06-06 12:09 ` Joao, Nuno
2006-06-06 16:47 ` Hurricane555
2006-06-06 16:57 ` Jerry Van Baren
2006-06-06 17:14 ` Hurricane555
2006-06-08 6:38 ` Hurricane555
-- strict thread matches above, loose matches on Subject: below --
2006-06-08 11:48 Joao, Nuno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4705029.post@talk.nabble.com \
--to=sohnschein@gmx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox