Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elf Loader for RIOT (Work In progress) #3686

Closed
wants to merge 2 commits into from

Conversation

kushalsingh007
Copy link
Member

  • Idea is to compile applications into an .elf, which can at runtime be replaced, seperate from RIOT.
  • Currently, loading of .elf files has been tested for samr21.
  • Relocation is a bit messy as ld doesn't generate correct code on platforms which do not support thumb-2 instruction set (https://sourceware.org/bugzilla/show_bug.cgi?id=16017)
  • Test shows a simple externally compiled application (in app/) and a boilerplate RIOT application launching that application.
  • Currently, the entry point of the to-be-loaded application has to be hardcoded into the RIOT boilerplate code
    (offset added there is the address of the function in app.elf + 1 )

 -Contains code to run test cases
 *Contains sys module for elf loader
 *Contains shared flag addition to Makefile
@kaspar030 kaspar030 added State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Type: new feature The issue requests / The PR implemements a new feature for RIOT Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR labels Aug 22, 2015
@kaspar030 kaspar030 self-assigned this Aug 22, 2015
@immesys
Copy link
Contributor

immesys commented Jan 30, 2016

This sounds pretty interesting. Are you still working on it? I'd like to get over-the-air ELF loading working for my application.

@OlegHahm OlegHahm assigned kYc0o and unassigned kaspar030 Feb 26, 2016
@OlegHahm
Copy link
Member

I think we can close as memo, but if someone is willing to work on this soonish we would be more than happy.

@OlegHahm OlegHahm closed this Feb 26, 2016
@OlegHahm OlegHahm added the State: archived State: The PR has been archived for possible future re-adaptation label Feb 26, 2016
@kYc0o
Copy link
Contributor

kYc0o commented Feb 26, 2016

I'd really love to work in this, but as is not an easy task, I must forget for now. I will reopen when the time comes.

@kYc0o kYc0o mentioned this pull request Oct 29, 2017
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion: RFC The issue/PR is used as a discussion starting point about the item of the issue/PR State: archived State: The PR has been archived for possible future re-adaptation State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants