Re: Nanopi R5S and U-boot from Ports
- In reply to: Søren_Schmidt : "Re: Nanopi R5S and U-boot from Ports"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Feb 2025 17:13:52 UTC
>> On 11 Feb 2025, at 13.12, Nenhum_de_Nos <lojas@arroway.org> wrote: >> >>> >>> Hi, >>> >>> On Mon, 10 Feb 2025 23:05:01 -0000 >>> "Nenhum_de_Nos" <lojas@arroway.org> wrote: >>> >>>> Hi, >>>> >>>> have anyone ever tested this router and got to have all 3 NIC's? >>>> >>>> I am trying to use the u-boot r5s package from pkg, as opposed to >>>> using >>>> edk2 firmware. Using edk2 firmware I get all three NIC's. >>> >>> With edk2 you likely booted in acpi-mode while with u-boot you booted >>> in fdt mode and if_re-kmod doesn't have fdt attachement. >>> >>> Cheers, >> >> Hi Emmanuel, >> >> so there is nothing I can do for now, but wait till the if_re driver to >> work on ftd mode? >> >> thanks for the help. > > You are probably not getting the right DTB from u-boot Is my guess. > If the two Realtek devices doesn’t show up in the pciconf -lv output > that is most likely the case. > Try to hardwire the DTS to rk3568-nanopi-r5s.dts, that should make it > work. > > I use several of those boards and they work OK, granted with at modified > src tree… Soren, provided I use the official package from FreeBSD for u-boot, how can I assure I have the right one in the right place? Please excuse me for my lack of arm arch knowledge. I did looked for the dts on the /boot dir on the disk, and my guess at the time was there was the same that was used for the package. Do I need to build myself from ports and then copy the dts to some place specific to suit this case? I am not at home now and the box is turned off, later I can spend some time on it and report back here. If helps, I got this on the dmesg: rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto Running u-boot. thanks, matheus