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: bitbake devshell command failing

Part Number: SK-AM62A-LP

Hi,

Im trying to make the changes to the DTS file and want to use the devshell to modify and make the dtb.
I ran the following command

bitbake -c devshell virtual/kernel

(referene link: learning.oreilly.com/.../6bfad1cc-252c-49c7-8142-f3d87aeed718.xhtml)

$ bitbake -c devshell virtual/kernel
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/ubuntu/tisdk/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 1067776 at 2023-08-03 11:47:49.565026 ---
ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -v' failed: command not found
ERROR: Failed to obtain external Arm toolchain version: Execution of '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -v' failed: command not found
ERROR: Error: EXTERNAL_TOOLCHAIN path '/opt/gcc-arm-9.2-ti2020.01-armv5-x86_64-arm-none-linux-gnueabi' does not exist

In the yocto build instructions provided in the documentation of the YOCTO build, they instructed us to wget a compiler and extract it in the HOME directory.

After exporting the variables to the environment the bitbake command used for generating the image build works fine. However the issue starts once we use the devshell command with it.

(reference link: https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/08_06_00_45/exports/docs/linux/Overview_Building_the_SDK.html)

please guide us further.

  • It looks like you are missing the MACHINE setting which is always required when using bitbake, and the result is bitbake is looking for some default/generic toolchain that's not available. Can you please try this and report back:

    # enter the bitbake devshell so we can explore and work on the TI Kernel
    MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging

    (I've used this before, but it should also work with virtual/kernel)

    Regards., Andreas

  • Hi Andreas,

    Thanks for your reply.

    I ran the make dtbs command in the root directory after running MACHINE=am62axx-evm bitbake -c devshell linux-ti-staging. But there are getting errors. Please use the information below as a guide.

    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source# make dtbs
    make[1]: Entering directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
      HOSTCC  scripts/basic/fixdep
    Error: kernelrelease not valid - run 'make prepare' to update it
      UPD     include/config/kernel.release
    make[1]: Leaving directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source# make prepare
    make[1]: Entering directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
    ***
    *** The source tree is not clean, please run 'make mrproper'
    *** in /home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source
    ***
    make[1]: *** [/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source/Makefile:551: outputmakefile] Error 1
    make[1]: Leaving directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source# make mrproper
    make[1]: Entering directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
      CLEAN   scripts/basic
      CLEAN   include/config
    make[1]: Leaving directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source# make dtbs
    make[1]: Entering directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
      HOSTCC  scripts/basic/fixdep
    Error: kernelrelease not valid - run 'make prepare' to update it
      UPD     include/config/kernel.release
    make[1]: Leaving directory '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/build'
    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work-shared/am62axx-evm/kernel-source#

    Please let me know what am missing.

    Regards.   Manoj

  • You might be missing the "configure" step before entering the devshell. Which instructions do you follow?

    Anyways in another E2E post/reply I documented a more complete set of steps, please review, this should help getting you going:
    https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1189005/defconfig-file-not-found-in-8-2-0-24/4483010#4483010

    Regards, Andreas

  • Hi Andreas,

    I did as you advised and took the actions listed below. However, there is no build file for menuconfig to perform this, so when MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging is executed, it is diverted to the path provided below.

    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/git# ls -l
    total 0
    root@MYTSW00043:~/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/git#

    # Clean TI Kernel build target
    MACHINE=am62xx-evm bitbake -c clean linux-ti-staging

    # Perform the bitbake 'configure' step on the TI Kernel build target to establish a baseline
    # Kernel configuration that can then be used for further customization. Note that this triggers
    # the default defconfig_builder.sh (a TI tool) based process to generate a Kernel config.
    MACHINE=am62xx-evm bitbake -c configure linux-ti-staging

    # Now enter the bitbake devshell so we can explore and work on the TI Kernel
    MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging

    # Open the Kernel menuconfig tool. There, look for the CONFIG_LOCALVERSION setting and populate
    # it with a custom test string of "defconfig-test". Then, exit the tool.
    make menuconfig

    # Verify the changes to the Kernel config that were made
    diff $KBUILD_OUTPUT/.config.old $KBUILD_OUTPUT/.config
    24c24
    < CONFIG_LOCALVERSION=""
    ---
    > CONFIG_LOCALVERSION="defconfig-test"

    # Create a new 'defconfig' file based off the current Kernel config
    make savedefconfig

    # Verify that a new 'defconfig' file was created in the Kernel build output directory
    ll $KBUILD_OUTPUT

    # Copy newly created 'defconfig' into the TI Kernel recipe folder that is part of the meta-ti layer,
    # overwriting the existing 'defconfig' file which is nornally used to trigger defconfig_builder.sh mechanism.
    cp $KBUILD_OUTPUT/defconfig ~/tisdk/am62xx-evm/sources/meta-ti/recipes-kernel/linux/linux-ti-staging-5.10/k3

    # Close the bitbake devshell
    exit

    # Clean TI Kernel build target once more so we can witness the build environment to be
    # setup on our new custom defconfig part of the TI Kernel recipe in the next step
    MACHINE=am62xx-evm bitbake -c clean linux-ti-staging

    # Build the TI Kernel from scratch
    MACHINE=am62xx-evm bitbake linux-ti-staging

    So, could you please confirm that the methods I followed were correct?

    Thanks, Manoj.

  • Hi Andreas,

    In addition, I'd like to know why I'm now getting the issue below after performing the configuration setup again and running MACHINE=am62axx-evm bitbake -k tisdk-base-image.

    Please guide me further to resolve.

    ~/tisdk/build$ MACHINE=am62axx-evm bitbake -k tisdk-base-image
    NOTE: Started PRServer with DBfile: /home/ubuntu/tisdk/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 46377, PID: 1670083
    Loading cache: 100% |####################################################| Time: 0:00:03
    Loaded 17408 entries from dependency cache.
    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
    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:
    BB_VERSION           = "1.46.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-20.04"
    TARGET_SYS           = "aarch64-linux"
    MACHINE              = "am62axx-evm"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2021.09"
    TUNE_FEATURES        = "aarch64"
    TARGET_FPU           = ""
    meta-processor-sdk   = "HEAD:fab130c5c3c2fb43c432d294c9783e92a4b67401"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:e4fcc247b2fadc457efaff8edabdf12a6b4fa4d1"
    meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
    meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:87571345059f82fb7599e3aa82e6fdcfbd361098"
    meta-ti              = "HEAD:45bdaf7da0bc79fa73f1e01bb30b5c3b2eb34545"
    meta-arm             
    meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
    meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
    meta-sysrepo         = "HEAD:8bcc6151897c0e67c2931c78340477bf3a12d8cb"
    meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"


    Build Configuration:
    BB_VERSION           = "1.46.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-20.04"
    TARGET_SYS           = "arm-linux-gnueabi"
    MACHINE              = "am62axx-evm-k3r5-hs-fs"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2021.09"
    TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
    TARGET_FPU           = "hard"
    meta-processor-sdk   = "HEAD:fab130c5c3c2fb43c432d294c9783e92a4b67401"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:e4fcc247b2fadc457efaff8edabdf12a6b4fa4d1"
    meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
    meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:87571345059f82fb7599e3aa82e6fdcfbd361098"
    meta-ti              = "HEAD:45bdaf7da0bc79fa73f1e01bb30b5c3b2eb34545"
    meta-arm             
    meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
    meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
    meta-sysrepo         = "HEAD:8bcc6151897c0e67c2931c78340477bf3a12d8cb"
    meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"


    Build Configuration:
    BB_VERSION           = "1.46.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-20.04"
    TARGET_SYS           = "arm-linux-gnueabi"
    MACHINE              = "am62axx-evm-k3r5-gp"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2021.09"
    TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
    TARGET_FPU           = "hard"
    meta-processor-sdk   = "HEAD:fab130c5c3c2fb43c432d294c9783e92a4b67401"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:e4fcc247b2fadc457efaff8edabdf12a6b4fa4d1"
    meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
    meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:87571345059f82fb7599e3aa82e6fdcfbd361098"
    meta-ti              = "HEAD:45bdaf7da0bc79fa73f1e01bb30b5c3b2eb34545"
    meta-arm             
    meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
    meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
    meta-sysrepo         = "HEAD:8bcc6151897c0e67c2931c78340477bf3a12d8cb"
    meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"


    Build Configuration:
    BB_VERSION           = "1.46.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "ubuntu-20.04"
    TARGET_SYS           = "arm-linux-gnueabi"
    MACHINE              = "am62axx-evm-k3r5-hs-se"
    DISTRO               = "arago"
    DISTRO_VERSION       = "2021.09"
    TUNE_FEATURES        = "arm armv7a vfp thumb callconvention-hard"
    TARGET_FPU           = "hard"
    meta-processor-sdk   = "HEAD:fab130c5c3c2fb43c432d294c9783e92a4b67401"
    meta-arago-distro    
    meta-arago-extras    = "HEAD:e4fcc247b2fadc457efaff8edabdf12a6b4fa4d1"
    meta-qt5             = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
    meta-virtualization  = "HEAD:beea119eb529b4a11f266004aee8b548427aea39"
    meta-networking      
    meta-python          
    meta-oe              
    meta-gnome           
    meta-filesystems     
    meta-multimedia      = "HEAD:87571345059f82fb7599e3aa82e6fdcfbd361098"
    meta-ti              = "HEAD:45bdaf7da0bc79fa73f1e01bb30b5c3b2eb34545"
    meta-arm             
    meta-arm-toolchain   = "HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63"
    meta                 = "HEAD:daaee6fcb0d201f041678af433d8e1cd6f924d09"
    meta-sysrepo         = "HEAD:8bcc6151897c0e67c2931c78340477bf3a12d8cb"
    meta-jupyter         = "HEAD:82db248e2eca36e52cbeafe599b755dc87720383"

    WARNING: /home/ubuntu/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_deploy is tainted from a forced run
    Initialising tasks: 100% |###############################################| Time: 0:00:15
    Sstate summary: Wanted 3 Found 1 Missed 2 Current 1713 (33% match, 99% complete)
    NOTE: Executing Tasks


    ERROR: linux-ti-staging-5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5 do_deploy: Execution of '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/temp/run.do_deploy.1670603' failed with exit code 1
    ERROR: Logfile of failure stored in: /home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/temp/log.do_deploy.1670603

    Log data follows:
    | DEBUG: Executing python function sstate_task_prefunc
    | DEBUG: Python function sstate_task_prefunc finished
    | DEBUG: Executing python function package_get_auto_pr
    | DEBUG: Python function package_get_auto_pr finished
    | DEBUG: Executing python function extend_recipe_sysroot
    | NOTE: Direct dependencies are ['virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot', '/home/ubuntu/tisdk/sources/oe-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/home/ubuntu/tisdk/sources/meta-arm/meta-arm-toolchain/recipes-devtools/external-arm-toolchain/external-arm-toolchain.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/ubuntu/tisdk/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_populate_sysroot', '/home/ubuntu/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_populate_sysroot', '/home/ubuntu/tisdk/sources/oe-core/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-support/gmp/gmp_6.2.0.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-support/libmpc/libmpc_1.1.0.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/tisdk/sources/oe-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot']
    | NOTE: Installed into sysroot: []
    | NOTE: Skipping as already exists in sysroot: ['dtc-native', 'depmodwrapper-cross', 'bison-native', 'patch-native', 'external-arm-toolchain', 'pseudo-native', 'quilt-native', 'u-boot-tools-native', 'linux-ti-staging', 'kmod-native', 'gmp-native', 'lzop-native', 'libmpc-native', 'xz-native', 'bc-native', 'python3-setuptools-native', 'swig-native', 'openssl-native', 'ti-rtos-firmware', 'unzip-native', 'kern-tools-native', 'optee-os', 'flex-native', 'python3-native', 'trusted-firmware-a', 'libtool-native', 'gnu-config-native', 'pkgconfig-native', 'zlib-native', 'autoconf-native', 'automake-native', 'gtk-doc-native', 'texinfo-dummy-native', 'mpfr-native', 'readline-native', 'gettext-minimal-native', 'attr-native', 'lzo-native', 'libpcre-native', 'opkg-utils', 'm4-native', 'libtirpc-native', 'sqlite3-native', 'libnsl2-native', 'libffi-native', 'gdbm-native', 'util-linux-native', 'bzip2-native', 'ncurses-native', 'libcap-ng-native', 'libpcre2-native']
    | DEBUG: Python function extend_recipe_sysroot finished
    | DEBUG: Executing shell function do_deploy
    | install: cannot stat 'arch/arm64/boot/Image': No such file or directory
    | WARNING: exit code 1 from a shell command.
    | ERROR: Execution of '/home/ubuntu/tisdk/build/arago-tmp-external-arm-glibc/work/am62axx_evm-linux/linux-ti-staging/5.10.168+gitAUTOINC+2c23e6c538-r0b.arago5/temp/run.do_deploy.1670603' failed with exit code 1
    ERROR: Task (/home/ubuntu/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_deploy) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 5864 tasks of which 5863 didn't need to be rerun and 1 failed.
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 5 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 5 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 5 seconds
    NOTE: Writing buildhistory
    NOTE: Writing buildhistory took: 5 seconds

    Summary: 1 task failed:
      /home/ubuntu/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.10.bb:do_deploy
    Summary: There was 1 WARNING message shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

    Thanks, Manoj.

  • | install: cannot stat 'arch/arm64/boot/Image': No such file or directory

    This suggests the Kernel wasn't built for some reason.

    # Build the TI Kernel from scratch
    MACHINE=am62xx-evm bitbake linux-ti-staging

    Did you try the exact sequence, including this ^^ step? Did this sequence/build work for you?

    Regards, Andreas

  • Hi Andreas,

    I'm going to list every step I took in the past here. And kindly inform me if the steps I took were correct or not.

    The next procedures are for creating the base image.

    Reference link: (https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/08_06_00_45/exports/docs/linux/Overview_Building_the_SDK.html)

    git clone git.ti.com/.../oe-layersetup.git tisdk

    cd tisdk
    /oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-08.06.00-config.txt
    cd build
    . conf/setenv
    export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
    export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
    git clone git.ti.com/.../core-secdev-k3.git -b master
    export TI_SECURE_DEV_PKG_K3=`pwd`/core-secdev-k3
    MACHINE=am62axx-evm bitbake -k tisdk-base-image

    So after using these above setps am able to build the image file.

    And now i want to modify the configurations in device tree source file. So for that i had used the steps mentioned below. And i got error when
    executing bitbake -c devshell virtual/kernel. That was only i posted earlier.


    And now,
    The steps below as you mentioned used after the image file generation.

    MACHINE=am62xx-evm bitbake linux-ti-staging
    MACHINE=am62xx-evm bitbake -c clean linux-ti-staging
    MACHINE=am62xx-evm bitbake -c configure linux-ti-staging
    MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging

    Here after execution MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging
    its opening the xterm and as there is no make file for configuration.

    Please guide me further.

    Thanks, Manoj.

  • Hi Manoj,

    Here after execution MACHINE=am62xx-evm bitbake -c devshell linux-ti-staging
    its opening the xterm and as there is no make file for configuration.

    The 'configure' step done earlier should have populated a .config file at the root of the Kernel source directory. Do you see this file? If it is there you should be then able to issue a 'make menuconfig' command to configure the Kernel in a cross-compiler fashion.

    I will be traveling the rest of the week, will try to find some time for this early next week if you haven't been able to figure it out yet.

    Regards, Andreas