Part Number: SK-AM62
Hello,
This post is related to the following two posts:
Below is the method used to build a custom Arago Linux Kernel:
export PATH=/home/username/ti/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH cd /home/username/ti/board-support/linux-5.10.153+gitAUTOINC+3eee621d16-g3eee621d16 make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- mrproper make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- tisdk_am62xx-evm_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- menuconfig make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- Image make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- ti/k3-am625-sk.dtb cd /home/username/ti/board-support/linux-5.10.153+gitAUTOINC+3eee621d16-g3eee621d16 sudo cp arch/arm64/boot/Image /media/username/rootfs/boot sudo cp arch/arm64/boot/dts/ti/k3-am625-sk.dtb /media/username/rootfs/boot sudo make ARCH=arm64 INSTALL_MOD_PATH=/media/username/rootfs modules_install
The custom kernel boots up without issue but when attempting to run/debug the freertos and nortos simple Hello World example on the BLAZAR_Cortex_M4F_1 the following error is received:
BLAZAR_Cortex_M4F_1: Error connecting to the target: (Error -1274 @ 0x0) Error encountered during connect sequence. The specific reason is unknown but may be the result of trying to access a Core or logic that is inaccessible due to a lack of Power, Clocks, or Authentication (i.e. Security is preventing). If blocked by security, and if supported, access may be allowed after following the Authentication process. (Emulation package 9.10.0.00080)
I suspect the issue could be related to some symbolic links on the target in /lib/firmware that are not populated like they are in the Ti provided Linux "default-image".
root@am62xx-evm:~# cd /lib/firmware/ root@am62xx-evm:/lib/firmware# ls -al total 46724 drwxr-xr-x 7 root root 4096 Jun 17 2022 . drwxr-xr-x 10 root root 4096 May 17 13:31 .. -rw-r--r-- 1 root root 2040 May 17 11:52 LICENCE.ibt_firmware -rw-r--r-- 1 root root 2046 May 17 11:52 LICENCE.iwlwifi_firmware lrwxrwxrwx 1 root root 63 May 17 13:32 am62-main-r5f0_0-fw -> /lib/firmware/pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f lrwxrwxrwx 1 root root 72 Jun 17 2022 am62-mcu-m4f0_0-fw -> /lib/firmware/pdk-ipc/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f lrwxrwxrwx 1 root root 47 May 17 13:32 am62x-pru0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out lrwxrwxrwx 1 root root 47 May 17 13:32 am62x-pru1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out
On my SK-AM62 target the /lib/firmware/ directory is not populated.
Are the symbolic links in /lib/firmware/ auto generated during the Linux build process or did someone at Ti manually add them?
In other words how are those links created?
Kindly,
Graham