Re: [U-Boot] Code relocation in U-boot.

2011-11-07 Thread Sandeep Sharma
Hi,

You are absolutely right. I am talking about ARM code located in start.S
file.
I am not able to figure out from from the referred link. I also consulted "
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf
"
which talks about arm code relocation but it is also not helpful. It
nowhere talks about ".rel.dyn" section which i referred to in my previous
post. Can You provide any pointer from where i can get understanding of
this section.

Regards,,
Sandeep


On Tue, Nov 8, 2011 at 2:05 AM, Albert ARIBAUD wrote:

> Le 07/11/2011 14:41, Sandeep Sharma a écrit :
>
>  Hi,
>>
>> I am analyzing U-Boot code for "relocate_code" function. In this function
>> after copying the text section and before clearing the bss section we are
>> doing "fix .rel.dyn relocations". I want to know that what actually we are
>> doing in this section of code. What does this section actually contains
>> and
>> what kind of fix we are doing in this. What are relative and absolute fix
>> that we are doing in this section.
>>
>> Any kind of help will we highly appreciated.
>>
>
> Hi Sandeep,
>
> I assume you are specifically talking about ARM code in start.S? This code
> is an implementation of the relocation mechanism defined in the ELF
> specifications. Look up <http://en.wikipedia.org/wiki/**
> Executable_and_Linkable_**Format#References<http://en.wikipedia.org/wiki/Executable_and_Linkable_Format#References>>
> for details.
>
> Amicalement,
> --
> Albert.
>



-- 

--
Regards,
Sandeep Kumar,
Mb. - 7350016210
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Code relocation in U-boot.

2011-11-07 Thread Sandeep Sharma
Hi,

I am analyzing U-Boot code for "relocate_code" function. In this function
after copying the text section and before clearing the bss section we are
doing "fix .rel.dyn relocations". I want to know that what actually we are
doing in this section of code. What does this section actually contains and
what kind of fix we are doing in this. What are relative and absolute fix
that we are doing in this section.

Any kind of help will we highly appreciated.

-- 

Thanks and Regards,
Sandeep Kumar,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Booting two OS on dual core processor using U-boot.

2011-11-02 Thread Sandeep Sharma
Hi,



I have a query regarding U-Boot. Is it possible to boot two separate OS on
a Dual/multi core processor using U-Boot. I want to implement AMP on a dual
core processor and want to run two separate OS on a dual core arm cortex a9
processor. Did anybody tried the same thing earlier using the U-Boot.



Any kind of help will be highly appreciated..



Thanks and Regards,

Sandeep
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot