On 16-01-2025 22:07, Peter Andersson wrote:
On 2025-01-16 10:48, Patrick Wildt wrote:
On 16. Jan 2025, at 10:38, Peter Andersson <pe...@it-slav.net> wrote:
Hi
I just purchased a NanoPI R5S as it seems supported by OpenBSD but I
have some issues getting it installed.
After reading the arm maillist archive it seems like some has gotten
it running and I found https://personalbsd.org/download/UEFI-RK356x/
where a ready made image for installation was done.
Steps I have done:
-Download and flash https://personalbsd.org/download/UEFI-RK356x/
NANOPI-R5S_EFI.img to a cf
-Put the cf in my NanoPI R5S and power on
-Enter set tty fb0 at boot prompt and boot it up
-The normal OpenBSD install procedure starts using HDMI connected
screen and USB keyboard and everything looks fine. So I assume
OpenBSD is installed at the internal emmc drive.
-When told, I remove the cf and reboot. The screen is totally blank
and nothing seems to happen.
There is a UART but it seems it needs soldering to get a serial
console so I would prefer to avoid that.
I would be very happy if anyone could advise me how to get
installation on the internal disk working.
Thanks
Peter Andersson
I’d recommend using the corresponding image from our U-Boot package
instead of the UEFI one: https://cdn.openbsd.org/pub/OpenBSD/
snapshots/packages/aarch64/u-boot-rk356x-2024.01p0.tgz
dd to the CF a la dd if=u-boot-rockchip.bin of=/dev/XXXX bs=512 seek=64
Cheers,
Patrick
Hi
Did these steps:
-Inserted a sd card in another working OpenBSD box.
-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
-moved the sd card to my nanopi-r5s and turned on power.
-No output at all on the HDMI.
I think I followed the instructions at: https://ftp.openbsd.org/pub/
OpenBSD/snapshots/arm64/INSTALL.arm64
Thanks
Peter
Hi Peter,
I'm successfully running OpenBSD on:
OpenBSD 7.6 (GENERIC.MP) #195: Fri Sep 27 00:05:27 MDT 2024
dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem = 4022665216 (3836MB)
avail mem = 3815403520 (3638MB)
random: good seed from bootblocks
mainbus0 at root: FriendlyElec NanoPi R5S
This was my second NanoPi R5S and it came with headers for the UART
already soldered which made the installation easier, my first NanoPi I
solder the UART headers myself - as I kept getting no output from HDMI,
with the UART attached I could see what was going on and install OpenBSD.
I have not got round to documenting how exactly I got OpenBSD running,
but trying to do it headless did not work for me - being able to watch
the boot through UART allowed me to work out where I had messed up and
fix it so that I am now happily running OpenBSD.
One of the threads or blogs I found when trying to work out how to
install OpenBSD mentioned that they manage to get UART output without
having to solder the header by putting the pins of their cable directly
into the header holes on the motherboard.
HTH
Fred