Other Parts Discussed in Thread: SYSBIOS
Hi,
When using following commands to restart the ==R5== remote processor, the Linux will get stuck in the zero out TCMs memory sometimes:
$ echo stop > state && echo start > state
static int k3_r5_rproc_prepare(struct rproc *rproc)
{
......
/*
* Zero out both TCMs unconditionally (access from v8 Arm core is not
* affected by ATCM & BTCM enable configuration values) so that ECC
* can be effective on all TCM addresses.
*/
dev_dbg(dev, "zeroing out ATCM memory\n");
memset(core->mem[0].cpu_addr, 0x00, core->mem[0].size);
dev_dbg(dev, "zeroing out BTCM memory\n");
memset(core->mem[1].cpu_addr, 0x00, core->mem[1].size);
......
}
Thanks
Alex