Zitat von Matthew Ernisse <mernisse@ub3rgeek.net>:
> On Mon, Jul 31, 2023 at 06:48:42PM +0200, Robert Palm said:
>> Cannot get network working on my VisionFive 2 (ping a different machine).
>>
>> Any ideas? Thanks!
>
> Does either side see ARP traffic for the other? (arp -an) Do you
> see traffic leaving your OpenBSD machine? (tcpdump(8) is your
> friend) Check for host firewalls on both sides.
>
>> FreeBSD machine:
>
> [ snip ]
>
>> media: Ethernet autoselect (100baseTX <half-duplex>)
>
> 100/half is a bit odd these days, is this machine able to
> communicate to other things on this ethernet link?
>
> --
> Matthew Ernisse
> https://www.going-flying.com/
Thanks a lot for your suggestions. I will try to check that.
One thing I did notice is that there exist 2 versions of the VF2.
1.2A
PHY0 YT8531C 2 U6 10/100/1000Mbit/sec
PHY1 YT8512C U39 10/100Mbit/sec
1.3B
PHY0 YT8531C U6 10/100/1000Mbit/sec
PHY1 YT8531C U7 10/100/1000Mbit/sec
https://doc-en.rvspace.org/VisionFive2/PDF/RV002_V1.3B_20230208.PDF
https://doc-en.rvspace.org/VisionFive2/PDF/SCH_RV002_V1.2A_20221216.pdf
I own the 1.2A.
I cannot boot / install OpenBSD using the latest release .dtb file
provided by starfive:
https://github.com/starfive-tech/VisionFive2/releases/download/VF2_v3.1.5/jh7110-visionfive-v2.dtb
So Michael was so kind to send me a
jh7110-starfive-visionfive-2-v1.3b.dtb , c.f.
https://marc.info/?l=openbsd-misc&m=169046816826966&w=2
It works very well to install and boot OpenBSD, but I assume as it is
meant for the 1.3B version the network is causing "problems" with my
version ?
I asked back to Michael and he said network works for him with his
1.3B version.
In general I can see a commit:
* Add support for the Motorcomm YT8521/YT8531 PHYs. Since these PHYs may
need various board-dependent tweaks, pass the device tree node down
to the PHY driver such that we can look at various properties to make
the necessary tweaks. Enable ytphy(4) on riscv64.
So, is the YT8512C supported already ? If not I assume I cannot use my PHY1.
But, the PHY0 should work as it is the same as the 1.3B version uses.
But maybe the .dtb does not fit properly ?
Does anyone has the 1.2A version and can provide a .dtb file that works?
I attached both .dts versions I have. When I do a diff I see lots of
differences.
Additionally I attached two pics showing diffs between 1.3B and 1.2A
version of phy0 and phy1.
Can anyone make sense out of it ?
Many thanks for looking at it.
No comments:
Post a Comment