From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Gilks Date: Wed, 09 Jul 2003 16:46:11 +1200 Subject: [U-Boot-Users] Function pointers after relocation In-Reply-To: <20030702223556.GA32001@zumanetworks.com> References: <20030702143117.B3B5EC592A@atlas.denx.de> <3F03564A.4090807@tait.co.nz> <20030702223556.GA32001@zumanetworks.com> Message-ID: <3F0B9E13.60908@tait.co.nz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Nye Liu wrote: > Is this at all related to this problem: > > http://sourceforge.net/mailarchive/message.php?msg_id=5376039 > > i.e. env not being copied from flash in relocate() when ENV_IS_EMBEDDED > is set? > Turned out that it was CFG_MONITOR_LEN which was defined as being too large so the pre-processor stuff in include/environment.h was setting ENV_IS_EMBEDDED when it shouldn't. Sorted that, quick tweak to remove un-necessary GOT(environment) from start.S (since its not in the image it won't be in the GOT table!!) and it all works :-)) -- 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