Thanks for your reply. Unfortunately, this don't seem to work since the nano pi r6s device does not recognise the sd card as a bootable device.
I have used the two following commands (on a linux machine, since the openbsd OS is installed in a virtual machine where the access to the sd card are not very convenient). dd if=install75.img of=/dev/sdd bs=8M status=progress oflag=sync dd if=u-boot-rockchip.bin of=/dev/sdd seek=64 bs=4096 status=progress The documentation mentions "seek=64" but only for the soc "rockchip 356x" and not the Rockchip "RK3588" (used in nanopi r6s). On the following listing, one can see how the card is partitioned with the Ubuntu version provided by Friendlyelec for the nanopi r6s. The partitions are quite different from those used by OpenBSD. The sector 16384 is probably far over the position defined by the parameter "seek=64". # #-------------------------------booting sd card------------------------------ # root@cervin:# gdisk -l /dev/sdd GPT fdisk (gdisk) version 1.0.8 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdd: 31116288 sectors, 14.8 GiB Model: Multi-Reader -3 Sector size (logical/physical): 512/512 bytes Disk identifier (GUID): 73987B6B-4974-4C94-A3E8-58AB2EB7A946 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 31116254 Partitions will be aligned on 2048-sector boundaries Total free space is 16350 sectors (8.0 MiB) Number Start (sector) End (sector) Size Code Name 1 16384 24575 4.0 MiB FFFF uboot 2 24576 32767 4.0 MiB FFFF misc 3 32768 40959 4.0 MiB FFFF dtbo 4 40960 73727 16.0 MiB FFFF resource 5 73728 155647 40.0 MiB FFFF kernel 6 155648 221183 32.0 MiB FFFF boot 7 221184 286719 32.0 MiB FFFF recovery 8 286720 8151039 3.8 GiB FFFF rootfs 9 8151040 31116254 11.0 GiB FFFF userdata root@cervin: On Thu, 26 Sep 2024 09:11:20 -0000 (UTC) Stuart Henderson <stu.li...@spacehopper.org> wrote: > On 2024-09-25, Pierre Dupond <76nem...@gmx.ch> wrote: > > Hello List, > > The Friendlyelec NanoPi r6s is indicated > > (https://www.openbsd.org/arm64.html) as an example of hardware running > > OpenBSD. > > I have downloaded the "install75.img" and the "miniroot76.img" and copied > > them on a sd card. > > > > However, the NanoPi r6s does not boot on sd card but boot directly on the > > internal emmc (where the FriendlyWRT OS is installed). > > I have downloaded the Ubuntu 22.04 from the FriendlyElec web site and write > > the image on an SD card > > and the OS boots successfuly. > > > > I have seen somewhere that the u-boot should be replaced for the unsuported > > arm Soc but all > > the examples are for other arm soc and not for the soc (Rockchip RK3588) > > used in the nanoPi R6S. > > > > Do I have missing some obvious instructions? One could notice than the > > structure of > > the SD card to boot Ubuntu OS is very different from the structure of the > > SD card where > > OpenBSD is installed. > > See https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64 > for basic steps. I don't have any hardware using this method but I > think you need the u-boot-rk3588 package and > /usr/local/share/u-boot/nanopi-r6s-rk3588s/u-boot-rockchip.bin. > > > -- > Please keep replies on the mailing list. >