Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 01:31:19 +0000 (UTC)
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360519 - head/usr.sbin/binmiscctl
Message-ID:  <202005010131.0411VJAH048534@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mhorne
Date: Fri May  1 01:31:19 2020
New Revision: 360519
URL: https://svnweb.freebsd.org/changeset/base/360519

Log:
  Add RISC-V interpreter example
  
  Now that RISC-V support has landed in qemu-user-static, add to the list
  of examples in the binmiscctl(8) manpage.
  
  Reviewed by:	kevans
  MFC after:	3 days
  Differential Revision:	https://reviews.freebsd.org/D24646

Modified:
  head/usr.sbin/binmiscctl/binmiscctl.8

Modified: head/usr.sbin/binmiscctl/binmiscctl.8
==============================================================================
--- head/usr.sbin/binmiscctl/binmiscctl.8	Fri May  1 01:30:11 2020	(r360518)
+++ head/usr.sbin/binmiscctl/binmiscctl.8	Fri May  1 01:31:19 2020	(r360519)
@@ -27,7 +27,7 @@
 .\"
 .\" Support for miscellaneous binary image activators
 .\"
-.Dd February 10, 2020
+.Dd April 30, 2020
 .Dt BINMISCCTL 8
 .Os
 .Sh NAME
@@ -269,6 +269,17 @@ Add QEMU bsd-user program as an image activator for Po
            \ex00\ex00\ex00\ex00\ex00\ex00\ex00\ex02\ex00\ex15" \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?202005010131.0411VJAH048534>