Part Number: PROCESSOR-SDK-AM335X
Tool/software:
I am getting an error while compiling 5.10 kernel using yocto. Below are the details.
I have executed below steps:
1. git clone git://git.ti.com/arago-project/oe-layersetup.git yocto
2. cd yocto
3. ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-kirkstone-09.02.01.10-config.txt
4. First yocto build is ready for the custom board of am335x-evm.
This has the kernel v6.1 by default and I want to use kernel 5.10 for my development as some drivers are not supported in 6.1 and other reasons.
I have updated my SRC_URI and version to use the 5.10 kernel as below. I have also added my config and dts changes.
CUSTOM_DEVICETREE = "am335x-custom.dts"
BRANCH = "ti-linux-5.10.y"
SRCREV = "991c5ce91e43cb620f534dc9fe7b0ad21f4f4388"
PV = "5.10.168+git${SRCPV}"
SRC_URI += "file://am335x-custom.dts"
SRC_URI += "file://defconfig"
I am getting below log & error messages.
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/user/yocto/sources/oe-core/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_populate_sysroot', '/home/user/yocto/sources/oe-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/home/user/yocto/sources/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-extended/xz/xz_5.2.6.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-kernel/kmod/kmod_29.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-support/gmp/gmp_6.2.1.bb:do_populate_sysroot', 'virtual:native:/home/user/yocto/sources/oe-core/meta/recipes-support/libmpc/libmpc_1.2.1.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['binutils-cross-arm', 'gcc-cross-arm', 'quilt-native', 'bison-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'bc-native', 'xz-native', 'kmod-native', 'gmp-native', 'libmpc-native', 'libtool-native', 'texinfo-dummy-native', 'mpfr-native', 'gettext-minimal-native', 'flex-native', 'gnu-config-native', 'zlib-native', 'readline-native', 'python3-native', 'attr-native', 'linux-libc-headers', 'zstd-native', 'm4-native', 'ncurses-native', 'libnsl2-native', 'sqlite3-native', 'util-linux-libuuid-native', 'gdbm-native', 'libffi-native', 'bzip2-native', 'libtirpc-native', 'openssl-native', 'perl-native', 'make-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function check_oldest_kernel
DEBUG: Python function check_oldest_kernel finished
DEBUG: Executing shell function do_configure
Could not find kernel config fragment kernel/configs/ti_multi_v7_prune.config
WARNING: exit code 1 from a shell command.
Please let me know how to resolve this.