public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Aneesh V <aneesh@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6?
Date: Thu, 09 Feb 2012 11:31:49 +0530	[thread overview]
Message-ID: <4F33614D.8020904@ti.com> (raw)
In-Reply-To: <20120208162335.EDD21185B4D4@gemini.denx.de>

On Wednesday 08 February 2012 09:53 PM, Wolfgang Denk wrote:
> Dear Aneesh V,
>
> In message<4F328B41.2050008@ti.com>  you wrote:
>>
>> But since then I changed my mind due to some other factors:
>> 1. Difficulty in debugging. I use JTAG debuggers. The workarounds
>> available are still painful and not many people know about it.
>
> We use JTAG debuggers all day, and have been doing so for well over 10
> years.  All development of PPCBoot nad U-Boot has been done withJTAG
> debuggers.  Relocation has never been a real problem here.
>
> Reasinf the manual may help - this is documented in detail there.
>
> This is not a good reason to reconsider.
>
>> 2. On FPGA platform, it was adding a considerable delay (I don't have
>> the exact number, but that will be in minutes). The u-boot was already
>> scaled down and was doing minimal stuff, but this one could not be
>> removed easily. That's when I created that patch.
>
> What exactly are you talking about here that "was adding a
> considerable delay" - the memory copy ?  Are you really sure about
> that?

I didn't measure it part by part, but removing relocation gave a
noticeable speed-up, this platform is several orders of magnitude
slower than the real silicon. So, that should not be surprising.

>
>> 3. Un-necessary complexity without any benefit for our platform. I
>
> Maintaining different configurations of the code that behave
> differently, that can cause different types of addressing, compile
> and link and debug issues is also adding complexity.  Using a single,
> well tested approach is one of the benefits even for your platform.

Fair enough. But will the new INITCALL framework help? I haven't really
followed the discussions on it. But if, as Graeme claims, all
relocation stuff is collected in one place and is easily pluggable
then maintainability is not a problem, right?

Maybe, I should stop the arguments now and wait till that framework is
a reality.

best regards,
Aneesh

  reply	other threads:[~2012-02-09  6:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03  7:25 [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6? Dirk Behme
2012-02-03  8:51 ` Stefano Babic
2012-02-03 10:18   ` Dirk Behme
2012-02-03 11:00     ` Stefano Babic
2012-02-03 11:19       ` Mike Frysinger
2012-02-04  8:38       ` [U-Boot] i.MX5/6 U-Boot: Cache enabling (was: Re: Skipping relocation RAM to RAM, esp. on i.MX6?) Dirk Behme
2012-02-04  9:18         ` [U-Boot] i.MX5/6 U-Boot: Cache enabling Aneesh V
2012-02-04 10:18         ` [U-Boot] i.MX5/6 U-Boot: Cache enabling (was: Re: Skipping relocation RAM to RAM, esp. on i.MX6?) Marek Vasut
2012-02-08 13:37           ` [U-Boot] i.MX5/6 U-Boot: Cache enabling Dirk Behme
2012-02-09  7:06             ` Marek Vasut
2012-02-04  9:15 ` [U-Boot] Skipping relocation RAM to RAM, esp. on i.MX6? Aneesh V
2012-02-04 11:00   ` Albert ARIBAUD
2012-02-04 11:14     ` Aneesh V
2012-02-04 11:37       ` Albert ARIBAUD
2012-02-06 14:34     ` Tom Rini
2012-02-06 21:21       ` Albert ARIBAUD
2012-02-06 22:27         ` Wolfgang Denk
2012-02-06 22:41           ` Graeme Russ
2012-02-07  7:19             ` Aneesh V
2012-02-07 23:26               ` Wolfgang Denk
2012-02-08  6:43                 ` Aneesh V
2012-02-08 13:58                   ` Wolfgang Denk
2012-02-08 14:48                     ` Aneesh V
2012-02-08 16:23                       ` Wolfgang Denk
2012-02-09  6:01                         ` Aneesh V [this message]
2012-02-09 11:44                           ` Wolfgang Denk
2012-02-09 13:43                             ` Aneesh V
2012-02-05  6:19   ` Simon Glass
2012-02-06 14:19     ` Aneesh V

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=4F33614D.8020904@ti.com \
    --to=aneesh@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox