I have about 3 Yún boards and 2 Yún mini boards which I bought between 2012-2015 (but none in 2016) and —some say Arduino.CC and others .org.
I tried to install the firmware upgrade 1.6.2 following all steps outlined in the YunUbootReflash and in the forum but it just won't work and ends bricking the Yún each time (I tried with more than one of these Yúns).
I can only revert to 1.5.3 to get the Yún working again.
After reading this note below on the SysUpgrade page, I wanted to double check with this forum: is there any way to get 1.6.2 to work on a pre-2015 Yún? Or should I just give up? And if giving up, can someone please explain why is it that these boards are effectively incompatible with Arduino Cloud? I'm curious to check Cloud out, but not willing to buy another board.
Note: if you applied the Web Panel or Command Line procedure to an original Yún board - not the new 2016 products - the device won't boot because it has an incompatilbe u-boot image. You can still recover your device and you have two options: go back to its original image following this Image Restore procedure and keep your original warranty status or void your warranty and upgrade the bootloader following the bootloader update procedure.
Hi,
i have similar problem, and many others, just read other topics. If im BFU i can easy say - official firmware package of 1.6.2 presented on arduino.cc is corrupted, dont working, fail etc...
My problem is: i bought Yun 8/2016 so guess its new version but hardware is originally from arduino.org not .cc, i figured this out later. But hardware should be 100% compatibile. I spent like 20hours of testing alot of combination of UBoot loader from arduino.cc, arduino.cc linino.org and some other sites (openwrt based) with kernel from arduino.cc/.org/linino and combination of root filesystem from .cc/.org. and bootargs.
1.5.3 works well with AWS, they have HOWTO writen for this version - successfully connected
1.6.2 is needed for arduino.cc cloud because there was some changes in python libs. I wanted to try but i cant get 1.6.2 running with wifi only in some combination of uboot-kernel-root and bootargs i get 1.6.2 running without wifi, so right now i guess i just need right bootargs to get it running on latest linino uboot
so if there is somebody who have contact to creators of 1.6.2 package, i would appreciate if he add to manuals also link to uboot,kernel,root bins separated and correct bootargs for new kernel
FWIW I managed to get 1.6.2 onto my pair of old Yuns, seems to work though I haven't tried Arduino Cloud yet. Not well documented, but basically get the u-boot, kernel and rootfs from the 1.6.2 branch and follow the 'break your warrantee' instructions using tftp.
I'd give more specifics but github is cranky at the moment. Checkout the active issue on arduino/openwrt-yun-1505 for more details when it comes back up.
niallp:
FWIW I managed to get 1.6.2 onto my pair of old Yuns, seems to work though I haven't tried Arduino Cloud yet. Not well documented, but basically get the u-boot, kernel and rootfs from the 1.6.2 branch and follow the 'break your warrantee' instructions using tftp.
I'd give more specifics but github is cranky at the moment. Checkout the active issue on arduino/openwrt-yun-1505 for more details when it comes back up.
Can u please post your bootargs ? Using default from tftped uboot or something saved ?
The thing I got stuck on was step 7 below as the file name on the newer firmware is different and I didn’t spot it for a while.
RE flash YUN (for linux and mac use your appropriate commands) Windows commands given below.
Set up FTP server on your PC. (Your choice of how you do this for your OS so I won’t give steps but Google is your friend)
Obtain prompt on YUN in serial monitor (that took a few tries) but using the serial monitor I typed “ard” into the input line but did NOT press ENTER.
Press the “YUN RST” button near the LED’s on the YUN board and then hit ENTER right away. (May take a couple of attempts to get it right)
ping FTP............ ping 192.168.0.9 .. That was my IP yours may be different do this to check FTP is up
set server ip...... setenv serverip 192.168.0.9; .. Command to set FTP server IP. Use your computers IP here
set yun ip.......... setenv ipaddr 192.168.0.20; .. Command to set YUN IP. If this IP is in use select one that is not being used
FTP file............. tftp 0x80060000 openwrt-ar71xx-generic-linino-u-boot.bin; .. FTP file in
do file system.... erase0x9f000000+0x40000;cp.b$fileaddr0x9f000000$filesize;erase0x9f040000+0x10000
flash kernel....... tftp 0x80060000 openwrt-ar71xx-generic-yun-16M-kernel.bin;(check file name !!! )
Obtain prompt on YUN in serial monitor (that took a few tries) but using the serial monitor I typed "ard" into the input line but did NOT press ENTER.
Press the "YUN RST" button near the LED's on the YUN board and then hit ENTER right away. (May take a couple of attempts to get it right)
I tried, but I never get the prompt in the serial terminal, so, I can't follow the next steps of the procedure you had given.
Thank you for your help, and hopping we are going to solve the problem.
Ballscrewbob:
Did you go to the link first as I pointed out ?
It explains that you need to upload the YUN SERIAL TERMINAL sketch to the YUN.
You may already have it available in
Examples
Bridge
YunSerialTerminal
Yes for sure, I have uploaded the YUN SERIAL TERMINAL (with succes), and I tried "ard" + RST YUN + ENTER many times, without any responses (a few mouth ago, before the previous update, this process was there without any problem).
You can find a screenshoot, is there a step I forgot ? :o
The "get board info" give :
BN: Arduino Yún
VID: 2341
PID: 8041
SN: Upload any sketch to obtain it
Just a guess(This probably has nothing to do with what you're talking about but it might), isn't firmware 1.6.2 only for the Yun Shield? On the YunSysupgrade page it says this:
Yún Shield owners only
The Yún Shield is shipped with a different OpenWRT Linux image which is incompatible with the v1.5.3 Yún update you can find on the main download page. The stock OpenWRT Linux image of the Yún Shield has the version number 1.6.2
and this:
If you erroneously upgraded a Yún board with the image for the Yún Shield (1.6.2) the device won't boot because it has an incompatible bootloader. You can still recover your device following this Image Restore procedure and keep your original warranty status.
Ballscrewbob:
Most odd but maybe try skip the step ?
Sorry, but I don't understand which step you are talking about.
Isaac100:
Just a guess(This probably has nothing to do with what you're talking about but it might), isn't firmware 1.6.2 only for the Yun Shield? On the YunSysupgrade page it says this:
and this: If you erroneously upgraded a Yún board with the image for the Yún Shield (1.6.2) the device won't boot because it has an incompatible bootloader. You can still recover your device following this Image Restore procedure and keep your original warranty status.
Thank you Isaac100. After reading your message, I found this procedure : Restore the 1.5.3 image after you did sysupgrade to 1.6.2 on old Yún (https://www.arduino.cc/en/Tutorial/YunSysRestore)
The subject fit fully with my problem, but I am still facing to the same "special case" : Note: if your board does NOT show type 'ard' to enter u-boot console , you need to refer to the board manufacturer to get the proper instructions and image to reflash., any command I enter on the prompt are efficient, because the prompt is dead !
Please load the YunSerialTerminal sketch, and connect to it using the Serial Monitor. Then, momentarily press and release the Yun's YUN RST button (don't touch the WLAN RST or 32U4 RST buttons.) Wait 10 or 15 seconds, and then copy and post any output you see on the Serial Monitor screen. If you get more than a screenful of text, it's the first few dozen lines that are interesting here.
Please load the YunSerialTerminal sketch, and connect to it using the Serial Monitor. Then, momentarily press and release the Yun's YUN RST button (don't touch the WLAN RST or 32U4 RST buttons.) Wait 10 or 15 seconds, and then copy and post any output you see on the Serial Monitor screen. If you get more than a screenful of text, it's the first few dozen lines that are interesting here.
Thank you for your message, and I am sorry to repeat, but as I showed on the screenshot (post #10), there is no message, no log, nothing on the serial monitor.
I tried many time, waiting 30 sec between push RST yun (the good RST, not others).
For information, the "usb led" is always on (white light, very low compare to the green power on led)
these are the defaults after loading the u-boot from 1.6.2
As long as one has a matched set of files and follows the tftp procedure it seems to work. The zip for 1.6.2 doesn't seem to be published but is available at