Here are the steps to make the plug boot from USB
* General [http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugUSB directions]
* Connect the ethernet cable to your network (Mouton says: is this necessary now? Can't we just wait until the Amahi Install section below to connect the plug to the LAN?)
* On Windows, use PuTTY (serial). On Linux, use [http://sourceforge.net/projects/gtkterm/ gtkterm] (use 2 stop bits & 115200 bps speed when creating the profile)
* If you use Windows, you'll need to install a driver (Mouton says: where is that driver?). If you use Linux, you'll need to do this before you connect the JTAG USB cable in your Linux computer:
cat > /etc/udev/rules.d/85-sheevaplug.rules <<'EOF'
# if no driver has claimed the interface yet, load ftdi_sio
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_interface", \
ATTRS{idVendor}=="1c0c", ATTRS{idProduct}=="0102", \
DRIVER=="", \
RUN+="/sbin/modprobe -b ftdi_sio"
# add the sheevaplug VID and PID to the list of devices supported by ftdi_sio
ACTION=="add", SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/ftdi_sio", \
ATTR{new_id}="1c0c 0102"
# optionally create a convenience symlink for the console device
ACTION=="add", KERNEL=="ttyUSB*", \
ATTRS{interface}=="SheevaPlug JTAGKey FT2232D B", \
ATTRS{bInterfaceNumber}=="01", \
SYMLINK+="sheevaplug"
EOF
* Connect the JTAG module and connect the USB side to a terminal emulator
* Connect the ethernet cable to your network* Putty for windows (Serial)* gtkterm for linux (use 2 stop bits!)* Reset the device from the JTAG module(hit the button)* At the terminal, press enter a couple of seconds after boot to prevent it from booting to using the onboard flash(Ubuntu)
* There are some commands to make it permanently boot off USB ('''NOTE:''' this step only has to be done once):
reset
</small>
* In order to install the rootfs onto a flash or disk, mount the flash drive on a linux system and execute the create-clean-f12-disk.sh script(Mouton says: where can I find that script?). It may take a while, but this must be done before booting up the plug and installing Amahi.
'''NOTE:''' This script is very dangerous (it can destroy the machine it is run on if not used properly). You will need to change the partition destination.
* Insert USB Flash Drive into the plug.
* Once this is complete, the JTAG module can be disconnected. There will be no need for serial connection any longer. Once the USB Flash Drive is connected and the plug booted, you will be able to connect via SSH(Mouton says: what's the root password?).
= Amahi Install =