Arduino yun

From Finninday
Revision as of 17:01, 6 November 2014 by Rday (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Upgrading an Arduino Yun

background

Essentially the task I'm documenting is outlined here: http://linino.org/doku.php?id=wiki:upgradetolininoio

But I'm adding a bit of background that I was missing since this is my first exposure to the Yun. See? I didn't even spell it with the proper accent over the U.

I'm pleased that the Yun has such good documentation:

I didn't end up using this sketch, but it included some nice hints about using the stock Serial Terminal in the Arduino IDE

This was the most succinct and useful documentation I found on setting up the tftpd server that is needed for the upgrade

http://www.df.lth.se/~triad/krad/tftpserver.html

environment

  • I'm using a Fedora 20 system connected via usb to provide power and access to serial terminal
  • The Yun is connected via wired ethernet to a network with a dhcp server providing IP config
  • I have an apache server providing binaries for download to the Yun
  • I have a tftp server providing binaries for download to the Yun
  • I have installed the version of the Arduino IDE that is new enough to support the Yun

prep the Yun

  • boot the Yun, that is provide power
  • log in via ssh. I have yun in my /etc/hosts with the IP address provided by dhcp. I'll be doing several of these boards and each time the image changes, the host id changes, so let's not fiddle with those. The default password is doghunter.
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@yun