bodhi Wrote: ------------------------------------------------------- > > You could do that. And we'll stop investigating un > til you see the response, one way or the other. So is there any other way to figure out this switch?by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > > Are those commits helpful? > > It seems not. It's for a different switch. > > It is a puzzle. I don't think I know enough about > your box. Are these assumptions I stated above cor > rect? > > Quote- In this box, eth1 is for the separate connection (itby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > > Duh! this is what it looks like in the code. Appar > ently the module name for this box should be mv88e > 6085 (therefore the compatible name). > > Beat me why they named it that way :) the only rea > son I can think of is that is the starting point i > n the enumerationby wacke - Debian
Hi bodhi, I've tried your new DTS,the driver still not found the 88e6161 switch... boot log: Starting kernel ...by wacke - Debian
Hi bodhi, I added the mvsw61xx node to the DTS: /* * Marvell RD88F6181 A Board descrition * * Andrew Lunn <andrew@lunn.ch> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. * * This file contains the definitions for the boarby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > I looked at the new binding syntax, and apparently > we dont have enough in the DTS yet. Hi bodhi, What do we need to add to the DTS?Or can we just port the driver from kernel 4.4.x to 4.9.x above?by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > Please try this revised DTS. Hi,bodhi I've tried the your DTS,boot log: bootm: BOOTCMD2 SD found. Card desciption is: Manufacturer: 0x1b, OEM "SM" Product name: "00000", revision 1.0 Serial number: 460975022 Manufacturing dby wacke - Debian
Hi bodhi, My modifed dts: /* * Marvell RD88F6181 A Board descrition * * Andrew Lunn <andrew@lunn.ch> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. * * This file contains the definitions for the board with the A0 or *by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > No, I have not studied this issue much because of > other things going on. > > Let's recap. With your current DTS, the switch was > OK in kernel linux-4.11.3-kirkwood-tld-2? but not > with kernel linux-4.12.1-kirkwood-tld-1? or which > kernel that was working? > > Please attach yourby wacke - Debian
Hi,bodhi Any updates for the 88e6161 switch?thanks.by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > Notice how the ports were repeated in the mdio nod > e in the dir655 DTS. Have you tried that syntax? I > 'm not sure why they had to do that, but it's wort > h a try, since the dir655 is mainline. > > Hi,bodhi They add "status = "disabled";" toby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > So it is correct PHY. > > Unfortunately I don't have a lot of free time rig > ht now. You can try to model this DTS using kirkwo > od-dir665.dts Hi,bodhi I've tried lot of times,and the DTS was using kirkwood-dir665.dts,but still no lucky,the dsa driver can't found the phy... Any ideby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > > And I found some info from the kernel documenta > ti > > on at https://www.kernel.org/doc/Documentation/d > ev > > icetree/bindings/net/dsa/dsa.txt > > But I don't know how to change the current bindi > ng > > . > > We are using current bindinby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > I see, this was the problem: > > > [ 13.545406] mdio_bus f1072004.mdio-bus-mii: /oc > p@f1000000/mdio-bus@72004/switch@0 has invalid PHY > address > [ 13.660061] mdio_bus f1072004.mdio-bus-mii: /oc > p@f1000000/mdio-bus@72004/ethernet-phy@1 has inval > id PHY address > Hi bodhi,by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > I see, this was the problem: > > > [ 13.545406] mdio_bus f1072004.mdio-bus-mii: /oc > p@f1000000/mdio-bus@72004/switch@0 has invalid PHY > address > [ 13.660061] mdio_bus f1072004.mdio-bus-mii: /oc > p@f1000000/mdio-bus@72004/ethernet-phy@1 has inval > id PHY address > Thanks,I&by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > > [ 8.684623] dsa dsa@0 lan1: no phy at 0 > > [ 8.730513] dsa dsa@0 lan1: failed to connect > t > > o port 0: -19 > > > seems that driver can't find phy on 88e6161 swit > ch > > That's true. Sometime after kernel 4.4.x, all the > Marvellby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > Hi wacke, > > > As the lede update the kernel to 4.9.x,the 88e61 > 61 > > switch stop working again,below is the kernel lo > g: > > I'm not quite sure what you meant? did LEDE submit > patch that effect the 88e6161 driver? or did they > change these include files? > &by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > youxiaojie Wrote: > -------------------------------------------------- > ----- > > > > MB302 #mii info > > PHY 0x01: OUI = 0x5043, Model = 0x24, Rev = 0x00 > , > > 1000baseT, FDX //plugged to pc > > MB302 #ping 192.168.1.10 > > Using egiga1 device > > host 192.by wacke - Debian
youxiaojie Wrote: ------------------------------------------------------- > sure....thank you. > > "牛。。。可以加个QQ不。。。我的QQ:120634404" > this means " I wan't to chat with you. my QQ is 12 > 0634404" > thank you bodhi. > by the way, I make your source, but could not gene > rate u-boot.kwb, where I get mistake? >by wacke - Debian
youxiaojie Wrote: ------------------------------------------------------- > Got it!!!!! > I have driven one port wan port !!! ping-able!!! > > > MB302# ping 192.168.1.10 > Using egiga1 device > host 192.168.1.10 is alive > MB302# version > > U-Boot 2017.05-rc2 (Apr 26 2017 - 02:55:18 +0800) > Marvell-MB302 > arm-linux-gnueabi-gcc (Debian 6.3.0-1by wacke - Debian
bodhi Wrote: ------------------------------------------------------- > wacke, > > > I found the barebox project,is there anyway to g > et > > the marvell sdk?I want to get the armada 370 soc > w > > ith 88e6171 switch working on barebox. > > I also found this project: https://github.com/Ma > rv > > ellEmbeddedProcessors/u-boot-marvell,is thby wacke - Debian
bodhi Wrote: ------------------------------------------------------- > This is the chip: > > QuoteNetwork:88E6161 Switch chip with 5 gigabit > port,88E1116 with 1 gigabit aux port Hi,bodhi I found the barebox project,is there anyway to get the marvell sdk?I want to get the armada 370 soc with 88e6171 switch working on barebox. I also found this project: https://github.com/by wacke - Debian
I've modified the dts file,thank you very much.by wacke - Debian
boot log of the new kernel with stock u-boot: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_)by wacke - Debian
I've retried to modprobe the switch driver,but nothing happend at all.by wacke - Debian
boot log of debian: U-Boot 2015.10-tld-1 (Nov 17 2015 - 23:01:16 -0800) Marvell-Sheevaplug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB (ECC not enabled) WARNING: Caches not enabled NAND: 64 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out 88E1116 Initialized on egiga0 Hit any key to stop autoboot:by wacke - Debian
the boot log of openwrt build: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/by wacke - Debian
Hi,bodhi I've got this done with this dts file: /* * Marvell RD88F6181 A Board descrition * * Andrew Lunn <andrew@lunn.ch> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. * * This file contains the definitions for the board wiby wacke - Debian
The new kernel boot log: Sheevaplug> boot starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 3966976 00017378-01 83 loaby wacke - Debian
I've retried my modifed dts file to make the uimage. With the sheevaplug dtb file,the ethernet LED light was not up at all(88E6161),and the 88E1116 pot LED light is up,but can't ping,ant the SATA port not working. With my modified dts file,the network was the same as above,but the SATA port do work.foud my sata drive in the kernel log. Here is my modifed dts file: /* * Marvellby wacke - Debian