[ELDK] bitbake: how to resolve dependency to ARM kernel-devicetree when building rootfs

Stefano Babic sbabic at denx.de
Sat Feb 23 17:00:14 CET 2013


On 19/02/2013 17:55, Hans Beckérus wrote:
> I am trying to build a custom ARM image that should include all the
> modules from the kernel build but it fails and I can not understand
> why. The bitbake error I get is
> 
> | Collected errors:
> |  * satisfy_dependencies_for: Cannot satisfy the following
> dependencies for kernel-modules:
> |  *    kernel-devicetree *
> |  * opkg_install_cmd: Cannot install package kernel-modules.
> 
> 
> My rootfs.bb looks like this
> 
> require recipes-core/images/core-image-minimal.bb
> 
> # The list of packages used to build images.
> IMAGE_INSTALL += "kernel-modules"
> 
> # Formats of root filesystem images that you want to have created.
> IMAGE_FSTYPES = "jffs2"
> 
> 
> 
> The device tree blob is built and located in the kernel deploy image folder.
> I can see that I have the following files under the kernel work path
> 
> ./packages-split/kernel-devicetree
> ./pkgdata/runtime/kernel-devicetree
> ./pkgdata/runtime-reverse/kernel-devicetree
> 

If you device tree is built, maybe is related to the second line of
thelog, that is opkg_install_cmd. It seems that package management is
requiredm and core-image-minimal drops it.

Have you already tried with another image instead of -minimal ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the eldk mailing list