All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task
@ 2016-10-31 13:42 Piotr Lewicki
  2016-10-31 14:47 ` Andrei Gherzan
  0 siblings, 1 reply; 2+ messages in thread
From: Piotr Lewicki @ 2016-10-31 13:42 UTC (permalink / raw)
  To: yocto; +Cc: Piotr Lewicki

Task do_bundle_initramfs() was failing because of "mkknlimg: not found"
The path to "mkknlimg" is now updated.
---
 recipes-kernel/linux/linux-raspberrypi.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index 6184402..9d6ef5f 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -61,7 +61,7 @@ do_bundle_initramfs_append() {
             if test -n "${KERNEL_DEVICETREE}"; then
                 # Add RPi bootloader trailer to kernel image to enable DeviceTree support
                 for type in ${KERNEL_IMAGETYPES} ; do
-                    ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
+                    ${STAGING_KERNEL_DIR}/scripts/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
                 done
             fi
         fi
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-raspberrypi][PATCH] linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task
  2016-10-31 13:42 [meta-raspberrypi][PATCH] linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task Piotr Lewicki
@ 2016-10-31 14:47 ` Andrei Gherzan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrei Gherzan @ 2016-10-31 14:47 UTC (permalink / raw)
  To: Piotr Lewicki; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

On Mon, Oct 31, 2016 at 02:42:35PM +0100, Piotr Lewicki wrote:
> Task do_bundle_initramfs() was failing because of "mkknlimg: not found"
> The path to "mkknlimg" is now updated.
> ---
>  recipes-kernel/linux/linux-raspberrypi.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
> index 6184402..9d6ef5f 100644
> --- a/recipes-kernel/linux/linux-raspberrypi.inc
> +++ b/recipes-kernel/linux/linux-raspberrypi.inc
> @@ -61,7 +61,7 @@ do_bundle_initramfs_append() {

The entire append here can be removed as mkknlimg tool was removed
completely. See fe92cc7e1428ba7f982c371101150851c621532a.

>              if test -n "${KERNEL_DEVICETREE}"; then
>                  # Add RPi bootloader trailer to kernel image to enable DeviceTree support
>                  for type in ${KERNEL_IMAGETYPES} ; do
> -                    ${STAGING_BINDIR_NATIVE}/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
> +                    ${STAGING_KERNEL_DIR}/scripts/mkknlimg --dtok ${KERNEL_OUTPUT_DIR}/$type.initramfs ${KERNEL_OUTPUT_DIR}/$type.initramfs
>                  done
>              fi
>          fi
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-31 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 13:42 [meta-raspberrypi][PATCH] linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task Piotr Lewicki
2016-10-31 14:47 ` Andrei Gherzan

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.