Bitbake returns with error code while making image for imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bitbake returns with error code while making image for imx6

Jump to solution
2,919 Views
ramprasadvempat
Contributor II

I'm trying to make image "core-image-base" using bitbake for freescale imx6 platform. Things were working very well. I made image two times as well. But suddently it stopped working. I've used "bitbake core-image-base" command for making build.

below is the error I get. Could someone help me, what must have gone wrong?

'

| make: Leaving directory `/home/ramprasad/fsl-release-bsp-2/build-7/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel'

| NOTE: make -j 4 imx6q-sabresd.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd.dtb' is up to date.

| NOTE: make -j 4 imx6q-sabresd-ldo.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd-ldo.dtb' is up to date.

| NOTE: make -j 4 imx6q-sabresd-hdcp.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd-hdcp.dtb' is up to date.

| NOTE: make -j 4 imx6q-sabresd-enetirq.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

    | make[1]: *** No rule to make target `arch/arm/boot/dts/imx6q-sabresd-  enetirq.dtb'.  Stop.

     make: *** [imx6q-sabresd-enetirq.dtb] Error 2

     ERROR: oe_runmake failed

     WARNING: exit code 1 from a shell command.

     ERROR: Function failed: do_install (log file is located at  /home/ramprasad/fsl-release-bsp-2/build-7/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_install.11111)

ERROR: Task 68 (/home/ramprasad/fsl-release-bsp-2/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_install) failed with exit code '1'

NOTE: Tasks Summary: Attempted 3610 tasks of which 3609 didn't need to be rerun and 1 failed.

No currently running tasks (1718 of 3640)

Summary: 1 task failed:

  /home/ramprasad/fsl-release-bsp-2/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_install

Summary: There was 1 ERROR message shown, returning a non-zero exit code

Labels (4)
0 Kudos
1 Solution
1,197 Views
ramprasadvempat
Contributor II

That didn't help.

I did little more debugging to see what could be. Then I compared the sources directory with the backup I've a while ago. I see below lines changed:

File @ meta-fsl-arm/conf/machine/imx6qsabresd.conf has changes :

Back-up of source:

KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb"

Current file:

KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb imx6q-sabresd-enetirq.dtb imx6q-sabresd-uart.dtb"

KERNEL_IMAGETYPE = "zImage"

Then I removed "imx6q-sabresd-enetirq.dtb imx6q-sabresd-uart.dtb" and also KERNEL_IMAGETYPE = "zImage" , from meta-fsl-arm/conf/machine/imx6qsabresd.conf , then it all worked fine.

But I've not changed them, neither I did "repo sync".  Any idea, how would these change?

View solution in original post

0 Kudos
4 Replies
1,197 Views
ramprasadvempat
Contributor II

I figured out answer for above problem. I needed to use "dhcp-client" instead of dhcp.

Only puzzling thing is, how did my "imx6qsabresd.conf" changed on it's own.

Now the problem in this thread is resolved. So I will be marking it as "Answered"

0 Kudos
1,197 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ramprasad,

If it was running correctly and no changes were made perhaps it would help to make a cleanall.

bitbake -c cleanall <IMAGE>

0 Kudos
1,198 Views
ramprasadvempat
Contributor II

That didn't help.

I did little more debugging to see what could be. Then I compared the sources directory with the backup I've a while ago. I see below lines changed:

File @ meta-fsl-arm/conf/machine/imx6qsabresd.conf has changes :

Back-up of source:

KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb"

Current file:

KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb imx6q-sabresd-enetirq.dtb imx6q-sabresd-uart.dtb"

KERNEL_IMAGETYPE = "zImage"

Then I removed "imx6q-sabresd-enetirq.dtb imx6q-sabresd-uart.dtb" and also KERNEL_IMAGETYPE = "zImage" , from meta-fsl-arm/conf/machine/imx6qsabresd.conf , then it all worked fine.

But I've not changed them, neither I did "repo sync".  Any idea, how would these change?

0 Kudos
1,197 Views
ramprasadvempat
Contributor II

After, I pass through above step, I wanted to include dhcp. But I get below error. Any idea how can this be resolved?

ERROR: dhcp not found in the base feeds (imx6qsabresd cortexa9hf-vfp-neon-mx6 cortexa9hf-vfp-neon cortexa9hf-vfp armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all).

0 Kudos