Project

General

Profile

iproute2 for SocketCAN with 3.2 Kernel

Added by edward lambert over 8 years ago

The iproute2 utility for linux 3.2 seems to be unavailable from opkg. I am therefore unable to run the example in the wiki at https://support.criticallink.com/redmine/projects/indio/wiki/CAN_support, which I was hoping to use to prove the CAN interface. Is there another way to access the CAN interface or to acquire this utility that you know of?

The current feed for opkg is
src/gz base http://feeds.angstrom-distribution.org/feeds/v2012.05/ipk/eglibc/armv5te/base

Thanks,

Ed

*Originally Posted in Cortex-A8 forums by mistake https://support.criticallink.com/redmine/boards/28/topics/4802?r=4803#message-4803


Replies (2)

RE: iproute2 for SocketCAN with 3.2 Kernel - Added by Gregory Gluszek over 8 years ago

Hi Ed,

We've run into a similar problem here and rebuilt the package ourselves.

As a quick fix I've attached the package file. Install with

# opkg install iproute2_3.2.0-r1_armv5te.ipk

Let us know if you have any issues.

Thanks,
\Greg

RE: iproute2 for SocketCAN with 3.2 Kernel - Added by edward lambert over 8 years ago

Thanks. After running ip link set eth0 1000000, I can see the can0 interface listed.

The next step in the wiki is to send a message with cansend. Do you happen to have a binary of canutils as well?

Either way, I will try to write a small test application with something like can4linux.

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)