[Buildroot] Buildroot and Linux/ARM on AT91SAM9260
Ivan Kuten
ivan.kuten at promwad.com
Mon Dec 17 08:14:25 PST 2007
Ryan Ordway wrote:
> I've been using Buildroot with a board based on the AT91SAM9260. I was
> able to get a successful kernel build (2.6.21.6) and buildroot build
> (buildroot-atmel-20070521) using gcc 4.0.4, binutils 2.17 and uClibc
> 0.9.28.3. I've been trying to get an updated build from various
> different versions of buildroot from buildrooot-atmel-20070607,
> buildroot-trunk, etc. and while things build fine with some tweaking
> none of the toolchain combinations seem to generate working binaries.
> I've tried using EABI vs. OABI, softfloat for gcc, NWFPE vs. FastFPE,
> etc. The only combination that I can get to work reliably are gcc
> 4.0.4, binutils 2.17 and uClibc 0.9.28.3 with my 2.6.21.6 kernel with
> AT91 patches for 2.6.21 applied.
>
> Is there a magic compiler, binutils and uClibc trinity for Linux/ARM
> in particular?
>
> Thanks!
>
> Ryan
>
Indeed, I tried svn buildroot with kernel 2.6.22 for Cirrus Logic ARM board
BR2_ARM_TYPE="ARM920T"
BR2_ARM_EABI=y
BR2_SOFT_FLOAT=y
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_BINUTILS_VERSION_2_18=y
BR2_GCC_VERSION_4_2_1=y
rootfs was created but when booting:
/sbin/init: can't Kernel panic - not syncing: Attempted to kill init!
load library 'libgcc_s.so.1'
I checked that there is no libgcc_s.so.1 in rootfs image but I have BR2_GCC_SHARED_LIBGCC=y
May be that is a cause why you not getting working rootfs.
Regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
More information about the buildroot
mailing list