Alexander Deynichenko
Alexander Deynichenko
@MichaIng Ethernet does not work on hardware rev 1.2a, but it works fine on 5.15.0-starfive kernel
A second eth is YT8512B, not YT8531 on rev 1.2a ``` Linux DietPi 5.15.98 #1 SMP Fri Mar 10 18:44:22 CET 2023 riscv64 GNU/Linux [ 0.513157] starfive-eth-plat 16030000.ethernet: User ID:...
compare it with vendor's build: ``` Linux starfive 5.15.0-starfive #1 SMP Mon Feb 27 14:03:14 EST 2023 riscv64 GNU/Linux [ 1.278085] starfive-eth-plat 16030000.ethernet: force_sf_dma_mode is ignored if force_thresh_dma_mode is set....
I just copied fresh device tree from vendor's image and now it works. Only first eth is avaliable, looks like there is no driver for YT8512B in kernel. rev 1.2a...
It works on Starfive. And I copied dtb from this release https://forum.rvspace.org/t/visionfive-2-debian-image-202302-released/2132 from folder 202302
Will try this kernel. Maybe better to wait when they send patches to upstream? They are actively do it now: https://lore.kernel.org/lkml/?q=JH71x0 btw I decompiled dtb files: ```diff --- jh7110-visionfive-v2.dtb.dietpi.dts 2023-03-16...
I tried 5.15.102 from your deb package. Still wrong ethphy settings in dtb file. btw if I'll copy starfive's dtb file it will broke pcie driver, your dtb settings for...
@MichaIng Sorry for the delay in your response. I saw this plan. As I told before, better to wait a pair months when they will finish the most significant parts.
Well, you don’t need a dedicated device tree here. They do modifications using the u-boot scripts before the kernel. 1) https://github.com/starfive-tech/u-boot/blob/1ae835c25e3d8b7bc3c8981fb720f030c1892d57/board/starfive/visionfive2/starfive_visionfive2.c#L152 2) https://github.com/starfive-tech/u-boot/blob/1ae835c25e3d8b7bc3c8981fb720f030c1892d57/board/starfive/visionfive2/starfive_visionfive2.c#L403 3) https://github.com/starfive-tech/u-boot/blob/1539c1fb5a498fd7d20c2cffc84c187d703c8b66/configs/starfive_visionfive2_defconfig#L30 4) https://github.com/starfive-tech/u-boot/blob/1539c1fb5a498fd7d20c2cffc84c187d703c8b66/include/configs/starfive-visionfive2.h#L99 I guess the...
yes. `VF7110A1-2250-D008E000-00000540`