[yocto] Cross Compile Kernel Modules

Hans Beckérus hans.beckerus at gmail.com
Fri Oct 4 04:05:02 PDT 2013


On Fri, Oct 4, 2013 at 2:53 AM, Bruce Ashfield
<bruce.ashfield at windriver.com> wrote:
> On 13-10-03 8:21 PM, Parker Mackenzie wrote:
>>
>> Thanks Bruce,
>>
>> That got me further. I added a comment to the video on YouTube which might
>> help others which stumble across the presentation.
>>
>> Now I get the following error
>> ERROR: Function failed: do_rootfs
>>
>> Which points me to a log file which indicates the following failed:
>>
>>
>> Note: adding Smart RPM DB channel
>>
>> Note: to be installed: packagegroup-core-tools-debug at beagleboard
>> kernel-dev at beagleboard rpm-postinsts at all packagegroup-core-boot at beagleboard
>> libstdc++6 at armv7a_vfp_neon
>> Loading cache...
>> Updating cache... ######################################## [100%]
>>
>> Computing transaction...error: Can't install
>> kernel-dev-3.4.43+git0+1bab5bd090948b4cc4c4ed57c834603a3cf9f235_c994390cfa28339cbc1ec3b56eeec83a5fa75bb7-r4.4 at beagleboard:
>> no package provides /usr/bin/python
>>
>> Saving cache...
>>
>> ERROR: Function failed: do_rootfs (see
>> /home/parker/Projects/beagleboard/yocto/poky-dylan-9.0.2/build/tmp/work/beagleboard-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_rootfs.61003
>> for further information)
>>
>>
>> However :
>> [parker at jasper build]$ which python
>> /usr/bin/python
>
>
> That would be your build host's python. The kernel module is pulling it
> in as a dependency for the target, so it needs to be part of the rootfs
> packages.
>
> Check that your have python in your dependencies/image install lists,
> which bitbake -e <your image type> will dump ... among many other
> things :)
>
> Which image type are you building ? core-image-minimal ? Try adding this
> to your local.conf: IMAGE_INSTALL_append = " python"
>
Bruce, is not the proper package to add in this case python-core? I do
not think anything simply provides just "python", or is it?

> Cheers,
>
> Bruce
>
>
>>
>>
>> I have gone through the documentation; however, feel free to point me at a
>> resource if this is a silly new-guy question. An internet search did bring
>> up the following nugget; patch 2/3 sounds related, however, I am not sure
>> how to proceed.
>> http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/34245
>>
>> Thanks in advance,
>> Parker
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list