From: Trevor Woerner <twoerner@gmail.com>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: include all kernel modules in image
Date: Mon, 27 Jul 2015 08:17:22 -0400 [thread overview]
Message-ID: <55B62152.9080103@gmail.com> (raw)
In-Reply-To: <CAP71WjzRBHmATtczTV=5x6YoNhXuy66c4FVnhYJjSt-5QophQw@mail.gmail.com>
On 07/27/15 08:04, Nicolas Dechesne wrote:
> On Mon, Jul 27, 2015 at 1:03 PM, Trevor Woerner <twoerner@gmail.com> wrote:
>
>
> well, something's definitely wrong here.. are you doing a minimal
> OE-core build? can you try to reproduce / narrow down? Are you running
> recent master? I have no idea what the error means here.. but clearly,
> it works for me, so that could be something from your environment..
I agree.
The error appears to be some sort of "file not found". The command it is
running when it fails is:
depmodwrapper
/z/layerindex/firefly/tmp/work/firefly_emmc_mainline-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs
4.0.0-rc1
Since the directory (/z/layerindex/firefly...) exists, it must be
failing because something is wrong with the version (?)
My kernel recipe's name is "firefly-mainline-kernel_4.0.bb" and it looks
like:
# Copyright (C) 2015 Trevor Woerner <twoerner@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
inherit kernel
DESCRIPTION = "Mainline Rockchip Linux kernel for Firefly"
HOMEPAGE =
"http://wiki.t-firefly.com/index.php/Firefly-RK3288/Mainline_Kernel/en"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
SECTION = "kernel"
DEPENDS = "rk2918-tools-native"
SRC_URI =
"git://github.com/TeeFirefly/linux-rockchip.git;branch=firefly;rev=cbbae6741c60c9e09f87521e3a79810abd6a2fda"
LINUX_VERSION ?= "4.0.0-rc1"
PV = "4.0.0-rc1+git${SRCPV}"
S = "${WORKDIR}/git"
B = "${S}"
COMPATIBLE_MACHINE = "firefly-emmc-mainline"
KERNEL_CONFIG_COMMAND = "cd ${S}; make rk3288_firefly_defconfig"
KERNEL_IMAGETYPE = "zImage"
do_compile_append () {
make rk3288-firefly.dtb
}
do_install_append () {
if [ ! -r arch/arm/boot/zImage ]; then
echo "can't find 'arch/arm/boot/zImage'"
exit 1
fi
if [ ! -r arch/arm/boot/dts/rk3288-firefly.dtb ]; then
echo "can't find 'arch/arm/boot/dts/rk3288-firefly.dtb'"
exit 1
fi
cat ${S}/arch/arm/boot/zImage
${S}/arch/arm/boot/dts/rk3288-firefly.dtb > ${S}/zImage-dtb
rk2918_mkkrnlimg -a ${S}/zImage-dtb ${S}/kernel.img
}
inherit deploy
do_deploy_append () {
install -d ${DEPLOYDIR}
cp ${S}/kernel.img ${DEPLOYDIR}
}
addtask deploy before do_build after do_compile
next prev parent reply other threads:[~2015-07-27 12:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-26 18:04 include all kernel modules in image Trevor Woerner
2015-07-27 8:50 ` Nicolas Dechesne
2015-07-27 11:03 ` Trevor Woerner
2015-07-27 12:04 ` Nicolas Dechesne
2015-07-27 12:17 ` Trevor Woerner [this message]
2015-07-27 16:17 ` Trevor Woerner
2015-07-27 12:26 ` Trevor Woerner
2015-07-27 16:14 ` Trevor Woerner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55B62152.9080103@gmail.com \
--to=twoerner@gmail.com \
--cc=nicolas.dechesne@linaro.org \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.