From: Mirza Krak <mirza.krak@gmail.com>
To: "Spies, Raphael | BFFT GmbH" <raphael.spies@bfft.de>,
'Wolfgang Grandegger' <wg@grandegger.com>
Cc: "'linux-can@vger.kernel.org'" <linux-can@vger.kernel.org>
Subject: Re: AW: AW: CAN Interface on Toradex Board
Date: Fri, 25 Oct 2013 00:50:58 +0200 [thread overview]
Message-ID: <5269A452.5060306@gmail.com> (raw)
In-Reply-To: <F1A135976112904197F6276B89309FEF26040B@sgexc1.bfft.de>
Hi.
I am also an user of Tegra 2 module from toradex and I haven't had any
similar issues. Which eval board are you running? Have you tried the
canconfig tool? Have you tried building iproute2 with the bitbake, this
is what I have used without any issues. Don't know the state of the
packages available for download.
And also why don't ask toradex support for this?
mvh
Mirza
*******************************************************************
Mirza Krak
Host Mobility AB
mirza.krak@hostmobility.com
Anders Personsgatan 12, 416 64 Göteborg
Sweden
www.hostmobility.com <http://www.hostmobility.com>
Direct: +46 31 31 32 704
Phone: +46 31 31 32 700
Fax: +46 31 80 67 51
Mobile: +46 730 28 06 22
*******************************************************************
On 2013-10-24 09:39, Spies, Raphael | BFFT GmbH wrote:
>
>> -----Ursprüngliche Nachricht-----
>> Von: linux-can-owner@vger.kernel.org [mailto:linux-can-
>> owner@vger.kernel.org] Im Auftrag von Wolfgang Grandegger
>> Gesendet: Donnerstag, 24. Oktober 2013 09:28
>> An: Spies, Raphael | BFFT GmbH
>> Cc: Oliver Hartkopp; linux-can@vger.kernel.org
>> Betreff: Re: AW: CAN Interface on Toradex Board
>>
>> On Thu, 24 Oct 2013 06:44:30 +0000, "Spies, Raphael | BFFT GmbH"
>>
>> <raphael.spies@bfft.de> wrote:
>>
>>> Hello everyone,
>>
>>>
>>
>>> thanks for the help so far..
>>
>>>
>>
>>>
>>
>>>> Can you see the can0 interface itself?
>>
>>>
>>
>>> Yes, I Can see the can interface. IP Link shows:
>>
>>>
>>
>>> 2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT
>> qlen
>>> 10
>>
>>> link/can
>>
>>> can state STOPPED (berr-counter tx 0 rx 0) restart-ms 0
>>
>>> bitrate 0 sample-point 0.000
>>
>>> tq 0 prop-seg 0 phase-seg1 0 phase-seg2 0 sjw 0
>>
>>> sja1000: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp-inc 1
>>
>>> clock 12000000
>>
>>>
>>
>>>> when invoking 'dmesg' ?
>>
>>>
>>
>>> [ 2.067414] CAN device driver interface
>>
>>> [ 2.079435] sja1000 CAN netdevice driver
>>
>>> [ 2.092644] sja1000_platform sja1000_platform.0: sja1000_platform
>>
>>> device registered (reg_base=c9800000, irq=192)
>>
>>> ...
>>
>>> [ 5.051783] can: controller area network core (rev 20090105 abi 8)
>>
>>> [ 5.063383] NET: Registered protocol family 29
>>
>>> [ 5.072990] can: raw protocol (rev 20090105)
>>
>>> [ 5.082193] can: broadcast manager protocol (rev 20090105 t)
>>
>>>
>>
>>>
>>
>>>> This looks like the installed iproute2 package is broken.
>>
>>>
>>
>>> I downloaded them from the given link in the documentation:
>>
>>>
>>
>> http://developer.toradex.com/files/toradex-
>> dev/uploads/media/Colibri/Linux/Extra/can-packages.tar.bz2
>>
>>> on the distribution in the image V2 of Toradex there is due to the
>>
>>> hardfloat architecture no working package manager, so I have to
>>> install
>>
>>> them manually
>>
>>>
>>
>>>
>>
>>>> ls -l `which ip`
>>
>>>> to check if 'ip' is linked to the busybox binary.
>>
>>>
>>
>>> "Which ip" gives "/bin/ip" and is in my opinion linked to iproute2
>>
>>
>>
>> What does "ip link help" list?
>
> sh-4.2# ip link help
> Usage: ip link add [link DEV] [ name ] NAME
> [ txqueuelen PACKETS ]
> [ address LLADDR ]
> [ broadcast LLADDR ]
> [ mtu MTU ]
> type TYPE [ ARGS ]
> ip link delete DEV type TYPE [ ARGS ]
>
> ip link set { dev DEVICE | group DEVGROUP } [ { up | down } ]
> [ arp { on | off } ]
> [ dynamic { on | off } ]
> [ multicast { on | off } ]
> [ allmulticast { on | off } ]
> [ promisc { on | off } ]
> [ trailers { on | off } ]
> [ txqueuelen PACKETS ]
> [ name NEWNAME ]
> [ address LLADDR ]
> [ broadcast LLADDR ]
> [ mtu MTU ]
> [ netns PID ]
> [ netns NAME ]
> [ alias NAME ]
> [ vf NUM [ mac LLADDR ]
> [ vlan VLANID [ qos VLAN-QOS ] ]
> [ rate TXRATE ] ]
> [ spoofchk { on | off} ] ]
> [ master DEVICE ]
> [ nomaster ]
> ip link show [ DEVICE | group GROUP ]
>
> TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can | bridge }
>
>
> Raphael
> N�����r��y���b�X��ǧv�^�){.n�+����{�q���^n�r���z�\x1a��h����&��\x1e�G���h�\x03(�階�ݢj"��\x1a�^[m�����z�ޖ���f���h���~�mml==
>
next prev parent reply other threads:[~2013-10-24 22:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 16:49 CAN Interface on Toradex Board Spies, Raphael | BFFT GmbH
2013-10-23 17:22 ` Oliver Hartkopp
2013-10-24 6:44 ` AW: " Spies, Raphael | BFFT GmbH
2013-10-24 7:28 ` Wolfgang Grandegger
2013-10-24 7:39 ` AW: " Spies, Raphael | BFFT GmbH
2013-10-24 22:50 ` Mirza Krak [this message]
2013-10-25 18:24 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5269A452.5060306@gmail.com \
--to=mirza.krak@gmail.com \
--cc=linux-can@vger.kernel.org \
--cc=raphael.spies@bfft.de \
--cc=wg@grandegger.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.