Go to advanced search

by destmaster
Thu Jul 09, 2020 12:14 pm
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

Re: two LAN951x - two ethernet on CM3+

You need to look at the packets to understand properly what is happening. Install wireshark (with a GUI) or tshark (text-based) to capture the traffic on either side (or both). This will then allow you to look at the MAC addresses as well as the IP addresses. You can also use "arp -a" to show the a...
by destmaster
Thu Jul 09, 2020 11:59 am
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

Re: two LAN951x - two ethernet on CM3+

That sounds like it could be a routing issue. If you check your routing table with ip route you'll probably find an entry like 192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.181 metric 202 That means that any traffic to any 192.168.10.x address will go via eth0. I wouldn't be surpr...
by destmaster
Thu Jul 09, 2020 9:48 am
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

Re: two LAN951x - two ethernet on CM3+

Oops - I forgot to renumber one of the "reg" properties in the new dts. And it still contains some things needed for LAN7515 but not SMSC9512. This should be better: usb@7e980000 { compatible = "brcm,bcm2708-usb"; reg = < 0x7e980000 0x10000 0x7e006000 0x1000 >; interrupts = < 0x01 0x09 0x02 0x00 >;...
by destmaster
Thu Jul 09, 2020 8:26 am
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

Re: two LAN951x - two ethernet on CM3+

Your network configuration has two interfaces on the same subnet, which has some interesting properties. Sending a packet to a new IP address requires using the ARP protocol to find a MAC address for the IP address. As originally defined, hosts with multiple interfaces on the same subnet can lead t...
by destmaster
Thu Jul 09, 2020 8:06 am
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

Re: two LAN951x - two ethernet on CM3+

What does "lsusb -t" show? It helps to be sure of the topology. This is the lsusb -t printout: /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M |__ Por...
by destmaster
Thu Jul 09, 2020 7:32 am
Forum: Device Tree
Topic: two LAN951x - two ethernet on CM3+
Replies: 14
Views: 551

two LAN951x - two ethernet on CM3+

I'm tring to build a custom board with two separated Eth port using CM3+. I've connected two LAN9512 (cascaded) to the CM3+ usb port. Doing the "lsusb" command this is shown: Bus 001 Device 005: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 004: ID 0424:...
by destmaster
Wed Jul 08, 2020 10:05 am
Forum: Compute Module
Topic: dual ethernet ports on CM3+
Replies: 5
Views: 242

Re: dual ethernet ports on CM3+

I did a quick search "site:raspberrypi.org using two LAN9514 chips" on Google. Quite a few posts you might find interesting, like this one https://www.raspberrypi.org/forums/viewtopic.php?p=1464641#p1464641 Sorry, I've read it but there's no a solution. I'm using the last firmware on CM3+ but conne...
by destmaster
Wed Jul 08, 2020 10:03 am
Forum: Compute Module
Topic: Commerical design & LAN951X questions.
Replies: 5
Views: 1712

Re: Commerical design & LAN951X questions.

On recent firmware, it assigns the MAC address to the LAN951x pointed to by the ethernet0 device tree alias. On a Pi3 this is /soc/usb@7e980000/usb-port@1/ethernet@1. A LAN951x at any other device tree node (ie because it is connected to one of the downstream ports on the primary LAN951x) should by...
by destmaster
Wed Jul 08, 2020 9:55 am
Forum: Compute Module
Topic: Compute Module Ethernet MAC Address
Replies: 13
Views: 6037

Re: Compute Module Ethernet MAC Address

I revisited this on the Compute Module/CMIO connected to a LAN9514 eval board, with the latest Raspbian image and firmware from raspi-update. Even with a valid EEPROM present, the LAN9514 still got its MAC address set to the Raspberry Pi Foundation one. But having seen the driver source, I figured ...
by destmaster
Fri Jul 03, 2020 3:09 pm
Forum: Compute Module
Topic: dual ethernet ports on CM3+
Replies: 5
Views: 242

Re: dual ethernet ports on CM3+

You could cascade two LAN951x chips, but it might be simpler to use just one of them and then have a USB to Ethernet chip on one of the USB ports - unless you still need four USB ports for something else. of course, what do you say about Raspbian OS compatibility? It's capable to assign two differe...
by destmaster
Fri Jul 03, 2020 1:48 pm
Forum: Compute Module
Topic: dual ethernet ports on CM3+
Replies: 5
Views: 242

dual ethernet ports on CM3+

Hi, how I can build my custom carrier board for CM3+ for dual ethernet (10/100) ports? I need two separate interface (not connected by a switch). I''ve already made a custom board with LAN using a LAN9514... so a solution can be to cascade two LAN9514; but the official raspbian is able to manage tha...
by destmaster
Fri Jul 12, 2019 8:40 pm
Forum: Graphics, sound and multimedia
Topic: MPEG-TS parallel output over GPIO pins
Replies: 2
Views: 392

Re: MPEG-TS parallel output over GPIO pins

SPI is Serial Peripheral Interface. No use for what you are trying to do. No, the acronym is the same but in this case SPI stand for "synchronous parallel interface" see this document https://www.dvb.org/resources/public/st ... 9.2002.pdf You can configure the GPIOs to DPI (Display Parallel Interfa...
by destmaster
Fri Jul 12, 2019 7:15 pm
Forum: Graphics, sound and multimedia
Topic: MPEG-TS parallel output over GPIO pins
Replies: 2
Views: 392

MPEG-TS parallel output over GPIO pins

Hi, I would like to use the Raspy Pi3+ to encoder the video (from CSI input) and Audio (from I2S) in different formats depending on the application: MP2, MPEG2, h264, AAC. I want to output in realtime the encoder result (MPEG-TS encapsulated) over GPIO pins in Parallel way (SPI) as specified by the ...
by destmaster
Mon Jun 17, 2019 8:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S 192kHz slave buffer underlow
Replies: 0
Views: 573

I2S 192kHz slave buffer underlow

In my project I need to use the I2S as input/ouput sound card @192kHz when the Raspy (CM3+ on custom board) receive MCLK and BLCK and DIN from my board, then Raspy is the i2s slave. To enable the I2s and create a sound card I've followed this guide https://learn.adafruit.com/adafruit-i2s-mems-microp...
by destmaster
Mon Jun 17, 2019 10:12 am
Forum: Compute Module
Topic: CM3+ 64bit OS
Replies: 2
Views: 864

CM3+ 64bit OS

Hi, there's available a 64bit version of Raspbian...??
What 64bit are available for CM3+??
I've tried Ubuntu but doesn't start (seems to be an experimental version for Pi3); Gentoo is too big (16gb image) but I've only a CM3+ with onboard 8gb...
by destmaster
Mon Jun 17, 2019 7:35 am
Forum: Raspberry Pi OS
Topic: 64bit version for CM3+
Replies: 2
Views: 420

64bit version for CM3+

Hi, there's available a 64bit version of Raspbian...??
What 64bit are available for CM3+??
I've tried Ubuntu but doesn't start (seems to be an experimental version for Pi3); Gentoo is too big (16gb image) but I've only a CM3+ with onboard 8gb...

Go to advanced search