SDK build failed for SC206E

I am referring Quectel_SC206E_Series_Linux_Compiling&Burning_Guide_V1.6.pdf to build image for QCM2290_Linux_R60_r004 yocto project for Kernel 5.4.

I follow the steps to build the image as follows.

  1. $ git clone “ssh://git@git-master.quectel.com:8407/smart/qcm2290_linux_r60_r004.git”
  2. $ cd qcm2290_r60_r004
  3. $ git branch -a
    master
    SC206E_rl
  4. $ git checkout SC206E_rl
  5. $ source build.sh
  6. $ build-qti-robotics-med-image
  7. $ rebake edk
  8. $ makeboot.

With this step all image files are generated to the respective location.

After that I am trying to build SDK for cross compilation, I am getting an error as follows.
$ bitbake -c populate_sdk qti-robotics-med-image
ERROR: kernel-devsrc-1.0-r0 do_package: Fatal errors occurred in subprocesses:
Command ‘[‘aarch64-oe-linux-objcopy’, ‘–only-keep-debug’, ‘/home/acevin/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/build-qti-distro-rb-debug/tmp-glibc/work/qrbx210_rbx-oe-linux/kernel-devsrc/1.0-r0/package/lib/modules/5.4.191/build/scripts/kconfig/mconf’, ‘/home/acevin/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/build-qti-distro-rb-debug/tmp-glibc/work/qrbx210_rbx-oe-linux/kernel-devsrc/1.0-r0/package/lib/modules/5.4.191/build/scripts/kconfig/.debug/mconf’]’ returned non-zero exit status 1
Subprocess output:aarch64-oe-linux-objcopy: Unable to recognise the format of the input file `/home/acevin/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/build-qti-distro-rb-debug/tmp-glibc/work/qrbx210_rbx-oe-linux/kernel-devsrc/1.0-r0/package/lib/modules/5.4.191/build/scripts/kconfig/mconf’

ERROR: Logfile of failure stored in: /home/acevin/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/build-qti-distro-rb-debug/tmp-glibc/work/qrbx210_rbx-oe-linux/kernel-devsrc/1.0-r0/temp/log.do_package.22391
ERROR: Task (/home/acevin/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/poky/meta/recipes-kernel/linux/kernel-devsrc.bb:do_package) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 6403 tasks of which 6396 didn’t need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 10 seconds

Summary: 1 task failed:
/Workspace/SC206E_QCM2290_Linux_R60_r004/qcm2290_linux_r60_r004/poky/meta/recipes-kernel/linux/kernel-devsrc.bb:do_package
Summary: There were 123 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Any one get this type of issue ? Any one knows fix for this?

Thanks

Please try to add it in the kernel-devsrc.bbappend section.
INSANE_SKIP:${PN} += “arch”

Also, what version of Ubuntu are you using?