[OpenWrt-Devel] Toolchain for armv7-ar?
Florin
floring2502 at gmail.com
Thu Nov 9 04:02:03 EST 2017
I've got a toolchain (gcc-4.9.2 + binutils-2.26.1) running on armv7-a and
ipk packages compiled with/for it:
floring at huawei:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/usr/libexec/gcc/arm-linux-gnueabi/4.9.2/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../configure --host=arm-linux-gnueabi
--target=arm-linux-gnueabi --prefix=/opt/usr --with-gmp=/opt/usr
--with-mpfr=/opt/usr --with-mpc=/opt/usr --with-isl=/opt/usr
--with-cloog=/opt/usr --enable-languages=c,c++,go,objc,obj-c++
--disable-multilib
LDFLAGS_FOR_TARGET=-Wl,--dynamic-linker=/opt/lib/ld-linux.so.3
LDFLAGS_FOR_HOST=-Wl,--dynamic-linker=/opt/lib/ld-linux.so.3
LDFLAGS=-Wl,--dynamic-linker=/opt/lib/ld-linux.so.3
Thread model: posix
gcc version 4.9.2 (GCC)
The architecture is a Huawei-ES880 (Cortex A9 without FPU) router running
Zyxmon's DD-WRT mod for Northstar platforms. I've even been able to compile
and run Xorg, GTK 2 and 3 and Qt 4.8.2 as optware on it, and I am currently
working on upgrading gcc and "debianize" it. So I kinda run a complete linux
on this architecture.
I've started it from cross-compiling glibc and gcc and installing them on
scratch /opt filesystem, and to simplify things I used some of Zyxmon's
Qnapware (http://qnapware.zyxmon.org/binaries-armv7/); If you only need some
essential packages, this link would be enough.
I am doing it as a hobby, but my problem is that I don't have a large
traffic subscription so I cannot make it largely public. If you need more
than the packages in Qnapware, especially the native arm-v7a toolchain, then
I could share my work. Keep in mind that these embedded systems have limited
RAM so you need to setup at least 1GB of swap space and set TMPDIR variable
on external HDD directory for making all these work.
Florin
> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Karl Palsson
> Sent: Wednesday, November 08, 2017 10:54 PM
> To: Ajay Garg
> Cc: openwrt-devel
> Subject: Re: [OpenWrt-Devel] Toolchain for armv7-ar?
>
>
> That part is armv7-m (not -a, not -r). They don't generally run linux at
all, so
> don't have toolchains targetting linux, and don't generally have existing
> targets in openwrt.
>
> You _can_ run linux on them, but it's a farrrr bigger task than just,
"which
> toolchain do I need to select in menuconfig"
>
> Cheers,
> Karl P
>
> Ajay Garg <ajaygargnsit at gmail.com> wrote:
> > Experts,
> >
> > Waiting for your kind reply/replies.
> >
> >
> > Thanks and Regards,
> > Ajay
> >
> > On 7 Nov 2017 11:22 a.m., "Ajay Garg" <ajaygargnsit at gmail.com>
> > wrote:
> >
> > > Hi All.
> > >
> > > I have been trying to build the toolchain+packages (especially
> > > openssl) using openwrt, but have been unable to do so for a armv7-ar
> architecture.
> > >
> > > The processor on our SOC is
> > > https://www.digikey.com/product-detail/en/microchip-
> > > technology/ATSAM4E8CA-AUR/ATSAM4E8CA-AURCT-ND/4140758
> > >
> > > So, is there an (already existing) configuration (in "make
> > > menuconfig", or
> > > otherwise) that builds everything (toolchain plus packages) for
armv7-ar?
> > >
> > >
> > > Will be grateful to listen from you experts.
> > >
> > >
> > > Thanks and Regards,
> > > Ajay
> > >
> > _______________________________________________
> > openwrt-devel mailing list
> > openwrt-devel at lists.openwrt.org
> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list