Re: Nanopi R5S and U-boot from Ports

From: Søren_Schmidt <soren.schmidt_at_gmail.com>
Date: Tue, 11 Feb 2025 16:20:32 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…

-Søren