File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,28 @@ wget https://github.com/ericvh/cpu-prebuilt/releases/download/v0.0.4/identity
6060 raspberrypi.local /bin/bash
6161```
6262
63+ ### On Mac (native)
64+
65+ Since Mac binaries won't run natively on a linux target, this can be used
66+ to be able to access directories on the host machine (Mac), but not necessarily
67+ binaries or tools. You could use this to be able to run python scripts, etc.
68+ developed locally on your laptop on the target assuming the runtimes were already
69+ installed there. If stuff isn't installed, you are better off with something like
70+ the docker formulations.
71+
72+ ``` bash
73+ # If you haven't installed Go already, get that setup
74+ brew install go git
75+ export GOPATH=$HOME /go
76+ export PATH=$PATH :$GOPATH /bin
77+
78+ # Install native cpu
79+ go install github.com/u-root/cpu/cmds/cpu@latest
80+
81+ # Start it, but only map home directory
82+ PWD=${PWD/ \/ Users/ \/ home} cpu -sp 17010 -key ~ /src/test-cpu/identity -namespace " /home=/Users" raspberrypi.local /bin/bash
83+ ```
84+
6385# NOTE: All other instructions below this line are currently being tested & debugged
6486
6587## Quick Install (on Linux)
You can’t perform that action at this time.
0 commit comments