Coder Social home page Coder Social logo

yun-go-updater's Introduction

Arduino is an open-source physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing and MaxMSP). The boards can be assembled by hand or purchased preassembled; the open-source IDE can be downloaded for free at https://arduino.cc

Github

More info at

Bug reports and technical discussions

  • To report a bug in the software or to request a simple enhancement go to Github Issues

  • More complex requests and technical discussion should go on the Arduino Developers mailing list

  • If you're interested in modifying or extending the Arduino software, we strongly suggest discussing your ideas on the Developers mailing list before starting to work on them. That way you can coordinate with the Arduino Team and others, giving your work a higher chance of being integrated into the official release

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: [email protected]

Installation

Detailed instructions for installation in popular operating systems can be found at:

Contents of this repository

This repository contains just the code for the Arduino IDE itself. Originally, it also contained the AVR and SAM Arduino core and libraries (i.e. the code that is compiled as part of a sketch and runs on the actual Arduino device), but those have been moved into their own repositories. They are still automatically downloaded as part of the build process and included in built releases, though.

The repositories for these extra parts can be found here:

Building and testing

Instructions for building the IDE and running unit tests can be found on the wiki:

Credits

Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe and David A. Mellis.

Arduino uses GNU avr-gcc toolchain, GCC ARM Embedded toolchain, avr-libc, avrdude, bossac, openOCD and code from Processing and Wiring.

Icon and about image designed by ToDo

yun-go-updater's People

Contributors

facchinm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yun-go-updater's Issues

[downloads.arduino.cc] Links Broken

Hi, worked ok for my yun, was wondering where firmware that was uploaded came from?

Nice, worked OK. (were you sponsored by google to use go?)
was wondering where the firmware came from? I tried originally to upload openwrt latest via luci, and then via sysupgrade but no dice, your updater worked OK, still I was wondering where new firmware came from that was uploaded?
did not know how to contact you other than issue?
I mean nice that you even have the endpoints for web access to gpio etc... but myself do not need that, would rather just be on latest openwrt with bridge working but was wondering if this firmware will now let me upload openwrt latest and for benefit of any yun users a page with explanation of firmware update (along with lede which is layer above firmware?) and being able for anyone to upgrade to latest secure wireless router with addtion of arduino comms simply through bridge...

I mean the yun as you (post lede update) present it is cool, maybe even better with stuff any more advanced user does not need removed and just the crucial stuff?

src/go.bug.st/serial.v1/enumerator/enumerator.go:28:9: undefined: nativeGetDetailedPortsList

Since my last post on arduino Forum http://forum.arduino.cc/index.php?topic=515869.msg3532480#msg3532480 , I've tried to revert to lininoIo and bricked 2 yuns ( white led always on :-( , and u-boot not accessible anymore ... Any idea to retrieve u-boot ??? So I decided to Explore yun-go-updater but I go a pb with a function undefined , see the last line of this log :
(Working on bash (ubuntu ) for Windows 10)


-rw-rw-rw- 1 david david 17470 déc.  27 08:27 main.go
-rwxrwxrwx 1 david david  2639 déc.  27 08:27 make_distrib.sh*
lrwxrwxrwx 1 david david    19 déc.  27 08:49 src -> /home/david/go/src//
drwxrwxrwx 0 david david   512 déc.  27 08:27 tftp/
drwxrwxrwx 0 david david   512 déc.  27 08:27 YunDiskSpaceExpander/
david@DESKTOP-FGTO8A9:~/go/src/github.com/arduino/yun-go-updater$ ./make_distrib.sh
+ rm -rf distrib/
+ mkdir -p distrib/linux32/tftp distrib/linux32/avr distrib/linux64/tftp distrib/linux64/avr distrib/linuxarm/tftp distrib/linuxarm/avr distrib/windows/tftp distrib/windows/avr distrib/osx/tftp distrib/osx/avr
+ export GOPATH=/home/david/go/src/github.com/arduino/yun-go-updater
+ GOPATH=/home/david/go/src/github.com/arduino/yun-go-updater
+ u_boot_fw=u-boot-arduino-lede.bin
+ sysupgrade_fw_name=ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin
+ grep ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin main.go
        sysupgradeFirmwareName := "ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin"
+ grep u-boot-arduino-lede.bin main.go
        bootloaderFirmwareName := "u-boot-arduino-lede.bin"
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=386
+ GO386=387
+ go build -o distrib/linux32/yun-go-updater
+ cp tftp/ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin tftp/u-boot-arduino-lede.bin distrib/linux32/tftp
+ cp avr/YunSerialTerminal.ino.hex distrib/linux32/avr/
+ cd distrib/linux32/avr/
+ wget http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2
--2017-12-27 08:49:56--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2
Résolution de downloads.arduino.cc (downloads.arduino.cc)… 149.202.160.25
Connexion à downloads.arduino.cc (downloads.arduino.cc)|149.202.160.25|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 701718 (685K) [application/octet-stream]
Enregistre : «avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2»

avrdude-6.3.0-arduino8-i686-p 100%[=================================================>] 685,27K  1,98MB/s    in 0,3s

2017-12-27 08:49:57 (1,98 MB/s) - «avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2» enregistré [701718/701718]

+ tar xvf avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2
avrdude/
avrdude/lib/
avrdude/lib/libusb-1.0.a
avrdude/lib/libusb.a
avrdude/lib/libavrdude.a
avrdude/lib/libusb-1.0.la
avrdude/lib/libelf.a
avrdude/lib/libavrdude.so.1.0.0
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/libusb.la
avrdude/lib/libavrdude.la
avrdude/lib/libavrdude.so
avrdude/lib/libavrdude.so.1
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/bin/
avrdude/bin/libusb-config
avrdude/bin/avrdude
avrdude/etc/
avrdude/etc/avrdude.conf
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/include/
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/libelf/
avrdude/include/libelf/elf_repl.h
avrdude/include/libelf/libelf.h
avrdude/include/libelf/nlist.h
avrdude/include/libelf/gelf.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf.h
avrdude/include/nlist.h
avrdude/include/gelf.h
avrdude/include/libavrdude.h
avrdude/include/usb.h
+ rm -rf avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2
+ mv avrdude/bin avrdude/etc .
+ rm -rf avrdude
+ cd -
/home/david/go/src/github.com/arduino/yun-go-updater
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=amd64
+ go build -o distrib/linux64/yun-go-updater
+ cp tftp/ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin tftp/u-boot-arduino-lede.bin distrib/linux64/tftp
+ cp avr/YunSerialTerminal.ino.hex distrib/linux64/avr/
+ cd distrib/linux64/avr/
+ wget http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2
--2017-12-27 08:50:07--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2
Résolution de downloads.arduino.cc (downloads.arduino.cc)… 149.202.160.25
Connexion à downloads.arduino.cc (downloads.arduino.cc)|149.202.160.25|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 711544 (695K) [application/octet-stream]
Enregistre : «avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2»

avrdude-6.3.0-arduino8-x86_64 100%[=================================================>] 694,87K  4,19MB/s    in 0,2s

2017-12-27 08:50:07 (4,19 MB/s) - «avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2» enregistré [711544/711544]

+ tar xvf avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2
avrdude/
avrdude/lib/
avrdude/lib/libusb-1.0.la
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/lib/libavrdude.la
avrdude/lib/libelf.a
avrdude/lib/libusb.a
avrdude/lib/libavrdude.so
avrdude/lib/libusb-1.0.a
avrdude/lib/libavrdude.a
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/libusb.la
avrdude/lib/libavrdude.so.1
avrdude/lib/libavrdude.so.1.0.0
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/bin/
avrdude/bin/avrdude
avrdude/bin/libusb-config
avrdude/include/
avrdude/include/nlist.h
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/libelf/
avrdude/include/libelf/nlist.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf/gelf.h
avrdude/include/libelf/libelf.h
avrdude/include/libelf/elf_repl.h
avrdude/include/gelf.h
avrdude/include/libavrdude.h
avrdude/include/usb.h
avrdude/include/libelf.h
avrdude/etc/
avrdude/etc/avrdude.conf
+ rm -rf avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2
+ mv avrdude/bin avrdude/etc .
+ rm -rf avrdude
+ cd -
/home/david/go/src/github.com/arduino/yun-go-updater
+ CGO_ENABLED=0
+ GOOS=linux
+ GOARCH=arm
+ go build -o distrib/linuxarm/yun-go-updater
+ cp tftp/ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin tftp/u-boot-arduino-lede.bin distrib/linuxarm/tftp
+ cp avr/YunSerialTerminal.ino.hex distrib/linuxarm/avr/
+ cd distrib/linuxarm/avr/
+ wget http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2
--2017-12-27 08:50:27--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2
Résolution de downloads.arduino.cc (downloads.arduino.cc)… 149.202.160.25
Connexion à downloads.arduino.cc (downloads.arduino.cc)|149.202.160.25|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 644550 (629K) [application/octet-stream]
Enregistre : «avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2»

avrdude-6.3.0-arduino8-armhf- 100%[=================================================>] 629,44K  3,73MB/s    in 0,2s

2017-12-27 08:50:28 (3,73 MB/s) - «avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2» enregistré [644550/644550]

+ tar xvf avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2
avrdude/
avrdude/include/
avrdude/include/gelf.h
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/usb.h
avrdude/include/nlist.h
avrdude/include/libelf/
avrdude/include/libelf/gelf.h
avrdude/include/libelf/elf_repl.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf/nlist.h
avrdude/include/libelf/libelf.h
avrdude/include/libavrdude.h
avrdude/include/libelf.h
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/bin/
avrdude/bin/libusb-config
avrdude/bin/avrdude
avrdude/lib/
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/libelf.a
avrdude/lib/libavrdude.so.1.0.0
avrdude/lib/libavrdude.so
avrdude/lib/libusb.a
avrdude/lib/libavrdude.so.1
avrdude/lib/libusb.la
avrdude/lib/libusb-1.0.a
avrdude/lib/libavrdude.a
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/lib/libavrdude.la
avrdude/lib/libusb-1.0.la
avrdude/etc/
avrdude/etc/avrdude.conf
+ rm -rf avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2
+ mv avrdude/bin avrdude/etc .
+ rm -rf avrdude
+ cd -
/home/david/go/src/github.com/arduino/yun-go-updater
+ CGO_ENABLED=0
+ GOOS=windows
+ GOARCH=386
+ GO386=387
+ go build -o distrib/windows/yun-go-updater.exe
+ cp tftp/ledeyun-17.11-r5461-ce9089c-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin tftp/u-boot-arduino-lede.bin distrib/windows/tftp
+ cp avr/YunSerialTerminal.ino.hex distrib/windows/avr/
+ cd distrib/windows/avr/
+ wget http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
--2017-12-27 08:50:51--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
Résolution de downloads.arduino.cc (downloads.arduino.cc)… 149.202.160.25
Connexion à downloads.arduino.cc (downloads.arduino.cc)|149.202.160.25|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 645996 (631K) [application/zip]
Enregistre : «avrdude-6.3.0-arduino8-i686-w64-mingw32.zip»

avrdude-6.3.0-arduino8-i686-w 100%[=================================================>] 630,86K  2,26MB/s    in 0,3s

2017-12-27 08:50:51 (2,26 MB/s) - «avrdude-6.3.0-arduino8-i686-w64-mingw32.zip» enregistré [645996/645996]

+ unzip avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
Archive:  avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
   creating: avrdude/
   creating: avrdude/lib/
  inflating: avrdude/lib/libavrdude.la
  inflating: avrdude/lib/libusb-1.0.a
  inflating: avrdude/lib/libusb.a
  inflating: avrdude/lib/libusb-1.0.la
   creating: avrdude/lib/pkgconfig/
  inflating: avrdude/lib/pkgconfig/libelf.pc
  inflating: avrdude/lib/pkgconfig/libusb-1.0.pc
  inflating: avrdude/lib/libelf.a
  inflating: avrdude/lib/libavrdude.a
   creating: avrdude/bin/
  inflating: avrdude/bin/avrdude.exe
  inflating: avrdude/bin/remove_giveio.bat
  inflating: avrdude/bin/status_giveio.bat
  inflating: avrdude/bin/giveio.sys
  inflating: avrdude/bin/loaddrv.exe
  inflating: avrdude/bin/libusb0.dll
  inflating: avrdude/bin/install_giveio.bat
   creating: avrdude/etc/
  inflating: avrdude/etc/avrdude.conf
   creating: avrdude/include/
   creating: avrdude/include/libelf/
  inflating: avrdude/include/libelf/elf_repl.h
  inflating: avrdude/include/libelf/sys_elf.h
  inflating: avrdude/include/libelf/gelf.h
  inflating: avrdude/include/libelf/libelf.h
  inflating: avrdude/include/libelf/nlist.h
   creating: avrdude/include/libusb-1.0/
  inflating: avrdude/include/libusb-1.0/libusb.h
 extracting: avrdude/include/gelf.h
  inflating: avrdude/include/lusb0_usb.h
  inflating: avrdude/include/libavrdude.h
  inflating: avrdude/include/libelf.h
 extracting: avrdude/include/nlist.h
   creating: avrdude/share/
   creating: avrdude/share/man/
   creating: avrdude/share/man/man1/
  inflating: avrdude/share/man/man1/avrdude.1
+ rm -rf avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
+ mv avrdude/bin avrdude/etc .
+ rm -rf avrdude
+ cd -
/home/david/go/src/github.com/arduino/yun-go-updater
+ CC=o64-clang
+ GOOS=darwin
+ GOARCH=amd64
+ go build -o distrib/osx/yun-go-updater
# go.bug.st/serial.v1/enumerator
src/go.bug.st/serial.v1/enumerator/enumerator.go:28:9: undefined: nativeGetDetailedPortsList

Executing command error , exec: not started

On Widnows 10 and macos Catalina, GO ver 1.13.5.

Found port: /dev/cu.usbmodem1424201
USB ID     2341:8041
USB serial
Using it
Restarting in bootloader mode
Get port list before reset
Wait for the port to disappear
Wait for the port to reappear
Found upload port:  /dev/tty.usbmodem1424201
Flashing with command:/Users/Kanye/Downloads/osx/avr/bin/avrdude -C/Users/Kanye/Downloads/osx/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/tty.usbmodem1424201 -b57600 -D -Uflash:w:/Users/Kanye/Downloads/osx/avr/YunSerialTerminal.ino.hex:i
2019/12/10 20:57:08 Executing command: exec: not started

Could not get your IP address, check your network connection - OSX

Hi,
thanks a lot for your work and this update,
i'm trying to use the tool, all working good since this point.

Could not get your IP address, check your network connection

i get this errror but i'm sure that i have the ip as the ifconfig said
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=10b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV>
ether 40:6c:8f:48:fc:c8
inet 10.0.1.11 netmask 0xffffff00 broadcast 10.0.1.255
media: autoselect (1000baseT )
status: active

it's possible to have a interactive step where if the script can't find the ip i can input it manually?

[YunDiskSpaceExpander.ino] Installation of kmod-fs-ext4 fails

Hey, my Yun rev. 2 came with LEDE 17.11 (r5461-ce9089c) preinstalled. Unfortunately, I can't use my microSD because YunDiskSpaceExpander.ino fails to finish successfully.

root@Yun:~# opkg install kmod-fs-ext4
Installing kmod-fs-ext4 (4.9.91-1) to root...
Downloading http://downloads.arduino.cc/openwrtyun/17.11/packages/targets/ar71xx/generic/packages/kmod-fs-ext4_4.9.91-1_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
 * 	kernel (= 4.9.91-1-272855890423efd820cc7f0277de710b) * 	kernel (= 4.9.91-1-272855890423efd820cc7f0277de710b) * 
 * opkg_install_cmd: Cannot install package kmod-fs-ext4.
root@Yun:~# uname -a
Linux Yun 4.9.65 #0 Mon Dec 4 16:26:08 2017 mips GNU/Linux

I saw there is r6773+1-8dd3a6e image available, but I am not sure what versions it contains and if I can use YunGoUpdater with rev. 2 board in the first place. Please advise.

Sometimes memory is increased, sometimes not

Hi,
I have an arduino yun with lede-17.01.6.

Since your sketch was not working, i took the following lines from your code:

mkdir -p /mnt/sda1
mount /dev/sda1 /mnt/sda1
mkdir -p /mnt/sda1/arduino/www

rsync -a --exclude=/mnt/ --exclude=/www/sd /overlay/ /mnt/sda1/
umount /dev/sda?
rm -rf /mnt/sda?

  uci add fstab mount 
  uci set fstab.@mount[0].target=/overlay 
  uci set fstab.@mount[0].device=/dev/sda1
  uci set fstab.@mount[0].fstype=ext4 
  uci set fstab.@mount[0].enabled=1 
  uci set fstab.@mount[0].enabled_fsck=0
  uci set fstab.@mount[0].options=rw,sync,noatime,nodiratime 
 uci commit 

it works for me, and at the first reboot i can see the expanded memory.

But sometimes, when i started the arduino, the memory is not expanded and i have this error

>> dmesg | grep err
[    5.456442] usb 1-1: device descriptor read/64, error -32
[    5.686395] usb 1-1: device descriptor read/64, error -32
[   15.022002] blk_update_request: I/O error, dev sda, sector 4550474
[   15.028723] EXT4-fs (sda1): error loading journal
[   15.032395] block: extroot: mounting /dev/sda1 (ext4) on /tmp/extroot/overlay failed: 5 (I/O error)

Would you know where the problem is?

Not working on Yun Shield

Is there a manual method? The OSX version is not working with Yun Shield

AlexMac:osx alejandroimass$ sudo ./yun-go-updater
...
Using 10.0.1.7 as server address and 10.0.1.24 as board address, confirm? (Y, n)
...
n
Enter server IP address: 10.0.1.7
Enter board IP address: 10.0.1.5
2018/05/04 22:05:43 No serial port suitable for updating Yun

No serial port suitable for updating Yun

Hello Team,

In trying to upgrade my Yun Shiled v1.0 firmware (installed over Arduino Mega2560), I'm faced with the below message after running the script for upgrade:

"No serial port suitable for updating Yun"

Though I have the usb cable connected between the Arduino Mega2560 and my Laptop?

Any idea on how to fix this?

Errors on make_distrib.sh

@facchinm I trying to compile the files using make_distrib.sh but a lot of errors appear. Can you check that debug? (I using Ubuntu 18.04)

ignacio@ignacio-VirtualBox:~/Downloads/yun-go-updater-master$ bash make_distrib.sh
	sysupgradeFirmwareName := "ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin"
	bootloaderFirmwareName := "u-boot-arduino-lede.bin"
**main.go:18:2: cannot find package "github.com/facchinm/goexpect" in any of:
	/usr/lib/go-1.10/src/github.com/facchinm/goexpect (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/facchinm/goexpect (from $GOPATH)
main.go:19:2: cannot find package "github.com/pin/tftp" in any of:
	/usr/lib/go-1.10/src/github.com/pin/tftp (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pin/tftp (from $GOPATH)
main.go:20:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/lib/go-1.10/src/github.com/pkg/errors (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pkg/errors (from $GOPATH)
main.go:21:2: cannot find package "go.bug.st/serial.v1" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1 (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1 (from $GOPATH)
main.go:22:2: cannot find package "go.bug.st/serial.v1/enumerator" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1/enumerator (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1/enumerator (from $GOPATH)
main.go:23:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/lib/go-1.10/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)**
--2018-05-08 11:50:55--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2
Resolving downloads.arduino.cc (downloads.arduino.cc)... 158.69.86.55
Connecting to downloads.arduino.cc (downloads.arduino.cc)|158.69.86.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 701718 (685K) [application/octet-stream]
Saving to: ‘avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2’

avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2                    100%[==================================================================================================================================================================>] 685,27K   605KB/s    in 1,1s    

2018-05-08 11:50:57 (605 KB/s) - ‘avrdude-6.3.0-arduino8-i686-pc-linux-gnu.tar.bz2’ saved [701718/701718]

avrdude/
avrdude/lib/
avrdude/lib/libusb-1.0.a
avrdude/lib/libusb.a
avrdude/lib/libavrdude.a
avrdude/lib/libusb-1.0.la
avrdude/lib/libelf.a
avrdude/lib/libavrdude.so.1.0.0
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/libusb.la
avrdude/lib/libavrdude.la
avrdude/lib/libavrdude.so
avrdude/lib/libavrdude.so.1
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/bin/
avrdude/bin/libusb-config
avrdude/bin/avrdude
avrdude/etc/
avrdude/etc/avrdude.conf
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/include/
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/libelf/
avrdude/include/libelf/elf_repl.h
avrdude/include/libelf/libelf.h
avrdude/include/libelf/nlist.h
avrdude/include/libelf/gelf.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf.h
avrdude/include/nlist.h
avrdude/include/gelf.h
avrdude/include/libavrdude.h
avrdude/include/usb.h
/home/ignacio/Downloads/yun-go-updater-master
**main.go:18:2: cannot find package "github.com/facchinm/goexpect" in any of:
	/usr/lib/go-1.10/src/github.com/facchinm/goexpect (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/facchinm/goexpect (from $GOPATH)
main.go:19:2: cannot find package "github.com/pin/tftp" in any of:
	/usr/lib/go-1.10/src/github.com/pin/tftp (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pin/tftp (from $GOPATH)
main.go:20:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/lib/go-1.10/src/github.com/pkg/errors (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pkg/errors (from $GOPATH)
main.go:21:2: cannot find package "go.bug.st/serial.v1" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1 (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1 (from $GOPATH)
main.go:22:2: cannot find package "go.bug.st/serial.v1/enumerator" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1/enumerator (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1/enumerator (from $GOPATH)
main.go:23:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/lib/go-1.10/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)**
--2018-05-08 11:50:58--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2
Resolving downloads.arduino.cc (downloads.arduino.cc)... 158.69.86.55
Connecting to downloads.arduino.cc (downloads.arduino.cc)|158.69.86.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 711544 (695K) [application/octet-stream]
Saving to: ‘avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2’

avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2                  100%[==================================================================================================================================================================>] 694,87K   704KB/s    in 1,0s    

2018-05-08 11:51:00 (704 KB/s) - ‘avrdude-6.3.0-arduino8-x86_64-pc-linux-gnu.tar.bz2’ saved [711544/711544]

avrdude/
avrdude/lib/
avrdude/lib/libusb-1.0.la
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/lib/libavrdude.la
avrdude/lib/libelf.a
avrdude/lib/libusb.a
avrdude/lib/libavrdude.so
avrdude/lib/libusb-1.0.a
avrdude/lib/libavrdude.a
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/libusb.la
avrdude/lib/libavrdude.so.1
avrdude/lib/libavrdude.so.1.0.0
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/bin/
avrdude/bin/avrdude
avrdude/bin/libusb-config
avrdude/include/
avrdude/include/nlist.h
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/libelf/
avrdude/include/libelf/nlist.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf/gelf.h
avrdude/include/libelf/libelf.h
avrdude/include/libelf/elf_repl.h
avrdude/include/gelf.h
avrdude/include/libavrdude.h
avrdude/include/usb.h
avrdude/include/libelf.h
avrdude/etc/
avrdude/etc/avrdude.conf
/home/ignacio/Downloads/yun-go-updater-master
**main.go:18:2: cannot find package "github.com/facchinm/goexpect" in any of:
	/usr/lib/go-1.10/src/github.com/facchinm/goexpect (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/facchinm/goexpect (from $GOPATH)
main.go:19:2: cannot find package "github.com/pin/tftp" in any of:
	/usr/lib/go-1.10/src/github.com/pin/tftp (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pin/tftp (from $GOPATH)
main.go:20:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/lib/go-1.10/src/github.com/pkg/errors (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pkg/errors (from $GOPATH)
main.go:21:2: cannot find package "go.bug.st/serial.v1" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1 (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1 (from $GOPATH)
main.go:22:2: cannot find package "go.bug.st/serial.v1/enumerator" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1/enumerator (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1/enumerator (from $GOPATH)
main.go:23:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/lib/go-1.10/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)**
--2018-05-08 11:51:01--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2
Resolving downloads.arduino.cc (downloads.arduino.cc)... 158.69.86.55
Connecting to downloads.arduino.cc (downloads.arduino.cc)|158.69.86.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 644550 (629K) [application/octet-stream]
Saving to: ‘avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2’

avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2                   100%[==================================================================================================================================================================>] 629,44K   361KB/s    in 1,7s    

2018-05-08 11:51:04 (361 KB/s) - ‘avrdude-6.3.0-arduino8-armhf-pc-linux-gnu.tar.bz2’ saved [644550/644550]

avrdude/
avrdude/include/
avrdude/include/gelf.h
avrdude/include/libusb-1.0/
avrdude/include/libusb-1.0/libusb.h
avrdude/include/usb.h
avrdude/include/nlist.h
avrdude/include/libelf/
avrdude/include/libelf/gelf.h
avrdude/include/libelf/elf_repl.h
avrdude/include/libelf/sys_elf.h
avrdude/include/libelf/nlist.h
avrdude/include/libelf/libelf.h
avrdude/include/libavrdude.h
avrdude/include/libelf.h
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/bin/
avrdude/bin/libusb-config
avrdude/bin/avrdude
avrdude/lib/
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/libelf.a
avrdude/lib/libavrdude.so.1.0.0
avrdude/lib/libavrdude.so
avrdude/lib/libusb.a
avrdude/lib/libavrdude.so.1
avrdude/lib/libusb.la
avrdude/lib/libusb-1.0.a
avrdude/lib/libavrdude.a
avrdude/lib/locale/
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/lib/libavrdude.la
avrdude/lib/libusb-1.0.la
avrdude/etc/
avrdude/etc/avrdude.conf
/home/ignacio/Downloads/yun-go-updater-master
**main.go:18:2: cannot find package "github.com/facchinm/goexpect" in any of:
	/usr/lib/go-1.10/src/github.com/facchinm/goexpect (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/facchinm/goexpect (from $GOPATH)
main.go:19:2: cannot find package "github.com/pin/tftp" in any of:
	/usr/lib/go-1.10/src/github.com/pin/tftp (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pin/tftp (from $GOPATH)
main.go:20:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/lib/go-1.10/src/github.com/pkg/errors (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pkg/errors (from $GOPATH)
main.go:21:2: cannot find package "go.bug.st/serial.v1" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1 (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1 (from $GOPATH)
main.go:22:2: cannot find package "go.bug.st/serial.v1/enumerator" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1/enumerator (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1/enumerator (from $GOPATH)
main.go:23:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/lib/go-1.10/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)**
--2018-05-08 11:51:05--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
Resolving downloads.arduino.cc (downloads.arduino.cc)... 158.69.86.55
Connecting to downloads.arduino.cc (downloads.arduino.cc)|158.69.86.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 645996 (631K) [application/zip]
Saving to: ‘avrdude-6.3.0-arduino8-i686-w64-mingw32.zip’

avrdude-6.3.0-arduino8-i686-w64-mingw32.zip                         100%[==================================================================================================================================================================>] 630,86K   610KB/s    in 1,0s    

2018-05-08 11:51:07 (610 KB/s) - ‘avrdude-6.3.0-arduino8-i686-w64-mingw32.zip’ saved [645996/645996]

Archive:  avrdude-6.3.0-arduino8-i686-w64-mingw32.zip
   creating: avrdude/
   creating: avrdude/lib/
  inflating: avrdude/lib/libavrdude.la  
  inflating: avrdude/lib/libusb-1.0.a  
  inflating: avrdude/lib/libusb.a    
  inflating: avrdude/lib/libusb-1.0.la  
   creating: avrdude/lib/pkgconfig/
  inflating: avrdude/lib/pkgconfig/libelf.pc  
  inflating: avrdude/lib/pkgconfig/libusb-1.0.pc  
  inflating: avrdude/lib/libelf.a    
  inflating: avrdude/lib/libavrdude.a  
   creating: avrdude/bin/
  inflating: avrdude/bin/avrdude.exe  
  inflating: avrdude/bin/remove_giveio.bat  
  inflating: avrdude/bin/status_giveio.bat  
  inflating: avrdude/bin/giveio.sys  
  inflating: avrdude/bin/loaddrv.exe  
  inflating: avrdude/bin/libusb0.dll  
  inflating: avrdude/bin/install_giveio.bat  
   creating: avrdude/etc/
  inflating: avrdude/etc/avrdude.conf  
   creating: avrdude/include/
   creating: avrdude/include/libelf/
  inflating: avrdude/include/libelf/elf_repl.h  
  inflating: avrdude/include/libelf/sys_elf.h  
  inflating: avrdude/include/libelf/gelf.h  
  inflating: avrdude/include/libelf/libelf.h  
  inflating: avrdude/include/libelf/nlist.h  
   creating: avrdude/include/libusb-1.0/
  inflating: avrdude/include/libusb-1.0/libusb.h  
 extracting: avrdude/include/gelf.h  
  inflating: avrdude/include/lusb0_usb.h  
  inflating: avrdude/include/libavrdude.h  
  inflating: avrdude/include/libelf.h  
 extracting: avrdude/include/nlist.h  
   creating: avrdude/share/
   creating: avrdude/share/man/
   creating: avrdude/share/man/man1/
  inflating: avrdude/share/man/man1/avrdude.1  
/home/ignacio/Downloads/yun-go-updater-master
**main.go:18:2: cannot find package "github.com/facchinm/goexpect" in any of:
	/usr/lib/go-1.10/src/github.com/facchinm/goexpect (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/facchinm/goexpect (from $GOPATH)
main.go:19:2: cannot find package "github.com/pin/tftp" in any of:
	/usr/lib/go-1.10/src/github.com/pin/tftp (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pin/tftp (from $GOPATH)
main.go:20:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/lib/go-1.10/src/github.com/pkg/errors (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/github.com/pkg/errors (from $GOPATH)
main.go:21:2: cannot find package "go.bug.st/serial.v1" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1 (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1 (from $GOPATH)
main.go:22:2: cannot find package "go.bug.st/serial.v1/enumerator" in any of:
	/usr/lib/go-1.10/src/go.bug.st/serial.v1/enumerator (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/go.bug.st/serial.v1/enumerator (from $GOPATH)
main.go:23:2: cannot find package "golang.org/x/crypto/ssh/terminal" in any of:
	/usr/lib/go-1.10/src/golang.org/x/crypto/ssh/terminal (from $GOROOT)
	/home/ignacio/Downloads/yun-go-updater-master/src/golang.org/x/crypto/ssh/terminal (from $GOPATH)**
--2018-05-08 11:51:07--  http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino8-i386-apple-darwin11.tar.bz2
Resolving downloads.arduino.cc (downloads.arduino.cc)... 158.69.86.55
Connecting to downloads.arduino.cc (downloads.arduino.cc)|158.69.86.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 697268 (681K) [application/octet-stream]
Saving to: ‘avrdude-6.3.0-arduino8-i386-apple-darwin11.tar.bz2’

avrdude-6.3.0-arduino8-i386-apple-darwin11.tar.bz2                  100%[==================================================================================================================================================================>] 680,93K  1,41MB/s    in 0,5s    

2018-05-08 11:51:09 (1,41 MB/s) - ‘avrdude-6.3.0-arduino8-i386-apple-darwin11.tar.bz2’ saved [697268/697268]

avrdude/
avrdude/bin/
avrdude/etc/
avrdude/include/
avrdude/lib/
avrdude/share/
avrdude/share/man/
avrdude/share/man/man1/
avrdude/share/man/man1/avrdude.1
avrdude/lib/libavrdude.1.dylib
avrdude/lib/libavrdude.a
avrdude/lib/libavrdude.dylib
avrdude/lib/libavrdude.la
avrdude/lib/libelf.a
avrdude/lib/libusb-1.0.a
avrdude/lib/libusb-1.0.la
avrdude/lib/libusb.a
avrdude/lib/libusb.la
avrdude/lib/locale/
avrdude/lib/pkgconfig/
avrdude/lib/pkgconfig/libelf.pc
avrdude/lib/pkgconfig/libusb-1.0.pc
avrdude/lib/pkgconfig/libusb.pc
avrdude/lib/locale/de/
avrdude/lib/locale/de/LC_MESSAGES/
avrdude/lib/locale/de/LC_MESSAGES/libelf.cat
avrdude/include/gelf.h
avrdude/include/libavrdude.h
avrdude/include/libelf/
avrdude/include/libelf.h
avrdude/include/libusb-1.0/
avrdude/include/nlist.h
avrdude/include/usb.h
avrdude/include/libusb-1.0/libusb.h
avrdude/include/libelf/elf_repl.h
avrdude/include/libelf/gelf.h
avrdude/include/libelf/libelf.h
avrdude/include/libelf/nlist.h
avrdude/include/libelf/sys_elf.h
avrdude/etc/avrdude.conf
avrdude/bin/avrdude
avrdude/bin/libusb-config
/home/ignacio/Downloads/yun-go-updater-master
linux32/
linux32/avr/
linux32/avr/bin/
linux32/avr/bin/avrdude
linux32/avr/bin/libusb-config
linux32/avr/etc/
linux32/avr/etc/avrdude.conf
linux32/avr/YunSerialTerminal.ino.hex
linux32/avr/YunFirstConfig.ino.with_bootloader.yun.hex
linux32/tftp/
linux32/tftp/ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin
linux32/tftp/u-boot-arduino-lede.bin
linux64/
linux64/avr/
linux64/avr/bin/
linux64/avr/bin/avrdude
linux64/avr/bin/libusb-config
linux64/avr/etc/
linux64/avr/etc/avrdude.conf
linux64/avr/YunSerialTerminal.ino.hex
linux64/avr/YunFirstConfig.ino.with_bootloader.yun.hex
linux64/tftp/
linux64/tftp/ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin
linux64/tftp/u-boot-arduino-lede.bin
linuxarm/
linuxarm/avr/
linuxarm/avr/bin/
linuxarm/avr/bin/avrdude
linuxarm/avr/bin/libusb-config
linuxarm/avr/etc/
linuxarm/avr/etc/avrdude.conf
linuxarm/avr/YunSerialTerminal.ino.hex
linuxarm/avr/YunFirstConfig.ino.with_bootloader.yun.hex
linuxarm/tftp/
linuxarm/tftp/ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin
linuxarm/tftp/u-boot-arduino-lede.bin
osx/
osx/avr/
osx/avr/bin/
osx/avr/bin/avrdude
osx/avr/bin/libusb-config
osx/avr/etc/
osx/avr/etc/avrdude.conf
osx/avr/YunSerialTerminal.ino.hex
osx/avr/YunFirstConfig.ino.with_bootloader.yun.hex
osx/tftp/
osx/tftp/ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin
osx/tftp/u-boot-arduino-lede.bin
  adding: windows/ (stored 0%)
  adding: windows/avr/ (stored 0%)
  adding: windows/avr/bin/ (stored 0%)
  adding: windows/avr/bin/avrdude.exe (deflated 57%)
  adding: windows/avr/bin/loaddrv.exe (deflated 57%)
  adding: windows/avr/bin/remove_giveio.bat (deflated 42%)
  adding: windows/avr/bin/libusb0.dll (deflated 46%)
  adding: windows/avr/bin/giveio.sys (deflated 67%)
  adding: windows/avr/bin/status_giveio.bat (deflated 30%)
  adding: windows/avr/bin/install_giveio.bat (deflated 59%)
  adding: windows/avr/etc/ (stored 0%)
  adding: windows/avr/etc/avrdude.conf (deflated 93%)
  adding: windows/avr/YunSerialTerminal.ino.hex (deflated 61%)
  adding: windows/avr/YunFirstConfig.ino.with_bootloader.yun.hex (deflated 63%)
  adding: windows/tftp/ (stored 0%)
  adding: windows/tftp/ledeyun-17.11-r6773+1-8dd3a6e-ar71xx-generic-arduino-yun-squashfs-sysupgrade.bin (deflated 1%)
  adding: windows/tftp/u-boot-arduino-lede.bin (deflated 56%)
/home/ignacio/Downloads/yun-go-updater-master
========= OUTPUTS =============
7d0fb8883f6450802134388cefc57d1301ebe4e4  distrib/yun-go-updater-linux32.tar.gz
a79d5e8f6ca373093b748f00c0b7bd51f7629a0a  distrib/yun-go-updater-linux64.tar.gz
9f6d884d18bebab2147cec595068af839916ea66  distrib/yun-go-updater-linuxarm.tar.gz
e699a53ed960acd0ce77b0760bdbb064d516bfe6  distrib/yun-go-updater-osx.tar.gz
42553aef91f97d568460493838f4e557240f1e59  distrib/yun-go-updater-windows.zip
-rw-rw-r-- 1 ignacio ignacio 10768564 mai  8 11:51 distrib/yun-go-updater-linux32.tar.gz
-rw-rw-r-- 1 ignacio ignacio 10776158 mai  8 11:51 distrib/yun-go-updater-linux64.tar.gz
-rw-rw-r-- 1 ignacio ignacio 10747340 mai  8 11:51 distrib/yun-go-updater-linuxarm.tar.gz
-rw-rw-r-- 1 ignacio ignacio 10772200 mai  8 11:51 distrib/yun-go-updater-osx.tar.gz
-rw-rw-r-- 1 ignacio ignacio 10815736 mai  8 11:51 distrib/yun-go-updater-windows.zip

ignacio@ignacio-VirtualBox:~/Downloads/yun-go-updater-master$

Exit status 127

What does this error code mean? Nothing happened to the board, which is an original Yun running the 1.5.3 firmware. I used version 1.2 of the updater, from May, 2018, for Linux64.

Found port: /dev/ttyACM0 USB ID 2341:8041 USB serial Using it Restarting in bootloader mode Get port list before reset Wait for the port to disappear Wait for the port to reappear Found upload port: /dev/ttyACM0 Flashing with command:/home/damon/Downloads/yun-go-updater-linux64/linux64/avr/bin/avrdude -C/home/damon/Downloads/yun-go-updater-linux64/linux64/avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev/ttyACM0 -b57600 -D -Uflash:w:/home/damon/Downloads/yun-go-updater-linux64/linux64/avr/YunSerialTerminal.ino.hex:i 2019/12/28 20:24:37 Executing command: exit status 127

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.