DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd December 2021
dennisN86 dennisN86 is offline
Port Guard
 
Join Date: Jan 2021
Posts: 24
Default Arm64 Installation: Define offset

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 lists the following two steps:
Code:
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
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
Code:
sudo 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 With Quote
  #2   (View Single Post)  
Old 25th December 2021
dennisN86 dennisN86 is offline
Port Guard
 
Join Date: Jan 2021
Posts: 24
Default

Sorry for posting it to the wrong forum. Anyone able to help me with this issue?
Reply With Quote
  #3   (View Single Post)  
Old 25th December 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by dennisN86 View Post
Sorry for posting it to the wrong forum.
This is a small community of OpenBSD users and you've asked a very architecture-specific question for which this community lacks specific experience.
Quote:
Anyone able to help me with this issue?
Try either the misc@ or arm@ OpenBSD mailing lists.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with GNU as/ld on BSD arm64 dnslc Programming 1 13th May 2021 06:00 PM
OpenBSD 6.8 arm64 Raspberry Pi 4 4GB xenodm Xfce TheTKS OpenBSD General 6 15th November 2020 06:02 PM
I can't install php-gd on OpenBSD 6.5 arm64 joancatala OpenBSD Packages and Ports 5 20th August 2019 07:54 AM
After installation, what next? cravuhaw2C OpenBSD Installation and Upgrading 13 13th July 2014 03:24 PM
How do I find out the offset of a partition? guitarscn OpenBSD Installation and Upgrading 2 5th November 2010 08:45 PM


All times are GMT. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick