AnsweredAssumed Answered

Question:Build rootfs for BF609

Question asked by SmartIC on Jan 21, 2016
Latest reply on Jan 25, 2016 by WillMoore

Host Linux:Ubuntu 14.04 LTS

toolchain:

blackfin-toolchain-2014R1-RC2.x86_64

blackfin-toolchain-elf-gcc-4.3-2014R1-RC2.x86_64

blackfin-toolchain-uclibc-full-2014R1-RC2.x86_64

 

Rootfs:

 

Step1: make clean;make bf609-ezkit_defconfig

Then message:

parallels@ubuntu:~/blackfin/blackfin-buildroot$ make bf609-ezkit_defconfig

mkdir -p /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/lxdialog

make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" obj=/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config -C support/kconfig -f Makefile.br conf

make[1]: Entering directory `/home/parallels/blackfin/blackfin-buildroot/support/kconfig'

/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/.depend 2>/dev/null || :

make[1]: Leaving directory `/home/parallels/blackfin/blackfin-buildroot/support/kconfig'

make[1]: Entering directory `/home/parallels/blackfin/blackfin-buildroot/support/kconfig'

/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/conf.o

/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config -DCONFIG_=\"\"  -I. -c /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/zconf.tab.c -o /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/zconf.tab.o

In file included from /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/zconf.tab.c:2500:0:

./confdata.c: In function ‘conf_split_config’:

./confdata.c:849:6: warning: assignment makes pointer from integer without a cast [enabled by default]

  dir = dirname(_name);

      ^

/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE  -I/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config -DCONFIG_=\"\"   /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/conf.o /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/zconf.tab.o  -o /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/conf

rm /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/zconf.tab.c

make[1]: Leaving directory `/home/parallels/blackfin/blackfin-buildroot/support/kconfig'

#

# configuration written to /home/parallels/blackfin/blackfin-buildroot/.config

 

Step2:make

Then message:

parallels@ubuntu:~/blackfin/blackfin-buildroot$ make

/usr/bin/make -j3  HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig

make[1]: Entering directory `/home/parallels/blackfin/blackfin-buildroot'

BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/parallels/blackfin/blackfin-buildroot/.config /home/parallels/blackfin/blackfin-buildroot/output/build/buildroot-config/conf --silentoldconfig Config.in

make[1]: Leaving directory `/home/parallels/blackfin/blackfin-buildroot'

mkdir -p /home/parallels/blackfin/blackfin-buildroot/output/target

rsync -a \

  --exclude .empty --exclude .svn --exclude .git \

  --exclude .hg --exclude=CVS --exclude '*~' \

  "board/AnalogDevices/blackfin/target_skeleton"/ /home/parallels/blackfin/blackfin-buildroot/output/target/

cp support/misc/target-dir-warning.txt /home/parallels/blackfin/blackfin-buildroot/output/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM

touch /home/parallels/blackfin/blackfin-buildroot/output/build/.root

>>>   Checking external toolchain settings

IPv6 support available in C library, please enable BR2_INET_IPV6

make: *** [/home/parallels/blackfin/blackfin-buildroot/output/stamps/ext-toolchain-checked] Error 1

 

How to solve it? Thanks.

Outcomes