Skip to content
Snippets Groups Projects
  1. Apr 23, 2019
    • Ed Coyne's avatar
      [system_updater] switch to using devmgr service to reboot. · d5c70033
      Ed Coyne authored
      devmgr is moving from a virtual device (/dev/misc/dmctl) to services,
      one of these fuchsia.device.manager.Administrator provides the ability
      to reboot now. Switch the updater to using this.
      
      Issue: ZX-3403 # convert system_updater
      Test: "fx ota" to astro.
      Change-Id: I35032d046129dc3af5b84d36b2f0776df263a4cc
      d5c70033
    • David Stevens's avatar
      [kernel][vm] Move VMO locks to dedicated allocation · 872a4c0d
      David Stevens authored
      Move VmObject locks out of VmObject to a separately allocated
      structure. This is necessary for keeping the lock alive in the
      hidden-vmo implementation of COW clones.
      
      Test: runtests on QEMU
      ZX-1268 #comment [kernel][vm] Move VMO locks to dedicated allocation
      
      Change-Id: I65919d6ae943b3caacc900e77ecade9f4a113fe5
      872a4c0d
    • Cristián Donoso's avatar
      [debugger][x64] Updated x64 HW breakpoint installation handling. · 893cbede
      Cristián Donoso authored
      This is a little readability "refactoring" preparing for the watchpoint
      installation logic for x64.
      
      TEST=fx run-test debug_agent_tests.
      
      Change-Id: I92e08e0c60aa4b723d92cf5e541b52b44644964e
      893cbede
    • Ambre Williams's avatar
      [cloud_provider_memory_diff] run validation tests · e9efffe0
      Ambre Williams authored
      This enables the cloud provider validation tests for the rust cloud
      provider.
      
      TEST=cloud_provider_memory_diff_tests runs on CQ
      
      Change-Id: Ia1e0e6f5e79f1a4e18de69412a7848af442fddcd
      e9efffe0
    • Adam Barth's avatar
      [products] Remove unused, old-style product definitions · e603c4cb
      Adam Barth authored
      We now define products in //products using a different format.
      
      Change-Id: I15ab61fb9318b377e974e4901838f745137b5621
      e603c4cb
    • Ambre Williams's avatar
      [ledger] terminate CloudProvider after each validation test · 46dc919e
      Ambre Williams authored
      Validation tests may create a new cloud provider process for each test.
      We proxy the requests on the FIDL channel so we can know when the client
      closes the channel and terminate the cloud provider instance launched
      for this test.
      
      TEST=run validation tests, fx shell ps, no cloud provider is running
      
      Change-Id: I522901d2b913d06b8ab207b14ddd116f32394863
      46dc919e
    • Benjamin Lerman's avatar
      [ledger] Implement PageSnapshot new API. · e60793c9
      Benjamin Lerman authored
      Also implement deprecated API in term of the new API.
      
      LE-618
      
      Change-Id: I083c22c16ec2ccb7902bd168f0ff4a3d02e3389d
      e60793c9
    • Mike Voydanoff's avatar
      [dev][vim-display] Convert display driver to composite device. · 292e1bfc
      Mike Voydanoff authored
      vim-display now uses composite protocol to access GPIO, canvas and sysmem
      
      TEST: Display lights up on vim2
      Change-Id: Ief7f90678c51d314849491756cc9151b8641e3a6
      292e1bfc
    • docs-roller's avatar
      [gndoc] Update GN build arguments documentation · 38e68252
      docs-roller authored
      Test: CQ
      
      Change-Id: I09e332fa0475c9565545652f94d38b741f82cef7
      38e68252
    • Gabriel Kerneis's avatar
      [ledger] Add AppendReferences methods to TreeNode and Object · 72a8c998
      Gabriel Kerneis authored
      This will allow a unified handling of object references for local and
      downloaded pieces.
      
      Change-Id: I0718935b16079ebeb916a4b20ba3f8a432f7c868
      Bug: LE-697
      Tested: fx run-test ledger_tests -t ledger_unittests
      72a8c998
    • Gabriel Kerneis's avatar
      [ledger] Allow creating a TreeNode from an Object · 5336d619
      Gabriel Kerneis authored
      Also discard unused method TreeNode::GetChild, which removes the need to
      keep a PageStorage reference in TreeNode.
      
      Change-Id: Ibdc9ea1d4f7b04c0edd5b535ba9554c1f6ae8b62
      Bug: LE-697
      Tested: fx run-test ledger_tests -t ledger_unittests
      5336d619
    • Gabriel Kerneis's avatar
      [ledger] Generate piece references in Piece instead of Split · 61bc1a3f
      Gabriel Kerneis authored
      This will allow a unified handling of piece references for local and
      downloaded pieces.
      
      Change-Id: I98ff4ad486ed2ff35034d460ced2c3a53c9fad94
      Bug: LE-697
      Tested: fx run-test ledger_tests -t ledger_unittests
      61bc1a3f
    • Benjamin Lerman's avatar
      [ledger] Introduce new Status less API for PageSnapshot. · 5fcae77c
      Benjamin Lerman authored
      LE-618
      
      Change-Id: Id9a6ea2531c25a9649f0a0c56752bef3e350c29e
      5fcae77c
    • Ankur Mittal's avatar
      [inspect] Move dependencies from libcomponent · 633484a6
      Ankur Mittal authored
      Depends on https://fuchsia-review.googlesource.com/c/topaz/+/273714/1
      
      CF-708 #progress
      
      TEST=CQ
      
      Change-Id: Icdbd38f795dd74ce032139d4f93ea3fa9273b3e1
      633484a6
    • Joshua Seaton's avatar
      [fidl] Complete soft transition of verify-fidl-libraries.py · b17316bc
      Joshua Seaton authored
      Change-Id: Idc0624d46fff94d3f048e4ecb2ebd2fa5d89bf01
      b17316bc
    • Adam Barth's avatar
      [recovery] Add more software delivery packages · 73b99059
      Adam Barth authored
      We will need these packages to actually reinstall the primary system.
      
      Change-Id: I621f63dc8077f5c52e8fcfb52da4f23d51a0d1ad
      73b99059
    • Rob Tsuk's avatar
      [carnelian][recovery] Support RBG 565 pixels again. · 2741a333
      Rob Tsuk authored
      Useful for testing under Qemu. Doesn’t look half bad.
      
      Also install the .cargo/config needed to build with fargo. The proliferation of this config
      files is unfortunate but necessary until someone has time to fix the failure of fx
      update-rustc-third-party when there is this sort of .cargo/config in the root.
      
      Also some unrelated formatting changes, whose presence I cannot explain.
      
      Change-Id: Id269e33c5a655d745d2683394ab81068073409ec
      2741a333
    • Yifei Teng's avatar
      [fdio] Minor fixes to unistd.c · f929c517
      Yifei Teng authored
      Change-Id: I7ba361650b1980337119ba3924dd6f5457699184
      f929c517
    • Robert Hahn's avatar
      [wlantool] Add convenience methods · 3a7edb2d
      Robert Hahn authored
      Added direct access to client commands such as connect, disconenct
      status and scan.
      Made interface id a named rather than positional argument.
      Default to interface id 0 if the id was not specified.
      
      New commands:
      $ wlantool2 client connect GoogleGuest
      $ wlantool2 client connect -i 42 GoogleGuest
      $ wlantool2 connect GoogleGuest
      
      Test=tested various wlantool commands
      
      Change-Id: I6a1a5f7747907eb599ceef234fe01dada8ca78d5
      3a7edb2d
    • Josh Gargus's avatar
      [escher] Delete old PaperRenderer and supporting code. · 369924f8
      Josh Gargus authored
      There is additional code that cannot be immediately deleted
      due to a few remaining dependencies; these have been marked
      as deprecated and will be addressed in subsequent CLs.
      
      ES-192 #comment
      
      Change-Id: I0f8d44ae03a7e5b0437f020a0992f7da4afcdac7
      369924f8
    • Venkatesh Srinivas's avatar
      [zircon][system] Extract scsilib from virtio into a common library · f933f60c
      Venkatesh Srinivas authored
      scsilib is a library to construct a Fuchsia block device on a SCSI
      Direct Access Block Device. It implements some of the complex SCSI-3
      probe sequence and is used by virtio-scsi.
      
      For expediency it was originally written as part of virtio/scsi;
      extract it to a common location so UMS and UASP and UFS could use it.
      
      ZX-2314
      
      Tested:
      ./scripts/run-zircon-x64 -- \
          -drive if=none,id=hd,file=/tmp/blk.img \
          -device virtio-scsi-pci,id=scsi  \
          -device scsi-hd,drive=hd,scsi-id=1,lun=1 \
          \
          -drive if=none,id=hd2,file=/tmp/blk2.img \
          -device scsi-hd,drive=hd2,scsi-id=2,lun=1
      
      $ lsblk
      ID  SIZE TYPE             LABEL                FLAGS  DEVICE
      000  16M                                              /dev/sys/pci/00:02.0/virtio-scsi/scsi-disk-1-1/block
      001  16M                                              /dev/sys/pci/00:02.0/virtio-scsi/scsi-disk-2-1/block
      $
      
      Change-Id: Id6480a49ddc870fccc03e6a6311772901fbeee2e
      f933f60c
    • Marty Faltesek's avatar
      [zx] Transition zx::channel::read and zx::channel::read_etc (part 2) · e08d86f8
      Marty Faltesek authored
      Transitions callers of zx::channel::read and zx::channel::read_etc to a
      corrected argument order. The first step happened in a previous commit
      which temporarily added method names during the transition,
      zx::channel::rea2 and zx::channel::rea2_etc to reflect the new argument
      ordering.
      
      This commit renames rea2 callers back to read, and changes the class method
      definitions to the corrected order.
      
      Test: CQ.
      
      Bug: ZX-2812
      Change-Id: I1ee9067d6a3507c18674d3e60b546882fcbd81f0
      e08d86f8
    • Sean Klein's avatar
      [fshost] Remove global job parameter · 64c8d05c
      Sean Klein authored
      "zx::job::default_job()" was the only value used; insert
      that directly to avoid using global variables.
      
      If the usage of multiple distinct jobs is required in the future,
      we can re-add this feature without using global variables.
      
      Change-Id: I8b678e540d1f8b3840c599fe044f458ba40ff82d
      64c8d05c
    • Sean Klein's avatar
      [fshost] Reformat minfs on boot if corrupt · c5e1ca95
      Sean Klein authored
      ZX-3948 #done
      
      Change-Id: I54fb5d14feea7e7817cda66fc26ffb7f73b94e9e
      c5e1ca95
    • David Worsham's avatar
      [scenic] Dump scenes improvements · 53b89c89
      David Worsham authored
      Dump-scenes now displays all Resources, even if they aren't reachable
      from a Compositor.  This is of great help when debugging issues
      where something hasn't been linked into the scene graph and you see a
      blank area of the screen.
      
      Test: Ran dump-scenes on sysUI
      
      Change-Id: I2c3c163bad87ec452445960a55930c81010da6c4
      53b89c89
    • Todd Eisenberger's avatar
      [devcoordinator] Encapsulate Device::children · ac2ab700
      Todd Eisenberger authored
      This no longer exposes the underlying list outside of the child class
      
      Change-Id: Ib70437cc84a9649f43fa0abc3c93caff73aab08c
      ac2ab700
    • John Sheu's avatar
      [wlan][brcmfmac] Convert brcmfmac driver from C to C++ · 62faf6c4
      John Sheu authored
      WLAN-1087
      
      TEST=Booted on vim2 and associated with GoogleGuest; booted AP mode and
      connected from third device.
      
      Change-Id: I1314f0324d188b1c1950bf171bdb78a1d036e877
      62faf6c4
    • docs-roller's avatar
      [gndoc] Update GN build arguments documentation · 433fdc01
      docs-roller authored
      Test: CQ
      
      Change-Id: I339338d962735c594f24ada99c00b2382ae6fff9
      433fdc01
    • Cristián Donoso's avatar
      [debugger][x64] Added HW watchpoint test. · 9f5f6fcf
      Cristián Donoso authored
      This creates a simple application to test that the low level thread
      state API can be used to successfully trigger a HW watchpoint. This
      binary is able to trigger a HW exception.
      
      This binary is made for all archs though only the x64 side is implemented.
      Ported the HW breakpoint binary to the same layout, having only the
      arm64 side implemented.
      
      TEST=Manual on NUC (x64).
      
      Change-Id: Id201e9024626e213da1d4d5f3697d854e4fcd417
      9f5f6fcf
    • Marty Faltesek's avatar
      [zircon][unittest] Rename ticks.c to ticks.cpp · 4219055e
      Marty Faltesek authored
      Also added a cast so that it builds in c++.
      
      Bug: ZX-3741
      Test: qemu time-test
      
      Change-Id: If193d6be048549a425c09e3dc0527cce7415c2cb
      4219055e
    • Daniel Pradilla's avatar
      [sdk] Move fuchsia.router.config to //sdk/fidl · 4ef8fc53
      Daniel Pradilla authored
      Moving router manager fidl to proper location.
      
      Change-Id: Ib4d0f7d9b1e0e0f57b2bcac1ba5655cae85bf7a9
      4ef8fc53
    • ='s avatar
      [scenic] Color correction implementation · 61b74130
      = authored
      Pipe through color correction matrices provided by a11y by creating a new fidl interface command function that takes in matrix preoffsets, coefficients and postoffsets, as well as a compositor id, and passes the data along through the session manager to the compositor's swapchain, which then passes the information along to the swapchain's display through the display manager
      
      SCN-1126 #done
      
      Tested = New FIDL command for passing color correction data to Scenic,
      proper compositor is found based on the provided compositor ID, data
      passed to the compositor's display can be retrieved and matches the
      original input.
      
      To Be Tested - (SCN_1375) E2E Pixel test to ensure that Zircon display
      manager is properly reading and applying the values sent to it by
      Scenic.
      
      Change-Id: I330307fee0948ed5c9bdd8bb3bc54aef41cbfa88
      61b74130
    • Josh Gargus's avatar
      [scenic] Only use PaperRenderer2. · 24509a47
      Josh Gargus authored
      After this change, the legacy PaperRenderer "1" is not longer used,
      and can be deleted from Escher.
      
      SCN-1370 #done
      SCN-670 #comment
      
      Change-Id: Id1f08d089bfbd8585697bfa86cfd477ae5735014
      24509a47
    • Kiet Tran's avatar
      [wlan][sme] Switch to inspect_log macro · 48bd83a0
      Kiet Tran authored
      Also log the `disconnect` case, which wasn't done previously.
      
      Test: connect to local network and do a dump manually
      Change-Id: I4f0447e58bb4e57333f680f9b3a8a88e19741675
      48bd83a0
    • Suraj Malhotra's avatar
      [paver] Rework paver lib interface. · 963ce2b4
      Suraj Malhotra authored
      The paver lib was to be closer to the interface it will be once paving
      is exposed as a fidl service. The next change will hook it up to the
      paver service, and the last will switch the install-disk-image binary to
      use the paver service, instead of of directly invoking the library
      functionality.
      
      ZX-3861
      
      Tested: Paved NUC, astro, vim2, and pixelbook
      
      Change-Id: Ic705e76af70be1153998888e93250dbf8be21fda
      963ce2b4
    • Yifei Teng's avatar
      [fdio] Convert remoteio.c to C++ · 4cc22e90
      Yifei Teng authored
      This is in preparation of llcpp integration.
      
      Change-Id: I4b87f1a6c124ac527396b4be81378fd3e1d4af21
      4cc22e90
    • Marco Vanotti's avatar
      [thinfs] Add host tests to build system. · 2067e07f
      Marco Vanotti authored
      This commit adds the thinfs host tests to the build system, allowing
      them to be run via `fx run-host-test`.
      I had to leave out the `fs/msdosfs` tests because they rely on other
      binaries, like `dd` and `mkfs`.
      
      I have tested them on linux and they ran fine.
      
      This is how I ran the tests:
      
      ```shell
      $ fx run-host-tests thinfs_bitops_test
      $ fx run-host-tests thinfs_block_fake_test
      $ fx run-host-tests thinfs_block_file_test
      $ fx run-host-tests thinfs_cache_test
      $ fx run-host-tests thinfs_gpt_test
      $ fx run-host-tests thinfs_mbr_test
      $ fx run-host-tests thinfs_thinio_test
      ```
      
      Change-Id: I6fb8ae4bf431e0fbe458c895b1e2f196aa31fbd8
      2067e07f
    • Kevin Wells's avatar
      [pkg_resolver] Support static URI rewrite rules · cc600710
      Kevin Wells authored
      This change adds support for loading and using statically configured URI
      rewrite rules in the package resolver. Dynamic rewrite rules are
      prioritized over static rewrite rules.
      
      PKG-638 #done
      
      Change-Id: I99d6787a05a9d6696e2df3c278811aab7b813fc8
      cc600710
    • Benjamin Brittain's avatar
      [fidl] Remove out-dated ERR_ guidance · a95dafc9
      Benjamin Brittain authored
      Change-Id: I2641f35daa8269844c74c777988039dfd9f4e0ec
      a95dafc9
    • Sen Jiang's avatar
      [omaha-client] Small fix for rust doc. · a3810224
      Sen Jiang authored
      Use //! instead of /// for crate/module level doc.
      
      Test: fx rustdoc garnet/lib/rust/omaha_client --open
      Change-Id: I4b62b841e37d5bb588393e3381419e6a7a99cb59
      a3810224
Loading