Hi Aldo,
In ATF - imx8mm_bl31_setup.c changed to
Before :
static const struct imx_rdc_cfg rdc[] = {
/* Master domain assignment */
RDC_MDAn(RDC_MDA_M4, DID1),
/* peripherals domain permission */
RDC_PDAPn(RDC_PDAP_UART4, D0R | D0W),
After:
static const struct imx_rdc_cfg rdc[] = {
/* Master domain assignment */
RDC_MDAn(RDC_MDA_M4, DID1),
/* peripherals domain permission */
RDC_PDAPn(RDC_PDAP_UART4, D1R | D1W),
I have changed imx8mm-evk.dts to imx8mm-evk-rpmsg.dts it's booting fine.
Uboot command i have modified.
setenv fdt_file imx8mm-evk-rpmsg.dtb
fatload mmc 2:1 0x48000000 imx8mm_m4_TCM_hello_world.bin
cp.b 0x48000000 0x7e0000 35000
bootaux 0x7e0000
boot
In custom board i did same thing but UART4 does not printing any thing.
Thanks & Regards,
Vasu