Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2020 19:58:38 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360704 - stable/12/usr.sbin/binmiscctl
Message-ID:  <202005061958.046JwcIW048608@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mhorne
Date: Wed May  6 19:58:37 2020
New Revision: 360704
URL: https://svnweb.freebsd.org/changeset/base/360704

Log:
  MFC r360519:
  
  Add RISC-V interpreter example

Modified:
  stable/12/usr.sbin/binmiscctl/binmiscctl.8
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/binmiscctl/binmiscctl.8
==============================================================================
--- stable/12/usr.sbin/binmiscctl/binmiscctl.8	Wed May  6 19:50:27 2020	(r360703)
+++ stable/12/usr.sbin/binmiscctl/binmiscctl.8	Wed May  6 19:58:37 2020	(r360704)
@@ -27,7 +27,7 @@
 .\"
 .\" Support for miscellaneous binary image activators
 .\"
-.Dd July 21, 2018
+.Dd April 30, 2020
 .Dt BINMISCCTL 8
 .Os
 .Sh NAME
@@ -280,6 +280,17 @@ Add QEMU bsd-user program as an image activator for SP
            \ex00\ex00\ex00\ex00\ex00\ex00\ex00\ex02\ex00\ex2b" \e
   --mask  "\exff\exff\exff\exff\exff\exff\exff\ex00\exff\exff\e
            \exff\exff\exff\exff\exff\exff\exff\exfe\exff\exff" \e
+  --size 20 --set-enabled
+.Ed
+.Pp
+Add QEMU bsd-user program as an image activator for 64-bit RISC-V binaries:
+.Bd -literal -offset indent
+# binmiscctl add riscv64 \e
+  --interpreter "/usr/local/bin/qemu-riscv64-static" \e
+  --magic "\ex7f\ex45\ex4c\ex46\ex02\ex01\ex01\ex00\ex00\ex00\e
+           \ex00\ex00\ex00\ex00\ex00\ex00\ex02\ex00\exf3\ex00" \e
+  --mask  "\exff\exff\exff\exff\exff\exff\exff\ex00\exff\exff\e
+           \exff\exff\exff\exff\exff\exff\exfe\exff\exff\exff" \e
   --size 20 --set-enabled
 .Ed
 .Ss "Create and use an ARMv6 chroot on an AMD64 host"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005061958.046JwcIW048608>