public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Resend: The dreaded embedded environment - linker barf!]
Date: Thu, 28 Aug 2003 09:54:59 +1200	[thread overview]
Message-ID: <3F4D28B3.2050103@tait.co.nz> (raw)

Wolfgang Denk wrote:
> Dear Robin,
> 
> in message <3F4A75FC.7020907@tait.co.nz> you wrote:
> 
>>If I change my memory map for 'top' booting I *should* just need to set 
> 
> 
> What do you mean with "should" here? Is this what  you  think  should
> happen? Maybe your expectations do not match the reality given by the
> current implementation / configuration.

My assumptions here are based in part on the names of the #defines

> 
>>It looks as though the CFG_FLASH_BASE define is being used 
>>inappropriately where CFG_MONITOR_BASE would be a more sensible value 
>>(for example to see if the environment is embedded should depend on 
>>where in flash that u-boot image is, not where the flash starts!!)
> 
> 
> These defines are used all fine, as long as your configuration  makes
> sense (as demonstrated by the 100+ existing board configurations).

It was only later I re-read the README file where it states that
CFG_MONITOR_START = CFG_FLASH_BASE - makes one of them somewhat
redundant if they are equal anyway. Certainly it appears that the code
assumes they are the same!!

>>Any ideas appreciated!
> 
> 
> Try to  understand  what  the  image  should  look  like,  where  the
> environment  is located, and which #defines are used to configure the
> environment to that location.

I fixed the problem by putting the environment into EEPROM - the FLASH
implementation is broken. If it happens that I have to revisit the FLASH
environment then I'll try and fix it :-))


-- 
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-27 21:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27 21:54 Robin Gilks [this message]
     [not found] <3F4D26AE.5050103@tait.co.nz>
2003-08-28  7:35 ` [U-Boot-Users] Resend: The dreaded embedded environment - linker barf! Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2003-08-25 20:47 Robin Gilks
2003-08-27 12:24 ` Wolfgang Denk

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=3F4D28B3.2050103@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