Part Number: TDA4VM
Hello Karan/Gunter,
I'm posting this just to get a clear understanding of what's possible with TDA4VM MCU island. All in all our requirement is to be able to fully remoteproc launch firmware into MCU island R5Fs. Given the changes from SDK 7.1 (I'm using SDK 7.3) where a bunch DMSC stuff got moved to MCU R5F, such as Power Mgmt, Resource Mgmt, Sciserver, I wonder how we can provide Linux full remoteproc control to MCU R5F?
I get the below log on boot which indicates that MCU R5F has already started and will only operate in IPC-Only mode. Which makes sense given the boot procedure with ROM loading on MCU R5F.
[ 12.738925] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).[ 12.745563] [drm] No driver support for vblank timestamp query.[ 12.758442] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1[ 12.766871] [drm] Cannot find any crtc or sizes[ 12.915085] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)[ 13.058331] platform 41000000.r5f: configured R5F for IPC-only mode[ 13.197488] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000[ 13.289958] remoteproc remoteproc3: 41000000.r5f is available[ 13.414318] remoteproc remoteproc3: loading /lib/firmware/j7-mcu-r5f0_0-fw failed with error -22[ 13.423916] platform 41400000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)[ 13.435701] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -22[ 13.444758] remoteproc remoteproc3: powering up 41000000.r5f[ 13.450456] remoteproc remoteproc3: loading /lib/firmware/j7-mcu-r5f0_0-fw failed with error -22[ 13.465569] remoteproc remoteproc3: Direct firmware load for j7-mcu-r5f0_0-fw failed with error -22[ 13.477577] remoteproc remoteproc3: request_firmware failed: -22[ 13.652250] platform 41400000.r5f: configured R5F for IPC-only mode[ 13.757735] platform 41400000.r5f: assigned reserved memory node r5f-dma-memory@a1000000[ OK ] Created slice system-systemd\x2dfsck.slice.[ 13.890109] remoteproc remoteproc4: 41400000.r5f is available[ 14.019953] remoteproc remoteproc4: Direct firmware load for j7-mcu-r5f0_1-fw failed with error -2[ 14.030786] remoteproc remoteproc4: powering up 41400000.r5f[ 14.036493] remoteproc remoteproc4: Direct firmware load for j7-mcu-r5f0_1-fw failed with error -2[ 14.053905] remoteproc remoteproc4: request_firmware failed: -2
The below log is from some changes I've made to Uboot to operate the MCU R5F in split mode. I see two rproc handles - seems the MCU is split. However, why does the second core still start in IPC-Only mode? How can I free the second core for full remoteproc control from Linux?
Is it possible to run everything that would normally run on lockstep MCU R5F on core0 and free up core1 for remoteproc?
It'd be good to understand what's possible and what the limitations are since I've not found documentation to help understand this.
Thanks
Vai