All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Request for Help
@ 2016-11-26 11:38 BertHuber
  2016-11-26 12:36 ` Cassiano Martin
  2016-11-26 15:51 ` Cassiano Martin
  0 siblings, 2 replies; 9+ messages in thread
From: BertHuber @ 2016-11-26 11:38 UTC (permalink / raw)
  To: buildroot

Hello,
I am new to this mailinglist and also quite new to the buildroot
environment.
I got stuck in my current project with the following problem:
 
I am currently trying to build an embedded Linux System with Buildroot. 

It works so far, I get a bootable SD Card for my A20 based board. 

I included all CAN Drivers & protocols I could find (can, can_raw and vcan) 

My problem is : after booting and loggin in as root

I type:

 ip link add dev vcan0 type vcan ---- THAT WORKS



but

 ip link add dev can0 type can 



produces:

RTNETLIINK answers: Operation not supported

What is wrong ?? Thanks in advance for any ideas.

Regards

Bert

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/e3d64902/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 11:38 [Buildroot] Request for Help BertHuber
@ 2016-11-26 12:36 ` Cassiano Martin
  2016-11-26 13:06   ` BertHuber
  2016-11-26 15:51 ` Cassiano Martin
  1 sibling, 1 reply; 9+ messages in thread
From: Cassiano Martin @ 2016-11-26 12:36 UTC (permalink / raw)
  To: buildroot

Maybe your kernel is missing can support?  

Enviado do meu iPhone

> Em 26 de nov de 2016, ?s 09:38, BertHuber <3237-15@online.de> escreveu:
> 
> Hello,
> I am new to this mailinglist and also quite new to the buildroot environment.
> I got stuck in my current project with the following problem:
>  
> I am currently trying to build an embedded Linux System with Buildroot.
> 
> It works so far, I get a bootable SD Card for my A20 based board.
> 
> I included all CAN Drivers & protocols I could find (can, can_raw and vcan)
> 
> My problem is : after booting and loggin in as root
> 
> I type:
> 
>  ip link add dev vcan0 type vcan ---- THAT WORKS
> but
> 
>  ip link add dev can0 type can 
> produces:
> 
> RTNETLIINK answers: Operation not supported
> 
> What is wrong ?? Thanks in advance for any ideas.
> 
> Regards
> 
> Bert
> 
>  
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/efd39354/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 12:36 ` Cassiano Martin
@ 2016-11-26 13:06   ` BertHuber
  0 siblings, 0 replies; 9+ messages in thread
From: BertHuber @ 2016-11-26 13:06 UTC (permalink / raw)
  To: buildroot

I don't beleive so, as I said, I selected every configuration item that has
anything to do
with CAN, also I explicitly selected the A20 CAN Driver in the Kernel.

 
  _____  

Von: buildroot [mailto:buildroot-bounces at busybox.net] Im Auftrag von
Cassiano Martin
Gesendet: Samstag, 26. November 2016 13:36
An: BertHuber
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] Request for Help


Maybe your kernel is missing can support?  

Enviado do meu iPhone

Em 26 de nov de 2016, ?s 09:38, BertHuber <3237-15@online.de> escreveu:



Hello,
I am new to this mailinglist and also quite new to the buildroot
environment.
I got stuck in my current project with the following problem:
 
I am currently trying to build an embedded Linux System with Buildroot. 

It works so far, I get a bootable SD Card for my A20 based board. 

I included all CAN Drivers & protocols I could find (can, can_raw and vcan) 

My problem is : after booting and loggin in as root

I type:

 ip link add dev vcan0 type vcan ---- THAT WORKS



but

 ip link add dev can0 type can 



produces:

RTNETLIINK answers: Operation not supported

What is wrong ?? Thanks in advance for any ideas.

Regards

Bert

 

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/30af02f4/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 11:38 [Buildroot] Request for Help BertHuber
  2016-11-26 12:36 ` Cassiano Martin
@ 2016-11-26 15:51 ` Cassiano Martin
  2016-11-26 16:06   ` BertHuber
  1 sibling, 1 reply; 9+ messages in thread
From: Cassiano Martin @ 2016-11-26 15:51 UTC (permalink / raw)
  To: buildroot

Right,

maybe an issue with iproute, are you using busybox one, or the real one,
from 'ip tools' package?

AFAIK bbox ip does not support can. I might be wrong too.

[]'s

2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:

> Hello,
> I am new to this mailinglist and also quite new to the buildroot
> environment.
> I got stuck in my current project with the following problem:
>
>
> I am currently trying to build an embedded Linux System with Buildroot.
>
> It works so far, I get a bootable SD Card for my A20 based board.
>
> I included all CAN Drivers & protocols I could find (can, can_raw and
> vcan)
>
> My problem is : after booting and loggin in as root
>
> I type:
>
>  ip link add dev vcan0 type vcan ---- THAT WORKS
>
> but
>
>  ip link add dev can0 type can
>
> produces:
>
> RTNETLIINK answers: Operation not supported
>
> What is wrong ?? Thanks in advance for any ideas.
>
> Regards
>
> Bert
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/43364b8e/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 15:51 ` Cassiano Martin
@ 2016-11-26 16:06   ` BertHuber
  2016-11-26 21:37     ` Cassiano Martin
  0 siblings, 1 reply; 9+ messages in thread
From: BertHuber @ 2016-11-26 16:06 UTC (permalink / raw)
  To: buildroot

I don't know. As I said I'm quite new to the whole Buildroot world.
How can I find out ? .. and if it is the wrong how do I install the right ?
 
 

  _____  

Von: Cassiano Martin [mailto:cassiano at polaco.pro.br] 
Gesendet: Samstag, 26. November 2016 16:52
An: BertHuber
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] Request for Help


Right, 

maybe an issue with iproute, are you using busybox one, or the real one,
from 'ip tools' package?

AFAIK bbox ip does not support can. I might be wrong too.

[]'s

2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:



Hello,
I am new to this mailinglist and also quite new to the buildroot
environment.
I got stuck in my current project with the following problem:
 
I am currently trying to build an embedded Linux System with Buildroot. 

It works so far, I get a bootable SD Card for my A20 based board. 

I included all CAN Drivers & protocols I could find (can, can_raw and vcan) 

My problem is : after booting and loggin in as root

I type:

 ip link add dev vcan0 type vcan ---- THAT WORKS



but

 ip link add dev can0 type can 



produces:

RTNETLIINK answers: Operation not supported

What is wrong ?? Thanks in advance for any ideas.

Regards

Bert

 


_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/
<http://lists.busybox.net/mailman/listinfo/buildroot>
mailman/listinfo/buildroot



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/f3d2821e/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 16:06   ` BertHuber
@ 2016-11-26 21:37     ` Cassiano Martin
  2016-11-26 22:19       ` BertHuber
  0 siblings, 1 reply; 9+ messages in thread
From: Cassiano Martin @ 2016-11-26 21:37 UTC (permalink / raw)
  To: buildroot

Ok, so you go under Target Packages -> Networking Applications -> iproute2

Check it and do a rebuild. It will install legacy ip and tc tools.

[]'s

2016-11-26 14:06 GMT-02:00 BertHuber <3237-15@online.de>:

> I don't know. As I said I'm quite new to the whole Buildroot world.
> How can I find out ? .. and if it is the wrong how do I install the right ?
>
>
>
> ------------------------------
> *Von:* Cassiano Martin [mailto:cassiano at polaco.pro.br]
> *Gesendet:* Samstag, 26. November 2016 16:52
> *An:* BertHuber
> *Cc:* buildroot at busybox.net
> *Betreff:* Re: [Buildroot] Request for Help
>
> Right,
>
> maybe an issue with iproute, are you using busybox one, or the real one,
> from 'ip tools' package?
>
> AFAIK bbox ip does not support can. I might be wrong too.
>
> []'s
>
> 2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:
>
>> Hello,
>> I am new to this mailinglist and also quite new to the buildroot
>> environment.
>> I got stuck in my current project with the following problem:
>>
>>
>> I am currently trying to build an embedded Linux System with Buildroot.
>>
>> It works so far, I get a bootable SD Card for my A20 based board.
>>
>> I included all CAN Drivers & protocols I could find (can, can_raw and
>> vcan)
>>
>> My problem is : after booting and loggin in as root
>>
>> I type:
>>
>>  ip link add dev vcan0 type vcan ---- THAT WORKS
>>
>> but
>>
>>  ip link add dev can0 type can
>>
>> produces:
>>
>> RTNETLIINK answers: Operation not supported
>>
>> What is wrong ?? Thanks in advance for any ideas.
>>
>> Regards
>>
>> Bert
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/5434cc5a/attachment.html>

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

* [Buildroot] Request for Help
  2016-11-26 21:37     ` Cassiano Martin
@ 2016-11-26 22:19       ` BertHuber
  2016-11-27  0:46         ` Cassiano Martin
  0 siblings, 1 reply; 9+ messages in thread
From: BertHuber @ 2016-11-26 22:19 UTC (permalink / raw)
  To: buildroot

Thank you. I did this and recognized that iproute2 was already selected.
So that means I already have the correct Version on my target system ?
 

  _____  

Von: Cassiano Martin [mailto:cassiano at polaco.pro.br] 
Gesendet: Samstag, 26. November 2016 22:38
An: BertHuber
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] Request for Help


Ok, so you go under Target Packages -> Networking Applications -> iproute2 

Check it and do a rebuild. It will install legacy ip and tc tools.

[]'s

2016-11-26 14:06 GMT-02:00 BertHuber <3237-15@online.de>:



I don't know. As I said I'm quite new to the whole Buildroot world.
How can I find out ? .. and if it is the wrong how do I install the right ?
 
 

  _____  

Von: Cassiano Martin [mailto:cassiano at polaco.pro.br] 
Gesendet: Samstag, 26. November 2016 16:52
An: BertHuber
Cc: buildroot at busybox.net
Betreff: Re: [Buildroot] Request for Help


Right, 

maybe an issue with iproute, are you using busybox one, or the real one,
from 'ip tools' package?

AFAIK bbox ip does not support can. I might be wrong too.

[]'s

2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:



Hello,
I am new to this mailinglist and also quite new to the buildroot
environment.
I got stuck in my current project with the following problem:
 
I am currently trying to build an embedded Linux System with Buildroot. 

It works so far, I get a bootable SD Card for my A20 based board. 

I included all CAN Drivers & protocols I could find (can, can_raw and vcan) 

My problem is : after booting and loggin in as root

I type:

 ip link add dev vcan0 type vcan ---- THAT WORKS



but

 ip link add dev can0 type can 



produces:

RTNETLIINK answers: Operation not supported

What is wrong ?? Thanks in advance for any ideas.

Regards

Bert

 


_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailm
<http://lists.busybox.net/mailman/listinfo/buildroot> an/listinfo/buildroot




_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/
<http://lists.busybox.net/mailman/listinfo/buildroot>
mailman/listinfo/buildroot



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161126/e79c6d27/attachment-0001.html>

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

* [Buildroot] Request for Help
  2016-11-26 22:19       ` BertHuber
@ 2016-11-27  0:46         ` Cassiano Martin
  2016-11-27  0:47           ` Cassiano Martin
  0 siblings, 1 reply; 9+ messages in thread
From: Cassiano Martin @ 2016-11-27  0:46 UTC (permalink / raw)
  To: buildroot

Yes, its enabled then.

Well, I guess driver didnt detect your canbus.

Could you confirm if can0 can be added by:

ip link set can0 type can bitrate "you can bitrate here without quotes"


also, vcan0 is a virtual can interface, not the native one.


[]''s

2016-11-26 20:19 GMT-02:00 BertHuber <3237-15@online.de>:
> Thank you. I did this and recognized that iproute2 was already selected.
> So that means I already have the correct Version on my target system ?
>
>
> ________________________________
> Von: Cassiano Martin [mailto:cassiano at polaco.pro.br]
> Gesendet: Samstag, 26. November 2016 22:38
>
> An: BertHuber
> Cc: buildroot at busybox.net
> Betreff: Re: [Buildroot] Request for Help
>
> Ok, so you go under Target Packages -> Networking Applications -> iproute2
>
> Check it and do a rebuild. It will install legacy ip and tc tools.
>
> []'s
>
> 2016-11-26 14:06 GMT-02:00 BertHuber <3237-15@online.de>:
>>
>> I don't know. As I said I'm quite new to the whole Buildroot world.
>> How can I find out ? .. and if it is the wrong how do I install the right
>> ?
>>
>>
>>
>> ________________________________
>> Von: Cassiano Martin [mailto:cassiano at polaco.pro.br]
>> Gesendet: Samstag, 26. November 2016 16:52
>> An: BertHuber
>> Cc: buildroot at busybox.net
>> Betreff: Re: [Buildroot] Request for Help
>>
>> Right,
>>
>> maybe an issue with iproute, are you using busybox one, or the real one,
>> from 'ip tools' package?
>>
>> AFAIK bbox ip does not support can. I might be wrong too.
>>
>> []'s
>>
>> 2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:
>>>
>>> Hello,
>>> I am new to this mailinglist and also quite new to the buildroot
>>> environment.
>>> I got stuck in my current project with the following problem:
>>>
>>>
>>> I am currently trying to build an embedded Linux System with Buildroot.
>>>
>>> It works so far, I get a bootable SD Card for my A20 based board.
>>>
>>> I included all CAN Drivers & protocols I could find (can, can_raw and
>>> vcan)
>>>
>>> My problem is : after booting and loggin in as root
>>>
>>> I type:
>>>
>>>  ip link add dev vcan0 type vcan ---- THAT WORKS
>>>
>>> but
>>>
>>>  ip link add dev can0 type can
>>>
>>> produces:
>>>
>>> RTNETLIINK answers: Operation not supported
>>>
>>> What is wrong ?? Thanks in advance for any ideas.
>>>
>>> Regards
>>>
>>> Bert
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>

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

* [Buildroot] Request for Help
  2016-11-27  0:46         ` Cassiano Martin
@ 2016-11-27  0:47           ` Cassiano Martin
  0 siblings, 0 replies; 9+ messages in thread
From: Cassiano Martin @ 2016-11-27  0:47 UTC (permalink / raw)
  To: buildroot

Ah, I forgot this part:

ip link set can0 up

2016-11-26 22:46 GMT-02:00 Cassiano Martin <cassiano@polaco.pro.br>:
> Yes, its enabled then.
>
> Well, I guess driver didnt detect your canbus.
>
> Could you confirm if can0 can be added by:
>
> ip link set can0 type can bitrate "you can bitrate here without quotes"
>
>
> also, vcan0 is a virtual can interface, not the native one.
>
>
> []''s
>
> 2016-11-26 20:19 GMT-02:00 BertHuber <3237-15@online.de>:
>> Thank you. I did this and recognized that iproute2 was already selected.
>> So that means I already have the correct Version on my target system ?
>>
>>
>> ________________________________
>> Von: Cassiano Martin [mailto:cassiano at polaco.pro.br]
>> Gesendet: Samstag, 26. November 2016 22:38
>>
>> An: BertHuber
>> Cc: buildroot at busybox.net
>> Betreff: Re: [Buildroot] Request for Help
>>
>> Ok, so you go under Target Packages -> Networking Applications -> iproute2
>>
>> Check it and do a rebuild. It will install legacy ip and tc tools.
>>
>> []'s
>>
>> 2016-11-26 14:06 GMT-02:00 BertHuber <3237-15@online.de>:
>>>
>>> I don't know. As I said I'm quite new to the whole Buildroot world.
>>> How can I find out ? .. and if it is the wrong how do I install the right
>>> ?
>>>
>>>
>>>
>>> ________________________________
>>> Von: Cassiano Martin [mailto:cassiano at polaco.pro.br]
>>> Gesendet: Samstag, 26. November 2016 16:52
>>> An: BertHuber
>>> Cc: buildroot at busybox.net
>>> Betreff: Re: [Buildroot] Request for Help
>>>
>>> Right,
>>>
>>> maybe an issue with iproute, are you using busybox one, or the real one,
>>> from 'ip tools' package?
>>>
>>> AFAIK bbox ip does not support can. I might be wrong too.
>>>
>>> []'s
>>>
>>> 2016-11-26 9:38 GMT-02:00 BertHuber <3237-15@online.de>:
>>>>
>>>> Hello,
>>>> I am new to this mailinglist and also quite new to the buildroot
>>>> environment.
>>>> I got stuck in my current project with the following problem:
>>>>
>>>>
>>>> I am currently trying to build an embedded Linux System with Buildroot.
>>>>
>>>> It works so far, I get a bootable SD Card for my A20 based board.
>>>>
>>>> I included all CAN Drivers & protocols I could find (can, can_raw and
>>>> vcan)
>>>>
>>>> My problem is : after booting and loggin in as root
>>>>
>>>> I type:
>>>>
>>>>  ip link add dev vcan0 type vcan ---- THAT WORKS
>>>>
>>>> but
>>>>
>>>>  ip link add dev can0 type can
>>>>
>>>> produces:
>>>>
>>>> RTNETLIINK answers: Operation not supported
>>>>
>>>> What is wrong ?? Thanks in advance for any ideas.
>>>>
>>>> Regards
>>>>
>>>> Bert
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> buildroot mailing list
>>>> buildroot at busybox.net
>>>> http://lists.busybox.net/mailman/listinfo/buildroot
>>>
>>>
>>>
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>>

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

end of thread, other threads:[~2016-11-27  0:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-26 11:38 [Buildroot] Request for Help BertHuber
2016-11-26 12:36 ` Cassiano Martin
2016-11-26 13:06   ` BertHuber
2016-11-26 15:51 ` Cassiano Martin
2016-11-26 16:06   ` BertHuber
2016-11-26 21:37     ` Cassiano Martin
2016-11-26 22:19       ` BertHuber
2016-11-27  0:46         ` Cassiano Martin
2016-11-27  0:47           ` Cassiano Martin

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.