Talk:Buildroot
From GumstixDocsWiki
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?

