1. 14 Mar, 2016 2 commits
  2. 25 Jan, 2016 2 commits
  3. 19 Apr, 2015 2 commits
  4. 14 Jan, 2015 1 commit
  5. 23 Jun, 2014 1 commit
    • Stephen Warren's avatar
      sandbox: restore ability to access host fs through standard commands · 4d907025
      Stephen Warren authored
      Commit 95fac6ab "sandbox: Use os functions to read host device tree"
      removed the ability for get_device_and_partition() to handle the "host"
      device type, and redirect accesses to it to the host filesystem. This
      broke some unit tests that use this feature. So, revert that change. The
      code added back by this patch is slightly different to pacify checkpatch.
      
      However, we're then left with "host" being both:
      - A pseudo device that accesses the hosts real filesystem.
      - An emulated block device, which accesses "sectors" inside a file stored
        on the host.
      
      In order to resolve this discrepancy, rename the pseudo device from host
      to hostfs, and adjust the unit-tests for this change.
      
      The "help sb" output is modified to reflect this rename, and state where
      the host and hostfs devices should be used.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Tested-by: default avatarJosh Wu <josh.wu@atmel.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      4d907025
  6. 09 Jan, 2014 1 commit
  7. 14 Oct, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 01 May, 2013 1 commit
    • Simon Glass's avatar
      sandbox: fs: Add support for saving files to host filesystem · 7eb2c8d5
      Simon Glass authored
      This allows write of files from the host filesystem in sandbox. There is
      currently no concept of overwriting the file and removing its existing
      contents - all writing is done on top of what is there. This means that
      writing 10 bytes to the start of a 1KB file will only update those 10
      bytes, not truncate the file to 10 byte slong.
      
      If the file does not exist it is created.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      7eb2c8d5
  10. 04 Mar, 2013 1 commit