mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Compilation for ARM926ej-s --> S3c2451
@ 2014-12-03  9:25 Carlos Leyva Guerrero
  2014-12-03 10:02 ` Guillermo Rodriguez Garcia
  0 siblings, 1 reply; 11+ messages in thread
From: Carlos Leyva Guerrero @ 2014-12-03  9:25 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 6308 bytes --]

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)

[-- Attachment #1.2: Type: text/html, Size: 10766 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-12-18 22:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03  9:25 [ptxdist] Compilation for ARM926ej-s --> S3c2451 Carlos Leyva Guerrero
2014-12-03 10:02 ` Guillermo Rodriguez Garcia
2014-12-03 10:58   ` Carlos Leyva Guerrero
2014-12-03 11:24     ` Guillermo Rodriguez Garcia
2014-12-03 16:01       ` Carlos Leyva Guerrero
2014-12-03 16:47         ` Guillermo Rodriguez Garcia
2014-12-03 17:00           ` Carlos Leyva Guerrero
2014-12-04  9:02             ` Guillermo Rodriguez Garcia
2014-12-05 16:46               ` Guillermo Rodriguez Garcia
2014-12-18 18:41                 ` Guillermo Rodriguez Garcia
2014-12-18 22:43                   ` Carlos Leyva Guerrero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox