Other Parts Discussed in Thread: SYSCONFIG
Which ccs generated file to put into /lib/firmware/ipc? am62-mcu-m4f0_0-fw or ccs generated .out file?
There is not a ..xer5f file as PSDK IPC user chapter, what is the format of .xer5f? elf?
If needed, update the firmware symbolic link to point to a new firmware:
root@am62xx-evm:/lib/firmware# ln -sf /lib/firmware/pdk-ipc/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f am62-mcu-m4f0_0-fw
if want to run updated m4 firmware, put the new generated file to file system /lib/firmware/ipc folder and power cycle the board? Linux will loader the image automatically? not need enable something somewhere?
We tried with the .out file. but get error as below., same as this post: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1036668/tda4vm-error-when-loading-remoteproc-firmware-via-linux
The IPC example ipc_rpmsg_echo_linux_am62x-sk_m4fss0-0_freertos_ti-arm-clang .cmd file:
But did not tell where to change? is there reserved-memory need to match IPC example cmd file?
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
secure_tfa_ddr: tfa@9e780000 {
reg = <0x00 0x9e780000 0x00 0x80000>;
alignment = <0x1000>;
no-map;
};
secure_ddr: optee@9e800000 {
reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
alignment = <0x1000>;
no-map;
};
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9db00000 0x00 0xc00000>;
no-map;
};
mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9cb00000 0x00 0x100000>;
no-map;
};
mcu_m4fss_memory_region: m4f-memory@9cc00000 {
compatible = "shared-dma-pool";
reg = <0x00 0x9cc00000 0x00 0xf00000>;
no-map;
};
lpm_ctx_ddr: lpm-memory@a1000000 {
reg = <0x00 0xa1000000 0x00 0x40000>;
alignment = <0x1000>;
};
};