From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-f54.google.com ([209.85.215.54]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xw6CD-00039j-Om for ptxdist@pengutronix.de; Wed, 03 Dec 2014 10:26:06 +0100 Received: by mail-la0-f54.google.com with SMTP id pv20so7542161lab.13 for ; Wed, 03 Dec 2014 01:25:59 -0800 (PST) MIME-Version: 1.0 Date: Wed, 3 Dec 2014 10:25:59 +0100 Message-ID: From: Carlos Leyva Guerrero Subject: [ptxdist] Compilation for ARM926ej-s --> S3c2451 Reply-To: ptxdist@pengutronix.de, carlos.leyva@idener.es List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2041000643==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============2041000643== Content-Type: multipart/alternative; boundary=001a113474f87b8b5805094c6ec8 --001a113474f87b8b5805094c6ec8 Content-Type: text/plain; charset=UTF-8 Hi, I'm currently trying to adapt mini2440 platform to mini2451(by FriendlyARM). Leaving the topic of the bootloader a side, I currently have something functional with Ptxdist 2014.10.0. I am able to compile everything well using the toolchain provided by Friendly ARM (old glibc -> no current udev support), the one provided by CodeSourcery (Sourcery G++ Lite 2009q3-67) or OSELAS.Toolchain.2013.12.2 (armv5t). The rootfs generated works well despite the used toolchain. Nevertheless the generated zImage doesn't boot in the board when using the OSELAS toolchain. Has anyone had a similar problem or can figure what its happening here? Thanks in advance. P.D: Is it curious that the FriendlyARM toolchain is not even targeted to this processor. I include here the 3 outputs of arm....gcc -version for reference: FriendlyArm > Using built-in specs. > > Target: arm-none-linux-gnueabi > > Configured with: >> /opt/FriendlyARM/mini2440/build-toolschain/working/src/gcc-4.4.3/configure >> --build=i386-build_redhat-linux-gnu --host=i386-build_redhat-linux-gnu >> --target=arm-none-linux-gnueabi --prefix=/opt/FriendlyARM/toolschain/4.4.3 >> --with-sysroot=/opt/FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root >> --enable-languages=c,c++ --disable-multilib --with-arch=armv4t >> --with-cpu=arm920t --with-tune=arm920t --with-float=soft >> --with-pkgversion=ctng-1.6.1 --disable-sjlj-exceptions >> --enable-__cxa_atexit --with-gmp=/opt/FriendlyARM/toolschain/4.4.3 >> --with-mpfr=/opt/FriendlyARM/toolschain/4.4.3 >> --with-ppl=/opt/FriendlyARM/toolschain/4.4.3 >> --with-cloog=/opt/FriendlyARM/toolschain/4.4.3 >> --with-mpc=/opt/FriendlyARM/toolschain/4.4.3 >> --with-local-prefix=/opt/FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root >> --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 >> --enable-long-long --enable-target-optspace > > Thread model: posix > > gcc version 4.4.3 (ctng-1.6.1) > > CodeSourcery > Using built-in specs. > > Target: arm-none-linux-gnueabi > > Configured with: >> /scratch/julian/2009q3-respin-linux-lite/src/gcc-4.4/configure >> --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu >> --target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap >> --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs >> --with-arch=armv5te --with-gnu-as --with-gnu-ld >> --with-specs='%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables} >> %{O2:%{!fno-remove-local-statics: -fremove-local-statics}} >> %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: >> -fremove-local-statics}}}' --enable-languages=c,c++ --enable-shared >> --disable-lto --enable-symvers=gnu --enable-__cxa_atexit >> --with-pkgversion='Sourcery G++ Lite 2009q3-67' --with-bugurl= >> https://support.codesourcery.com/GNUToolchain/ --disable-nls >> --prefix=/opt/codesourcery >> --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc >> --with-build-sysroot=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/libc >> --with-gmp=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr >> --with-mpfr=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr >> --with-ppl=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr >> --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' >> --with-cloog=/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr >> --disable-libgomp --enable-poison-system-directories >> --with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin >> --with-build-time-tools=/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin > > Thread model: posix > > gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) > > OSELAS > Using built-in specs. COLLECT_GCC=arm-v5te-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/../libexec/gcc/arm-v5te-linux-gnueabi/4.8.2/lto-wrapper Target: arm-v5te-linux-gnueabi Configured with: > /home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2/configure > --build=i686-host-linux-gnu --host=i686-host-linux-gnu > --target=arm-v5te-linux-gnueabi > --with-sysroot=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/inst/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-v5te-linux-gnueabi > --disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s > --enable-__cxa_atexit --disable-sjlj-exceptions --disable-nls > --disable-decimal-float --disable-fixed-point --disable-win32-registry > --enable-symvers=gnu --with-pkgversion=OSELAS.Toolchain-2013.12.2 > --enable-threads=posix --with-system-zlib > --with-gmp=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host > --with-mpfr=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host > --with-mpc=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host > --with-isl=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host > --with-cloog=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host > --prefix=/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/inst/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized > --enable-languages=c,c++ --enable-c99 --enable-long-long > --enable-libstdcxx-debug --enable-profile --enable-shared --disable-libssp > --enable-checking=release Thread model: posix gcc version 4.8.2 (OSELAS.Toolchain-2013.12.2) --001a113474f87b8b5805094c6ec8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0

I= 9;m currently trying to adapt mini2440 platform to mini2451(by FriendlyARM)= . Leaving the topic of the bootloader a side, I currently have something fu= nctional with Ptxdist 2014.10.0.

I am able to compile everything well using the toolchain pr= ovided by Friendly ARM (old glibc -> no current udev support), the one p= rovided by CodeSourcery (Sourcery G++ Lite 2009q3-67) or OSELAS.Toolchain.2= 013.12.2 (armv5t).

The rootfs generated works well despite the used toolchain. Nevertheless = the generated zImage doesn't boot in the board when using the OSELAS to= olchain. Has anyone had a similar problem or can figure what its happening = here?

<= /div>

<= div style=3D"font-family:arial,sans-serif;font-size:13px">Thanks in advance= .

P.D: Is it curi= ous that the FriendlyARM toolchain is not even targeted to this processor.<= /div>

<= div style=3D"font-family:arial,sans-serif;font-size:13px">I include here th= e 3 outputs of arm....gcc -version for reference:
FriendlyArm
Using built-in= specs.
Target: arm-none-linux-gnueabi
Configured with: /opt/FriendlyARM/mini2440/build-tool= schain/working/src/gcc-4.4.3/configure --build=3Di386-build_redhat-linux-gn= u --host=3Di386-build_redhat-linux-gnu --target=3Darm-none-linux-gnueabi --= prefix=3D/opt/FriendlyARM/toolschain/4.4.3 --with-sysroot=3D/opt/FriendlyAR= M/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root --enable-languages=3Dc,= c++ --disable-multilib --with-arch=3Darmv4t --with-cpu=3Darm920t --with-tun= e=3Darm920t --with-float=3Dsoft --with-pkgversion=3Dctng-1.6.1 --disable-sj= lj-exceptions --enable-__cxa_atexit --with-gmp=3D/opt/FriendlyARM/toolschai= n/4.4.3 --with-mpfr=3D/opt/FriendlyARM/toolschain/4.4.3 --with-ppl=3D/opt/F= riendlyARM/toolschain/4.4.3 --with-cloog=3D/opt/FriendlyARM/toolschain/4.4.= 3 --with-mpc=3D/opt/FriendlyARM/toolschain/4.4.3 --with-local-prefix=3D/opt= /FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root --disable-nl= s --enable-threads=3Dposix --enable-symvers=3Dgnu --enable-c99 --enable-lon= g-long --enable-target-optspace
Thread model: = posix
gcc version 4.4.3 (ctng-1.6.1)=C2=A0

CodeSourcery
Using built-in specs.
Target: arm-none-linu= x-gnueabi
Configured with: /scratch/julian/200= 9q3-respin-linux-lite/src/gcc-4.4/configure --build=3Di686-pc-linux-gnu --h= ost=3Di686-pc-linux-gnu --target=3Darm-none-linux-gnueabi --enable-threads = --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extr= a-sgxxlite-multilibs --with-arch=3Darmv5te --with-gnu-as --with-gnu-ld --wi= th-specs=3D'%{funwind-tables|fno-unwind-tables|mabi=3D*|ffreestanding|n= ostdlib:;:-funwind-tables} %{O2:%{!fno-remove-local-statics: -fremove-local= -statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-loc= al-statics}}}' --enable-languages=3Dc,c++ --enable-shared --disable-lto= --enable-symvers=3Dgnu --enable-__cxa_atexit --with-pkgversion=3D'Sour= cery G++ Lite 2009q3-67' --with-bugurl=3Dhttps://support.codesourcery= .com/GNUToolchain/=C2=A0--disable-nls --prefix=3D/opt/codesourcery --wi= th-sysroot=3D/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sys= root=3D/scratch/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnue= abi/libc --with-gmp=3D/scratch/julian/2009q3-respin-linux-lite/obj/host-lib= s-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr=3D/scr= atch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux= -gnueabi-i686-pc-linux-gnu/usr --with-ppl=3D/scratch/julian/2009q3-respin-l= inux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/= usr --with-host-libstdcxx=3D'-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdyn= amic -lm' --with-cloog=3D/scratch/julian/2009q3-respin-linux-lite/obj/h= ost-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-l= ibgomp --enable-poison-system-directories --with-build-time-tools=3D/scratc= h/julian/2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin --with= -build-time-tools=3D/scratch/julian/2009q3-respin-linux-lite/install/arm-no= ne-linux-gnueabi/bin
Thread model: posix
gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67)

OSELAS
Usin= g built-in specs.
COLLECT_GCC=3Darm-v5te-linux= -gnueabi-gcc
COLLECT_LTO_WRAPPER=3D/opt/OSELAS= .Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2= .24-kernel-3.12-sanitized/bin/../libexec/gcc/arm-v5te-linux-gnueabi/4.8.2/l= to-wrapper
Target: arm-v5te-linux-gnueabi
Configured with: /home/mol/himalia/tmp/OSELAS.Tool= chain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binuti= ls-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2/configure --build=3Di68= 6-host-linux-gnu --host=3Di686-host-linux-gnu --target=3Darm-v5te-linux-gnu= eabi --with-sysroot=3D/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/inst= /opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18= -binutils-2.24-kernel-3.12-sanitized/sysroot-arm-v5te-linux-gnueabi --disab= le-multilib --with-float=3Dsoft --with-fpu=3Dvfp --with-cpu=3Darm926ej-s --= enable-__cxa_atexit --disable-sjlj-exceptions --disable-nls --disable-decim= al-float --disable-fixed-point --disable-win32-registry --enable-symvers=3D= gnu --with-pkgversion=3DOSELAS.Toolchain-2013.12.2 --enable-threads=3Dposix= --with-system-zlib --with-gmp=3D/home/mol/himalia/tmp/OSELAS.Toolchain-201= 3.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-k= ernel-3.12-sanitized/sysroot-host --with-mpfr=3D/home/mol/himalia/tmp/OSELA= S.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-= binutils-2.24-kernel-3.12-sanitized/sysroot-host --with-mpc=3D/home/mol/him= alia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux-gnueabi-gcc-4.8= .2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host --with-isl= =3D/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platform-arm-v5te-linux= -gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-h= ost --with-cloog=3D/home/mol/himalia/tmp/OSELAS.Toolchain-2013.12.2/platfor= m-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-san= itized/sysroot-host --prefix=3D/home/mol/himalia/tmp/OSELAS.Toolchain-2013.= 12.2/inst/opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-g= libc-2.18-binutils-2.24-kernel-3.12-sanitized --enable-languages=3Dc,c++ --= enable-c99 --enable-long-long --enable-libstdcxx-debug --enable-profile --e= nable-shared --disable-libssp --enable-checking=3Drelease
Thread model: posix
gcc version 4.= 8.2 (OSELAS.Toolchain-2013.12.2)=C2=A0


--001a113474f87b8b5805094c6ec8-- --===============2041000643== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============2041000643==--