Flashing the Nao
Table of Contents
This document describes how to flash your Nao robot and what basic steps can be done for the USB stick.
Preparing the USB stick
- Plug the USB stick into your development machine.
- Go to your local NaoQi directory, i.e. cd /opt/naoqi.
- Flash the USB drive with
sh tools/flashusbnaokey /path/to/opennao-image-usb-nao-geode-0.1.18.ext3
You can get the required image file from the Aldebaran website. - Format the second partition on the USB stick with ext3 and relabel the primary partition.
SCSI_ID=$(dmesg |grep -e Kingmax |sed 's/^.*scsi \([0-9]*:[0-9]*:[0-9]*:[0-9]*:\).*$/\1/' | tail -1) echo $SCSI_ID # if no output is generated by the echo command above stop here! DEV=$(dmesg |grep $SCSI_ID| grep "removable disk"| sed 's/.*\[\([a-z]*\)\].*$/\1/' | tail -1) echo $DEV # if no output is generated by the echo command above stop here! fdisk /dev/$DEV # This starts fdisk, type the given commands to change the type of the secondary partition for ext3: Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 83 Command (m for help): w mkfs.ext3 -L robocup /dev/${DEV}2 e2label /dev/${DEV}1 naosys - Mount the USB stick, on Fedora just type sync (as root) and remove the key
- Put the USB stick in the robot and boot it, login via SSH over the network configuration just configured. This is a basic Nao as you get it from Aldebaran.
You are now set to boot your robot and prepare it for Fawkes. Read the Nao Robot Setup section for this.

