BBAI64 now can use TI SDK10.0 and debug R5

Thank you very much @jiance.zahng

This helped a lot, I am able to boot with the new kernel version.

However, another issue I am facing that r5f1_0 core is not powering-up, which eventually lead to errors while using any type of hardware acceleration.

Here is a snippet from dmesg (I turned on the extended logs in extlinux.conf)
dmesg_logs.txt (129.6 KB)

[   21.001215] remoteproc remoteproc15: b106000.rtu is available
[   21.014575] probe of b106000.rtu returned 0 after 13601 usecs
[   21.020858] remoteproc remoteproc16: b10c000.txpru is available
[   21.024254] rproc-virtio rproc-virtio.5.auto: registered virtio3 (type 7)
[   21.026907] probe of b10c000.txpru returned 0 after 6333 usecs
[   21.039849] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node vision-apps-c71-dma-memory@b2000000
[   21.043097] initcall pru_rproc_driver_init+0x0/0x1000 [pru_rproc] returned 0 after 229824 usecs
[   21.056592] dbus-broker-lau[393]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[   21.072741] remoteproc remoteproc4: remote processor 5d00000.r5f is now up
[   21.074158] platform 5e00000.r5f: configured R5F for remoteproc mode
[   21.074877] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
[   21.077186] probe of virtio4.rpmsg_ns.53.53 returned 0 after 50 usecs
[   21.077203] virtio_rpmsg_bus virtio4: rpmsg host is online
[   21.077227] probe of virtio4 returned 0 after 460 usecs
[   21.077234] rproc-virtio rproc-virtio.6.auto: registered virtio4 (type 7)
[   21.077240] remoteproc remoteproc2: remote processor 64800000.dsp is now up
[   21.077625] remoteproc remoteproc17: 5e00000.r5f is available
[   21.078638] remoteproc remoteproc17: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
[   21.078648] remoteproc remoteproc17: Direct firmware load for j7-main-r5f1_0-fw failed with error -22
[   21.078658] remoteproc remoteproc17: powering up 5e00000.r5f
[   21.078688] remoteproc remoteproc17: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
[   21.078692] remoteproc remoteproc17: Direct firmware load for j7-main-r5f1_0-fw failed with error -22
[   21.078696] remoteproc remoteproc17: request_firmware failed: -22
[   21.079189] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
[   21.223789] calling  rpmsg_chrdev_init+0x0/0xb8 [rpmsg_char] @ 168
[   21.234461] probe of virtio1.rpmsg_chrdev.-1.13 returned 0 after 1335 usecs
[   21.257620] calling  tiadc_driver_init+0x0/0x1000 [ti_am335x_adc] @ 181
[   21.258427] probe of virtio0.rpmsg_chrdev.-1.13 returned 0 after 2495 usecs
[   21.273971] probe of virtio3.rpmsg_chrdev.-1.13 returned 0 after 282 usecs
[   21.284303] probe of virtio4.rpmsg_chrdev.-1.13 returned 0 after 2115 usecs
[   21.293532] initcall rpmsg_chrdev_init+0x0/0xb8 [rpmsg_char] returned 0 after 10973 usecs
[   21.298825] probe of TI-am335x-adc.0.auto returned 0 after 15903 usecs
[   21.324916] probe of TI-am335x-adc.2.auto returned 0 after 8130 usecs
[   21.332869] calling  rpmsg_ctrldev_init+0x0/0xb0 [rpmsg_ctrl] @ 184
[   21.341795] initcall tiadc_driver_init+0x0/0x1000 [ti_am335x_adc] returned 0 after 59235 usecs
[   21.362667] probe of virtio0.rpmsg_ctrl.0.0 returned 0 after 757 usecs
[   21.389999] probe of virtio1.rpmsg_ctrl.0.0 returned 0 after 1136 usecs
[   21.418688] probe of virtio2.rpmsg_ctrl.0.0 returned 0 after 552 usecs
[   21.425942] probe of virtio3.rpmsg_ctrl.0.0 returned 0 after 424 usecs
[   21.435389] probe of virtio4.rpmsg_ctrl.0.0 returned 0 after 453 usecs
[   21.485312] audit: type=1334 audit(1725290667.192:10): prog-id=14 op=LOAD
[   21.496331] audit: type=1334 audit(1725290667.204:11): prog-id=15 op=LOAD
[   21.583663] probe of 6000000.usb returned 0 after 770204 usecs
[   21.603666] initcall rpmsg_ctrldev_init+0x0/0xb0 [rpmsg_ctrl] returned 0 after 241795 usecs
[   21.692168] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[   21.745727] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 1
[   21.758778] xhci-hcd xhci-hcd.7.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000008010
[   21.772124] xhci-hcd xhci-hcd.7.auto: irq 676, io mem 0x06410000
[   21.786014] xhci-hcd xhci-hcd.7.auto: xHCI Host Controller
[   21.799391] xhci-hcd xhci-hcd.7.auto: new USB bus registered, assigned bus number 2
[   21.808318] xhci-hcd xhci-hcd.7.auto: Host supports USB 3.0 SuperSpeed
[   21.820784] hub 1-0:1.0: USB hub found
[   21.824811] hub 1-0:1.0: 1 port detected
[   21.835896] probe of 1-0:1.0 returned 0 after 15121 usecs
[   21.841739] probe of usb1 returned 0 after 21043 usecs
[   21.850079] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   21.859068] hub 2-0:1.0: USB hub found
[   21.873790] hub 2-0:1.0: 1 port detected
[   21.908362] probe of 2-0:1.0 returned 0 after 49300 usecs
[   21.913955] probe of usb2 returned 0 after 54973 usecs
[   21.919326] probe of xhci-hcd.7.auto returned 0 after 227275 usecs
[   21.925694] probe of 6400000.usb returned 0 after 241816 usecs
[   21.931801] initcall cdns3_driver_init+0x0/0x1000 [cdns3] returned 0 after 569930 usecs
[   22.086065] calling  rfkill_init+0x0/0x15c [rfkill] @ 520
[   22.091606] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   22.093490] initcall rfkill_init+0x0/0x15c [rfkill] returned 0 after 139 usecs
[   22.148864] calling  ecdh_init+0x0/0x1000 [ecdh_generic] @ 520
[   22.158129] initcall ecdh_init+0x0/0x1000 [ecdh_generic] returned 0 after 31 usecs
[   22.160713] calling  cfg80211_init+0x0/0x100 [cfg80211] @ 556
[   22.174880] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   22.200575] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   22.206615] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   22.214470] initcall cfg80211_init+0x0/0x100 [cfg80211] returned 0 after 40079 usecs
[   22.227464] calling  bt_init+0x0/0xf0 [bluetooth] @ 520
[   22.233020] Bluetooth: Core ver 2.22
[   22.237052] NET: Registered PF_BLUETOOTH protocol family
[   22.243206] Bluetooth: HCI device and connection manager initialized
[   22.249679] Bluetooth: HCI socket layer initialized
[   22.254852] Bluetooth: L2CAP socket layer initialized
[   22.260261] Bluetooth: SCO socket layer initialized
[   22.265288] initcall bt_init+0x0/0xf0 [bluetooth] returned 0 after 32270 usecs
[   22.273132] hub 1-1:1.0: USB hub found
[   22.276999] hub 1-1:1.0: 4 ports detected
[   22.282037] probe of 1-1:1.0 returned 0 after 8938 usecs
[   22.288468] probe of 1-1 returned 0 after 23035 usecs
[   22.388393] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[   22.428533] hub 2-1:1.0: USB hub found
[   22.434866] hub 2-1:1.0: 4 ports detected
[   22.441202] probe of 2-1:1.0 returned 0 after 12709 usecs
[   22.448471] probe of 2-1 returned 0 after 21424 usecs
[   22.525760] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[   22.557142] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[   22.600525] EXT4-fs (mmcblk0p2): mounted filesystem 924be20d-6ebf-4646-b3c9-2ef195b6ec8d r/w with ordered data mode. Quota mode: none.
[   22.649310] calling  onboard_hub_init+0x0/0x1000 [onboard_usb_hub] @ 168
[   22.661643] usbcore: registered new device driver onboard-usb-hub
[   22.677941] calling  ovl_init+0x0/0x84 [overlay] @ 589
[   22.685236] initcall ovl_init+0x0/0x84 [overlay] returned 0 after 96 usecs
[   22.846180] hub 1-1:1.0: USB hub found
[   22.855349] hub 1-1:1.0: 4 ports detected
[   22.865716] probe of 1-1:1.0 returned 0 after 19579 usecs
[   22.871732] probe of 1-1 returned 517 after 143395 usecs
[   22.878422] hub 1-1:1.0: USB hub found
[   22.882451] hub 1-1:1.0: 4 ports detected
[   22.887503] probe of 1-1:1.0 returned 0 after 9108 usecs
[   22.892912] probe of 1-1 returned 0 after 15568 usecs
[   23.020802] hub 2-1:1.0: USB hub found
[   23.024670] hub 2-1:1.0: 4 ports detected
[   23.030687] probe of 2-1:1.0 returned 0 after 9929 usecs
[   23.036107] probe of 2-1 returned 517 after 83815 usecs
[   23.042272] initcall onboard_hub_init+0x0/0x1000 [onboard_usb_hub] returned 0 after 357132 usecs
[   23.042539] hub 2-1:1.0: USB hub found
[   23.056726] hub 2-1:1.0: 4 ports detected
[   23.064413] probe of 2-1:1.0 returned 0 after 21900 usecs
[   23.073702] probe of 2-1 returned 0 after 30016 usecs
[   23.108554] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
[   23.122131] probe of bus@100000:r5fss@5e00000 returned 0 after 2052358 usecs
[   23.130911] initcall k3_r5_rproc_driver_init+0x0/0x1000 [ti_k3_r5_remoteproc] returned 0 after 445771 usecs
[   23.685628] kauditd_printk_skb: 2 callbacks suppressed
[   23.685636] audit: type=1006 audit(1725290669.392:14): pid=650 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[   23.703543] audit: type=1300 audit(1725290669.392:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffed376218 a2=4 a3=1 items=0 ppid=1 pid=650 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
[   23.730374] audit: type=1327 audit(1725290669.392:14): proctitle="(systemd)"

A similar issue has also been raised by @nmenon [here].

Do you have any idea, why there is no such error in your logs which you shared in your post?

Note: Since lot of clutter here on the post, I will share the complete documentation in another post after solving all issues.

Thank you

Best
Shubham

1 Like

Thanks @jiance.zahng

I am able to run the SDK 10.04. The problem was in the dts file shared by you. mcu cores were disabled.

There are still some problems like r5f1_core0 not booting, however I find that this is the same problem with TDA4VM-SK (which I recently bought) running latest TI-SDK 10.04 linux.

I did not see the same errors in the logs shared by you:

I hope I will be able to solve this soon. I will also write a separate post detailing the How to

Thank you

Best
Shubham

1 Like

Looking at the log, it should be that the memory configuration of the loaded 1_0 program does not match the device tree. I guess you have not compiled the 1_0 and 1_1 programs in rtos. I suggest you do the same as me and not load 1_0 and 1_1.

The core of 1_0 is different from other 5rf. According to ti’s documentation, it is already running before u-boot is started. Therefore, after linux is run, the image cannot be reloaded at present. For the R5F1_0, I’m still working on it, so booting of 1_0 and 1-1 is disabled in my device tree configuration. Available reference links are as follows:

  1. 8.2. Understanding bootloaders in Processor SDK J721E (RTOS/Linux) — Processor SDK RTOS J721E
  2. 8.3. MCU1_0 Application Development with SYSFW — Processor SDK RTOS J721E
  3. 3.1.1.1. General Information — Processor SDK Linux for J721e Documentation

my boot img as flow :
j721e-boot.part04.rar (1.6 MB)
j721e-boot.part01.rar (2 MB)
j721e-boot.part02.rar (2 MB)
j721e-boot.part03.rar (2 MB)

1 Like



so now,R5F1_0 only can be attach can’t load img by remoteproc

I have been able to power up all the cores except 5e00000 i.e. r5fss1_0

Firmware loading is failed for this core. Additionally, as I mentioned, I have also purchased a TDA4VM-SK after booting it with latest Linux SDK image for edge-ai (image below)

I get the same error:

root@j721e-sk:/opt/edgeai-gst-apps# dmesg | grep r5f1_0
[    4.502309] remoteproc remoteproc6: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
[    4.502327] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -22
[    4.502375] remoteproc remoteproc6: loading /lib/firmware/j7-main-r5f1_0-fw failed with error -22
[    4.502379] remoteproc remoteproc6: Direct firmware load for j7-main-r5f1_0-fw failed with error -22

The -22 error is usually caused by Linux parsing the running address of the image when loading the R5 core image and finding that the address is not allocated in reserve-memory. This problem is easily solved by careful inspection of the device tree and the linker script of the R5F core program. However, MCU_R5F1_0 can only attach and cannot load. This problem should only be explained by ti.

5e00000 is actually MCU3_0. I am not sure whether you have recompiled the RTOS product and correctly placed it in the corresponding location of rootfs.


TI-SDK does not compile MCU3_0 and MCU3_1 by default, and IPC is not enabled.



The above are my changes.

I did not build them specifically. but the files are there and linked.

root@j721e-sk:/opt/edgeai-gst-apps# ls /usr/lib/firmware/vision_apps_eaik/
vx_app_rtos_linux_c6x_1.out	    vx_app_rtos_linux_c7x_1.out		 vx_app_rtos_linux_mcu2_0.out	      vx_app_rtos_linux_mcu3_0.out
vx_app_rtos_linux_c6x_1.out.signed  vx_app_rtos_linux_c7x_1.out.signed	 vx_app_rtos_linux_mcu2_0.out.signed  vx_app_rtos_linux_mcu3_0.out.signed
vx_app_rtos_linux_c6x_2.out	    vx_app_rtos_linux_mcu1_1.out	 vx_app_rtos_linux_mcu2_1.out	      vx_app_rtos_linux_mcu3_1.out
vx_app_rtos_linux_c6x_2.out.signed  vx_app_rtos_linux_mcu1_1.out.signed  vx_app_rtos_linux_mcu2_1.out.signed  vx_app_rtos_linux_mcu3_1.out.signed
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# 
root@j721e-sk:/opt/edgeai-gst-apps# ls /usr/lib/firmware/j7-main-r5f* -l  
lrwxrwxrwx 1 root root 63 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f0_0-fw -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu2_0.out
lrwxrwxrwx 1 root root 70 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f0_0-fw-sec -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu2_0.out.signed
lrwxrwxrwx 1 root root 63 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f0_1-fw -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu2_1.out
lrwxrwxrwx 1 root root 70 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f0_1-fw-sec -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu2_1.out.signed
lrwxrwxrwx 1 root root 63 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f1_0-fw -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu3_0.out
lrwxrwxrwx 1 root root 70 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f1_0-fw-sec -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu3_0.out.signed
lrwxrwxrwx 1 root root 63 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f1_1-fw -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu3_1.out
lrwxrwxrwx 1 root root 70 Sep  3 12:09 /usr/lib/firmware/j7-main-r5f1_1-fw-sec -> /usr/lib/firmware/vision_apps_eaik/vx_app_rtos_linux_mcu3_1.out.signed

Let me try to build them and copy the fresh binaries and boot. I will update you.

now , mcu1_0 can running normally too. my operation is as follows:

build vision-apps for mcu1_0

enable mcu1_0

# sdk_builder/vision_apps_build_flags.mak
BUILD_CPU_MCU1_0?=yes

enable mcu1_0 ipc

#vision_apps/platform/j721e/rtos/common/app_cfg.h
#define ENABLE_IPC_MCU1_0

enable uboot build in rtos sdk

#sdk_builder/tools_path.mak
export PSDK_LINUX_PATH ?= /home/xxxxx/BB-AI64/ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08
#sdk_builder/makerules/makefile_uboot.mak
$(MAKE) -C $(PSDK_LINUX_PATH)/board-support/ti-u-boot-* ARCH=arm CROSS_COMPILE=$(GCC_LINUX_ARM_ROOT)/bin/aarch64-none-linux-gnu- O=$(SOC)-arm64-linux -j8 $(SOC)_beagleboneai64_a72_defconfig

$(MAKE) -C $(PSDK_LINUX_PATH)/board-support/ti-u-boot-* ARCH=arm CROSS_COMPILE=$(GCC_LINUX_ARM_ROOT)/bin/aarch64-none-linux-gnu- DM=$(PSDK_LINUX_PATH)/board-support/prebuilt-images/ti-dm/$(SOC)/ipc_echo_testb_mcu1_0_release_strip.xer5f BL31=$(PSDK_LINUX_PATH)/board-support/prebuilt-images/bl31.bin TEE=$(PSDK_LINUX_PATH)/board-support/prebuilt-images/bl32.bin BINMAN_INDIRS=$(PSDK_LINUX_PATH)/board-support/prebuilt-images O=$(SOC)-arm64-linux

build vision_apps

cd sdk_builder
make vision_apps -j12
make uboot

rename uboot and renew

cp ../ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08/board-support/ti-u-boot-2024.04+git/j721e-arm64-linux/tispl.bin_unsigned vision_apps/out/J721E/tispl.bin
cp ../ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08/board-support/ti-u-boot-2024.04+git/j721e-arm64-linux/u-boot.img_unsigned vision_apps/out/J721E/u-boot.img 
cp tispl.bin xxx/boot_partition
cp u-boot.img  xxx/boot_partition

cp all .out to rootfs

cp vision_apps/out/J721E/R5F/FREERTOS/debug/*.out xxx/lib/firmware/vision_apps_evm/
cp vision_apps/out/J721E/C66/FREERTOS/debug/*.out xxx/lib/firmware/vision_apps_evm/
cp vision_apps/out/J721E/C71/FREERTOS/debug/*.out xxx/lib/firmware/vision_apps_evm/

#rename 
cd xxx/lib/firmware/vision_apps_evm/
mv vx_app_rtos_linux_mcu1_0_strip.out ipc_echo_testb_mcu1_0_release_strip.xer5f
cd xxx/lib/firmware/
ln -sf /usr/lib/firmware/vision_apps_evm/ipc_echo_testb_mcu1_0_release_strip.xer5f j7-mcu-r5f0_0-fw

# cp a72 out
cp vision_apps/out/J721E/A72/LINUX/debug/*.out  xxx/opt/vision_apps/

# renew libtivision_apps.so.10.0.0
cp vision_apps/out/J721E/A72/LINUX/debug/libtivision_apps.so.10.0.0 xxx/usr/lib/

Run and Debug

/opt/vision_apps/vision_apps_init.sh

vision_apps log

root@j721e-evm:~# /opt/vision_apps/vision_apps_init.sh
[MCU1_0]      0.031589 s: CIO: Init ... Done !!!
[MCU1_0]      0.031698 s: ### CPU Frequency = 1000000000 Hz
[MCU1_0]      0.031744 s: CPU is running FreeRTOS
[MCU1_0]      0.031769 s: APP: Init ... !!!
[MCU1_0]      0.031791 s: MEM: Init ... !!!
[MCU1_0]      0.031830 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d8000000 of size 8388608 bytes !!!
[MCU1_0]      0.031892 s: MEM: Init ... Done !!!
[MCU1_0]      0.031915 s: IPC: Init ... !!!
[MCU1_0]      0.032051 s: IPC: 9 CPUs participating in IPC !!!
[MCU1_0]      0.032122 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU1_0]     10.648225 s: IPC: HLOS is ready !!!
[MCU1_0]     10.656238 s: IPC: Init ... Done !!!
[MCU1_0]     10.656326 s: APP: Syncing with 8 CPUs ... !!!
[MCU1_0]     11.833794 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU1_0]     11.834271 s: REMOTE_SERVICE: Init ... !!!
[MCU1_0]     11.844718 s: REMOTE_SERVICE: Init ... Done !!!
[MCU1_0]     11.856543 s: APP: Init ... Done !!!
[MCU1_0]     11.856599 s: APP: Run ... !!!
[MCU1_0]     11.856630 s: IPC: Starting echo test ...
[MCU1_0]     11.867737 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[.] mcu3_1[x] C66X_1[x] C66X_2[x] C7X_1[x]
[MCU1_0]     11.867901 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[x] C66X_1[x] C66X_2[x] C7X_1[x]
[MCU1_0]     11.868473 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[.] C66X_2[x] C7X_1[x]
[MCU1_0]     11.868723 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[x] C7X_1[x]
[MCU1_0]     11.869173 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[x]
[MCU1_0]     11.869560 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU1_0]     11.869652 s: APP: Run ... Done !!!
[MCU1_0]     11.895742 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU1_0]     12.869690 s: MCU1_0 Run, counter:1
[MCU1_0]     13.869683 s: MCU1_0 Run, counter:2
[MCU1_0]     14.869680 s: MCU1_0 Run, counter:3
[MCU1_0]     15.869688 s: MCU1_0 Run, counter:4
[MCU1_0]     16.869688 s: MCU1_0 Run, counter:5
[MCU1_0]     17.869680 s: MCU1_0 Run, counter:6
[MCU1_0]     18.869678 s: MCU1_0 Run, counter:7
[MCU1_0]     19.869677 s: MCU1_0 Run, counter:8

The above operations refer to ti’s documentation: 8.3. MCU1_0 Application Development with SYSFW — Processor SDK RTOS J721E 0-app-with-sysfw

1 Like

after make steps to run mcu1_0 this is my vision apps init log:

root@j721e-evm:/opt/vision_apps# [MCU1_0]      0.031556 s: CIO: Init ... Done !!!
[MCU1_0]      0.031650 s: ### CPU Frequency = 1000000000 Hz
[MCU1_0]      0.031708 s: CPU is running FreeRTOS
[MCU1_0]      0.031737 s: APP: Init ... !!!
[MCU1_0]      0.031760 s: MEM: Init ... !!!
[MCU1_0]      0.031801 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d8000000 of size 8388608 bytes !!!
[MCU1_0]      0.031863 s: MEM: Init ... Done !!!
[MCU1_0]      0.031888 s: IPC: Init ... !!!
[MCU1_0]      0.032051 s: IPC: 9 CPUs participating in IPC !!!
[MCU1_0]      0.032100 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU1_0]     14.454702 s: IPC: HLOS is ready !!!
[MCU1_0]     14.462234 s: IPC: Init ... Done !!!
[MCU1_0]     14.462323 s: APP: Syncing with 8 CPUs ... !!!
[MCU1_0]     15.537081 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU1_0]     15.537528 s: REMOTE_SERVICE: Init ... !!!
[MCU1_0]     15.550421 s: REMOTE_SERVICE: Init ... Done !!!
[MCU1_0]     15.559890 s: APP: Init ... Done !!!
[MCU1_0]     15.559959 s: APP: Run ... !!!
[MCU1_0]     15.559991 s: IPC: Starting echo test ...
[MCU1_0]     15.570943 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[x] C66X_1[x] C66X_2[x] C7X_1[x]
[MCU1_0]     15.571559 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[.] C66X_1[x] C66X_2[x] C7X_1[x]
[MCU1_0]     15.571830 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[x] C66X_2[x] C7X_1[x]
[MCU1_0]     15.572242 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[x] C7X_1[x]
[MCU1_0]     15.572660 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[x]
[MCU1_0]     15.573075 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU1_0]     15.573168 s: APP: Run ... Done !!!
[MCU1_0]     15.599156 s: IPC: Echo status: mpu1_0[x] mcu1_0[s] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU2_0]     14.919259 s: CIO: Init ... Done !!!
[MCU2_0]     14.919339 s: ### CPU Frequency = 1000000000 Hz
[MCU2_0]     14.919383 s: CPU is running FreeRTOS
[MCU2_0]     14.919410 s: APP: Init ... !!!
[MCU2_0]     14.919433 s: SCICLIENT: Init ... !!!
[MCU2_0]     14.919668 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[MCU2_0]     14.919719 s: SCICLIENT: DMSC FW revision 0xa
[MCU2_0]     14.919756 s: SCICLIENT: DMSC FW ABI revision 4.0
[MCU2_0]     14.919787 s: SCICLIENT: Init ... Done !!!
[MCU2_0]     14.919814 s: UDMA: Init ... !!!
[MCU2_0]     14.921148 s: UDMA: Init ... Done !!!
[MCU2_0]     14.921216 s: MEM: Init ... !!!
[MCU2_0]     14.921263 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ d9000000 of size 15728640 bytes !!!
[MCU2_0]     14.921334 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000000) @ 3600000 of size 262144 bytes !!!
[MCU2_0]     14.921391 s: MEM: Created heap (DDR_CACHE_WT_MEM, id=7, flags=0x00000000) @ d9f00000 of size 1048576 bytes !!!
[MCU2_0]     14.921444 s: MEM: Init ... Done !!!
[MCU2_0]     14.921470 s: IPC: Init ... !!!
[MCU2_0]     14.921525 s: IPC: 9 CPUs participating in IPC !!!
[MCU2_0]     14.921577 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_0]     14.921619 s: IPC: HLOS is ready !!!
[MCU2_0]     14.928695 s: IPC: Init ... Done !!!
[MCU2_0]     14.928768 s: APP: Syncing with 8 CPUs ... !!!
[MCU2_0]     15.537075 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU2_0]     15.537169 s: REMOTE_SERVICE: Init ... !!!
[MCU2_0]     15.537601 s: REMOTE_SERVICE: Init ... Done !!!
[MCU2_0]     15.537736 s: FVID2: Init ... !!!
[MCU2_0]     15.537824 s: FVID2: Init ... Done !!!
[MCU2_0]     15.537918 s: VHWA: VPAC Init ... !!!
[MCU2_0]     15.537959 s: SCICLIENT: Sciclient_pmSetModuleState module=290 state=2
[MCU2_0]     15.538378 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_0]     15.538423 s: VHWA: LDC Init ... !!!
[MCU2_0]     15.546221 s: VHWA: LDC Init ... Done !!!
[MCU2_0]     15.546289 s: VHWA: MSC Init ... !!!
[MCU2_0]     15.559896 s: VHWA: MSC Init ... Done !!!
[MCU2_0]     15.559965 s: VHWA: NF Init ... !!!
[MCU2_0]     15.561988 s: VHWA: NF Init ... Done !!!
[MCU2_0]     15.562065 s: VHWA: VISS Init ... !!!
[MCU2_0]     15.572071 s: VHWA: VISS Init ... Done !!!
[MCU2_0]     15.572146 s: VHWA: VPAC Init ... Done !!!
[MCU2_0]     15.572199 s:  VX_ZONE_INIT:Enabled
[MCU2_0]     15.572235 s:  VX_ZONE_ERROR:Enabled
[MCU2_0]     15.572266 s:  VX_ZONE_WARNING:Enabled
[MCU2_0]     15.574087 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MCU2-0
[MCU2_0]     15.574305 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target VPAC_NF
[MCU2_0]     15.574523 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target VPAC_LDC1
[MCU2_0]     15.574719 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target VPAC_MSC1
[MCU2_0]     15.574917 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target VPAC_MSC2
[MCU2_0]     15.575212 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target VPAC_VISS1
[MCU2_0]     15.575459 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE1
[MCU2_0]     15.575689 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE2
[MCU2_0]     15.575931 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE3
[MCU2_0]     15.576180 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE4
[MCU2_0]     15.576426 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE5
[MCU2_0]     15.576667 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE6
[MCU2_0]     15.576900 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE7
[MCU2_0]     15.577164 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CAPTURE8
[MCU2_0]     15.577399 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DISPLAY1
[MCU2_0]     15.577632 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DISPLAY2
[MCU2_0]     15.577845 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target CSITX
[MCU2_0]     15.578069 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSS_M2M1
[MCU2_0]     15.578284 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSS_M2M2
[MCU2_0]     15.578494 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSS_M2M3
[MCU2_0]     15.578692 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSS_M2M4
[MCU2_0]     15.578750 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[MCU2_0]     15.578788 s: APP: OpenVX Target kernel init ... !!!
[MCU2_0]     15.594999 s: APP: OpenVX Target kernel init ... Done !!!
[MCU2_0]     15.595078 s: VISS REMOTE SERVICE: Init ... !!!
[MCU2_0]     15.595172 s: VISS REMOTE SERVICE: Init ... Done !!!
[MCU2_0]     15.595208 s: UDMA Copy: Init ... !!!
[MCU2_0]     15.596997 s: UDMA Copy: Init ... Done !!!
[MCU2_0]     15.597078 s: APP: Init ... Done !!!
[MCU2_0]     15.597110 s: APP: Run ... !!!
[MCU2_0]     15.597138 s: IPC: Starting echo test ...
[MCU2_0]     15.597494 s: APP: Run ... Done !!!
[MCU2_0]     15.599391 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[s] mcu2_1[.] mcu3_0[P] mcu3_1[.] C66X_1[.] C66X_2[.] C7X_1[.]
[MCU2_0]     15.599534 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[.] C66X_1[.] C66X_2[.] C7X_1[.]
[MCU2_0]     15.599652 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[.] C66X_2[.] C7X_1[.]
[MCU2_0]     15.599766 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[.] C7X_1[.]
[MCU2_0]     15.599879 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[.]
[MCU2_0]     15.600085 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[.]
[MCU2_0]     15.600210 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[s] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU2_1]     15.144788 s: CIO: Init ... Done !!!
[MCU2_1]     15.144871 s: ### CPU Frequency = 1000000000 Hz
[MCU2_1]     15.144922 s: CPU is running FreeRTOS
[MCU2_1]     15.144957 s: APP: Init ... !!!
[MCU2_1]     15.144982 s: SCICLIENT: Init ... !!!
[MCU2_1]     15.145216 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[MCU2_1]     15.145276 s: SCICLIENT: DMSC FW revision 0xa
[MCU2_1]     15.145319 s: SCICLIENT: DMSC FW ABI revision 4.0
[MCU2_1]     15.145361 s: SCICLIENT: Init ... Done !!!
[MCU2_1]     15.145397 s: UDMA: Init ... !!!
[MCU2_1]     15.146746 s: UDMA: Init ... Done !!!
[MCU2_1]     15.146821 s: MEM: Init ... !!!
[MCU2_1]     15.146881 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ da000000 of size 16777216 bytes !!!
[MCU2_1]     15.146961 s: MEM: Init ... Done !!!
[MCU2_1]     15.146995 s: IPC: Init ... !!!
[MCU2_1]     15.147059 s: IPC: 9 CPUs participating in IPC !!!
[MCU2_1]     15.147114 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU2_1]     15.147158 s: IPC: HLOS is ready !!!
[MCU2_1]     15.154029 s: IPC: Init ... Done !!!
[MCU2_1]     15.154110 s: APP: Syncing with 8 CPUs ... !!!
[MCU2_1]     15.537075 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU2_1]     15.537183 s: REMOTE_SERVICE: Init ... !!!
[MCU2_1]     15.537735 s: REMOTE_SERVICE: Init ... Done !!!
[MCU2_1]     15.537809 s: FVID2: Init ... !!!
[MCU2_1]     15.537967 s: FVID2: Init ... Done !!!
[MCU2_1]     15.538020 s: VHWA: DMPAC: Init ... !!!
[MCU2_1]     15.538080 s: SCICLIENT: Sciclient_pmSetModuleState module=48 state=2
[MCU2_1]     15.538491 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_1]     15.538540 s: SCICLIENT: Sciclient_pmSetModuleState module=305 state=2
[MCU2_1]     15.538740 s: SCICLIENT: Sciclient_pmSetModuleState success
[MCU2_1]     15.538785 s: VHWA: DOF Init ... !!!
[MCU2_1]     15.550343 s: VHWA: DOF Init ... Done !!!
[MCU2_1]     15.550422 s: VHWA: SDE Init ... !!!
[MCU2_1]     15.554207 s: VHWA: SDE Init ... Done !!!
[MCU2_1]     15.554276 s: VHWA: DMPAC: Init ... Done !!!
[MCU2_1]     15.554335 s:  VX_ZONE_INIT:Enabled
[MCU2_1]     15.554373 s:  VX_ZONE_ERROR:Enabled
[MCU2_1]     15.554406 s:  VX_ZONE_WARNING:Enabled
[MCU2_1]     15.556308 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MCU2-1
[MCU2_1]     15.556536 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DMPAC_SDE
[MCU2_1]     15.556769 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DMPAC_DOF
[MCU2_1]     15.556842 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[MCU2_1]     15.556888 s: APP: OpenVX Target kernel init ... !!!
[MCU2_1]     15.557207 s: APP: OpenVX Target kernel init ... Done !!!
[MCU2_1]     15.557264 s: UDMA Copy: Init ... !!!
[MCU2_1]     15.559733 s: UDMA Copy: Init ... Done !!!
[MCU2_1]     15.559823 s: APP: Init ... Done !!!
[MCU2_1]     15.559864 s: APP: Run ... !!!
[MCU2_1]     15.559900 s: IPC: Starting echo test ...
[MCU2_1]     15.560284 s: APP: Run ... Done !!!
[MCU2_1]     15.562077 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[.] C66X_1[.] C66X_2[.] C7X_1[.]
[MCU2_1]     15.562227 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[.] C66X_1[P] C66X_2[.] C7X_1[.]
[MCU2_1]     15.562381 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[.] C7X_1[.]
[MCU2_1]     15.562502 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[.]
[MCU2_1]     15.562630 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU2_1]     15.562973 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[s] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU2_1]     15.599074 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[s] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_0]     15.248703 s: CIO: Init ... Done !!!
[MCU3_0]     15.248790 s: ### CPU Frequency = 1000000000 Hz
[MCU3_0]     15.248842 s: CPU is running FreeRTOS
[MCU3_0]     15.248869 s: APP: Init ... !!!
[MCU3_0]     15.248894 s: SCICLIENT: Init ... !!!
[MCU3_0]     15.249128 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[MCU3_0]     15.249174 s: SCICLIENT: DMSC FW revision 0xa
[MCU3_0]     15.249202 s: SCICLIENT: DMSC FW ABI revision 4.0
[MCU3_0]     15.249231 s: SCICLIENT: Init ... Done !!!
[MCU3_0]     15.249257 s: MEM: Init ... !!!
[MCU3_0]     15.249298 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ db000000 of size 8388608 bytes !!!
[MCU3_0]     15.249362 s: MEM: Init ... Done !!!
[MCU3_0]     15.249390 s: IPC: Init ... !!!
[MCU3_0]     15.249451 s: IPC: 9 CPUs participating in IPC !!!
[MCU3_0]     15.249514 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU3_0]     15.249555 s: IPC: HLOS is ready !!!
[MCU3_0]     15.256784 s: IPC: Init ... Done !!!
[MCU3_0]     15.256870 s: APP: Syncing with 8 CPUs ... !!!
[MCU3_0]     15.537073 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU3_0]     15.537196 s: REMOTE_SERVICE: Init ... !!!
[MCU3_0]     15.538231 s: REMOTE_SERVICE: Init ... Done !!!
[MCU3_0]     15.538341 s:  VX_ZONE_INIT:Enabled
[MCU3_0]     15.538390 s:  VX_ZONE_ERROR:Enabled
[MCU3_0]     15.538419 s:  VX_ZONE_WARNING:Enabled
[MCU3_0]     15.540250 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MCU3-0
[MCU3_0]     15.540320 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[MCU3_0]     15.540361 s: APP: OpenVX Target kernel init ... !!!
[MCU3_0]     15.540391 s: APP: OpenVX Target kernel init ... Done !!!
[MCU3_0]     15.540418 s: APP: Init ... Done !!!
[MCU3_0]     15.540441 s: APP: Run ... !!!
[MCU3_0]     15.540461 s: IPC: Starting echo test ...
[MCU3_0]     15.540816 s: APP: Run ... Done !!!
[MCU3_0]     15.541753 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[s] mcu3_1[.] C66X_1[x] C66X_2[x] C7X_1[P]
[MCU3_0]     15.542079 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[s] mcu3_1[P] C66X_1[x] C66X_2[x] C7X_1[P]
[MCU3_0]     15.546226 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[s] mcu3_1[P] C66X_1[P] C66X_2[.] C7X_1[P]
[MCU3_0]     15.546506 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[s] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_0]     15.561729 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[P] mcu3_0[s] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_0]     15.562478 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[s] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_0]     15.599082 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[s] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_1]     15.439254 s: CIO: Init ... Done !!!
[MCU3_1]     15.439342 s: ### CPU Frequency = 1000000000 Hz
[MCU3_1]     15.439387 s: CPU is running FreeRTOS
[MCU3_1]     15.439413 s: APP: Init ... !!!
[MCU3_1]     15.439438 s: SCICLIENT: Init ... !!!
[MCU3_1]     15.439674 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[MCU3_1]     15.439718 s: SCICLIENT: DMSC FW revision 0xa
[MCU3_1]     15.439749 s: SCICLIENT: DMSC FW ABI revision 4.0
[MCU3_1]     15.439778 s: SCICLIENT: Init ... Done !!!
[MCU3_1]     15.439803 s: MEM: Init ... !!!
[MCU3_1]     15.439843 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ db800000 of size 8388608 bytes !!!
[MCU3_1]     15.439901 s: MEM: Init ... Done !!!
[MCU3_1]     15.439927 s: IPC: Init ... !!!
[MCU3_1]     15.439985 s: IPC: 9 CPUs participating in IPC !!!
[MCU3_1]     15.440048 s: IPC: Waiting for HLOS to be ready ... !!!
[MCU3_1]     15.440087 s: IPC: HLOS is ready !!!
[MCU3_1]     15.447083 s: IPC: Init ... Done !!!
[MCU3_1]     15.447170 s: APP: Syncing with 8 CPUs ... !!!
[MCU3_1]     15.537091 s: APP: Syncing with 8 CPUs ... Done !!!
[MCU3_1]     15.537214 s: REMOTE_SERVICE: Init ... !!!
[MCU3_1]     15.538260 s: REMOTE_SERVICE: Init ... Done !!!
[MCU3_1]     15.538378 s:  VX_ZONE_INIT:Enabled
[MCU3_1]     15.538419 s:  VX_ZONE_ERROR:Enabled
[MCU3_1]     15.538458 s:  VX_ZONE_WARNING:Enabled
[MCU3_1]     15.540276 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MCU3-1
[MCU3_1]     15.540343 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[MCU3_1]     15.540384 s: APP: OpenVX Target kernel init ... !!!
[MCU3_1]     15.540414 s: APP: OpenVX Target kernel init ... Done !!!
[MCU3_1]     15.540444 s: APP: Init ... Done !!!
[MCU3_1]     15.540468 s: APP: Run ... !!!
[MCU3_1]     15.540491 s: IPC: Starting echo test ...
[MCU3_1]     15.540837 s: APP: Run ... Done !!!
[MCU3_1]     15.541691 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[s] C66X_1[x] C66X_2[x] C7X_1[P]
[MCU3_1]     15.542087 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[s] C66X_1[x] C66X_2[x] C7X_1[P]
[MCU3_1]     15.546137 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[.] C7X_1[P]
[MCU3_1]     15.546495 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_1]     15.561750 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_1]     15.562496 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
[MCU3_1]     15.599101 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
[C6x_1 ]     14.925267 s: CIO: Init ... Done !!!
[C6x_1 ]     14.925296 s: ### CPU Frequency = 1350000000 Hz
[C6x_1 ]     14.925308 s: CPU is running FreeRTOS
[C6x_1 ]     14.925318 s: APP: Init ... !!!
[C6x_1 ]     14.925327 s: SCICLIENT: Init ... !!!
[C6x_1 ]     14.925533 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[C6x_1 ]     14.925548 s: SCICLIENT: DMSC FW revision 0xa
[C6x_1 ]     14.925559 s: SCICLIENT: DMSC FW ABI revision 4.0
[C6x_1 ]     14.925571 s: SCICLIENT: Init ... Done !!!
[C6x_1 ]     14.925582 s: UDMA: Init ... !!!
[C6x_1 ]     14.927462 s: UDMA: Init ... Done !!!
[C6x_1 ]     14.927486 s: MEM: Init ... !!!
[C6x_1 ]     14.927502 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ dc000000 of size 16777216 bytes !!!
[C6x_1 ]     14.927523 s: MEM: Init ... Done !!!
[C6x_1 ]     14.927533 s: IPC: Init ... !!!
[C6x_1 ]     14.927562 s: IPC: 9 CPUs participating in IPC !!!
[C6x_1 ]     14.927581 s: IPC: Waiting for HLOS to be ready ... !!!
[C6x_1 ]     14.927599 s: IPC: HLOS is ready !!!
[C6x_1 ]     14.933045 s: IPC: Init ... Done !!!
[C6x_1 ]     14.933078 s: APP: Syncing with 8 CPUs ... !!!
[C6x_1 ]     15.537073 s: APP: Syncing with 8 CPUs ... Done !!!
[C6x_1 ]     15.537093 s: REMOTE_SERVICE: Init ... !!!
[C6x_1 ]     15.537659 s: REMOTE_SERVICE: Init ... Done !!!
[C6x_1 ]     15.537803 s:  VX_ZONE_INIT:Enabled
[C6x_1 ]     15.537824 s:  VX_ZONE_ERROR:Enabled
[C6x_1 ]     15.537835 s:  VX_ZONE_WARNING:Enabled
[C6x_1 ]     15.539178 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[C6x_1 ]     15.539197 s: APP: OpenVX Target kernel init ... !!!
[C6x_1 ]     15.539678 s: APP: OpenVX Target kernel init ... Done !!!
[C6x_1 ]     15.539699 s: UDMA Copy: Init ... !!!
[C6x_1 ]     15.544406 s: UDMA Copy: Init ... Done !!!
[C6x_1 ]     15.544434 s: APP: Init ... Done !!!
[C6x_1 ]     15.544445 s: APP: Run ... !!!
[C6x_1 ]     15.544455 s: IPC: Starting echo test ...
[C6x_1 ]     15.545295 s: APP: Run ... Done !!!
[C6x_1 ]     15.546128 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[.] C66X_1[s] C66X_2[.] C7X_1[P]
[C6x_1 ]     15.546214 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[P] C66X_1[s] C66X_2[.] C7X_1[P]
[C6x_1 ]     15.546447 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
[C6x_1 ]     15.546505 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
[C6x_1 ]     15.561593 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
[C6x_1 ]     15.562418 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
[C6x_1 ]     15.598960 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
[C6x_2 ]     14.943198 s: CIO: Init ... Done !!!
[C6x_2 ]     14.943228 s: ### CPU Frequency = 1350000000 Hz
[C6x_2 ]     14.943241 s: CPU is running FreeRTOS
[C6x_2 ]     14.943251 s: APP: Init ... !!!
[C6x_2 ]     14.943261 s: SCICLIENT: Init ... !!!
[C6x_2 ]     14.943465 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[C6x_2 ]     14.943482 s: SCICLIENT: DMSC FW revision 0xa
[C6x_2 ]     14.943493 s: SCICLIENT: DMSC FW ABI revision 4.0
[C6x_2 ]     14.943504 s: SCICLIENT: Init ... Done !!!
[C6x_2 ]     14.943516 s: UDMA: Init ... !!!
[C6x_2 ]     14.945290 s: UDMA: Init ... Done !!!
[C6x_2 ]     14.945315 s: MEM: Init ... !!!
[C6x_2 ]     14.945332 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ e0000000 of size 16777216 bytes !!!
[C6x_2 ]     14.945354 s: MEM: Init ... Done !!!
[C6x_2 ]     14.945365 s: IPC: Init ... !!!
[C6x_2 ]     14.945395 s: IPC: 9 CPUs participating in IPC !!!
[C6x_2 ]     14.945413 s: IPC: Waiting for HLOS to be ready ... !!!
[C6x_2 ]     14.945431 s: IPC: HLOS is ready !!!
[C6x_2 ]     14.950819 s: IPC: Init ... Done !!!
[C6x_2 ]     14.950852 s: APP: Syncing with 8 CPUs ... !!!
[C6x_2 ]     15.537073 s: APP: Syncing with 8 CPUs ... Done !!!
[C6x_2 ]     15.537093 s: REMOTE_SERVICE: Init ... !!!
[C6x_2 ]     15.537662 s: REMOTE_SERVICE: Init ... Done !!!
[C6x_2 ]     15.537776 s:  VX_ZONE_INIT:Enabled
[C6x_2 ]     15.537831 s:  VX_ZONE_ERROR:Enabled
[C6x_2 ]     15.537844 s:  VX_ZONE_WARNING:Enabled
[C6x_2 ]     15.539182 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[C6x_2 ]     15.539201 s: APP: OpenVX Target kernel init ... !!!
[C6x_2 ]     15.539683 s: APP: OpenVX Target kernel init ... Done !!!
[C6x_2 ]     15.539704 s: UDMA Copy: Init ... !!!
[C6x_2 ]     15.544538 s: UDMA Copy: Init ... Done !!!
[C6x_2 ]     15.544568 s: APP: Init ... Done !!!
[C6x_2 ]     15.544579 s: APP: Run ... !!!
[C6x_2 ]     15.544589 s: IPC: Starting echo test ...
[C6x_2 ]     15.545514 s: APP: Run ... Done !!!
[C6x_2 ]     15.546319 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[.] C66X_1[.] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.546452 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[.] C66X_1[P] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.546504 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[.] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.546554 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.561654 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.562497 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
[C6x_2 ]     15.599002 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
[C7x_1 ]     15.532848 s: CIO: Init ... Done !!!
[C7x_1 ]     15.532865 s: ### CPU Frequency = 1000000000 Hz
[C7x_1 ]     15.532878 s: CPU is running FreeRTOS
[C7x_1 ]     15.532887 s: APP: Init ... !!!
[C7x_1 ]     15.532895 s: SCICLIENT: Init ... !!!
[C7x_1 ]     15.533102 s: SCICLIENT: DMSC FW version [10.0.8--v10.00.08 (Fiery Fox)]
[C7x_1 ]     15.533116 s: SCICLIENT: DMSC FW revision 0xa
[C7x_1 ]     15.533128 s: SCICLIENT: DMSC FW ABI revision 4.0
[C7x_1 ]     15.533139 s: SCICLIENT: Init ... Done !!!
[C7x_1 ]     15.533150 s: UDMA: Init ... !!!
[C7x_1 ]     15.534345 s: UDMA: Init ... Done !!!
[C7x_1 ]     15.534361 s: MEM: Init ... !!!
[C7x_1 ]     15.534373 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 117000000 of size 268435456 bytes !!!
[C7x_1 ]     15.534397 s: MEM: Init ... Done !!!
[C7x_1 ]     15.534407 s: IPC: Init ... !!!
[C7x_1 ]     15.534425 s: IPC: 9 CPUs participating in IPC !!!
[C7x_1 ]     15.534443 s: IPC: Waiting for HLOS to be ready ... !!!
[C7x_1 ]     15.534457 s: IPC: HLOS is ready !!!
[C7x_1 ]     15.537035 s: IPC: Init ... Done !!!
[C7x_1 ]     15.537053 s: APP: Syncing with 8 CPUs ... !!!
[C7x_1 ]     15.537071 s: APP: Syncing with 8 CPUs ... Done !!!
[C7x_1 ]     15.537083 s: REMOTE_SERVICE: Init ... !!!
[C7x_1 ]     15.537203 s: REMOTE_SERVICE: Init ... Done !!!
[C7x_1 ]     15.537225 s:  VX_ZONE_INIT:Enabled
[C7x_1 ]     15.537301 s:  VX_ZONE_ERROR:Enabled
[C7x_1 ]     15.537314 s:  VX_ZONE_WARNING:Enabled
[C7x_1 ]     15.537647 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1
[C7x_1 ]     15.537835 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_2
[C7x_1 ]     15.537966 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_3
[C7x_1 ]     15.538115 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_4
[C7x_1 ]     15.538214 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_5
[C7x_1 ]     15.538296 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_6
[C7x_1 ]     15.538376 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_7
[C7x_1 ]     15.538468 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target DSP_C7-1_PRI_8
[C7x_1 ]     15.538491 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
[C7x_1 ]     15.538506 s: APP: OpenVX Target kernel init ... !!!
[C7x_1 ]     15.538716 s: APP: OpenVX Target kernel init ... Done !!!
[C7x_1 ]     15.538737 s: APP: Init ... Done !!!
[C7x_1 ]     15.538748 s: APP: Run ... !!!
[C7x_1 ]     15.538757 s: IPC: Starting echo test ...
[C7x_1 ]     15.538964 s: APP: Run ... Done !!!
[C7x_1 ]     15.541718 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[.] C66X_1[x] C66X_2[x] C7X_1[s]
[C7x_1 ]     15.541905 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[P] C66X_1[x] C66X_2[x] C7X_1[s]
[C7x_1 ]     15.545909 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[.] C7X_1[s]
[C7x_1 ]     15.546125 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[s]
[C7x_1 ]     15.561677 s: IPC: Echo status: mpu1_0[x] mcu1_0[.] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[s]
[C7x_1 ]     15.562513 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[s]
[C7x_1 ]     15.599013 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[P] C7X_1[s]

regarding this line, just copy paste in file makefile_uboot.mak ? or Edit an existing line
I ignored it in last build!

Regarding this line, it is already in the makefile, I copied it here to emphasize its importance. So now, you have successfully run SDK10.0.

1 Like

Just a quick question - is it possible to host the final SD image somewhere, so people can just run it?

In fact, I have annotated the relative path of the file for each modification point, so you can easily find it by just installing the SDK. My purpose is not to share out-of-the-box images, but to share some experience with enthusiasts who have development needs. On the other hand, the image is too large, and hosting the image in the code repository is obviously not a good choice. As you can see in the topic, after installing the SDK, the two enthusiasts in the topic discussion have successfully run SDK10.0. Of course, this requires learning some basic skills that developers need to have, such as makefile, shell script and some basic Linux commands.

1 Like

Maybe it is feasible for me to provide a complete modified patch. Goon is busy with work recently. When I have some free time, I will recreate the theme to share the patch using SDK10.0.

2 Likes

Hello!

I would like to ask for some help!
I tried to follow your description, but unfortunately I got stuck when building the op-tee:

CPP     out/arm-plat-k3/ldelf/ldelf.lds
LD      out/arm-plat-k3/ldelf/ldelf.elf
/home/ptihanyi/ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-ld.bfd: cannot find libgcc.a: No such file or directory
make: *** [ldelf/link.mk:60: out/arm-plat-k3/ldelf/ldelf.elf] Error 1

Unfortunately, I am not at all experienced in the BeagleBone space. I have used RPi before (all versions except RPi5), BB-AI64 is my first SBC of this kind.
I am trying the build on Ubuntu 22.04.5 and I set up the environment with the following steps:

cd ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08/board-support/optee-os-4.2.0+git/

source ../../k3r5-devkit/environment-setup-armv7at2hf-vfp-oe-eabi

export SDK_INSTALL_DIR=/home/ptihanyi/ti-processor-sdk-linux-adas-j721e-evm-10_00_00_08
export CROSS_COMPILE_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-"
export SYSROOT_64="${SDK_INSTALL_DIR}/linux-devkit/sysroots/aarch64-oe-linux"
export CC_64="${CROSS_COMPILE_64}gcc --sysroot=${SYSROOT_64}"
export CROSS_COMPILE_32="${SDK_INSTALL_DIR}/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-"

I tried building it like this:

make CROSS_COMPILE="$CROSS_COMPILE_32" CROSS_COMPILE64="$CROSS_COMPILE_64" CFG_CONSOLE_UART=0x0 PLATFORM=k3-j721e CFG_ARM64_core=y

Where did I go wrong? Thanks in advance for your help!