Hi,
I built the ipc_echo_test_freertos example from the IPC module documentation with j721e and CORE2_0 flags. I removed all the j7* binaries from the /lib/firmware folder and only created the one for main-r5f0_0. I can confirm the ping-pong messages. Since I wanted to check some logs on the console too, I attached minicom to the /dev/ttyUSB1, 2 and 3 unsure where the logs (if any) from the mcu2_0 go. I couldnt see any prints. I then added some UART_printf in the main_rtos.c file main function (packages/ti/drv/ipc/examples/common/src/main_rtos.c) but still dont see any logs on the UARTs.
Question is, is my expectation correct? Am I supposed to see any uart printfs on the other serial ports? Do I need to change any other board init params for this?
I then tried out the UART driver example by running make UART_TestApp_freertos CORE=mcu2_0. Upon copying this binary into the main-r5f0_0 firmware, the linux console stopped and stuck at this point -
Welcome to Arago 2021.09!
[ 25.600385] systemd[1]: Set hostname to <j7-evm>.
[ 25.800932] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock �→ /run/docker.sock; please update the unit file according.
[ 25.870938] random: systemd: uninitialized urandom read (16 bytes read)
[ 25.877667] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 25.889994] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 25.899880] systemd[1]: Created slice system-getty.slice.
[ 56.389113] random: systemd: uninitialized urandom read (16 bytes read)
[ 56.396447] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-getty.sliceUART UT 1 FAILED
Some tests have failed.
I am using SDK8.2. At this point, all I want to do is bring up a demo application which prints hello world onto the uart console from the main r5f cores running freeRTOS. Can you point me in the right direction?