1.checkout the branch of lts23 git spin and setup build env: git clone --depth 1 --branch WRLINUX_10_23_LTS git://pek-git.wrs.com/wrlinux-x then setup the build env of lts23, for example: setup.sh --machines=ti-j72xx --distro wrlinux --dl-layers --accept-eula=yes . ./environment-setup-x86_64-wrlinuxsdk-linux . ./oe-init-build-env build_test 2.checkout the lts23 branch of wr-testing and add bts layer: checkout the branch of lts23 wr-testing: git clone --branch WRLINUX_10_23_HEAD ssh://git@lxgit.wrs.com/wrlinux-testing/testcases bitbake virtual/kernel -cmenuconfig Enable CONFIG_DEBUG_KMEMLEAK echo "WRTEMPLATE:append = \" feature/bsp-extras \"" >> conf/local.conf echo "KERNEL_FEATURES:append = \" bsp/ti-j72xx/ti-j72xx-remoteproc.scc\"" >> conf/local.conf echo "BB_NO_NETWORK = '0'" >> conf/local.conf echo "KERNEL_FEATURES:append = \" features/intel-e1xxxx/intel-e1xxxx.scc\"" >> conf/local.conf bitbake wrlinux-image-std 2.bootup the board with built images and wait for about 10 minutes. root@ti-j72xx:~# uname -a Linux ti-j72xx 6.1.30-yocto-standard #1 SMP PREEMPT Wed May 31 02:45:54 UTC 2023 aarch64 GNU/Linux root@ti-j72xx:~# cat /sys/kernel/debug/kmemleak unreferenced object 0xfffffc080d318080 (size 128): comm "(udev-worker)", pid 500, jiffies 4294897605 (age 1078.064s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 1e 01 00 fe ff ff ................ 00 00 02 00 00 00 00 00 02 00 00 00 00 00 00 00 ................ backtrace: [<000000003747d4c6>] __kmem_cache_alloc_node+0x390/0x5a0 [<00000000e996f4c7>] kmalloc_trace+0x54/0x140 [<000000008d06a5d3>] do_init_module+0x34/0x200 [<00000000bccd1129>] load_module+0x18d8/0x1e90 [<0000000083613946>] __do_sys_finit_module+0xa8/0x100 [<000000008d849e6d>] __arm64_sys_finit_module+0x28/0x34 [<00000000fb30e1a5>] invoke_syscall+0x5c/0x130 [<0000000013859dfa>] el0_svc_common.constprop.0+0xd4/0xf4 [<0000000050e67347>] do_el0_svc+0x34/0xc0 [<00000000744ce647>] el0_svc+0x2c/0x84 [<000000004c774e7e>] el0t_64_sync_handler+0xf4/0x120 [<000000009d29f6f1>] el0t_64_sync+0x18c/0x190
1.checkout the branch of lts23 git spin and setup build env: git clone --depth 1 --branch WRLINUX_10_23_LTS git://pek-git.wrs.com/wrlinux-x then setup the build env of lts23, for example: /buildarea1/renfeiqu/10_23/git/wrlinux-x/setup.sh --machines=ti-j72xx --distro wrlinux --dl-layers --accept-eula=yes . ./environment-setup-x86_64-wrlinuxsdk-linux . ./oe-init-build-env build_test 2.checkout the lts23 branch of wr-testing and add bts layer: checkout the branch of lts23 wr-testing: git clone --branch WRLINUX_10_23_HEAD ssh://git@lxgit.wrs.com/wrlinux-testing/testcases then add the bts layer, for example: bitbake-layers add-layer /buildarea1/renfeiqu/10_23/testcases/wr-testing/bts-dev/ echo "require templates/feature/bts/template.conf" >> conf/local.conf 3.build project that enabled/supportted specific features: echo "WRTEMPLATE:append = \" feature/bsp-extras \"" >> conf/local.conf echo "KERNEL_FEATURES:append = \" bsp/ti-j72xx/ti-j72xx-remoteproc.scc\"" >> conf/local.conf echo "BB_NO_NETWORK = '0'" >> conf/local.conf echo "KERNEL_FEATURES:append = \" features/intel-e1xxxx/intel-e1xxxx.scc\"" >> conf/local.conf bitbake wrlinux-image-std 2.bootup the board with built images and wait for about 10 minutes.