Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: Dragomir on January 16, 2013, 01:24:21 PM

Title: OLinuxino PPP support
Post by: Dragomir on January 16, 2013, 01:24:21 PM
Hi, I want to use this OLinuxino board as GPRS gateway, but unfortunately the latest ArcLinux image from http://archlinuxarm.org/ doesn't include ppp* kernel modules. It is weird, because it includes pppd service, as well as bunch of man pages, but no ppp modules. Firstly I thought I could compile these modules myself, but the kernel is build with this compiler:
(gcc version 4.7.1 20120721 (prerelease) (GCC) ), which I can't find.
The image itself includes GCC 4.7.2. Can anyone provide me with either link to GCC 4.7.1 20120721 compiler toolchain, or GCC 4.7.2 compiled kernel.

Thank you,
Dragomir
Title: Re: OLinuxino PPP support
Post by: micign on January 16, 2013, 08:23:46 PM
Hi Dragomir,

I use gcc v4.7.2 for olinuxino kernel compilation. It is availabe in Archlinux in AUR in cross-arm-none-eabi-gcc package (required are also cross-arm-none-eabi-binutils and cross-arm-none-eabi-gdb).

Compilation of this cross-compiler toolchain is pretty time consuming, so I have all three necessarry packages as .pkg.tar.xz files (for x86-64 Archlinux). Please let my know if you're intrested, I could upload them when I reach my home pc
Title: Re: OLinuxino PPP support
Post by: Dragomir on January 17, 2013, 12:46:13 PM
Hi micign,
Unfortunately, I use x86-32 Archlinux. I could use Code Sourcery Lite for compiling the kernel, once you assemble the instructions.
Title: Re: OLinuxino PPP support
Post by: guanx on January 18, 2013, 01:14:46 PM
What about simply using the cross compiler from kernel.org?
http://www.kernel.org/pub/tools/crosstool/