How to boot over NFS

  1. Get V3update.bin.gz from V3update.bin.gz, unpack and put it to SD card.
  2. Flash firmware to the device.
  3. Get archive with nfsroot from openinkpot-nfsroot-20080214.tar.bz2.
  4. Make sure you're using kernel NFS server (userspace NFS does not work due to unclear reasons).
  5. Create directory /srv/nfs and unpack archive to this directory.
  6. Add next line to /etc/exports:
    /srv/nfs/openinkpot-root  192.168.111.1(rw,async,no_root_squash,no_subtree_check)
    
  7. Reload NFS server settings (and make sure your portmap listens on the usb0 interface)
  8. Configure network interface usb0 for auto-configuration when USB cable connected. For Debian (and any Debian-based distros, such as Ubuntu):
    /etc/network/interfaces:
    
    allow-hotplug usb0
    
    iface usb0 inet static
            address 192.168.111.2
            netmask 255.255.255.0
            broadcast 192.168.111.255
            network 192.168.111.0
    
  9. Connect USB cable to PC and device. Reboot device. After some time (~50 seconds) try to login over ssh with username root and password 'zxc':
    $ ssh root@192.168.111.1
    root@192.168.111.1's password: 
    root@lbook-v3:~$
    

It is possible to run X programs on the device's display. Just launch on your computer:

$ DISPLAY=192.168.111.1:0 xlogo
$ DISPLAY=192.168.111.1:0 xterm -geometry 600x800
$ DISPLAY=192.168.111.1:0 xpdff -geometry 600x800 some.pdf

You may update files on nfsroot as you want. You may even change the kernel on device without actual reboot:

root@lbook-v3:~$ kexec -l /boot/zImage  <- name of kernel here
Cannot open /proc/atags: No such file or directory
root@lbook-v3:~$ kexec -e

Attachments