Hi
I tried scidev test in FAQ. (https://e2e.ti.com/support/processors-group/processors/f/processors-forum/947437/faq-ccs-tda4vm-how-to-use-spi-spi_dev-on-tda4-j721e)
But I can't find any scidev class in /sys/class
root@j7-evm:~# ls -l /sys/class/spi* total 0 lrwxrwxrwx 1 root root 0 Apr 10 00:05 spi6 -> ../../devices/platform/bus@100000/2160000.spi/spi_master/spi6 lrwxrwxrwx 1 root root 0 Apr 10 00:05 spi7 -> ../../devices/platform/bus@100000/bus@100000:bus@28380000/47000000.fss/47040000.spi/spi_master/spi7 lrwxrwxrwx 1 root root 0 Apr 10 00:05 spi8 -> ../../devices/platform/bus@100000/bus@100000:bus@28380000/47000000.fss/47050000.spi/spi_master/spi8 root@j7-evm:~#
I applied the patch in the above link and enable CONFIG_SPI_SPIDEV=y explicitly in arch/arm64/configs/tisdk_j7-evm_defconfig.
I did 'make linux' then 'make linux_install'.
As you know, all the dtbo and Image files are archived into one directory('targetNFS') using setup.sh.
Archivied files are below.
yongsig-vb@yongsigvb-VirtualBox:~/build_server/workspace/TDA4x/psdkla_7.3/targetNFS/boot$ ll total 79368 drwxr-xr-x 1 1012 1012 4096 2월 11 18:17 ./ drwxr-xr-x 1 1012 1012 4096 4월 10 2021 ../ -rwxr-xr-x 1 1012 1012 16799752 2월 11 18:17 Image* -rw-r--r-- 1 1012 1012 16799752 4월 10 2021 Image-5.4.106-g023faefa70 -rw-r--r-- 1 1012 1012 98414 2월 11 18:17 k3-j721e-common-proc-board.dtb -rw-r--r-- 1 1012 1012 8948 2월 11 18:17 k3-j721e-common-proc-board-infotainment.dtbo -rw-r--r-- 1 1012 1012 1160 2월 11 18:17 k3-j721e-common-proc-board-jailhouse.dtbo -rw-r--r-- 1 1012 1012 9862 4월 10 2021 k3-j721e-edgeai-apps.dtbo -rw-r--r-- 1 1012 1012 1025 2월 11 18:17 k3-j721e-pcie-backplane.dtbo -rw-r--r-- 1 1012 1012 99287 2월 11 18:17 k3-j721e-proc-board-tps65917.dtb -rw-r--r-- 1 1012 1012 10978 2월 11 18:17 k3-j721e-vision-apps.dtbo -rwxr-xr-x 1 1012 1012 3256273 2월 11 18:17 System.map* -rw-r--r-- 1 1012 1012 6874624 4월 10 2021 tisdk-tiny-image-j7-evm.cpio -rwxr-xr-x 1 1012 1012 21023344 2월 11 18:17 vmlinux* -rw-r--r-- 1 1012 1012 8123393 4월 10 2021 vmlinux.gz -rw-r--r-- 1 1012 1012 8123393 4월 10 2021 vmlinux.gz-5.4.106-g023faefa70
After that I copied those files to sdcard/rootfs/boot/
$ sudo cp -rf targetNFS/boot/* /media/yongsig/rootfs/boot/
Please Let me know there is something I missed.
Best regards
Yongsig