[yocto] [meta-raspberrypi][PATCH 00/01] Fix bundling initramfs to kernel

piotr.lewicki piotr.lewicki at elfin.de
Wed Jul 20 02:31:14 PDT 2016


Fixes error:
| /home/piotr.lewicki/yocto-raspberry/2016-07-18/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.4.13+gitAUTOINC+680be5e27a-r0/temp/run.do_bundle_initramfs.19144: 152: /home/piotr.lewicki/yocto-raspberry/2016-07-18/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.4.13+gitAUTOINC+680be5e27a-r0/temp/run.do_bundle_initramfs.19144: /home/piotr.lewicki/yocto-raspberry/2016-07-18/build/tmp/sysroots/x86_64-linux/usr/bin/mkknlimg: not found
| WARNING: exit code 127 from a shell command.
| ERROR: Function failed: do_bundle_initramfs (log file is located at /home/piotr.lewicki/yocto-raspberry/2016-07-18/build/tmp/work/raspberrypi3-poky-linux-gnueabi/linux-raspberrypi/1_4.4.13+gitAUTOINC+680be5e27a-r0/temp/log.do_bundle_initramfs.19144)

After removing rpi-mkimage from the layer tool mkknlimg is not available (and not needed with kernels 4.4+).
To fix execution of do_bundle_initramfs task I have removed lines appended to this task in linux-raspberrypi.inc.

Tested with kernel 4.4.13.

Unfortunately I don't know how this works with older kernels (3.18 and 4.1) but since we don't have mkknlimg anymore-
bundling initramfs should also fail there.



More information about the yocto mailing list