wiki:Documentation/ConnectViaNFS

Connect device via NFS access

Easiest method to debug applications on various hardware is by using root filesystem on NFS, thus reducing need to flash files to device.

V3

Preparing:

  1. Get the oi-hanlin-v3-nfsroot archive.
  2. Make sure you're using kernel NFS server (userspace NFS does not work due to unclear reasons).
  3. Create directory /srv/nfs/openinkpot-root and unpack archive to this directory.
  4. Add the next line to /etc/exports:
    /srv/nfs/openinkpot-root  192.168.111.1(rw,async,no_root_squash,no_subtree_check)
    
  5. Reload NFS server settings (and make sure your portmap listens on the usb0 interface)

Booting from original firmware:

  1. Get all files from here and reloaded.ko from here and put them to root of SD card.
  2. Insert SD card ond run nfsboot file.

Booting from OpenInkpot:

  1. Get zImage from here and put it to root of SD card.
  2. Insert card to device.
  3. ssh to the device and run
    kexec -l /media/sd/zImage
    kexec -e
    

PRS-505

N516