AnsweredAssumed Answered

U-boot build error using Yocto

Question asked by kilsu hong on Apr 23, 2015
Latest reply on Apr 28, 2015 by jimmychan

Dear,

I tried to build u-boot and kernel using Yocto for mfg tool, as below

 

myAccount@myPC$ bitbake fsl-image-mfgtool-initramfs

 

But, Yocto build error occurred like this

 

================================================================

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

| NOTE: make -j 8 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[3]: `arch/arm/boot/dts/imx6q-sabresd-hdcp.dtb' is up to date.

| NOTE: make -j 8 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[3]: `arch/arm/boot/dts/imx6q-sabresd-enetirq.dtb' is up to date.

| NOTE: make -j 8 imx6q-sabresd-uart.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

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

| rm: cannot remove '/home/share/kilsuhong/Yocto/mfg_build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.53-r0/image/usr/src/kernel-mfgtool': No such file or directory

| WARNING: /home/share/kilsuhong/Yocto/mfg_build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.53-r0/temp/run.do_install.22427:1 exit 1 from

|   rm -r /home/share/kilsuhong/Yocto/mfg_build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.53-r0/image/usr/src/kernel-mfgtool

| ERROR: Function failed: do_install (log file is located at /home/share/kilsuhong/Yocto/mfg_build/tmp/work/imx6qsabresd-poky-linux-gnueabi/mfgtool-linux-imx/3.10.53-r0/temp/log.do_install.22427)

ERROR: Task 222 (/home/share/kilsuhong/Yocto/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.10.53.bb, do_install) failed with exit code '1'

NOTE: Tasks Summary: Attempted 684 tasks of which 672 didn't need to be rerun and 2 failed.

Waiting for 0 running tasks to finish:

 

Summary: 2 tasks failed:

  /home/share/kilsuhong/Yocto/sources/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2014.04.bb, do_install

  /home/share/kilsuhong/Yocto/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.10.53.bb, do_install

Summary: There were 2 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

========================================================================================

 

Does anybody know how to fix this error?

 

thank you in advance,

Outcomes