Hi everyone!
I am trying to update with SDK v2.0-1703 because, I am building a module kernel (currently with Cache: QorIQ Linux SDK v2.0 PPCE6500 Yocto) and I get a message error when I do an insmod MyModule.ko.
[ 2022.496533] MyModule: disagrees about version of symbol device_destroy
[ 2022.502025] MyModule: Unknown symbol device_destroy (err -22)
[ 2022.506759] MyModule: disagrees about version of symbol device_create
[ 2022.512157] MyModule: Unknown symbol device_create (err -22)
Also, I can not download from Git address: git://git.freescale.com/ppc/sdk/linux.git because it does not working.
Any ideas please???
PS: If I build and insmod in SDK 1.8 it works correctly.
Hello iuro uiro,
Please make sure that the Kernel image and the Kernel module are from the same build.
Please rebuild Linux Kernel and the module with the following procedure.
$ bitbake virtual/kernel -c cleansstate
$ bitbake virtual/kernel -c configure
Go to the folder build_<platform>-64b/tmp/work/<platform>_64b-fsl-linux/linux-qoriq/4.1-r0/build, run the following command to configure Linux Kernel to support the Kernel module.
$ make ARCH=powerpc menuconfig
Go to the build folder to rebuild Linux Kernel.
$ bitbake virtual/kernel -c compile
$ bitbake virtual/kernel
Please build the Kernel module to include the Linux Kernel PATH in build_<platform>-64b/tmp/work/<platform>_64b-fsl-linux/linux-qoriq/4.1-r0/build.
Please boot up the target board with the new built Kernel image and copy and insert latest built Kernel module.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, there is a repository that is not working:
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
2018/11/05 07:38:07 socat[2875] E getaddrinfo("XXXX", "(null)", {1,0,1,6}, {}): Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/XXXX/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/work/t2080rdb-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_fetch.2859
ERROR: Task 2 (/home/XXXX/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 333 tasks of which 332 didn't need to be rerun and 1 failed.
No currently running tasks (276 of 336)