Skip to contentSkip to conversation

linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task

PATCH In review Piotr Lewicki 2 participants 2 messages Oct 31, 2016 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-raspberrypi: Fix path for mkknlimg in bundle_initramfs task

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(-)
recipes-kernel/linux/linux-raspberrypi.inc +1 -1
index 6184402..9d6ef5f 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

recipes-kernel/linux/linux-raspberrypi.inc do_bundle_initramfs_append() {

Quoted 11 lines · 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(-)
recipes-kernel/linux/linux-raspberrypi.inc +0 -0
index 6184402..9d6ef5f 100644
@@ -61,7 +61,7 @@ do_bundle_initramfs_append() {

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

Quoted 11 lines
recipes-kernel/linux/linux-raspberrypi.inc +1 -2
             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

Quoted 5 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan