This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA2E
Tool/software: TI C/C++ Compiler
Can I know all the steps to enable the early-boot late attach use-case in vision SDK Linux?
The below steps are validated with the tda2xx platform for vision SDK 3.7 & we used ubuntu 14.04 host machine for a build
Refer the vision_sdk/docs/Linux/VisionSDK_Linux_UserGuide.pdf (Chapter 3.4: Build Linux Vision SDK for fast boot (Early boot and late attach of remote cores) ) or follow the below below steps to enable early-boot use-case.
/* Download the SDK */
chmod +x PROCESSOR_SDK_VISION_03_07_00_00_setuplinux.bin
/* Recommending to install the SDK in the home directory [ /~ ] */
# The supported config is tda2xx_evm_linux_all, tda2px_evm_linux_all, tda2ex_evm_linux_all, etc
Add the below changes in vision_sdk/apps/configs/$MAKECONFIG/cfg.mk file
sudo apt-get install -y ssh corkscrew gawk sed u-boot-tools dos2unix dtrx git lib32z1 lib32ncurses5 lib32bz2-1.0 libc6-i386 libc6:i386 libstdc++6:i386 libncurses5:i386 libz1:i386 libc6-dev-i386 device-tree-compiler mono-complete lzop
tar -xvf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
chmod 777 ../targetfs/
wget https://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/03_07_00_00//exports/tisdk-rootfs-image-dra7xx-evm_vsdk_3_7.tar.xz --no-check-certificate
tar xf tisdk-rootfs-image-dra7xx-evm_vsdk_3_7.tar.xz
/* The below one command is needed only for the VSDK 3.7 SDK to reset the Git commit */
git reset --hard 9e4a96e876ff8cfffe8694f38f27635dfbc18f3f
git am ../linux-kernel-addon/earlyboot-kernel-patches/*
/* Here the Early use-case is defined */
make -s -j depend
make -s -j
tar cvf tisdk-rootfs-image-dra7xx-evm.tar.xz ./*
mv tisdk-rootfs-image-dra7xx-evm.tar.xz ~/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/binaries/apps/tda2xx_evm_linux_all/hlos/linux/boot/
sudo ./hlos/scripts/linux/mksdboot.sh --device /dev/<parent_device_name> --appname <MAKEAPPNAME> --makeconfig <MAKECONFIG>
# ex: sudo ./hlos/scripts/linux/mksdboot.sh --device /dev/sdc --appname apps --makeconfig tda2xx_evm_linux_all
./hlos/scripts/linux/early-boot-update.sh <makeconfig> <path to target FS> <path to boot-partition>
# Ex: ./hlos/scripts/linux/early-boot-update.sh tda2xx_evm_linux_all ~/PROCESSOR_SDK_VISION_03_07_00_00/ti_components/os_tools/linux/targetfs /media/gaviraju/boot
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.84+ (x1046101local@udx1046101) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Thu Jul 16 18:33:30 IST 2020
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA742
[ 0.000000] bootconsole [earlycon0] enabled
[HOST] [IPU2 ] 1.576459 s: DISPLAY: Create in progress !!!
[HOST] [IPU2 ] 1.577099 s: DISPLAY: Create Done !!!
[HOST] [IPU2 ] 1.675983 s: DISPLAY: Start in progress !!!
[HOST] [IPU2 ] 1.676075 s: DISPLAY: Start Done !!!
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.