[meta-freescale] Yocto build is taking too long time in kernel do_package and do_populate_sysroots
jags gediya
jags.gediya at gmail.com
Mon Jul 14 08:20:17 PDT 2014
I am a newbie to yocto. For the purpose of check in code on svn, I
have deleted all .git, .gitignore and .repo file from yocto before
built. Then i have checked out that code from svn and started the
yocto built.
But my compilation used to stop at below point for more than an hour.
Currently 2 running tasks (1771 of 1777):
0: linux-imx-3.10.17-r0 do_package (pid 4011)
1: linux-imx-3.10.17-r0 do_populate_sysroot (pid 19696)
I am building the core-image-minimal for imx6sl evk.
Some modification i have done for the kernel and u-boot. I am not
taking kernel and u-boot from the git. Instead i have changed the
SRC_URI, and i have given there the path for kernel and u-boot to take
it from local system.
Things i have modified as per below.
originally linux-imx.inc was having,
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
inherit kernel
# Put a local version until we have a true SRCREV to point to
LOCALVERSION ?= "+yocto"
SCMVERSION ?= "y"
SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;branch=${SRCBRANCH} \
file://defconfig \
"
S = "${WORKDIR}/git"
I have changed it to,
#LICENSE = "GPLv2"
#LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
LICENSE = "CLOSED"
inherit kernel
SRC_URI = "file://${BSPDIR}/kernel \
file://defconfig \
"
S = "${BSPDIR}/kernel"
Can anyone point me if i have done any wrong configuration.
PS: Before chevk in on svn, Kernel compilation was taking that much
long time while building images.
Thanks,
Jags
More information about the meta-freescale
mailing list