Skip to content

Add the DM demo (combining IPC test with SDL ...)#8

Open
s-hemer wants to merge 20 commits into
WIP/s.hemer@phytec.de/adopt_phyboard_izarfrom
WIP/s.hemer@phytec.de/add_dm_demo
Open

Add the DM demo (combining IPC test with SDL ...)#8
s-hemer wants to merge 20 commits into
WIP/s.hemer@phytec.de/adopt_phyboard_izarfrom
WIP/s.hemer@phytec.de/add_dm_demo

Conversation

@s-hemer

@s-hemer s-hemer commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

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) ...

dnltz and others added 7 commits June 11, 2026 14:56
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>
@s-hemer s-hemer changed the title Wip/s.hemer@phytec.de/add dm demo Add the DM demo (combining IPC test with SDL ...) Jun 11, 2026
@s-hemer s-hemer requested review from dnltz and smk-embedded June 11, 2026 13:39
s-hemer added 6 commits June 12, 2026 09:52
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>
@s-hemer s-hemer force-pushed the WIP/s.hemer@phytec.de/add_dm_demo branch from 2efdbca to dd12804 Compare June 12, 2026 07:56
s-hemer added 7 commits June 25, 2026 23:05
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>
@s-hemer s-hemer force-pushed the WIP/s.hemer@phytec.de/add_dm_demo branch from 241ba4d to a65e0ab Compare June 25, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants