From: Txema Lopez <tlopez@aotek.es>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] fixup section problem.
Date: Fri, 03 Nov 2006 12:18:38 +0100 [thread overview]
Message-ID: <454B258E.8020601@aotek.es> (raw)
In-Reply-To: <20061103081631.D5EE7352658@atlas.denx.de>
Wolfgang Denk wrote:
>Dear Txema,
>
>
>
>Relocation is not board dependent, so if it works onone board it
>should work for all. Please create your patch for all boards, i. e.
>without CFG_FIXUP_RELOCATION etc., and post it here. Me and others
>will help testing it.
>
>Best regards,
>
>Wolfgang Denk
>
>
>
Hi Wolfgang,
I'm not sure if this patch could work for not PowerPC based
architectures. Taking a look in the U-Boot starting files for mips and
bf533 cpu's, it seems that only the GOT section is relocated in ram, so
the patch probably won't work. Furthermore, there is some fpga's
relocations that I can't understand, and I don't know what is the effect
of my patch for boards with a fpga. I mean I can't supply a patch valid
for all architectures without doing some bugs.
I think the method I suggest you using a new define It's quite
reasonable. I'll summit the patch for the Lite5200's and the rest of
boards will be not affected. If someone want to use or test the fixup
relocation for his board only has to do two changes:
- cleanup the fixup section from the text section in the
u-boot.lds file.
- define CFG_FIXUP_RELOCATION in the board configuration file.
I believe this is the safest way to do it. What do you think?
Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlopez.vcf
Type: text/x-vcard
Size: 324 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061103/8b6fc61a/attachment.vcf
next prev parent reply other threads:[~2006-11-03 11:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 9:21 [U-Boot-Users] fixup section problem Txema Lopez
2006-11-02 11:31 ` Wolfgang Denk
2006-11-03 7:15 ` Txema Lopez
2006-11-03 8:16 ` Wolfgang Denk
2006-11-03 11:18 ` Txema Lopez [this message]
2007-02-12 4:45 ` Grant Likely
-- strict thread matches above, loose matches on Subject: below --
2007-02-12 7:53 TXEMA LOPEZ
2007-02-12 19:26 ` Grant Likely
2007-02-12 19:40 ` Stefan Roese
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=454B258E.8020601@aotek.es \
--to=tlopez@aotek.es \
--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