Home | History | Annotate | Download | only in docs
      1 # Fuchsia support
      2 
      3 For information about checking out and building Fuchsia see
      4 [Getting Started](https://fuchsia.googlesource.com/docs/+/master/getting_started.md)
      5 and [Soure Code](https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md).
      6 Image needs to be configured with sshd support:
      7 ```
      8 fx set x64 --packages garnet/packages/products/sshd
      9 fx full-build
     10 ```
     11 
     12 To update descriptions run:
     13 ```
     14 make extract TARGETOS=fuchsia SOURCEDIR=/path/to/fuchsia/checkout
     15 make generate
     16 ```
     17 
     18 To build binaries:
     19 ```
     20 make TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=/path/to/fuchsia/checkout
     21 ```
     22 
     23 Run `syz-manager` with a config along the lines of:
     24 ```
     25 {
     26 	"name": "fuchsia",
     27 	"target": "fuchsia/amd64",
     28 	"http": ":12345",
     29 	"workdir": "/workdir.fuchsia",
     30 	"kernel_obj": "/fuchsia/out/build-zircon/build-x64",
     31 	"syzkaller": "/syzkaller",
     32 	"image": "/fuchsia/out/x64/images/fvm.blk",
     33 	"sshkey": "/fuchsia/out/x64/ssh-keys/id_ed25519",
     34 	"reproduce": false,
     35 	"cover": false,
     36 	"procs": 8,
     37 	"type": "qemu",
     38 	"vm": {
     39 		"count": 10,
     40 		"cpu": 4,
     41 		"mem": 2048,
     42 		"kernel": "/fuchsia/out/build-zircon/build-x64/zircon.bin",
     43 		"initrd": "/fuchsia/out/x64/bootdata-blob.bin"
     44 	}
     45 }
     46 ```
     47