Add the DM demo (combining IPC test with SDL ...)#8
Open
s-hemer wants to merge 20 commits into
Open
Conversation
Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Add SDL functions to read the Cortex R5 status registers. These registers include a bit which indicates whether the CPU is operating in lock-step mode. Also add another print to tell this PHYTEC's custom DM firmware. If this print doesn't apprea, the default TI firmware is used. Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
May squash to "sdl: examples: dm_firmware: Print lock-step status". Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
At sdl, there is CORE already defined same as ISA. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
as copied from the IPC examples Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
As this is not inside PDK anymore, those must be added. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
For freertos build for now... Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
examples Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
For comparing with metalayer maps... Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Various variables and functions here are not part of the IPC lib or example anymore, so the 'IPC_' prefix is somehow misleading. Switch to 'DMFW_' for easy identification as locally defined. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
This is not the IPC example but the SDL dm_firmware example now, so to avoid confusion, adopt the prefix accordingly (freertos build for now). While at it, define the base SRCDIR already in base Makefile. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
2efdbca to
dd12804
Compare
No plans to support nor tested. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
No plans to support nor tested. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
First setting the variable, then exporting while for some doing it in one step is confusing, so do it in one step for all. Add comment for undocumented _BOARD_DEPENDENCY variable. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Sciserver starts its own RTOS task anyways, so why have a task just for init Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Change prefixes so it is clear which ones belong to the IPC task if we add more tasks. Add IPC task prio as define. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
Otherwise the board-specific includes are not resolved an a lot of stuff will be missing. Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
printout Signed-off-by: Steffen Hemer <s.hemer@phytec.de>
241ba4d to
a65e0ab
Compare
This file contains hidden or 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
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.
After a lot of fiddling around and , this seems to be the way to have the dm_firmware not only build with https://github.com/phytec/meta-firmware-phytec but also within the make build setup of SDL.
Call
make dm_firmware SOC=j721s2 BOARD=phyboard_izar BUILD_OS_TYPE=freertos (PROFILE=release)...