Part Number: AM5728
Hi All,
Am trying to access mailbox from Linux user space using devmem2 for mailbox1 user 0. Want to send message from A15 side to DSP core using Mailbox
A15 is running with Linux & DSP core running with interrupt based CSL application of Mailbox receiving.
Not getting an mailbox interrupt on DSP side when I write some dummy data using devmem2 from Linix side.
Interrupt configuration at DSP side as follow:
#define MAILBOX_IRQ_NO ( 52U )
#define IRQ_CFG_REQUIRED ( 1U )
#define IRQ_XBAR_CPU_ID CSL_XBAR_IRQ_CPU_ID_DSP1
#define IRQ_XBAR_INST_NO CSL_XBAR_INST_DSP1_IRQ_52
#define IRQ_XBAR_INDEX CSL_XBAR_MAILBOX1_IRQ_USER0
#define MAILBOX_BASE_ADDRESS SOC_MAILBOX1_BASE
#define MAILBOX_USER ( 0U )
Linux side command:
To write
devmem2 0x4A0F4040 w 0x12345678
To read back
devmem2 0x4A0F4040
But didn't get any mailbox interrupt on DSP side. Also not able to debug DSP core while Linux is running on A15.
Getting an below error:
omap_i2c 48070000.i2c: controller timed out
and some thermal shutdown error
Process am follow: first I connect A15 core, then trying to connect DSP core, but not able to connect.
Can I know proper steps to debug any core while A15 is running Linux.
Already take care of power control state of remoteproc by echo "on" for remoteproc2(DSP1) .
Regards,
Geek13