Kernel build for iMx7 failed, piggy and vmlinux targets

I setup the kernel toolchain as described. Did:

make colibri_imx7_defconfig to create .config file.

The build ran quite a while successfully, but ultimately failed:

LZO arch/arm/boot/compressed/piggy.lzo

CC arch/arm/boot/compressed/misc.o

/bin/sh: 1: lzop: Permission denied

receipe for target 'arch/arm/boot/compressed/piggy.lzo failed

CC arch/arm/boot/compressed/decompress.o

receipe for target 'arch/arm/boot/compressed/vmlinux failed

Any ideas?


Hi @bobpbbd104

Thanks for writing to the Toradex Community!

Which git branch did you check out for the compilation? Have you done any Changes?
Did you install Build Tools for your host as explained here?

Best regards,

thanks for quick response. I checked out toradex_4.1-2.0.x-imx.


export ARCH=arm
export PATH=~/gcc-linaro/bin/:$PATH
export CROSS_COMPILE=arm-linux-gnueabihf-

Build seemed progress with 100’s of targets assembled or compiled, until the error.

Also, no changes



This is the toolchain for Bsp 2.6. You need to install a different toolchain for version 2.7 as described here.

Best regards,