Hi,
We have downloaded the source code for Ls2088a as below.
And I have untared the linux.tar file present in downloads folder to another folder. I need to understand how to use this local kernel folder in yocto instead of yocto fetching from code aurora.
Request your kind help.
Update:
I have copied the Linux kernel extracted code to sources/meta-freescale/recipes-kernel/linux/files and modified the "linux-qoriq_4.14.bb as below
SRC_URI = "file://drivers \
file://arch \
file://block \
file://certs \
file://crypto \
file://Documentation \
file://firmware \
file://fs \
file://include \
file://init \
file://ipc \
file://kernel \
file://lib \
file://LICENSES \
file://mm \
file://net \
file://samples \
file://security \
file://sound \
file://tools \
file://usr \
file://virt \
"
SRC_URI += "file://defconfig \
file://CREDITS \
file://Kbuild \
file://Kconfig \
file://MAINTAINERS \
file://Makefile \
file://README \
file://README_LOCAL \
With the above change I am able to see that the kernel code is copied to build directory (build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0)
But I am now facing some issue wrt to License and also error wrt make defconfig.
Error 1:
WARNING: Could not copy license file /home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING to /home/xx/Project/xx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/license-destdir/linux-qoriq/COPYING: [Errno 2] No such file or directory: '/home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING'
DEBUG: Python function do_populate_lic finished
DEBUG: Executing python function populate_lic_qa_checksum
ERROR: QA Issue: linux-qoriq: LIC_FILES_CHKSUM points to an invalid file: /home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING [license-checksum]
ERROR: Fatal QA errors found, failing task.
DEBUG: Python function populate_lic_qa_checksum finished
ERROR: Function failed: populate_lic_qa_checksum
Error 2:
WARNING: Could not copy license file /home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING to /home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/license-destdir/linux-qoriq/COPYING: [Errno 2] No such file or directory: '/home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING'
DEBUG: Python function do_populate_lic finished
DEBUG: Executing python function populate_lic_qa_checksum
ERROR: QA Issue: linux-qoriq: LIC_FILES_CHKSUM points to an invalid file: /home/xxx/Project/xxx/LS2/source/LS2088A/yocto-sdk/build_ls2088ardb/tmp/work/ls2088ardb-fsl-linux/linux-qoriq/4.14-r0/git/COPYING [license-checksum]
ERROR: Fatal QA errors found, failing task.
DEBUG: Python function populate_lic_qa_checksum finished
ERROR: Function failed: populate_lic_qa_checksum
Request your help to move further.