Dear Marcio,
I'm working with the 2.6.30 Kernel and the given patches from the website. it works fine for me.
What boot-arguments do you pass to the kernel?
As cross-compiler I'm using: arm-none-linux-gnueabi-
For NFS booting I added the following configuration to the kernel:
add CONFIG_IP_PNP=y
add CONFIG_ROOT_NFS=y
...
Coming back to my original question, I tried to build my rootfs with the latest buildroot (buildroot-2012.05) but always get the following error message:
Code:
>>> host-gmp 5.0.4 Configuring
(cd /home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/build/host-gmp-5.0.4/ && rm -rf config.cache; PATH=/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/bin:/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/bin:/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2010.02/output/staging/usr/bin:/home/stefan/AT91SAM9G45/02_uboot/u-boot-1.3.4/tools:/opt/tool_chains/arm-2007q1/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/bin/ccache /usr/bin/gcc" GCC="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/bin/ccache /usr/bin/gcc" CXX="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/bin/ccache /usr/bin/g++" CPP="/usr/bin/cpp" CFLAGS="-O2 -I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/include -I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/include" CXXFLAGS="-I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/include -I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/include" LDFLAGS="-L/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/lib -L/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib -Wl,-rpath,/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib/pkgconfig:/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/share/pkgconfig" PERLLIB="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib/perl" LD_LIBRARY_PATH="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib:" CFLAGS="-O2 -I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/include -I/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/include" LDFLAGS="-L/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/lib -L/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib -Wl,-rpath,/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr/lib" ./configure --prefix="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/usr" --sysconfdir="/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/host/etc" --enable-shared --disable-static )
checking build system type... Invalid configuration `i686-pc-linux-': machine `i686-pc-linux' not recognized
configure: error: /bin/bash ./config.sub i686-pc-linux- failed
make: *** [/home/stefan/AT91SAM9G45/04_rootfs/buildroot-2012.05/output/build/host-gmp-5.0.4/.stamp_configured] Error 1
Can anybody tell me where I have to start digging into?
Thank you in advance!
S.G.