Building root filesystem and BusyBox


#1

Hi all I have one moge problem using the tool chain. I am following howto at RocketBoards https://rocketboards.org/foswiki/view/Documentation/EmbeddedLinuxBeginnerSGuide#6

The kernel compilation goes smooth and I am followig it step by step just using latest sources:

wget http://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/arm-linux-gnueabihf/gcc-linaro-6.2.1-2016.11-i686_arm-linux-gnueabihf.tar.xz
git clone https://github.com/altera-opensource/linux-socfpga.git
git clone http://git.buildroot.net/git/buildroot.git

export CROSS_COMPILE=$(pwd)/gcc-linaro-6.2.1-2016.11-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

cd linux-socfpga
git tag –l rel*
git checkout rel_socfpga-4.7_16.10.02_pr 

make -C linux-socfpga/ ARCH=arm menuconfig
make -C linux-socfpga/ ARCH=arm LOCALVERSION= zImage
make -C linux-socfpga/ ARCH=arm LOCALVERSION= all

then I start to compile root file system
I have to deactivate perl (the compilation is complaining)
eval $(perl -Mlocal::lib=--deactivate-all)
then I make nconfig for the buildroot
make -C buildroot ARCH=ARM BR2_TOOLCHAIN_EXTERNAL_PATH=/$(pwd)/gcc-linaro-6.2.1-2016.11-i686_arm-linux-gnueabihf nconfig

seting up the toolchain

every thing goes smooth upto this point. Then when I make menu config it looks like it mess up the toolchain path
make -C buildroot busybox-menuconfig. The menuconfig runs but while exiting I get the error

*
* System Logging Utilities
*
klogd (KLOGD) [Y/n/?] y
  Use the klogctl() interface (FEATURE_KLOGD_KLOGCTL) [Y/n/?] y
logger (LOGGER) [Y/n/?] y
syslogd (SYSLOGD) [Y/n/?] y
  Rotate message files (FEATURE_ROTATE_LOGFILE) [Y/n/?] y
  Remote Log support (FEATURE_REMOTE_LOG) [Y/n/?] y
  Support -D (drop dups) option (FEATURE_SYSLOGD_DUP) [N/y/?] n
  Support syslog.conf (FEATURE_SYSLOGD_CFG) [N/y/?] n
  Read buffer size in bytes (FEATURE_SYSLOGD_READ_BUFFER_SIZE) [256] 256
  Circular Buffer support (FEATURE_IPC_SYSLOG) [N/y/?] n
  Linux kernel printk buffer support (FEATURE_KMSG_SYSLOG) [N/y/?] n
/home/jkopal/AlteraDevelopment/buildroot/output/build/busybox-1.25.1/scripts/gcc-version.sh: line 11: /home/jkopal/AlteraDevelopment/buildroot/output/host/usr/bin/arm-linux-gnueabihf-gcc: No such file or directory
make: Leaving directory `/home/jkopal/AlteraDevelopment/buildroot'
[jkopal@localhost AlteraDevelopment]$ 

I also tryed to define toolchain manually with path but I receivew the same error. I also deleted everything a couple of times and started from scratch and I always end up here. Any hint ?


#2

I get the same problem. Any ideas how to solve this?