public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "André Schwarz" <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC5200: possible to "reserve" embedded flash sectors ?
Date: Mon, 15 Mar 2010 10:00:15 +0100	[thread overview]
Message-ID: <1268643615.4089.8.camel@swa-m460> (raw)
In-Reply-To: <1268382763.2514.3.camel@swa-e6500>

Wolfgang,

...
> > This is because all boards used the same script anyway, so there was
> > no use in keeping multiple copies of the same file. But please note
> > that nothing prevents you to use a local, customized linker script.
> > All you need to do is set it's name in you config.mk (add a line
> > "LDSCRIPT=<your name>").

Created the board dir and added this line to config.mk:

LDSCRIPT := $(SRCTREE)/board/matrix-vision/mvsmr/u-boot.lds

which results in failure during make :

swa at swa-m460:~/u-boot.git$ CROSS_COMPILE=ppc_6xx- ARCH=powerpc make
for dir in tools examples/standalone examples/api
cpu/mpc5xxx /home/swa/u-boot.git/board/matrix-vision/mvsmr/ ; do \
			make -C $dir _depend ; done
make[1]: Entering directory `/home/swa/u-boot.git/tools'
make[1]: Nothing to be done for `_depend'.
...
make[1]: Leaving directory `/home/swa/u-boot.git/cpu/mpc5xxx'
make: *** /home/swa/u-boot.git/board/matrix-vision/mvsmr/: No such file
or directory.  Stop.
make: *** [depend] Error 2

At first glance I thought there's a make target missing.
But looking at other boards doing the same thing showed no difference.

Using "LDSCRIPT := $(SRCTREE)/cpu/mpc5xxx/u-boot-customlayout.lds"
withing config.mk compiles cleanly and results in working U-Boot.

What am I missing ?

> 
> excellent - that's what I've been looking for.
> At first glance I'd expected custom linker scripts to be refused ...
> 
> > 
> > > Since I want to submit the board files as soon as the merge window will
> > > open I'm asking for a reasonable way to implement this in current
> > > U-Boot.
> > 
> > Use a customized linker script.
> 
> will do - thanks for the help.
> 


Regards,
Andr?


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich

  reply	other threads:[~2010-03-15  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 15:33 [U-Boot] MPC5200: possible to "reserve" embedded flash sectors ? André Schwarz
2010-03-11 16:15 ` Wolfgang Denk
2010-03-11 16:37   ` André Schwarz
2010-03-11 20:52     ` Wolfgang Denk
2010-03-12  8:32       ` André Schwarz
2010-03-15  9:00         ` André Schwarz [this message]
2010-03-21 18:15           ` Wolfgang Denk
2010-03-22  9:02             ` André Schwarz

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=1268643615.4089.8.camel@swa-m460 \
    --to=andre.schwarz@matrix-vision.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