Raspberry Pi Changelog

As the beta progresses I’ll post what’s new here.

If you already have the agent installed, run the install script again to upgrade. I recommend you accept all the prompts to replace your firmware by Tinker, then reboot to reset all pins to a known good state.

bash <( curl -sL https://particle.io/install-pi )
# Accept all setup prompts to replace your firmware by Tinker
sudo reboot

December 7, 2016

particle-agent release 0.2.3-1

  • [BUGFIX] Firmware not lost on boot

November 29, 2016

firmware release 0.5.1-pi.8

  • Implement I2C. RPi I2C docs

  • Don’t set peripheral pins (I2C, SPI) as inputs at start

To use this firmware, recompile your code using the Web IDE, CLI or Dev.

particle-agent release 0.2.2-1

  • Update Tinker to not change special pins (I2C, SPI) to INPUT
  • safe mode should copy tinker not move it

November 23, 2016

particle-agent release 0.2.0-1

  • automatically run particle-agent commands as root. particle-agent setup is sufficient, no need for sudo particle-agent setup.
  • safe mode. Puts Tinker back if the firmware crashes 5 times within 30 seconds.
  • particle-agent version

If you already have the agent installed, run the install script again to upgrade. Press Ctrl-C at the Particle Cloud setup prompt if you don’t want to replace your running firmware by Tinker.
bash <( curl -sL https://particle.io/install-pi )

3 Likes

Upgraded from 0.1.0-9 to 0.2.0-1 using “bash <( curl -sL https://particle.io/install-pi )”.

This seems to have broken the “particle-agent setup” command:

    pi@particlepi:~ $ particle-agent setup
Let's connect your Raspberry Pi to the Particle Cloud!

You are already logged in as *********@gmail.com.
Do you want to stay logged in as this user? |yes|
How do you want your device to be labeled in the Particle tools?
Name: |********|
Generating RSA private key, 1024 bit long modulus
.........++++++
....................++++++
e is 65537 (0x10001)
writing RSA key
writing RSA key
/usr/lib/ruby/2.1.0/fileutils.rb:858:in `stat': No such file or directory @ rb_file_s_stat - /usr/share/particle/binaries/tinker (Errno::ENOENT)
	from /usr/lib/ruby/2.1.0/fileutils.rb:858:in `block in install'
	from /usr/lib/ruby/2.1.0/fileutils.rb:1579:in `block in fu_each_src_dest'
	from /usr/lib/ruby/2.1.0/fileutils.rb:1595:in `fu_each_src_dest0'
	from /usr/lib/ruby/2.1.0/fileutils.rb:1577:in `fu_each_src_dest'
	from /usr/lib/ruby/2.1.0/fileutils.rb:857:in `install'
	from /usr/lib/ruby/vendor_ruby/particle_agent/setup.rb:194:in `copy_tinker_firmware'
	from /usr/lib/ruby/vendor_ruby/particle_agent/setup.rb:62:in `run!'
	from /usr/lib/ruby/vendor_ruby/particle_agent/cli.rb:16:in `setup'
	from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
	from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
	from /usr/lib/ruby/vendor_ruby/thor.rb:359:in `dispatch'
	from /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
	from /usr/bin/particle-agent:16:in `<main>'

Please reinstall the agent. I fixed a bug that was causing Tinker to be moved over bad firmware for safe mode.

2 Likes