Hi Experts,
Our customer is developing the next generation system board with AM3356, customer encountered build error suddenly. Customer is trying to find the root cause, but, they are not able to find it at this time. Customer is evaluating following environments. It seems any combination results in an build error.
- SDK: 06.03.00.106 or 07.03.00
- Host OS: Ubuntu 18.04 or 20.04
- python version: 3.6.1 or 3.8.10
When customer tried to do building u-boot and linux kernel, it seems the following error occurs in the phase called do_package after compiling.
cp: cannot stat '/home/xxxx/yyyy/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5.jrn260k3/srcipk-staging/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g/.': No such file or directory
This is an example of using a linux kernel, but u-boot is exactly the same result. I attached the entire log ( log.do_package.23534 )
This package is created by run.populate_srcipk_package.23534 script dynamically. It seems this script is in the following directory.
tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5.jrn260k3
it seems this script tried to copy " srcipk-staging/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g" into " packages-split/linux-ti-staging-src/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g" in same directory. However, The directory that actually exists is "linux-5.4.106 + gitAUTOINC + 023faefa70-g023faefa70".
Customer confirmed above directories name as follows.
$ cd ~/jrn260k/tisdk/build/arago-tmp-external-arm-glibc/work/am335x_evm-linux-gnueabi/linux-ti-staging/5.4.106+gitAUTOINC+023faefa70-r22a.arago5.jrn260k3
$ ls srcipk-staging/board-support/
linux-5.4.106+gitAUTOINC+023faefa70-g023faefa70
$ ls packages-split/linux-ti-staging-src/board-support/
linux-5.4.106+gitAUTOINC+023faefa70-g
Customer is considering that it seems SRCIPK_INSTALL_DIR ( in meta-arago/meta-arago-distro/classes/sourceipk.bbclass ) is related to this issue, but, they were not able to find the root cause, so, customer is requesting TI to share expert’s advice.
Can we have your advice/comments on this issue, please?
Since I got the recipe file, I attached linux-ti-staging_5.4.bbappend, as well.
it may be related to yocto environment, but, it will be really appreciated if your will share expert's advice.
Best regards,
Miyazaki