VisionFive RISC-V board questions

2022-08-11 Thread Bryan Everly
Hi,

I recently purchased a VisionFive board (8GB of RAM + video) and
wanted to run OpenBSD on it.  The FAQ states that this board
needs "Some firmware configuration tweaks" to boot OpenBSD.

I have searched the mailing list archives on marc.info and was
unable to find anything on this.  I have successfully wired up
a USB adapter that connects to the GPIO pins and I have a serial
console working so if someone could help me understand:

1. How to get to something that lets me change the firmware
   options

- and -

2.  What changes I need to make to boot

I would appreciate it.  The 7.1 installation notes talk about
being able to boot from USB with the vendor-supplied uSD card
inserted.  If I am able to successfully do that, would I then
install OpenBSD on the uSD card from the install71.img image
on the USB drive?

Thanks in advance for any advice / pointers.  I'd really like
to run OpenBSD on this board.

br...@theeverlys.com


smime.p7s
Description: S/MIME cryptographic signature


Threadripper 2950 and slow softraid encryption

2019-04-26 Thread Bryan Everly
Hi tech@

I had previously posted about slow boot times and was correctly pointed to it 
being poor read performance from disk to load the kernel. I wondered if it had 
anything to do with the performance of my encrypted disk (I reported this from 
my standard install where I use softraid to encrypt the disk) so I wiped and 
reinstalled with no encryption.

Boot time went from over five minutes to insanely fast.

What information can I gather to help troubleshoot this issue?  Thanks in 
advance.

- Bryan

Get Outlook for iOS


Booting Threadripper 2950x with -current

2019-04-22 Thread Bryan Everly
Hi @tech,

I just got through building a new desktop machine and thought I'd
install OpenBSD -current on it.  The install kernel booted quite fast,
but now that I have the real kernel there, it takes approximately 5
minutes to boot.  The vast majority of the time is spent at the very
beginning where the "spinning text graphic" sits there until it kicks
out a number and then does the next one (not sure what to call that).

How could I provide appropriate info to help debug this and get a fix
in?  I'm guessing that not too many people are running on this CPU.  By
the way, all 32 cores show up on it!

Thanks.



Re: Updated man page for release.8 - with feedback

2016-06-26 Thread Bryan Everly



On 06/26/16 09:28, Theo Buehler wrote:


There is a stray '. fs' here:


+The following steps will create the boot and installation images
+. fs

With that removed, this is ok tb@



Thanks Theo.

Please see attached updated diff.  Any other feedback?
Index: man8/release.8
===
RCS file: /home/cvs/src/share/man/man8/release.8,v
retrieving revision 1.72
diff -u -p -r1.72 release.8
--- man8/release.8	14 Sep 2015 20:06:59 -	1.72
+++ man8/release.8	26 Jun 2016 13:34:33 -
@@ -34,6 +34,8 @@ Build and install xenocara.
 Make and validate the xenocara release.
 .It
 Make the third party packages.
+.It
+Create boot and installation disk images.
 .El
 .Pp
 The following sections describe each of the required steps in detail.
@@ -338,6 +340,30 @@ subsystem of contributed applications is
 for installation, either individually or in bulk.
 This is described in
 .Xr ports 7 .
+.Ss 8. Create boot and installation disk images
+At this point,
+.Va RELEASEDIR
+contains the
+.Ox
+tarballs necessary to upgrade.
+.Pp
+The following steps will create the boot and installation images
+.No install${ Ns Ar VERSION Ns }.fs
+and
+.No install${ Ns Ar VERSION Ns }.iso
+suitable for installs without network connectivity.
+These images contain the tarballs and ports built in the previous
+steps.
+.Bd -literal -offset indent
+# export RELDIR=your-releasedir
+# export RELXDIR=your-xenocara-releasedir
+# cd /usr/src/distrib/${ARCH}/iso && make
+# make install
+# unset RELDIR RELXDIR
+.Ed
+.Pp
+The two installer images are now stored in the local release
+directory.
 .Sh SEE ALSO
 .Xr cvs 1 ,
 .Xr doas 1 ,


Updated man page for release.8 - with feedback

2016-06-26 Thread Bryan Everly
I have attached an updated man page for release.8 with feedback from jmc 
at Theo's request.  He preferred that we split the diff with the new 
content from the diff changing from second person to third person and 
submit them separately.


This diff is just the new content.  Any more feedback or could someone 
commit this for me?


Thanks

Index: man8/release.8
===
RCS file: /home/cvs/src/share/man/man8/release.8,v
retrieving revision 1.72
diff -u -p -r1.72 release.8
--- man8/release.8	14 Sep 2015 20:06:59 -	1.72
+++ man8/release.8	26 Jun 2016 13:12:59 -
@@ -34,6 +34,8 @@ Build and install xenocara.
 Make and validate the xenocara release.
 .It
 Make the third party packages.
+.It
+Create boot and installation disk images.
 .El
 .Pp
 The following sections describe each of the required steps in detail.
@@ -338,6 +340,31 @@ subsystem of contributed applications is
 for installation, either individually or in bulk.
 This is described in
 .Xr ports 7 .
+.Ss 8. Create boot and installation disk images
+At this point,
+.Va RELEASEDIR
+contains the
+.Ox
+tarballs necessary to upgrade.
+.Pp
+The following steps will create the boot and installation images
+. fs
+.No install${ Ns Ar VERSION Ns }.fs
+and
+.No install${ Ns Ar VERSION Ns }.iso
+suitable for installs without network connectivity.
+These images contain the tarballs and ports built in the previous
+steps.
+.Bd -literal -offset indent
+# export RELDIR=your-releasedir
+# export RELXDIR=your-xenocara-releasedir
+# cd /usr/src/distrib/${ARCH}/iso && make
+# make install
+# unset RELDIR RELXDIR
+.Ed
+.Pp
+The two installer images are now stored in the local release
+directory.
 .Sh SEE ALSO
 .Xr cvs 1 ,
 .Xr doas 1 ,


Re: Updated man page for release.8

2016-06-21 Thread Bryan Everly


Attached is my proposed diff for /usr/src/share/man/man8/release.8 
that adds instructions on how to build the install${VERSION}.{fs,iso} 
images.  I have incorporated off-list feedback from Theo Buehler in 
this diff.


Any feedback would be welcome.

Please find attached an updated diff with some additional off-list 
feedback from a second Theo (de Raadt this time).  He asked me to clean 
up the use of the second person language in this man page as well.


Any other feedback?
Index: release.8
===
RCS file: /home/cvs/src/share/man/man8/release.8,v
retrieving revision 1.72
diff -u -p -r1.72 release.8
--- release.8	14 Sep 2015 20:06:59 -	1.72
+++ release.8	21 Jun 2016 14:22:52 -
@@ -34,6 +34,8 @@ Build and install xenocara.
 Make and validate the xenocara release.
 .It
 Make the third party packages.
+.It
+Create boot and installation disk images.
 .El
 .Pp
 The following sections describe each of the required steps in detail.
@@ -89,8 +91,8 @@ This branch
 contains errata, no new features.
 .El
 .Pp
-To update your sources to the versions identified by one of the above
-tags use the commands:
+To update to the versions identified by one of the above tags use 
+the commands:
 .Bd -literal -offset indent
 $ cd /usr/src && cvs up -r TAG -Pd
 $ cd XSRCDIR && cvs up -r TAG -Pd
@@ -99,10 +101,10 @@ $ cd PORTSPATH && cvs up -r TAG -Pd
 .Pp
 Replace
 .Va XSRCDIR
-with the path to your X Window System sources.
+with the path to the desired X Window System sources.
 Replace
 .Va PORTSPATH
-with the path to your ports tree sources, typically
+with the path to the desired ports tree sources, typically
 .Pa /usr/ports .
 The above commands assume an existing source tree.
 .Pp
@@ -118,7 +120,7 @@ See
 .Xr cvs 1
 for more information.
 .Ss 2. Build and install a new kernel
-For safety, you should always build and install a new kernel before
+For safety, always build and install a new kernel before
 building the programs that will use the kernel.
 This ensures that any new system calls, for example, will be present
 when needed.
@@ -126,26 +128,26 @@ To build a kernel the steps are:
 .Pp
 Change the current working directory.
 .Va ${ARCH}
-is the architecture of your machine, e.g.\&
+is the architecture of the machine, e.g.\&
 .Li i386 .
 .Pp
 .Dl $ cd /usr/src/sys/arch/${ARCH}/conf
 .Pp
 Edit the kernel configuration file.
 .Va ${NAME}
-is your kernel configuration file.
-You should
+is the desired kernel configuration file.
+It is
 .Em not
-edit
+recommended to edit
 .Li GENERIC ;
-create your own kernel configuration if you need to make modifications.
-If using
+instaed create a new kernel configuration if modifications are 
+desired.  If using
 .Li GENERIC
-you can skip this step.
-And yes, you may use
+the following step can be skipped.
+And yes,
 .Xr vi 1 ,
 .Xr mg 1 ,
-or any other editor you choose.
+or any other text editor can be used.
 .Pp
 .Dl $ vi ${NAME}
 .Pp
@@ -158,7 +160,7 @@ $ make clean && make
 .Pp
 (In this instance
 .Li "make clean"
-is your friend.)
+is one's friend.)
 .Pp
 Replace the old kernel and reboot.
 The current kernel is copied to
@@ -171,22 +173,22 @@ $ su
 # shutdown -r now
 .Ed
 .Pp
-If the system does not come up you can boot using
+If the system does not come up, it can be booted using
 .Pa /obsd .
 .Ss 3. Build a new system
-Now that you are running your new kernel you can build a new system.
-It's safer (but slower) to remove your object directories and re-create
+Now that the new kernel is running, it is time to build a new system.
+It's safer (but slower) to remove the object directories and re-create
 them before the build.
 The steps are:
 .Pp
-Move all your existing object files out of the way and then remove
+Move all existing object files out of the way and then remove
 them in the background:
 .Bd -literal -offset indent
 $ cd /usr/obj && mkdir -p .old && doas mv * .old && \e
 	doas rm -rf .old &
 .Ed
 .Pp
-Re-build your obj directories:
+Re-build the local obj directories:
 .Pp
 .Dl $ cd /usr/src && make obj
 .Pp
@@ -206,8 +208,8 @@ and
 either by hand or using
 .Xr sysmerge 8 .
 .Pp
-At this point your system is up-to-date and running the code that you
-are going to make into a release.
+At this point the system is up-to-date and running the code that
+will be used to make into a release.
 .Ss 4. Make and validate the system release
 The system release consists of at least one generic kernel,
 some installation media, the release
@@ -253,10 +255,10 @@ exists as an empty directory and
 exists.
 .Va ${RELEASEDIR}
 need not be empty.
-You must be root to create a release:
+It is required to be logged in as root to create a release:
 .Bd -literal -offset indent
 $ su
-# export DESTDIR=your-destdir; export RELEASEDIR=your-releasedir
+# export DESTDIR=the-destdir; export RELEASEDIR=the-releasedir
 # test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && \e
 	rm -rf ${DESTDIR}- &
 # mkdir -p ${DESTDIR} ${RELEAS

Updated man page for release.8

2016-06-21 Thread Bryan Everly
Attached is my proposed diff for /usr/src/share/man/man8/release.8 that 
adds instructions on how to build the install${VERSION}.{fs,iso} 
images.  I have incorporated off-list feedback from Theo Buehler in this 
diff.


Any feedback would be welcome.

Index: release.8
===
RCS file: /home/cvs/src/share/man/man8/release.8,v
retrieving revision 1.72
diff -u -p -r1.72 release.8
--- release.8	14 Sep 2015 20:06:59 -	1.72
+++ release.8	21 Jun 2016 13:22:40 -
@@ -34,6 +34,8 @@ Build and install xenocara.
 Make and validate the xenocara release.
 .It
 Make the third party packages.
+.It
+Create boot and installation disk images.
 .El
 .Pp
 The following sections describe each of the required steps in detail.
@@ -338,6 +340,29 @@ subsystem of contributed applications is
 for installation, either individually or in bulk.
 This is described in
 .Xr ports 7 .
+.Ss 8. Create boot and installation disk images
+.Pp
+At this point,
+.Va RELEASEDIR
+contains the
+.Ox
+.Sq tarballs
+necessary to install the system by hand or upgrade an existing system.
+.Pp
+The following steps will create the boot and installation images
+install${VERSION}.{fs,iso} suitable for installs without network
+connectivity.  These images contain the
+.Sq tarballs
+and ports built in the previous steps.
+.Bd -literal -offset indent
+# export RELDIR=your-releasedir
+# export RELXDIR=your-xenocara-releasedir
+# cd /usr/src/distrib/${ARCH}/iso && make
+# make install
+# unset RELDIR RELXDIR
+.Ed
+.Pp
+The two installer images are now stored in your release directory.
 .Sh SEE ALSO
 .Xr cvs 1 ,
 .Xr doas 1 ,