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.

Linux/AM5728: How to make Arago compile without Secure package

Part Number: AM5728

Tool/software: Linux

Hi,

one of my customers would like to compile latest arago build for AM5728. He cloned the git repository. Build fails as the parts for secure devices miss in the repository. Customer doesn't need these. How should they disable the dependency on the secure development package properly?

Steps they use:
git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk cd tisdk ./oe-layertool-setup.sh -f configs/arago-morty-config.txt cd build . conf/setenv MACHINE=am57xx-hs-evm bitbake core-image-minimal

Build fails:

ERROR: linux-ti-staging-4.9.10+gitAUTOINC+6c1ef0e5e0-r7c.arago5 do_assemble_fitimage: Function failed: do_assemble_fitimage (log file is located at /home/xxx/workspace/git/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_hs_evm-linux-gnueabi/linux-ti-staging/4.9.10+gitAUTOINC+6c1ef0e5e0-r7c.arago5/temp/log.do_assemble_fitimage.28869)

ERROR: Logfile of failure stored in: /home/xxx/workspace/git/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_hs_evm-linux-gnueabi/linux-ti-staging/4.9.10+gitAUTOINC+6c1ef0e5e0-r7c.arago5/temp/log.do_assemble_fitimage.28869

Log data follows:

| DEBUG: Executing shell function do_assemble_fitimage none
| /home/xxx/workspace/git/tisdk/build/arago-tmp-external-linaro-toolc
| hain/work/am57xx_hs_evm-linux-gnueabi/linux-ti-staging/4.9.10+gitAUTOI
| NC+6c1ef0e5e0-r7c.arago5/temp/run.do_assemble_fitimage.28869: line 559: /am5x/scripts/secure-binary-image.sh: No such file or directory

| WARNING:
| /home/xxx/workspace/git/tisdk/build/arago-tmp-external-linaro-toolc
| hain/work/am57xx_hs_evm-linux-gnueabi/linux-ti-staging/4.9.10+gitAUTOI
| NC+6c1ef0e5e0-r7c.arago5/temp/run.do_assemble_fitimage.28869:1 exit 1 from '${TI_SECURE_DEV_PKG_AUTO}/am5x/scripts/secure-binary-image.sh $1 $2'

| ERROR: Function failed: do_assemble_fitimage (log file is located at
| /home/xxx/workspace/git/tisdk/build/arago-tmp-external-linaro-toolc
| hain/work/am57xx_hs_evm-linux-gnueabi/linux-ti-staging/4.9.10+gitAUTOINC+6c1ef0e5e0-r7c.arago5/temp/log.do_assemble_fitimage.28869)

ERROR: Task (/home/xxx/workspace/git/tisdk/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_4.9.bb:do_assemble_fitimage) failed with exit code '1'

Best regards,
Phil