From: Robin Gilks <robin.gilks@tait.co.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] The dreaded embedded environment - linker barf!
Date: Mon, 25 Aug 2003 17:20:44 +1200 [thread overview]
Message-ID: <3F499CAC.40909@tait.co.nz> (raw)
Greetings
Well what a suprise!! I've been struck by the environment mapping yet
again!.
If I change my memory map for 'top' booting I *should* just need to set
the TEXT_BASE address to threequarters up my 4M flash device (so it
starts at 0xfff00000), set the CFG_MONITOR_BASE to the same and leave
CFG_FLASH_BASE where it is along with all other address config items.
Unfortunately the linker barfs on the embedded environment value which
is defined as an offset into the image (well, actually the flash
according to the code). Setting it as CFG_ENV_OFFSET or CFG_ENV_ADDR
makes no difference (so I can't put it at the start of the flash outside
the image either).
The error message from the linker is:
u-boot.lds:132 invalid assignment to location counter
- the line number refering to the line after the closing brace for the
whole file which doesn't help much!!
Any ideas appreciated!
--
Robin Gilks
Senior Design Engineer Phone: (+64)(3) 357 1569
Tait Electronics Fax : (+64)(3) 359 4632
PO Box 1645 Christchurch Email : robin.gilks at tait.co.nz
New Zealand
reply other threads:[~2003-08-25 5:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3F499CAC.40909@tait.co.nz \
--to=robin.gilks@tait.co.nz \
--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