> VICTORY!! > Seems like I have gotten my NanoPI R5S in a state where it can do what I > want it todo. > > --cut-- > pci0 at dwpcie0 > ppb0 at pci0 dev 0 function 0 "Rockchip RK3566" rev 0x00 > pci1 at ppb0 bus 1 > rge0 at pci1 dev 0 function 0 "Realtek RTL8125" rev 0x05: msix, address > 00:00:00:00:00:00 > pci2 at dwpcie1 > ppb1 at pci2 dev 0 function 0 "Rockchip RK3566" rev 0x00 > pci3 at ppb1 bus 1 > rge1 at pci3 dev 0 function 0 "Realtek RTL8125" rev 0x05: msix, address > 00:00:00:00:00:00 > --endcut-- > > > I did get into the path with serial consol and it really worked to just > put the cable in the hole. > I still have to boot from the sd card. > > My steps: > On another OpenBSD box with an sd reader: > -wget https://cdn.openbsd.org/pub/OpenBSD/snapshots/arm64/miniroot76.img > -doas pkg_add u-boot-rk356x > -doas dd if=miniroot76.img of=/dev/rsd1c bs=1m > -doas dd > if=/usr/local/share/u-boot/nanopi-r5s-rk3568/u-boot-rockchip.bin > of=/dev/rsd1c seek=64 > > -Connect the serial consol to NanoPI R5S and put the sd card in and > power on. > -Follow the usual process to install OpenBSD > -reboot > > -At boot prompt enter "set device sd1a" > -Watch the beautiful OpenBSD boot p0rn > > To get rid of having to point to the emmc disk everytime: > -mount /dev/sd0a /mnt > -mkdir /mnt/etc > -echo "set device sd1a" /mnt/etc/boot.conf > -umount /mnt > -sync > -reboot > > Done, still need the sd card in the slot but that is just to load the > bootloader. > > Now lets go into the fun stuff and configure pf firewall, wireguard, > dhcpd and the rest... > > Have a great weekend and thanks for all your help > > Peter
Hi Peter, sorry for the (really long) delay. I had same struggle with the R5S, mine is not the LTS version (the serial pins are not soldered, just the holes on the PCB). I also found PersonalBSD site, and its EDK2 Firmware. There is the images on the site, and the site owners has github code you can build and its a bit newer. I did that and what I build is available on https://github.com/matheusber/opnsense/tree/main/arm64-opnsense-build/u-boot-nanopi-r5s. I will try this u-boot image from OpenBSD package. I did try the images from FreeBSD u-boot package, and could not boot. I may need to study it a bit more (I am no arm dev, no dev at all). I downloaded here and saw they are different, this one was only one file. Using this edk2 firmware I could boot OpenBSD from sdcard and nvme just fine. The only issue is a reboot would make one realtek 2.5 Gbps vanish. Power cicle must be hard ones, I turn it off completely. Thanks for sharing, if any news come up, I can help testing :) none
