diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-06 20:55:40 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-06 20:55:40 +0200 |
| commit | e0e534c6c2485161cf80d4ab7f7658c85fabc83f (patch) | |
| tree | 6ba36e955398299887ae0ed5dcad41a847a4d47d /docs | |
| parent | a251f3266689855c5edc9189ce47b0c5941f4674 (diff) | |
docs: update fuchsia instructions
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/fuchsia.md | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/docs/fuchsia.md b/docs/fuchsia.md index 08754f09a..19c3ad269 100644 --- a/docs/fuchsia.md +++ b/docs/fuchsia.md @@ -1,5 +1,14 @@ # Fuchsia support +For information about checking out and building Fuchsia see +[Getting Started](https://fuchsia.googlesource.com/docs/+/master/getting_started.md) +and [Soure Code](https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md). +Image needs to be configured with sshd support: +``` +fx set x64 --packages garnet/packages/products/sshd +fx full-build +``` + To update descriptions run: ``` make extract TARGETOS=fuchsia SOURCEDIR=/path/to/fuchsia/checkout @@ -11,9 +20,27 @@ To build binaries: make TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=/path/to/fuchsia/checkout ``` -To run: +Run `syz-manager` with a config along the lines of: ``` -$SOURCEDIR/out/build-zircon/tools/netcp bin/fuchsia_amd64/syz-executor :/syz-executor -$SOURCEDIR/out/build-zircon/tools/netcp bin/fuchsia_amd64/syz-stress :/syz-stress -$SOURCEDIR/out/build-zircon/tools/netruncmd : "/syz-stress -executor /syz-executor" +{ + "name": "fuchsia", + "target": "fuchsia/amd64", + "http": ":12345", + "workdir": "/workdir.fuchsia", + "vmlinux": "/fuchsia/out/build-zircon/build-x64/zircon.elf", + "syzkaller": "/syzkaller", + "image": "/fuchsia/out/x64/images/fvm.blk", + "sshkey": "/fuchsia/out/x64/ssh-keys/id_ed25519", + "reproduce": false, + "cover": false, + "procs": 8, + "type": "qemu", + "vm": { + "count": 10, + "cpu": 4, + "mem": 2048, + "kernel": "/fuchsia/out/build-zircon/build-x64/zircon.bin", + "initrd": "/fuchsia/out/x64/bootdata-blob.bin" + } +} ``` |
