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.

PROCESSOR-SDK-AM62X: Debian build error

Part Number: PROCESSOR-SDK-AM62X

HI,

I am using Am62x. when building debian package i get error

sudo ./run.sh ti-linux-kernel
Building  ti-linux-kernel  version  09.02.00.009-1
./run.sh: line 69: run_prep: command not found
dpkg-source: warning: extracting unsigned source package (/home/etana/Desktop/ti_debian/debian-repos/build/bookworm/ti-linux-kernel/ti-linux-kernel_09.02.00.009-1.dsc)
dpkg-source: info: extracting ti-linux-kernel in /home/etana/Desktop/ti_debian/debian-repos/build/bookworm/ti-linux-kernel/ti-linux-kernel_09.02.00.009-1
dpkg-source: info: unpacking ti-linux-kernel_09.02.00.009.orig.tar.gz
dpkg-source: info: unpacking ti-linux-kernel_09.02.00.009-1.debian.tar.xz
dh_testdir
dh_testroot
dh_prep
dh_testdir
dh_testroot
dh_install
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'ti-linux-kernel-build-deps' in '../ti-linux-kernel-build-deps_09.02.00.009-1_all.deb'.

make[1]: Leaving directory '/home/etana/Desktop/ti_debian/debian-repos/build/bookworm/ti-linux-kernel/ti-linux-kernel_09.02.00.009-1'
debian/rules:7: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed

help me to solve this

  • Hi Manjunath,

    I tried the same procedure to build the kernel for Debian, but got a different error. I looked into the debian-repos project and got a few questions. I will work on this more the understand the failure and how to fix it.

  • Hi Manjunath,

    The AM62x kernel debian image should be compiled in ARM64 or ARM64 simulation environment, not on x86 computer. I am filing a internal ticket to get the SDK Debian Documentation updated with the details.