Getting access to files on your host from the target over a network is very useful. This page lists the ways that this is possible. USB stick (sneakernet)You can put files (typically a full Chromium OS image build with build_image) onto a USB stick, insert it into the target, mount the device and access the files from there.Using sshfsSince you can use ssh in user space, and we have a 'fuse' module to permit user space filesystems, we can use sshfs to mount directories:# Make sure fuse is loadedsudo modprobe fuse# Create location to mount build directorymkdir /tmp/chrome# Mount your dev directorysshfs username@machine:/path/to/chrome /tmp/chromeUsing NFSPlease see here for full details.NFS requires a lot more setup but has additional features. There are two ways to use NFS from your target:
Transfer speed with NFS is faster than sshfs since CPU overhead is less, but is limited by the USB interface if you are using a USB Ethernet dongle. In this case you can expect around 10MB/s. It is also possible to boot from USB or eMMC, but then later mount a filesystem on your host. This requires some user space utilities. TODO: Document this once the source tree has the changes. |
