Date: Wed, 12 Feb 2025 20:30:24 -0000 From: "Nenhum_de_Nos" <lojas@arroway.org> To: freebsd-arm@freebsd.org Subject: Re: Nanopi R5S and U-boot from Ports Message-ID: <a24ec29e9e12254a9ad3ab7b3443146e.squirrel@10.1.7.91> In-Reply-To: <bcb1f570-f353-4616-b3ee-e79a7148074d@smeets.xyz> References: <aa13b88f36d8b4f608093fe5e4d2ea84.squirrel@10.1.7.91> <20250211121727.290f4ddccf5aa4d901f681d7@bidouilliste.com> <d0ba5a92dd1c51077b6246dd77a53e62.squirrel@10.1.7.91> <C9AC9AB3-1048-423F-9293-75A7EDB41835@gmail.com> <bcb1f570-f353-4616-b3ee-e79a7148074d@smeets.xyz>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 11.02.25 17:20, Søren Schmidt wrote: >> >> I use several of those boards and they work OK, granted with at modified >> src tree… >> > > Can we get what's needed for these boards committed to the tree? I'm > also using an OrangePi5, I was able to get a stable/14 working with > patches gathered from https://personalbsd.org/images/download/. > > Some of them appear to be yours. :) > > Thanks > Florian Hi Florian, I am no dev for FreeBSD or any other OS, and my knowledge of arm is limited, but I can try to work with you to gather all this code and have it on one place, so we can make it more easy to use (if you already don't have this, of course). I build opnsense images for R4S and R5S with up to date code from opnsense, including packages and now I am looking for a way to not use edk2 code, so I can send a suggestion of a R5S conf file for the opnsense tree. Thus my questions about u-boot for it, and the realetk's, so I can rely only on u-boot. As I posted on FreeBSD Forum, the realtek's won't show when u-boot is used from pkg. Here some lines I was asked to show on the Forum: U-Boot 2024.07 (Feb 02 2025 - 11:23:32 +0000) Model: FriendlyElec NanoPi R5S DRAM: 4 GiB PMIC: RK8090 (on=0x40, off=0x00) Core: 324 devices, 29 uclasses, devicetree: separate MMC: mmc@fe2b0000: 1, mmc@fe310000: 0 Loading Environment from nowhere... OK In: serial@fe660000 Out: serial@fe660000 Err: serial@fe660000 Model: FriendlyElec NanoPi R5S Net: eth0: ethernet@fe2a0000 Hit any key to stop autoboot: 0 => pci enum pcie_dw_rockchip pcie@fe280000: PCIe-4 Link Fail => pci BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ 00.00.00 0x1d87 0x3566 Bridge device 0x04 01.00.00 0x10ec 0x8125 Network controller 0x00 02.00.00 0x1d87 0x3566 Bridge device 0x04 03.00.00 0x10ec 0x8125 Network controller 0x00 pcie_dw_rockchip pcie@fe280000: PCIe-4 Link Fail pciconf output: In FDT mode: root@OPNsense:~ # pciconf -Bl pcib1@pci0:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000 bus range = 1-255 window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled window[24] = type Prefetchable Memory, range 64, addr 0xfffffffffff00000-0xfffff, disabled root@OPNsense:~ # In ACPI mode: root@OPNsense:~ # pciconf -Bl pcib1@pci0:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000 bus range = 1-255 window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled window[20] = type Memory, range 32, addr 0xf4200000-0xf42fffff, enabled window[24] = type Prefetchable Memory, range 64, addr 0xfffffffffff00000-0xfffff, disabled re0@pci0:1:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x10ec subdevice=0x8125 pcib3@pci2:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000 bus range = 1-255 window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled window[20] = type Memory, range 32, addr 0xf2200000-0xf22fffff, enabled window[24] = type Prefetchable Memory, range 64, addr 0xfffffffffff00000-0xfffff, disabled re1@pci2:1:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x10ec subdevice=0x8125 pcib5@pci4:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000 bus range = 1-255 window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled window[24] = type Prefetchable Memory, range 64, addr 0xfffffffffff00000-0xfffff, disabled thanks all for the help. matheus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a24ec29e9e12254a9ad3ab7b3443146e.squirrel>