-
Notifications
You must be signed in to change notification settings - Fork 0
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
PruManager RProc+UIO implementation #1
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…headers from .h to .cpp
… few headers from .h to .cpp
- Added ENABLE_PRU_UIO Flag to Makefile - The new UIO Flag has been added as a macro to: - `core/PRU.cpp` - `core/PruManager.cpp` - include/PruManager.h - also fix data ram line which was earlier using shared ram.
- This commit implements major changes like replacing map_pru_mem with 2 seperate functions getSharedMemory and getOwnMemory - added many conditional macros to help define according to requirement to use rproc or uio. - added an ifdef before the exec code part. Not sure if I should make another function instead for execution under base class, not sure if that is necessary because at the moment the loading code and executing is handled in rproc::start() - Files modified: core/PRU.cpp, core/PruManager.cpp, include/PruManager.h
- modified: core/PruManager.cpp - modified: include/PruManager.h
pass pru_number and verbose flags to respective constructors when prumanager object is created in PRU constructor
modified: Makefile modified: core/PRU.cpp
DhruvaG2000
force-pushed
the
PruManager
branch
2 times, most recently
from
July 13, 2021 09:22
93d54ed
to
ec09561
Compare
modified: Makefile modified: core/PRU.cpp modified: core/PruManager.cpp modified: include/PRU.h modified: include/PruManager.h
giuliomoro
reviewed
Jul 15, 2021
giuliomoro
reviewed
Jul 15, 2021
giuliomoro
reviewed
Jul 15, 2021
giuliomoro
reviewed
Jul 15, 2021
modified: core/PruManager.cpp modified: include/PruManager.h
giuliomoro
reviewed
Jul 19, 2021
…becomes unused" This reverts commit bf14f51.
new file: pru/ai-pru_rtaudio.p new file: resources/rproc-build/common/Makefile new file: resources/rproc-build/common/README.md new file: resources/rproc-build/common/am335x_pru.cmd new file: resources/rproc-build/common/am57xx_pru.cmd new file: resources/rproc-build/common/init_pins_empty.h new file: resources/rproc-build/common/prugpio.h new file: resources/rproc-build/common/resource_table_0.h new file: resources/rproc-build/common/resource_table_1.h new file: resources/rproc-build/common/resource_table_empty.h new file: resources/rproc-build/common/write_init_pins.sh new file: resources/rproc-build/template.pru1_1.c
deleted: pru/ai-pru_rtaudio.p modified: pru/pru_rtaudio.p
DhruvaG2000
changed the title
PruManager UIO implementation
PruManager RProc+UIO implementation
Jul 29, 2021
…c/Uio/board. Removed dependency on libprussdrv when using rproc
…ly in CustomMakefileTop.in
…died up related and unrelated rproc-build files
…some variables to the base class, initialised by the base constructor
… to ensure proper initialisation
rproc + uio stuff refactored and (until 551dd96) merged into multi-codec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The code has been tested on the BELA image so far using the
sample_streamer
example.Rproc
using newer TI 4.19 kernels, as UIO is possibly not properly working even on theBBB v4.19
. I planned to do this in a step by step approach first where I first start by replacing only thestart stop
using rproc and let uio handle the rest. However in the light of the fact that UIO drivers aren't working properly, I will need to completely adapt to RProc + Mmap approach in one go (which can take upto a week or two)