Talk:Buildroot

Recommend that the community mailing list be used for technical discussion and support. Links to the mailing list may be found on the lower left side of gumstix.net

Don @ Gumstix

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

I tried this on Ubuntu 5.04 and it doesn't work. Although Ubuntu 6.10 is now out, you might stick with 6.06. Does anyone know if any adjustments are needed when installing the buildroot on Ubuntu 6.10? Inquiring minds want to know.

There seems to be something missing in the instructions for building root file systems on the mmc card. I get to the step that says "Enable drivers...", but when I do a make ARCH=arm menuconfig, I don't see the options enumerated in the "make these selections" box. What am I missing? did anyone else have this problem? - JimK

In the section about removing packages, it states that you can simply remove the build_arm_nofpu/root directory and rebuild, however, when you do this, kernel modules do not get properly repopulated in the root/ directory structure. Motoma 08:37, 27 June 2007 (PDT)

I have tried to check out the source using the instructions (ubuntu 6.06) - has the VERDEX source been moved or merged somewhere?

Just a note - this doesn't work on Ubuntu Feisty 7.04. With r1541 I get the error:

mkdir -p /home/chris/gumstix-buildroot/build_arm_nofpu/staging_dir/include (cd /home/chris/gumstix-buildroot/build_arm_nofpu/linux-2.6.21gum/include; tar -c -f - linux asm* | tar -xf - -C /home/chris/gumstix-buildroot/build_arm_nofpu/staging_dir/include/ ) tar: asm: Cannot create symlink to `asm-arm': File exists tar: Error exit delayed from previous errors make: *** [/home/chris/gumstix-buildroot/build_arm_nofpu/staging_dir/include/linux/version.h] Error 2

Then on the second (and subsequent) attempts to 'make' I get:

chris@chris-laptop:~/gumstix-buildroot$ make

Checking build system dependencies: sed works:                         Ok GNU make version '3.81':            Ok gcc version '4.1.2':                Ok which installed:                    Ok bison installed:                    Ok flex installed:                     Ok gettext installed:                  Ok Build system dependencies:          Ok

(cd /home/chris/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc; QUILT_PATCHES=/home/chris/gumstix-buildroot/toolchain/uClibc /home/chris/gumstix-buildroot/toolchain/quilt/bin/quilt --cmdpath /home/chris/gumstix-buildroot/toolchain/quilt/share --quiltrc /home/chris/gumstix-buildroot/toolchain/quilt/quilt.quiltrc push -a) /home/chris/gumstix-buildroot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory Applying patch /home/chris/gumstix-buildroot/toolchain/uClibc/restore-baudrates.patch patching file libc/sysdeps/linux/common/bits/termios.h Hunk #1 FAILED at 156. Hunk #2 FAILED at 170. 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h Patch /home/chris/gumstix-buildroot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f) make: *** [/home/chris/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.patched] Error 1

Is there a recommended "stable" revision and OS combination which I could use (in VMware, etc.)? This would be very helpful as I've tried several times to make buildroot over the last couple of years (with different OS's / buildroot revisions).

Does anyone have a linux VMware image with a working buildroot setup which they could contribute?

Chrisdew 01:41, 13 October 2007 (PDT)

(r1161 also doesn't work on Ubuntu Feisty) Chrisdew 02:09, 13 October 2007 (PDT)

Amendment: buildroot r1541 with an fedora core 6 system works! (Just follow the windows howto http://docwiki.gumstix.org/Buildroot_on_Windows - at some point the make will fail - just 'cp gpsd-2.33.tar.gz dl/ ; make' and it will continue to the end! Note: I have not yet tested the image which was created.)  Chrisdew 02:32, 14 October 2007 (PDT)

defconfig or .defconfig
Re:

For revisions of buildroot from 865 to 1444, use: cd gumstix-buildroot make defconfig make

Should make defconfig be changed to make .defconfig?

Version 1454
I am trying to build version 1454. Something that used to reliably compile. I am getting a build failure very early on in the uClibc. The strange thing IS this used to work. I have two copies that DO work and compile using older downloads of uClibc. I can fix this by copying an old compressed file over. BUT why is it doing this. It should not. Has someone altered the older build levels somewhere ?

here is the error I get Checking build system dependencies: sed works:                         Ok GNU make version '3.81':            Ok gcc version '4.2.3':                Ok which installed:                    Ok bison installed:                    Ok flex installed:                     Ok gettext installed:                  Ok Build system dependencies:          Ok

(cd /home/robin/gum/1454/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc-0.9.28; QUILT_PATCHES=/home/robin/gum/1454/gumstix-buildroot/toolchain/uClibc /home/robin/gum/1454/gumstix-buildroot/toolchain/quilt/bin/quilt --cmdpath /home/robin/gum/1454/gumstix-buildroot/toolchain/quilt/share --quiltrc /home/robin/gum/1454/gumstix-buildroot/toolchain/quilt/quilt.quiltrc push -a) /home/robin/gum/1454/gumstix-buildroot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory Applying patch /home/robin/gum/1454/gumstix-buildroot/toolchain/uClibc/restore-baudrates.patch patching file libc/sysdeps/linux/common/bits/termios.h Hunk #1 FAILED at 156. Hunk #2 FAILED at 170. 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h Patch /home/robin/gum/1454/gumstix-buildroot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f) make: *** [/home/robin/gum/1454/gumstix-buildroot/toolchain_build_arm_nofpu/uClibc-0.9.28/.patched] Error 1

Strangely though, compiling this stuff under SUSE LINUX jumps past this problem ! The failures above were due to compiling it under ubuntu Robin48gx 01:36, 4 September 2008 (PDT)