AnsweredAssumed Answered

reg:uImage build error

Question asked by Vishvapathi Karnan on Dec 14, 2013
Latest reply on Dec 16, 2013 by Vishvapathi Karnan

Hi,

I am using LTIB and it had complied and build successfully. recently when i tried to rebuild its throwing following error. kindly point out did i make any mistake.

./ltib

 

Processing platform: Freescale iMX6x Based Boards

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

using config/platform/imx/.config

 

Processing: fake-provides

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

 

Processing: u-boot-v2009.08

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

 

Processing: kernel-3.0.35

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

Build path taken because: no prebuilt rpm,

 

rpmbuild --dbpath /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp' --define '_rpmdir /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bb  /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp/kernel-3.0.35.spec

Building target platforms: arm

Building for target arm

Executing(%prep): /bin/sh -e /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp/rpm-tmp.72942

+ umask 022

+ cd /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD

+ echo imx_4.0.0

+ cut -d_ -f2

+ rel_ver=4.0.0

+ echo imx_4.0.0

+ cut -d. -f3

+ cut -c2

+ zz=

+ git_tag=rel_imx_3.0.35_4.0.0

+ [  != 0 ]

+ git_br=imx_3.0.35_4.0.0

+ KSRC_DIR=/home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35

+ [ -z y ]

+ [ ! -d /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35 ]

+ exit 0

Executing(%build): /bin/sh -e /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp/rpm-tmp.72942

+ umask 022

+ cd /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD

+ cd linux-3.0.35

+ eval echo

+ echo

+ PKG_KERNEL_PATH_PRECONFIG=

+ eval echo

+ echo

+ PKG_KERNEL_KBUILD_PRECONFIG=

+ eval echo imx6_defconfig

+ echo imx6_defconfig

+ PKG_KERNEL_PRECONFIG=imx6_defconfig

+ KSRC_DIR=/home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35

+ : arm

+ : ccache /usr/bin/gcc -B/usr/bin/

+ : imx6_defconfig

+ : /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx

+ : /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35

+ rm -f /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux

+ ln -s /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35 /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux

+ cd /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/rpm/BUILD/linux-3.0.35

+ KBOUT=

+ [ -n  -a  != . ]

+ KBOUT=.

+ KTARG=zImage

+ SYSCFG_KTARG=uImage

+ [ imx6_defconfig = defconfig ]

+ [ -f /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev ]

+ CFG_PATH=/home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev

+ break

+ [ -z /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev ]

+ [ arm = ppc -a -f arch/powerpc/Kconfig ]

+ [ -n  ]

+ [ -n /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev ]

+ cp -f /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev ./.config

+ [ -z  -a -n y -o -n  ]

+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ menuconfig

scripts/kconfig/mconf Kconfig

 

 

*** End of the configuration.

*** Execute 'make' to start the build or try 'make help'.

 

+ [ -f /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev ]

+ diff -q ./.config /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/config/platform/imx/imx6_defconfig.dev

+ [ -n  ]

+ grep -q VERSION = 2 Makefile

+ [ %{kernel_series} = 2.4 ]

+ make ARCH=arm CROSS_COMPILE= HOSTCC=ccache /usr/bin/gcc -B/usr/bin/ uImage

scripts/kconfig/conf --silentoldconfig Kconfig

  CHK     include/linux/version.h

  CHK     include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

  CALL    scripts/checksyscalls.sh

  CHK     include/generated/compile.h

  MK_FW   firmware/<.gen.S

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

/bin/sh: cannot create firmware/: Is a directory

make[1]: *** [firmware/<.gen.S] Error 2

make: *** [firmware] Error 2

make: *** Waiting for unfinished jobs....

  GZIP    kernel/config_data.gz

  IKCFG   kernel/config_data.h

  CC      kernel/configs.o

  LD      kernel/built-in.o

error: Bad exit status from /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp/rpm-tmp.72942 (%build)

 

 

RPM build errors:

    Bad exit status from /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/yes/ltib/tmp/rpm-tmp.72942 (%build)

Build time for kernel-3.0.35: 8 seconds

 

Failed building kernel-3.0.35

 

 

f_buildrpms() returned an error, exiting

traceback:

main:572

 

 

Started: Sat Dec 14 18:32:22 2013

Ended:   Sat Dec 14 18:32:30 2013

Elapsed: 8 seconds

 

These packages failed to build:

kernel-3.0.35

 

Build Failed

Outcomes