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-AM335X: Error Observed when we are run custom application

Part Number: PROCESSOR-SDK-AM335X

Tool/software:

Hi All,

, , Bin Liu,

We have created our own applications.. But we are faced compilations issues below is the error,

Custom application custom.bb as below,

do_clean_core_app() {
cd ${S}
echo `pwd`
make clean VERBOSE=1
}
addtask clean_core_app before do_clean

do_fetch[noexec] = "1"
do_unpack[noexec] = "1"

do_compile() {
echo `pwd`
make APP=${APL} ARCH=arm SYSROOT=${TMPDIR}/sysroots/${MACHINE} VERBOSE=1 OUTDIR=${BUILD_DIR} ${PARALLEL_MAKE}
}

do_install() {
install -d ${BIN_DIR}
make ARCH=arm install VERBOSE=1 OUTDIR=${BUILD_DIR} INSTALL_PREFIX=${SEM3_DIR}

mkdir -p ${D}${libdir}
cp -R ${LIB_DIR}/* ${D}${libdir}
rm -rf ${SEM3_LIB_DIR}

mkdir -p ${D}/www/pages/
cp -r ${CNFG_DIR}/WebPages/* ${D}/www/pages/
rm -rf ${CNFG_DIR}/WebPages

cp ${CRYPTO_PATH}/public_key.bin ${CNFG_DIR}
}

FILES_${PN} += "/www /www/pages /lib"

We have declared LIB_DIR,CNFG_DIR,BIN_DIR as per our requirement.

when we compile "bitbake custom"

Below is the error,

WARNING: Recipe core-app sets B variable with trailing slash '/home/sem3user/41024/COM/application/', remove it
ERROR: custom-1.0-r0 do_package: QA Issue: core-app: Files/directories were installed but not shipped in any package:
/www
/www/pages
/www/pages/SDCardInformation.html
/www/pages/GetActiveMeter.Json
/www/pages/CloudConfiguration.html
/www/pages/GetPoleConfigParams.Json
/www/pages/GetSDCardDetails.json
/www/pages/SendLog.json

/usr/sem3/bin/custom
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
core-app: 2958 installed and not shipped files. [installed-vs-shipped]
ERROR: custom-1.0-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/sem3user/41024/COM/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/core-app/1.0-r0/temp/log.do_package.2616332
ERROR: Task (/home/sem3user/41024/COM/sources/meta-sem3t/recipes-core/app/core-app.bb:do_package) failed with exit code '1'
Pseudo log:

Please provide direction to fix the above error.. whai am i missing.

  • Hi Manu,

    first of all I believe we need to set right expectations what kind of support we are able to provide here. Typically we support questions on our products including any of our SDKs and drivers. Application software support or any tools and frameworks (even if used in TI SDK) such as Yocto are outside of our scope if there is no direct relation to the SDK. We recommend to use the related forums or email lists of the related software. You may also try to find a commercial SW support offering. TI does not offer paid SW support as far as I know.

    Above question seems to be related either to your application code/files or the way you use Yocto and as such can't be answered by us. If you think otherwise please let us know.

    Did you try any web research on the error messages? 

    Regards, Frank

  • Thanks Frank,

    I Welcome your suggestions... Oh yes will work on it for related forums and let u know if further questions on product related.