[Aug 6] Debian Stretch Minimal 64bit (0.7.8) / Ubuntu 18.04 Bionic LXDE Desktop Image (0.7.8) / Ubuntu 18.04 Bionic minimal 64bit / 32bit Image (0.7.8) / Ubuntu 18.04 Bionic Containers Image (0.7.8) / Stretch OpenMediaVault OS Image armhf / Stretch OpenMediaVault OS Image arm64 ( 0.7.8) - ROCK64 | [June 25] Stock Android 8.1 - ROCK64 | [June 19] Armbian (5.42) - ROCK64 | [June 19] Armbian (5.38) - PINE A64(+) / PINE A64-LTS / SOPINE

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Tutorial: Install OpenBSD on ROCK64 media board
#1
Hello community!

I have wrote a tutorial how to install OpenBSD on a ROCK64 media board.
The tutorial is on my Github page available:

Tutorial to install OpenBSD


Check it out!

Cheers

krjdev
Reply
#2
Absolutely awesome, thank you!
  If you manage to click this link you'll join in the IRC channel
Reply
#3
(06-11-2018, 02:34 PM)Luke Wrote: Absolutely awesome, thank you!

My pleasure!

Comments and suggestions are always very welcome.

Cheers
Reply
#4
Has this been mentioned back to OpenBSD? Like to the OpenBSD arm list? It deserves a link from http://www.openbsd.org/arm64.html maybe.
Reply
#5
Thank you for your tutorial. I have several questions.

(1) What is the point of installing U-boot?

(2) I see that the console says "emmc1 is current device". Does that message mean that (a) the microSD is considered as an emmc and (b) true eMMC would be emmc0?

(3) I presume that after the exercise with U-boot (see #1) the microSD was removed, put back in the PC, overwritten, and /then/ placed back in the Rock64. Correct?
(Please, forgive the simplicity of my query, but the guide starts with a very basic level of instruction and then omits crucial details -- not staying in the spirit of the tutorial's beginning.)

(4) Tangentially, I have questions about OpenBSD's installation/compatibility with 100BT via the audio dac add-on card and GigE via Asix AA88179. Would someone be kind enough either to address the useability here or in my separate post?
For details, see https://forum.pine64.org/showthread.php?tid=6360 - OpenBSD, GigE Adapters/Chipsets, and ROCK64 STEREO AUDIO DAC ADD-ON BOARD.
Reply
#6
(07-04-2018, 08:12 AM)ab1jx Wrote: Has this been mentioned back to OpenBSD?  Like to the OpenBSD arm list?  It deserves a link from http://www.openbsd.org/arm64.html maybe.

Sorry, for my late response.

No, I haven't mentioned this tutorial on the OpenBSD ARM list yet.

(08-06-2018, 05:59 AM)jovval Wrote: Thank you for your tutorial. I have several questions.

(1) What is the point of installing U-boot?

(2) I see that the console says "emmc1 is current device". Does that message mean that (a) the microSD is considered as an emmc and (b) true eMMC would be emmc0?

(3) I presume that after the exercise with U-boot (see #1) the microSD was removed, put back in the PC, overwritten, and /then/ placed back in the Rock64. Correct?
(Please, forgive the simplicity of my query, but the guide starts with a very basic level of instruction and then omits crucial details -- not staying in the spirit of the tutorial's beginning.)

(4) Tangentially, I have questions about OpenBSD's installation/compatibility with 100BT via the audio dac add-on card and GigE via Asix AA88179. Would someone be kind enough either to address the useability here or in my separate post?
For details, see https://forum.pine64.org/showthread.php?tid=6360 - OpenBSD, GigE Adapters/Chipsets, and ROCK64 STEREO AUDIO DAC ADD-ON BOARD.

(1) As far as I know, some parts of the boot/initialization process of the RK3328 is closed source. This version of U-Boot is a patched version from the PINE64 team.

(2) Yes.

(3) Yes, I will improve my tutorial and add this additional information.
Reply
#7
Thank you for addressing my questions. I need to clarify what I meant when I queried about U-boot.

What I am really asking is, does installing U-boot write a boot partition inaccessible to dd?
Reply
#8
The first step of the tutorial is to install U-Boot in the SPI flash from the ROCK64.

The boot process:
- Firmware (Closed) from the ROCK64 looks into SPI flash and execute U-Boot.
- U-Boot loads the OpenBSD loader from MicroSD or emmc and execute it.

I hope I could clarify that.
Reply
#9
(08-07-2018, 06:09 AM)krjdev Wrote: The first step of the tutorial is to install U-Boot in the SPI flash from the ROCK64.

The boot process:
- Firmware (Closed) from the ROCK64 looks into SPI flash and execute U-Boot.
- U-Boot loads the OpenBSD loader from MicroSD or emmc and execute it.

I hope I could clarify that.

I interpret your statement as follows.

Step 1 of the guide explains the placement of U-Boot, which is the (pre)bootloader, on the flash media.
Step 2 explicates the installation of OpenBSD along with /its/ bootloader on the same.

Booting into 'BSD requires both U-Boot and OpenBSD, in succession.
Reply
#10
No, U-Boot and OpenBSD is not on the same memory device.

U-Boot -> SPI Flash
OpenBSD and loader -> On the eMMC or the MicroSD

The SPI flash is an additional IC on the ROCK64 board. It's an EEPROM which communicates via the SPI interface.
The SPI flash is NOT the eMMC or MicroSD.

The description of the SPI interface
The description of an EEPROM

Sorry, for my adoption. But I think you didn't know what a SPI Flash is.

I have added an attachment where I have marked the SPI Flash on board.


Attached Files Thumbnail(s)
   
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OpenBSD: GPIO with the I2C device PCF8574(A) krjdev 0 79 08-09-2018, 06:41 AM
Last Post: krjdev
  AMENDED: OpenBSD, GigE Adapters/Chipsets, and ROCK64 STEREO AUDIO DAC ADD-ON BOARD jovval 1 68 08-07-2018, 02:44 AM
Last Post: krjdev
Information NetBSD for Rock64 Luke 3 460 07-25-2018, 03:26 PM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)