Bridge spi-ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bridge spi-ethernet

752 Views
silviagonzalez
Contributor II

Hello

I have installed bridge-utils-1.5,  on i.MX287 and L2.6.35_10.12.01but I have encountered a problem with my bridge between spi and ethernet. I executed:

  brctl addbr br0 &&

  brctl addif br0 spi0 &&

  brctl addif br0 eth0 &&

  brctl setfd br0 0 &&

  ifconfig br0 inet 192.168.1.2 &&

  ifconfig br0 up &&

  ifconfig eth0 up

, and the system said "brctl: bridge br0: Package not installed".  Am I missing anything? Also, I have a driver that frames the data over Ethernet protocol, but,once the brige is set up, how do I send data via a network device? That is, how do I make the SPI device  send data? Which device should I work with: spi0, br0, eth0 and how?

bridge.png

bridge2.png

Labels (2)
0 Kudos
1 Reply

482 Views
jamesbone
NXP TechSupport
NXP TechSupport

Hello Silvia,

Please check the following link, give instructions on how to use the Brigde Utilities. which I think it is the problem :

http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge


Have a great day,
Jaime

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------