This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: STM32F4 and Dynamic loading.
- From: Valentin BOUSSON <ml-ecos at belphegor dot eu>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 28 Feb 2014 11:15:17 +0100
- Subject: Re: Re: STM32F4 and Dynamic loading.
- Authentication-results: sourceware.org; auth=none
- References: <530F3457 dot 103 at belphegor dot eu> <530F71F2 dot 4040500 at dallaway dot org dot uk>
Hi John,
Actually, yes it could be sufficient for my project, and digging around
my problem, I tried to compile the CYGPKG_OBJLOADER package too.
And this is with this one I have a conflict problems :
This package requires CYGINT_SERVICES_OBJLOAD_RELOCATOR == 1,
which is implemented by :
- CYGBLD_OBJLOADER_ARCHITECTURE_{POWERPC,I386,ARM}
The problem now is the template for stm32f4discovery seems to "inherit"
from CYGPKG_HAL_CORTEXM while CYGBLD_OBJLOADER_ARCHITECTURE_ARM is
calculated from CYGPKG_HAL_ARM only.
Is there a structural incompatibility between HAL_ARM and HAL_CORTEXM ?
Or that's a thing I can modify/hack in the ecos.
Or (I don't hope so, I'm still a beginner) do I have to implement
something to create the CYGBLD_OBJLOADER_ARCHITECTURE_CORTEXM ?
:-)
Thanks,
On 27/02/2014 18:12, John Dallaway wrote:
> Hi Valentin
>
> On 27/02/14 12:49, Valentin BOUSSON wrote:
>
>> I encounter another problem that could signify the end between eCos
>> and I for my project... :(
>> After having some simple examples working, i tried to make one using
>> Dynamic ELF loading (dlopen).
>
> The dynamic library loader package (CYGPKG_LOADER) is experimental code
> and has not be touched for many years. Would the object file loader
> package (CYGPKG_OBJLOADER) meet your requirements? Ref:
>
> http://ecos.sourceware.org/ml/ecos-discuss/2013-05/msg00036.html
>
> I hope this helps...
>
> John Dallaway
> eCos maintainer
> http://www.dallaway.org.uk/john
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss