Build kernel 5.3.y for colibri-imx6ull

Hi ,

Is that possible to build kernel 5.3.10 for colibri-imx6ull module ??

I did not see any defconfig for imx6ull in kernel source.

I’m getting error like. no rule to make target zImage …

Regards,

Hitendra Prajapati

Hi @nikunjp26

Yes, you can build the Kernel 5.3.y for iMX6ULL. You need to use the imx_v6_v7_defconfig which is located here. You also need to use the devicetree from the same kernel and U-Boot for Bsp 3.0.

Best regards,
Jaski

Hi @jaski.tx

Thank you for quick response.

Regards,

Hitendra Prajapati

You are welcome.

Hi @jaski.tx

I’m getting error in kernel build using below recipe for latest kernel 5.3.y.

can you send me the recipe for this kernel version or its related change ??

Check attachment : link text

Hi @jaski.tx ,

As that Error because of name change of imx_v6_v7_defconfig ??

MY build Command is : MACHINE=colibri-imx6ull bitbake -DDD virtual/kernel -f

Please help here.

The error is more on this place:

make: *** No rule to make target ‘zImage’. Stop.

You could create a colibri_imx6ull_defconfig and put the content from imx_v6_v7_defconfig to this colibri_imx6ull_defconfig.

Best regards,
Jaski

Hi @jaski.tx

I did the changes in recipe as below :

SRC_URI += “file://colibri_imx6ull_defconfig”

do_print() {

cp -rf ${WORKDIR}/colibri_imx6ull_defconfig ${S}/arch/arm/configs

}

addtask print after do_unpack before do_patch

As well as i tried to copy defconfig in kernel-source but Still i’m getting the same ERROR .

Hi @jaski.tx

Why I am getting Error ??

Hi @jaski.tx

any update ??

Hi @jaski.tx

Please provide quick support because we are stuck up at kernel build.

Regards,

Nikunj Patel

HI @nikunjp26

Could you provide all the changes you have done in Openembedded regarding the mainline kernel build in the repo LinuxImage3.0.

Thanks and best regards,
Jaski

Hi @jaski.tx

I am able to build kernel-5.3 which recipe available in meta-toradex-bsp-common after some modification in the base recipe of it.

Perfect. Could you share the changes you made?

Hi @jaski.tx

After updating kernel got the below Error :

link text link text

Hi @jaski.tx

any update ??

Hi @nikunjp26

We have integrated, built and tested the kernel 5.3.y in master branch of but not LinuxImage3.0 branch. You need to check out the master branch or import the changes from master branch to LinuxImage3.0 branch.

Best regards,
Jaski