All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nye Liu <nyet@mrv.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FADS and ICU862 Environment problems
Date: Thu, 26 Jun 2003 14:40:57 -0700	[thread overview]
Message-ID: <20030626214057.GA28486@zumanetworks.com> (raw)
In-Reply-To: <20030626065032.BCAEBC5FD7@atlas.denx.de>

On Thu, Jun 26, 2003 at 08:50:27AM +0200, Wolfgang Denk wrote:
> In message <20030624235953.GA16810@zumanetworks.com> you wrote:
> >
> > > I don't know who designed it that way (because I don't care about the
> > > FADS board), but according to "board/fads/u-boot.lds" the environment
> > > on this board is aligned on  a  256kB  boundary  _after_  the  U-Boot
> > > image.  So  MONITOR_LENGTH  must  not  include  the  environment, and
> > > ENV_IS_EMBEDDED shall not be set.
> > 
> > In which case NOTHING in environment.c is compiled, and "environment"
> > goes unresolved....

unresolved, meaning:

ld -Bstatic -T /home/nyet/src/local/u-boot/board/fads/u-boot.lds -Ttext 0x02800000 -n cpu/mpc8xx/start.o \
                --start-group board/fads/libfads.a cpu/mpc8xx/libmpc8xx.a lib_ppc/libppc.a fs/jffs2/libjffs2.a fs/fdos/libfdos.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a post/libpost.a post/cpu/libcpu.a common/libcommon.a lib_generic/libgeneric.a --end-group \
                -Map u-boot.map -o u-boot
cpu/mpc8xx/start.o(.got2+0x24):/local/nyet-build/u-boot-mrv/cpu/mpc8xx/start.S:99: undefined reference to `environment'
make: *** [u-boot] Error 1

> 
> But this is normal for a non-embedded environment. If you don;t embed
> it with the U-Boot image it will not be initialized after  installing
> the  image  anyway  (because  it is not included), so there is little
> sense initializing it at compile time.
> 
> There are several other options: in cases where  the  environment  is
> directly  adjecent  to  the  U-Boot image (it looks as if the FADS is
> such a configuration) you can "include" the environment, producing  a
> bigger image which then contains an initialized environment.
> 
> It is up for the board maintainer to decide what he wants.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> All I ask is a chance to prove that money can't make me happy.

-- 
Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote

  reply	other threads:[~2003-06-26 21:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-20  1:45 [U-Boot-Users] FADS and ICU862 Environment problems Nye Liu
2003-06-21  0:21 ` Wolfgang Denk
2003-06-21  0:28   ` Nye Liu
2003-06-22 16:22     ` Wolfgang Denk
2003-06-23 21:25       ` Nye Liu
2003-06-23 21:35         ` Wolfgang Denk
2003-06-23 21:42           ` Nye Liu
2003-06-24 18:24             ` Wolfgang Denk
2003-06-24 20:28               ` Nye Liu
2003-06-24 20:38                 ` Wolfgang Denk
2003-06-24 23:59                   ` Nye Liu
2003-06-26  6:50                     ` Wolfgang Denk
2003-06-26 21:40                       ` Nye Liu [this message]
2003-06-26 22:03                         ` Wolfgang Denk
2003-06-26 22:10                           ` Nye Liu
2003-06-26 22:31                             ` Wolfgang Denk
2003-06-26 22:41                               ` Nye Liu
2003-06-26 23:10                                 ` Wolfgang Denk
2003-06-27 21:27                                   ` Nye Liu
2003-06-27  3:47                               ` [U-Boot-Users] a small problem Yabo Ding
2003-06-27  6:51                                 ` [U-Boot-Users] " Wolfgang Denk
2003-06-27  7:56                                   ` Yabo Ding
2003-06-25  0:27       ` [U-Boot-Users] FADS and ICU862 Environment problems Nye Liu
2003-06-26  6:53         ` 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=20030626214057.GA28486@zumanetworks.com \
    --to=nyet@mrv.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.