Hi,

I'm trying to install OpenBSD on a NanoPi R2S, but I'm having
difficulties to define the correct block sizes for the *dd* to command
to write the .img file into the correct spot.

The OpenBSD manual at
https://ftp.openbsd.org/pub/OpenBSD/.../INSTALL.arm64
<https://ftp.openbsd.org/pub/OpenBSD/snapshots/arm64/INSTALL.arm64>
lists the following two steps:


For systems based on Rockchip RK33xx SoCs:

dd if=/usr/local/share/u-boot/board/idbloader.img \ of=/dev/sdXc seek=64

dd if=/usr/local/share/u-boot/board/u-boot.itb \ of=/dev/sdXc seek=16384


I cannot get a working miniroot install following those two steps.


Someone uploaded this little asciinema of a fresh OpenBSD install on the
same board https://asciinema.org/a/381973

The ascii shows a third command of copying some other .bin file:


dd if=usr/lib/linux-u-boot-current-nanopi-r2s_20.11.3_arm64/trust.bin
of=/dev/sdc seek=24576 conv=notrunc


Since releases differ in size, I need to know how to calculate this
offset for the current trust.bin given the miniroot70.img

Help is greatly appreciated!

Reply via email to