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

Add example for remoteproc #2

Closed
dinuxbg opened this issue Sep 3, 2015 · 9 comments
Closed

Add example for remoteproc #2

dinuxbg opened this issue Sep 3, 2015 · 9 comments

Comments

@dinuxbg
Copy link
Owner

dinuxbg commented Sep 3, 2015

Try to write a pru-gcc example for the new PRU bridge, or write a simple standalone rpmsg example. This will probably require some trivial changes to the remoteproc driver in order to load the pru-gcc ELF variant.

@dinuxbg
Copy link
Owner Author

dinuxbg commented Oct 11, 2015

Remoteproc kernel driver must mask the IRAM address for PRU binutils ELF images to be loaded. See attached patch.
0001-Fix-remoteproc-to-work-with-the-PRU-GNU-Binutils-por.txt

@jadonk
Copy link

jadonk commented Oct 13, 2015

Can you send a pull request for the patch?

@jadonk
Copy link

jadonk commented Oct 13, 2015

Oh, wait, I thought this was against the TI examples. Nevermind. Thanks again for advancing this project!! We need to try to get this into RobertCNelson's package feeds.

@dinuxbg
Copy link
Owner Author

dinuxbg commented Oct 16, 2015

Added example and step-by-step instructions with commit 825ee2f

@dinuxbg
Copy link
Owner Author

dinuxbg commented Oct 16, 2015

Thanks Jason. I created a pull request here: beagleboard/linux#47 . I hope this is the correct github project.

RobertCNelson added a commit to RobertCNelson/ti-linux-kernel-dev that referenced this issue Oct 16, 2015
merge: beagleboard/linux#47

fixes: dinuxbg/pru-gcc-examples#2
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
RobertCNelson added a commit to RobertCNelson/ti-linux-kernel-dev that referenced this issue Oct 16, 2015
merge: beagleboard/linux#47

fixes: dinuxbg/pru-gcc-examples#2
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
@RobertCNelson
Copy link

Thanks @dinuxbg all merged up in v4.1.x/v4.1.x-rt branches... I just pushed a build a couple hours ago for dsp/c6000 support on the x15, so the worst case this will get tagged/pushed as r24 next thursday..

@dinuxbg
Copy link
Owner Author

dinuxbg commented Oct 16, 2015

Thank you for merging the fix. I'll make sure to use the correct github project next time.

@RobertCNelson
Copy link

@dinuxbg that one is perfectly fine and the reason it's their for users/developers. I then 'git am' the patch into a overly complex build/merge/patch script system. (things are based on two moving targets, ti.com/git/ and kernel.org stable's tree..)
Regards,

@dinuxbg
Copy link
Owner Author

dinuxbg commented Oct 30, 2015

Tested with bone-debian-8.2-console-armhf-2015-10-25-2gb.img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants