Tutorial: Install OpenBSD on ROCK64 media board - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: BSD on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=106) +--- Thread: Tutorial: Install OpenBSD on ROCK64 media board (/showthread.php?tid=6164) |
RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 05-21-2020 I have updated the tutorial for OpenBSD 6.7. https://github.com/krjdev/rock64_openbsd Biggest change: - add official solution to install OpenBSD (Using idbloader.img and u-boot.itb). Please can somebody proof-read my tutorial? EDIT: I have also build idbloader.img and u-boot.itb. Used U-Boot version: Code: $ git-describe Used version ATF version: Code: $ git-describe The images can be found here: https://github.com/krjdev/rock64_openbsd/blob/master/bin/rock64/idbloader.img https://github.com/krjdev/rock64_openbsd/blob/master/bin/rock64/u-boot.itb RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 02-02-2021 Hi, I have updated the tutorial for OpenBSD 6.8 and there another fixes: - Update to U-Boot v2021.01 - Add a U-Boot script for enabling one of the USB-port (This is a workaround as soon as the OpenBSD developers fix this issue.) - The steps should be correct yet. The device-tree file has been overwritten by the OpenBSD Installer. Now the step is after installing OpenBSD. - Fix wrong wiring image (USB-UART-TTL). RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 02-02-2021 Just also added a few (initial) BASH scripts for downloading GCC for AArch64 from the ARM homepage, build ARM Trusted Firmware and build U-Boot. You can skip the first steps in the tutorial with these scripts. I have tested the BASH scripts. They works on my system (openSUSE Leap 15.2), but if they fails on your systems, please give a feedback. RE: Tutorial: Install OpenBSD on ROCK64 media board - Enig123 - 05-01-2021 Is there something I can do to fix the power off not working issue? Just installed OpenBSD 6.9 onto my Rock64 v3, only bump is 'shutdown -p now' doesn't work as expected, 'reboot' works fine though. Edit: BTW, the other using Rock64 v2 board is working fine with 'shutdown -p now' though, which has been upgraded from 6.8. RE: Tutorial: Install OpenBSD on ROCK64 media board - ab1jx - 05-01-2021 halt -p is what I usually use. I think that worked under OpenBSD too. If you don't have /sbin in your path neither will work because that's where they are. In Debian shutdown is a symlink to /bin/systemctl, so is halt. /sbin isn't in some non-root paths I think, but you can add it. RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 05-02-2021 Hi, I have updated the tutorial to OpenBSD 6.9 and U-Boot v2021.04: Major changes: - Update tutorial to OpenBSD 6.9 - Update U-Boot to version v2021.04 Minor changes: - Add initial description how to use this tutorial with OpenBSD as hostsystem (build ATF, U-Boot with OpenBSD) RE: Tutorial: Install OpenBSD on ROCK64 media board - Enig123 - 05-02-2021 (05-01-2021, 09:15 PM)ab1jx Wrote: halt -p I mean the 'shutdown -p now' did work just the board didn't really poweroff at all, the ethernet port led to the switch is still on and the indicators at the rear are on. @krjdev, Thanks for updating your tutorial. Now I am using your u-boot binary installing OpenBSD 6.9, hope this time the poweroff issue will disappear. BTW, for an already installed disk, is there a way to update u-boot without affecting a working os? RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 05-05-2021 Sorry, for my late response. (05-02-2021, 01:19 PM)Enig123 Wrote: BTW, for an already installed disk, is there a way to update u-boot without affecting a working os? Of course. Simple build U-Boot and copy the two files (idbloader.img and u-boot.itb) to SD/MMC card where OpenBSD is installed: Code: dd if=/path/to/idbloader.img of=/dev/sd0c bs=512 seek=64 conv=sync Code: dd if=/path/to/u-boot.itb of=/dev/sd0c bs=512 seek=16384 conv=sync RE: Tutorial: Install OpenBSD on ROCK64 media board - Enig123 - 08-28-2021 (05-05-2021, 02:29 PM)krjdev Wrote: Sorry, for my late response. Thanks. Do you know if OpenBSD support AES instructions on Rock64? RE: Tutorial: Install OpenBSD on ROCK64 media board - krjdev - 10-15-2021 (08-28-2021, 05:25 PM)Enig123 Wrote: Thanks. Do you know if OpenBSD support AES instructions on Rock64?dmesg shows the following: Code: cpu0 at mainbus0 mpidr 0: ARM Cortex-A53 r0p4 I think it AES is supported by OpenBSD, according the output from dmesg. The tutorial is also available in German now on my private homepage: TUTORIAL: Install OpenBSD on a PINE64 Rock64 media board (German) Yesterday OpenBSD 7.0 is released. I will modify my tutorial for OpenBSD 7.0. |