* Is Relocation forced?
@ 2013-09-30 14:24 Allen Kennedy Jr.
2013-09-30 15:38 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Allen Kennedy Jr. @ 2013-09-30 14:24 UTC (permalink / raw)
To: Barebox Mailing list
Hello,
I have relocatable binary set to "n" and I load barebox into ram
exactly where it is supposed to be, but it still runs the function
"relocate binary"
Is the option to not relocate barebox, not supported?
Why would I want it not-relocated? Because relocate_to_current_adr()
causes an exception every time, and barebox won't boot. And I can't
figure out why the exception occurs.
thanks,
-allen
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is Relocation forced?
2013-09-30 14:24 Is Relocation forced? Allen Kennedy Jr.
@ 2013-09-30 15:38 ` Sascha Hauer
2013-09-30 18:56 ` Allen Kennedy Jr.
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2013-09-30 15:38 UTC (permalink / raw)
To: Allen Kennedy Jr.; +Cc: Barebox Mailing list
Hi Allen,
On Mon, Sep 30, 2013 at 09:24:17AM -0500, Allen Kennedy Jr. wrote:
> Hello,
> I have relocatable binary set to "n" and I load barebox into ram
> exactly where it is supposed to be, but it still runs the function
> "relocate binary"
>
> Is the option to not relocate barebox, not supported?
>
> Why would I want it not-relocated? Because relocate_to_current_adr()
> causes an exception every time, and barebox won't boot. And I can't
> figure out why the exception occurs.
Generally relocatable barebox is not enforced and barebox runs happily
without it. However, there are some combinations of PBL/TEXT_BASE which
really do need relocation support.
What SoC/board are you running? Could you post your .config file?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is Relocation forced?
2013-09-30 15:38 ` Sascha Hauer
@ 2013-09-30 18:56 ` Allen Kennedy Jr.
0 siblings, 0 replies; 3+ messages in thread
From: Allen Kennedy Jr. @ 2013-09-30 18:56 UTC (permalink / raw)
To: Sascha Hauer; +Cc: Barebox Mailing list
Sascha,
I figured out the issue. 'scp' was not copying my new version..
and not indicating failure.
Once i deleted the old bin and copied a new one, i see it is running
without relocation.
Sorry.
On Mon, Sep 30, 2013 at 10:38 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Hi Allen,
>
> On Mon, Sep 30, 2013 at 09:24:17AM -0500, Allen Kennedy Jr. wrote:
>> Hello,
>> I have relocatable binary set to "n" and I load barebox into ram
>> exactly where it is supposed to be, but it still runs the function
>> "relocate binary"
>>
>> Is the option to not relocate barebox, not supported?
>>
>> Why would I want it not-relocated? Because relocate_to_current_adr()
>> causes an exception every time, and barebox won't boot. And I can't
>> figure out why the exception occurs.
>
> Generally relocatable barebox is not enforced and barebox runs happily
> without it. However, there are some combinations of PBL/TEXT_BASE which
> really do need relocation support.
>
> What SoC/board are you running? Could you post your .config file?
>
> Sascha
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-30 18:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-30 14:24 Is Relocation forced? Allen Kennedy Jr.
2013-09-30 15:38 ` Sascha Hauer
2013-09-30 18:56 ` Allen Kennedy Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox