Hi Champs:
I follow those steps to create the TDA4 Booting SD card as the following:
#Run below script to partition SD, answer "y" to all questions
cd ${PSDKRA_PATH}
cd psdk_rtos_auto/scripts
./mk-linux-card.sh /dev/sdb
sync
sync
sync
#Unplug SD then plug SD, two partitions (BOOT and rootfs) should appear
#Copy/untar filesystem and boot files to SD card by executing the script as shown below
cd ${PSDKRA_PATH}
./psdk_rtos_auto/scripts/install_to_sd_card.sh <--- must run this command under ${PSDKRA_PATH} directorysusy
#copy psdk_rtos_auto_ti_data_set_06_00_01_00.tar.gz to your home directory. (psdk_rtos_auto_ti_data_set_06_00_01_00.tar.gz is included in PSDKRA)
cd /media/root/rootfs/ <--- root is your username
mkdir -p opt/vision_apps
cd opt/vision_apps
tar -xvf ~/psdk_rtos_auto_ti_data_set_06_00_01_00.tar.gz (ps: don't use the tar -xvzf, see here:www.linuxquestions.org/.../)
Rio: commmand usage: tar -xf file_name.tar.gz --directory /target/directory
==>tar -xvf psdk_rtos_auto_ti_data_set_06_00_01_00.tar.gz --directory /media/root/rootfs/opt/vision_apps/
In the red word steps, I found my SD card will have this kind of contain:
user@ubuntu-vm:/opt/psdk_rtos_auto_j7_06_00_01_00/psdk_rtos_auto/scripts$ ls /media/ -al
total 16
drwxr-xr-x 4 root root 4096 Sep 11 2019 .
drwxr-xr-x 26 root root 4096 Apr 22 18:25 ..
drwxr-x---+ 3 root root 4096 Apr 21 15:10 root
drwxr-x---+ 4 root root 4096 Apr 24 11:37 user
The BOOT/rootfs should be the 1st directory depth, but I found they are in the "user" folder like this.
user@ubuntu-vm:/opt/psdk_rtos_auto_j7_06_00_01_00/psdk_rtos_auto/scripts$ ls /media/user -al
total 13
drwxr-x---+ 4 root root 4096 Apr 24 11:37 .
drwxr-xr-x 4 root root 4096 Sep 11 2019 ..
drwxr-xr-x 2 user user 512 Jan 1 1970 BOOT
drwxr-xr-x 3 root root 4096 Apr 24 11:35 rootfs
This result will cause this steps to fail: /psdk_rtos_auto/scripts/install_to_sd_card.sh
How to solve it?
BR Rio