AnsweredAssumed Answered

BF-561: Building Linux 3.10 kernel

Question asked by KavanP on Feb 18, 2015
Latest reply on Mar 11, 2015 by Aaronwu

Hi

I'm trying to build Linux 3.10 system for BF561 but getting this error message:

cannot find usr/initramfs_data.o

 

The board files and defconfig files are in the places they are supposed to be. Set up the menuconfig and tried to compile.

Any comments/suggestions would be much appreciated.

 

The error output looks like this:

 

>>> linux 3.10.10 Building

PATH="/home/uclinux/blackfin-buildroot/output/host/bin:/home/uclinux/blackfin-buildroot/output/host/usr/bin:/home/uclinux/blackfin-buildroot/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin" PERLLIB="/home/uclinux/blackfin-buildroot/output/host/usr/lib/perl" /usr/bin/make -j2 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=blackfin INSTALL_MOD_PATH=/home/uclinux/blackfin-buildroot/output/target CROSS_COMPILE=" /home/uclinux/blackfin-buildroot/output/host/usr/bin/bfin-buildroot-linux-uclibc-" DEPMOD=/home/uclinux/blackfin-buildroot/output/host/usr/sbin/depmod -C /home/uclinux/blackfin-buildroot/output/build/linux-3.10.10 uImage

make[1]: Entering directory `/home/uclinux/blackfin-buildroot/output/build/linux-3.10.10'

  CHK     include/generated/uapi/linux/version.h

  CC      scripts/mod/devicetable-offsets.s

  CHK     include/generated/utsrelease.h

  CALL    scripts/checksyscalls.sh

  GEN     scripts/mod/devicetable-offsets.h

  HOSTCC  scripts/mod/file2alias.o

<stdin>:1220:2: warning: #warning syscall kcmp not implemented

<stdin>:1223:2: warning: #warning syscall finit_module not implemented

  HOSTLD  scripts/mod/modpost

  LD      usr/built-in.o

/home/uclinux/blackfin-buildroot/output/host/usr/bin/bfin-buildroot-linux-uclibc-ld: cannot find usr/initramfs_data.o: No such file or directory

make[2]: *** [usr/built-in.o] Error 1

make[1]: *** [usr] Error 2

make[1]: *** Waiting for unfinished jobs....

  CHK     include/generated/compile.h

make[1]: Leaving directory `/home/uclinux/blackfin-buildroot/output/build/linux-3.10.10'

make: *** [/home/uclinux/blackfin-buildroot/output/build/linux-3.10.10/.stamp_built] Error 2

Outcomes