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.

SK-AM62A-LP: wic image not found on SDK 9.1 rebuild

Part Number: SK-AM62A-LP

Tool/software:

Hi Expert,


I rebuilded 9.1 using the build commands after a change in line no 132: DEFAULT_MAIN_TITLE of build/arago-tmp-default-glibc/work/aarch64-oe-linux/edgeai-gst-plugins/AUTOINC+92557180c3-r0_edgeai_0/packages-split/edgeai-gst-plugins-src/edgeai-app-stack/edgeai-gst-plugins/ext/ti/gsttiperfoverlay.cpp

Below code contains the build history from terminal.  

tisdk@c3fa9928bb52:~/tisdk/build$ MACHINE=am62axx-evm bitbake -k tisdk-edgeai-image
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Started PRServer with DBfile: /home/tisdk/tisdk/build/cache/prserv.sqlite3, Address: 127.0.0.1:42311, PID: 20342
Loading cache: 100% |##################################################################################################################################################################| Time: 0:00:01
Loaded 9392 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################| Time: 0:00:49
Parsing of 6322 .bb files complete (3466 cached, 2856 parsed). 9396 targets, 633 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration (mc:default):
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-22.04"
TARGET_SYS           = "aarch64-oe-linux"
MACHINE              = "am62axx-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2023.10"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-arago-distro    
meta-arago-extras    
meta-arago-demos     
meta-arago-test      = "HEAD:190e2b58fb6c1e3c658fe2f7afc40a2863007bbc"
meta-qt5             = "HEAD:ae8a97f79364bed1abc297636f7933d0e35f22be"
meta-virtualization  = "HEAD:67b0ef4256a484851f3556d281ca4caa88374388"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-ti-extras       
meta-ti-bsp          = "HEAD:6ad91a192fa1ab33775a22894a413aefd0b67106"
meta-arm             
meta-arm-toolchain   = "HEAD:b187fb9232ca0a6b5f8f90b4715958546fc41d73"
meta                 = "HEAD:b77cd331199fa62e3b162f37efca3b927c68d8e5"
meta-tisdk           = "HEAD:d0a92bc0a53276a3faad16ed52084451f4d1b3bf"
meta-edgeai          = "HEAD:fa42c52098a72461921dd3fb848ff1271bdb7425"


Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-22.04"
TARGET_SYS           = "arm-oe-eabi"
MACHINE              = "am62axx-evm-k3r5"
DISTRO               = "arago"
DISTRO_VERSION       = "2023.10"
TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro    
meta-arago-extras    
meta-arago-demos     
meta-arago-test      = "HEAD:190e2b58fb6c1e3c658fe2f7afc40a2863007bbc"
meta-qt5             = "HEAD:ae8a97f79364bed1abc297636f7933d0e35f22be"
meta-virtualization  = "HEAD:67b0ef4256a484851f3556d281ca4caa88374388"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-ti-extras       
meta-ti-bsp          = "HEAD:6ad91a192fa1ab33775a22894a413aefd0b67106"
meta-arm             
meta-arm-toolchain   = "HEAD:b187fb9232ca0a6b5f8f90b4715958546fc41d73"
meta                 = "HEAD:b77cd331199fa62e3b162f37efca3b927c68d8e5"
meta-tisdk           = "HEAD:d0a92bc0a53276a3faad16ed52084451f4d1b3bf"
meta-edgeai          = "HEAD:fa42c52098a72461921dd3fb848ff1271bdb7425"

Initialising tasks: 100% |#############################################################################################################################################################| Time: 0:00:07
Sstate summary: Wanted 103 Local 103 Mirrors 0 Missed 0 Current 4438 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 11481 tasks of which 11481 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 7 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
tisdk@c3fa9928bb52:~/tisdk/build$ MACHINE=am62axx-evm bitbake -k tisdk-edgeai-image
NOTE: Started PRServer with DBfile: /home/tisdk/tisdk/build/cache/prserv.sqlite3, Address: 127.0.0.1:38539, PID: 20948
Loading cache: 100% |##################################################################################################################################################################| Time: 0:00:01
Loaded 9392 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################| Time: 0:00:01
Parsing of 6322 .bb files complete (6318 cached, 4 parsed). 9396 targets, 633 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration (mc:default):
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-22.04"
TARGET_SYS           = "aarch64-oe-linux"
MACHINE              = "am62axx-evm"
DISTRO               = "arago"
DISTRO_VERSION       = "2023.10"
TUNE_FEATURES        = "aarch64"
TARGET_FPU           = ""
meta-arago-distro    
meta-arago-extras    
meta-arago-demos     
meta-arago-test      = "HEAD:190e2b58fb6c1e3c658fe2f7afc40a2863007bbc"
meta-qt5             = "HEAD:ae8a97f79364bed1abc297636f7933d0e35f22be"
meta-virtualization  = "HEAD:67b0ef4256a484851f3556d281ca4caa88374388"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-ti-extras       
meta-ti-bsp          = "HEAD:6ad91a192fa1ab33775a22894a413aefd0b67106"
meta-arm             
meta-arm-toolchain   = "HEAD:b187fb9232ca0a6b5f8f90b4715958546fc41d73"
meta                 = "HEAD:b77cd331199fa62e3b162f37efca3b927c68d8e5"
meta-tisdk           = "HEAD:d0a92bc0a53276a3faad16ed52084451f4d1b3bf"
meta-edgeai          = "HEAD:fa42c52098a72461921dd3fb848ff1271bdb7425"


Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-22.04"
TARGET_SYS           = "arm-oe-eabi"
MACHINE              = "am62axx-evm-k3r5"
DISTRO               = "arago"
DISTRO_VERSION       = "2023.10"
TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro    
meta-arago-extras    
meta-arago-demos     
meta-arago-test      = "HEAD:190e2b58fb6c1e3c658fe2f7afc40a2863007bbc"
meta-qt5             = "HEAD:ae8a97f79364bed1abc297636f7933d0e35f22be"
meta-virtualization  = "HEAD:67b0ef4256a484851f3556d281ca4caa88374388"
meta-networking      
meta-python          
meta-oe              
meta-gnome           
meta-filesystems     = "HEAD:402affcc073db39f782c1ebfd718edd5f11eed4c"
meta-ti-extras       
meta-ti-bsp          = "HEAD:6ad91a192fa1ab33775a22894a413aefd0b67106"
meta-arm             
meta-arm-toolchain   = "HEAD:b187fb9232ca0a6b5f8f90b4715958546fc41d73"
meta                 = "HEAD:b77cd331199fa62e3b162f37efca3b927c68d8e5"
meta-tisdk           = "HEAD:d0a92bc0a53276a3faad16ed52084451f4d1b3bf"
meta-edgeai          = "HEAD:fa42c52098a72461921dd3fb848ff1271bdb7425"

Initialising tasks: 100% |#############################################################################################################################################################| Time: 0:00:08
Sstate summary: Wanted 103 Local 103 Mirrors 0 Missed 0 Current 4438 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 11481 tasks of which 11481 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

deploy-ti/images directory contains 2 sub directories that has names am62axx-evm and am62xx-evm (created on rebuild but not containing wic image, directory size is 103 MB only). Previous days wic image is taken from am62axx-evm but it is not modifed and time stamp in folder name is old one.

How can I find new image.
Tried to find wic image but only old image exist in the tisdk

find -name "*.wic*"


Thanks in advance.

Regards,
Sajan

  • How can I find new image.
    Tried to find wic image but only old image exist in the tisdk

    If you modify the Yocto build/ tree directly the build system will not always automatically pick up changes you make. Instead, you may need to invalidate certain build steps and trigger a rebuild, something like this:

    # Force the specified task and all dependent tasks up to the default task to re-run
    $ MACHINE=am62axx-evm bitbake -C compile edgeai-gst-plugins
    
    # Re-build final image
    $ MACHINE=am62axx-evm bitbake -k tisdk-edgeai-image

    However often a more elegant/better approach for modifying existing recipes is for example by using Yocto's devtool approach. You can info more info here (just a starting point, there are many more resources on this that can be found through a quick Internet search)

    https://docs.yoctoproject.org/4.0.25/ref-manual/devtool-reference.html

    am62xx-evm (created on rebuild but not containing wic image, directory size is 103 MB only).

    This folder probably exists because of a previous build attempt that has used MACHINE=am62xx-evm, intentionally or not. Anyways it's not related to your main concern in this post here.

    Regards, Andreas