bodhi, ZTE had put many things into the boot log o Loading Switch QuarterDeck driver o Internal GE PHY Connected to Switch Port 0 Detected o Setting Switch CPU port (port #4) for 1000 Full with FC o Disable disconnected switch port (port #5) and force link down o Disable disconnected switch port (port #6) and force link down If I want to set port 4 as cpu port, how sby 8086k - Debian
bodhi, Why are there two cpu port defined in the old mvsw6171 driver? It just have one exactly connected to cpu.by 8086k - Debian
bkallus, Thank you for that. 8086kby 8086k - Debian
bodhi, Thanks for offering that. I have figured out some of the configuration of F660's ethernet. But it is still not working. I think the only problem is the port config of switch. I want to read the uboot source code of mi424wr rev i. But the code package is in jpkg format. I don't know how to extract it. And, why are there two cpu port defined in the old mvsw6171 driver? It juby 8086k - Debian
bodhi, Do you have mi424wr rev i? I want to know the interrupts table of its official firmware. Because I notice f660's official firmware uses 7 and 15 as interrupts of two ETH devices. The ETH device in official firmware using interrupt 7 is the working one(connected to the internal switch). It's different from custom device tree for 88f6560. 8086kby 8086k - Debian
bodhi, I have analysed the structure of the ethernet on my box. I think the MAC device is connected to the switch with GMII or RGMII. The gigabit port is connected to the internal PHY and this internal PHY is connected to the other GMII port of MAC. There is one thing I can't understant, Why are there two ethernet devices in devicetree? Does it mean two MACs or two MII ports? Or neithby 8086k - Debian
bodhi, Maybe I should post the log of new kernel. BootROM 1.34 Booting from NAND flash BootROM: Image checksum verification PASSED l U-Boot 2009.08 ( 5月 13 2013 - 18:06:09) Hit enter to stop autoboot: 0 => => => => => => => => wdtdbg watchdog 0 disable watchdog => nboot 0x2000000 0 0x80000 Loading from NAND 32MiB 3,3V 8-bit, offset 0x80000by 8086k - Debian
bodhi, The dts of MI424WR REV I box contains a switch node(It is 88e6171 in Claudio's one, 88e6085 in yours). But the dts of aruba box doesn't contain any switch node. Is that node for the internal switch of 88f6560? Or the external switch chip of MI424WR REV I. I don't know why did you remove it in the dts of aruba box. I'm afraid I must try all the possible PHYs, iby 8086k - Debian
bodhi, I have found the log from older version of uboot. It displays more information. It may be useful. BootROM 1.34 Booting from NAND flash BootROM: Image checksum verification PASSED U-Boot 2009.08 (Sep 20 2011 - 17:28:41) CPU: Feroceon (Rev 1) @ 1200Mhz - LE, L2 @ 400Mhz DDR3 @ 400Mhz, TClock @ 200Mhz, P/V ID=7/13 DRAM: 128 MB CS 0: base 0x00000000 size 128 MB Addressesby 8086k - Debian
bodhi, I have truble in using google drive. So I use dropbox instead. Download in DropBox What are the GPIOs for? I think they are for LEDs and buttons. But these are not important things. I'm still using 3.14 kernel, I hope this will reduce the work. I guess we just need to know the phy number to make the ethernet work. Is it true? 8086kby 8086k - Debian
bodhi, I have installed google drive and uploaded the files there. Here is the link Download on GoogleDrive Images and firmwares are all in this link. Another thing, ZTE doesn't reply me any message, it is not a reliable company. 8086kby 8086k - Debian
bodhi, I'm just describing what I see on the PCB, SOC is the 88f6560 chip on PCB. Maybe there is an internal switch inside 88f6560 chip. 8086kby 8086k - Debian
bodhi, I have sent an e-mail to this zte, waiting for reply. But I think ZTE is not very friendly to developers. Maybe ZTE won't even reply me. In addition, the four ethernet ports are connected to the soc directly. And there are two SI32176 voice chips. It's wonderful if that could work. Do you need the firmware to do some hacking? I will get a google drive account. 8086kby 8086k - Debian
bodhi, This is the firmware of f420 and f660. F420 is just f660 without wlan chip and usb port. Firmware download 8086kby 8086k - Debian
bodhi, The HD photos of the device is here. There are four ethernet ports. In the images below, the port on the right is a gigabit port, the three ports on the left is 100m port. Download images The device semmed to be using eth1, I'm not very sure. I cat /proc/interrupts and get this root@F420:/ # cat /proc/interrupts CPU0 1: 18884 - kw_tick 7:by 8086k - Debian
bodhi, I'm sorry to tell you this is a close source box.However, I have the full firmware of it including all the partitions. Please wait for me to upload it to mega. I will post all the information of it in a picture when I finish that. 8086kby 8086k - Debian
bodhi, Is it possible to try the phy number one by one? Can you teach me some syntax of eth node and phy node in marvell's dts? 8086kby 8086k - Debian
bodhi, I packed all my f660 series boxes' information. Hope to give you some help. I think f660 is using the internal switch of 88f6560. In official firmware, only when you plug the network cable into the gigabit port, the console will print this: mii0: link up mii2: link up Port 3: Link-up, Full-duplex, Speed-1000Mbps. cpcp port 3 state change! 8086kby 8086k - Debian
bodhi, I noticed aruba dts don't define the phy number. It seemed to be necessary because I can't find any eth device using ifconfig when phy number is not defined in dts. I don't know much about marvell's architecture. Is there many of phy on chip so that we should choose the right one connected to the rj45 port? 8086kby 8086k - Debian
bodhi, OK, I will try to update the kernel version. You said newer kernel version doesn't contain mvneta driver, but the newest dts are still using them. Will this cause any problem? Do I need to modify any other code in kernel5.11 except dts? 8086kby 8086k - Debian
bodhi, Thank you, I will try that dts. Can I just replace avanta-mi424wr.dts with avanta-aruba-ap.dts? Which avanta.dtsi and avanta-6560.dtsi should I use? I am using 3.14 kernel, are later versions of dts compatible with older version of linux? I will try to update kernel version later. I think drivers are all in the kernel. Openwrt may be similar to debian. 8086kby 8086k - Debian
bodhi, I am winnt5 in earlier time. But I don't know what happens to my account. I have a zte f660. That's the pon modem. I've tried Claudio's openwrt code and got two problems running it. One is ethernet problem and the other is serial console problem. The serial device's irq is disabled during booting. It make the console very laggy. But luckily, it boot successfullby 8086k - Debian