Flashing the Lego NXT brick on Ubuntu is pretty straight forward:
sudo apt-get install build-essential libusb-dev scons cd libnxt-0.3 scons
- Put the NXT brick into firmware upload mode by turning it on and then pressing the reset button for four seconds. At this point, the screen should be blank and the brick should be making a clicking noise.
fwflashto flash the new firmware. Using
sudoavoids potential USB permission issues.
cd libnxt-0.3 sudo ./fwflash xxx.rfw