Arduino Forum

Products => Arduino Yún => Topic started by: Angelo9999 on Nov 14, 2014, 05:17 pm

Title: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Nov 14, 2014, 05:17 pm
Hello everyone,

 OpenWrt-Yun 1.5.3 is now available. You can download it from http://arduino.cc/en/Main/Software#toc8 (http://arduino.cc/en/Main/Software#toc8)

This release includes the following changes and fixes:

OpenWrt-Yun (Linux side)
 
Web Panel


You can find the complete list of changes at https://github.com/arduino/openwrt-yun/blob/master/ChangeLog (https://github.com/arduino/openwrt-yun/blob/master/ChangeLog)
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: arduino_man on Nov 23, 2014, 01:34 am
The link is broken. :smiley-sad:
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: PCWorxLA on Nov 24, 2014, 05:01 am
The link is broken. :smiley-sad:
Well, it would really help to understand what you are talking about if you would be a bit more specific about which link is supposed to be broken.

If you refer to the GitHub link in Angelo's post, right before yours, well, that is working just fine for me...

Ralf
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: JustGreg on Dec 06, 2014, 03:57 pm
How does one determine which version of OpenWRT is on the YUN board?   For example, using SSH and uname -a command, I get "Linux GregYun 3.8.3 #8 Mon Aug 19 16:22:39 CEST 2013 mips GNU/Linux"   The uname command is supposed to provided the information, but, there seems nothing to relate to version 1.5.3.   I am asking this because I am having a problem with the IDE seeing the Yun board.  Both the wifi SSH and LuCI web server work great.   If the system firmware upgrade helps, then I am will do it.  But, I need to know whether I have the latest or not.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Dec 06, 2014, 04:08 pm
How does one determine which version of OpenWRT is on the YUN board?
From a previous discussion on the topic:

If you've just bought a Yun, it's likely you're running the old linino image or OpenWrt-Yun 1.0
To get a more precise answer, log in via ssh or yunserialterminal, then type command
Code: [Select]

cat /etc/arduino/openwrt-yun-release

If files does not exists, then you running Linino. If it exists, it will print a date: compare it from the list of date in the changelog (https://github.com/arduino/openwrt-yun/blob/master/ChangeLog).
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: JustGreg on Dec 06, 2014, 04:53 pm
Thank you, Shape Shifter for the help.  My board has Linino and not the latest OpenWRT.  Off to the upgrade instructions page. 

I did the upgrade. No luck with the connection problem.  But, I did learn something.  With uname -a command and ssh, the date listed is the released date.  In this case, 14 Nov. 2014 is the same as that in cat /etc/arduino/openwrt-yun-release

I hope this helps someone.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: fmatray on Dec 28, 2014, 04:08 pm
Hello,
There is an issue when updating the arduino YUN using opkg.
The arduino disappear from IDE tools menu (up to date 1.5.8 ).
Avahi daemon can't open arduino.service.


Code: [Select]
root@pollux:/etc/init.d# avahi-daemon --debug
Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
Successfully dropped root privileges.
avahi-daemon 0.6.31 starting up.
[...]
Loading service file /etc/avahi/services/arduino.service.
[b]open("/etc/avahi/services/arduino.service", O_RDONLY): Permission denied[/b]
Failed to load service group file /etc/avahi/services/arduino.service, ignoring.


The problem is right of /etc/avahi/services/arduino.service (600). it should be 644.

Code: [Select]
root@pollux:/etc/init.d# chmod 644 /etc/avahi/services/arduino.service
root@pollux:/etc/init.d# avahi-daemon --debug
Found user 'nobody' (UID 65534) and group 'nogroup' (GID 65534).
Successfully dropped root privileges.
avahi-daemon 0.6.31 starting up.
[...]
[b]Loading service file /etc/avahi/services/arduino.service.[/b]
Loading service file /etc/avahi/services/ssh.service.
Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.5.


Now, it works :-)
Best regards,
Frédéric
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: mart256 on Dec 28, 2014, 07:29 pm
Just a brief report:

Upgraded to 1.5.3 using this tutorial (http://arduino.cc/en/Tutorial/YunSysupgrade) and using the web panel method.

I noticed that the Yun image must be mounted in /mnt/sda1. On my first attempt I mounted it to /mnt/elsewhere and the webpanel didn't show up the "reset" option.

Besides that, the process went smooth and I haven't had any trouble, I just had to re-install some drivers for my webcam but that went ok too.

And my Yun does appear on Arduino IDE, I didn't have that problem.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ponley on Jan 01, 2015, 07:22 am
Is there a way to get an image using the Backfire version of OpenWRT?

I got the Arduino Yun with the intention of setting it up as a router but the Attitude Adjustment version of OpenWRT has very broken IPv6 tunneling tools. I have used the Backfire version of OpenWRT for years very successfully with IPv6 tunneling but the documentation on the Yun did not specifically state which version of OpenWRT was included.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Jan 02, 2015, 01:28 pm
Hello,

as you said the Arduino Yun OpenWrt version is the Attitude Adjustment.

This is the only version available for the Arduino Yun. Getting a vanilla OpenWrt image working is possible (and not supported)  but you won't have all the Yun customization and features.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: iamadog3333 on Jan 15, 2015, 12:05 pm
I can open the link below:
http://arduino.cc/en/Main/Software#toc8

But the image resouse is not avaiable and can not be downloaded.

Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Jan 19, 2015, 12:54 am
I just tried it and it works, can you try again?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: iamadog3333 on Jan 22, 2015, 09:51 am
Dear Angelo9999,
May be the internet is blocked by the "Wall".
I am locating at Beijing.

Thank you anyway!
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Jan 22, 2015, 12:00 pm
If you can't download it, send me a pm with your contact and I will send you the file.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: heggood on Feb 02, 2015, 12:34 am
Are there any special considerations for a yun that has been expanded onto an SD card?
Will any of the files on the SD card be affected?  After upgrade, will it still use the overlay?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Feb 02, 2015, 03:32 am
Read the upgrade notice at the bottom of this page: http://wiki.openwrt.org/doc/howto/extroot (http://wiki.openwrt.org/doc/howto/extroot)

The expanded system is an instance of a pivot overlay as described on that page. From my read of it, you may be better off redoing the disk space expansion after an upgrade?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jessemonroy650 on Feb 18, 2015, 06:01 am
REMOVED CONTENT.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: CrossRoads on Feb 18, 2015, 06:36 am
"HARSHPATEL" has been deleted.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jojje3000 on Feb 20, 2015, 01:00 pm
Hi Yunistas  ;)

Is it 1.5.3 I get when cloning the GitHub repository OpenWrt-Yun, master branch
at https://github.com/arduino/openwrt-yun

Thanks in advance.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Feb 26, 2015, 03:08 pm
Hi Yunistas  ;)

Is it 1.5.3 I get when cloning the GitHub repository OpenWrt-Yun, master branch
at https://github.com/arduino/openwrt-yun

Thanks in advance.

Hi jojje3000,
No, the Github repo is always a work in progress so it contains changes done after the 1.5.3 release.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Clemens on Feb 28, 2015, 11:27 am
I downloaded and installed the latest version 1.5.3 from the common Arduino download page http://arduino.cc/en/Main/Software. Some indicator shows that I got a newer version (e.g. the Wifi led light u after Linux boot) but I wanted to check the exact version. I tried

Code: [Select]
cat /etc/banner

as described under "What version of OpenWrt do I have installed?" at http://wiki.openwrt.org/doc/faq/after.installation . But it seems that the yun version has a modified header and it does not show the version number.

How can I find "1.5.3" (or later) and what command do I have to use?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jessemonroy650 on Feb 28, 2015, 01:01 pm
::::SNIP::::

as described under "What version of OpenWrt do I have installed?" at http://wiki.openwrt.org/doc/faq/after.installation . But it seems that the yun version has a modified header and it does not show the version number.

How can I find "1.5.3" (or later) and what command do I have to use?
@Clemens,
Versioning is not a strong point. Here are two data points. Someone else may have more.

Jesse

Code: [Select]

root@Arduino:/etc# cat arduino/openwrt-yun-release
built=Fri Nov 14 03:53:51 CET 2014
root@Arduino:/etc# uname -a
Linux Arduino 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux


Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Feb 28, 2015, 01:05 pm
How can I find "1.5.3" (or later) and what command do I have to use?
Frpm a previous discussion of the topic: (and also in reply #5 of this thread  ;) )

If you've just bought a Yun, it's likely you're running the old linino image or OpenWrt-Yun 1.0
To get a more precise answer, log in via ssh or yunserialterminal, then type command
Code: [Select]

cat /etc/arduino/openwrt-yun-release

If files does not exists, then you running Linino. If it exists, it will print a date: compare it from the list of date in the changelog (https://github.com/arduino/openwrt-yun/blob/master/ChangeLog).
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Clemens on Feb 28, 2015, 10:41 pm
Ok, thanks! As always it is not as easy as thought but it works, I get "Linux Arduino 3.3.8 #1 Fri Nov 14 08:57:34 CET 2014 mips GNU/Linux". I was confused about 1.5.3 vs. 3.3.8 and OpenWrt-Yun vs. Linux Arduino vs. Arduino Yun Linux OS (last two the same?).
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Pauly on Apr 10, 2015, 12:53 am
Trying to upgrade and it's not working quite right.  Probably just me not used to Linux or using a Terminal.
Used the Web Panel method and everything seemed to go fine.  
Now it seems like the Yun has no WiFi signal as I can't connect to it using a browser either trying arduino.local or 192.168.240.1.  I could connect in a browser before.  If i tried to find it using Bonjour I don't see it.
It shows up in the IDE as a serial port only.  

I can connect to it using YunSerialTerminal, but for some not my Macs terminal.  I tried SSH to it, but it times out.

I was going to try the upgrade again in YunSerialTerminal. But entering run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin does nothing.

Typing ifconfig I get the below which looks ok. 
Quote
root@Arduino:/# ifconfig
eth1      Link encap:Ethernet  HWaddr 90:A2:DA:FB:18:4E 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6240 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6240 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:424320 (414.3 KiB)  TX bytes:424320 (414.3 KiB)

wlan0     Link encap:Ethernet  HWaddr 90:A2:DA:F3:18:4E 
          inet addr:192.168.240.1  Bcast:192.168.240.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:3606 (3.5 KiB)

root@Arduino:/# 
How can I get the WiFi back?
Appreciate any help I can get.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jessemonroy650 on Apr 10, 2015, 06:37 am
Trying to upgrade and it's not working quite right.  Probably just me not used to Linux or using a Terminal.
Used the Web Panel method and everything seemed to go fine.  
Now it seems like the Yun has no WiFi signal as I can't connect to it using a browser either trying arduino.local or 192.168.240.1.  I could connect in a browser before.  If i tried to find it using Bonjour I don't see it.
It shows up in the IDE as a serial port only.  

I can connect to it using YunSerialTerminal, but for some not my Macs terminal.  I tried SSH to it, but it times out.

I was going to try the upgrade again in YunSerialTerminal. But entering run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin does nothing.

Typing ifconfig I get the below which looks ok.  
How can I get the WiFi back?
Appreciate any help I can get.

@Pauly,
What's going on is that you need to re-read the upgrade instructions. But more importantly, when you do this the YUN will be connected to the Internet. That means it will connect to your home (or office) wifi router (which connects to the Internet). Then you must also connect to it - otherwise you are both on different networks. From appearances, you may NOT be connecting to the Internet.

If you are connecting, you should be able to see the Internet from your YUN. You might want to test that first. That means logging into the YUN (via ssh) and testing your connection to the Internet.

If you are NOT connecting to the Internet, please start a new thread so we can resolve that issue.

TIA
Jesse
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Pauly on Apr 10, 2015, 12:34 pm
Thanks Jesse.  I'm starting a new thread.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: SirHacksALot on Apr 12, 2015, 02:40 am
I have a Yun shield that is the Iduino Yun WiFi shield.  It has a USB port and a LAN port.  It is running the Linino from Jan 6, 2015.  I'm pretty new, so I am unsure if your recommendations to update the Yun to version 1.5.3 apply to the yun shield as well, or just the arduino yun.  The shield connects to an Arduino Uno, which I have a V3 connected to it.  The Uno has a power plug attached and supplies power through the shield pins to the Yun.  The information on the site says that the shield talks to the Uno through the UART.

web site here:
http://www.geeetech.com/wiki/index.php/Iduino_Yun_Shield

I dont want to mess up the Uno under it, or the shield itself.  Can someone confirm for me if the shield follows the same process as the arduino yun upgrade process and if I should execute the upgrade process on the shield.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Apr 12, 2015, 01:58 pm
I'm pretty new, so I am unsure if your recommendations to update the Yun to version 1.5.3 apply to the yun shield as well, or just the arduino yun.
The discussion in this thread is about the version of OpenWRT that has been customized for the Yun, which is an official Arduino product.

Your shield is made by another company, and while generally functionally similar, it may or may not be 100% compatible with this firmware image. Your best bet is to contact the manufacturer of your shield for details.  
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: cmoze1 on Aug 01, 2015, 07:33 am
Please someone help. I'm trying to update the OpenWRT-Yun image on my Yun. I've tried the webpanel, but the reset button doesn't appear. I've tried the Terminal, but I really have no clue what I'm doing there. I followed the steps, but this is what I get:

root@Arduino545:~# run-sysupgrade /mt/sdal/openwrt-ar71xx-generic-yun-16M-squash
fs-sysupgrade.bin
cp: can't stat '/mt/sdal/openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin': No such file or directory

I really want to get this Yun working. Please respond in terms that a general computer use would understand.  Thanks so much!
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Angelo9999 on Aug 01, 2015, 12:31 pm
root@Arduino545:~# run-sysupgrade /mt/sdal/openwrt-ar71xx-generic-yun-16M-squash
fs-sysupgrade.bin
cp: can't stat '/mt/sdal/openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin': No such file or directory
Please check syntax and typos. It is probably mnt instead of mt and sda1 instad of sdal.

Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: cmoze1 on Aug 02, 2015, 12:02 am
Please check syntax and typos. It is probably mnt instead of mt and sda1 instad of sdal.


Thanks for catching my typos.  I tried it again, being very careful with the typing and still getting the same result.  Here's my latest attempt:

root@Arduino545:~# run-sysupgrade /mnt/sda1/openwrt-ar71xx-generic-yun-16M-squas
hfs-sysupgrade.bin
cp: can't stat '/mnt/sda1/openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin': No such file or directory

I don't know why the tilde and hashmark (~#) is coming after my Arduino's name in the Terminal program or how to get rid of them. I noticed nobody else's on this forum seems to have those marks. Could that be the problem? The file is located on the root directory of my SD card.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: cmoze1 on Aug 02, 2015, 11:16 pm
Figured it out and I feel a little dumb. I was inserting the SD card with the Yun powered up. The card apparently needs to be inserted with Yun powered off, then once the card is in, power up the Yun.  Duh.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Baptistou_15 on Aug 04, 2015, 06:12 pm
Hello,
I have just bought an arduino Yun. The WiFi worked correctly and was accessible(approachable) by IDE 1.5.8 and to the address 192.168.240.1.
As you advise(recommend) it, I made the update of Open-WRT with the file Sysupgradelmage_v1.5.3.zip.
Since more access to the WiFi by the interface IDE. I tried a reset by pressing on the WiFi reset during 2 minutes but unsuccessfully. I looked for a simple solution on Web, also without succèsM.
Thank you for bringing me your help(assistant).
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: tomb18 on Dec 04, 2015, 05:32 am
Here is a question for the Moderators.  Can I get my arduino.org version of the YUN to work with the arduino.cc code?
There seems to be zero support on the arduino.org site.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jessemonroy650 on Dec 05, 2015, 06:42 am
Here is a question for the Moderators.  Can I get my arduino.org version of the YUN to work with the arduino.cc code?
There seems to be zero support on the arduino.org site.

@tomb18,
that's good and dis-hearting to hear. All Arduino developers would like to see other developers succeed. However, this silly argument (which as you know is in court), is not helping.

Perhaps we can get arduino.org to make the change, or at least meet half way.

FWIW: this question would be better on it's own thread -- so it more visible to management. You might want to consider that. I'm sure people will add comments.

Jesse
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: blackt1ger on Dec 17, 2015, 03:55 am
Could someone help me out with version numbers please.  I've pulled out my old Yun 1.0 Shield and want to get it all updated.

luci shows me firmware Dragino-v2 common-2.0.7, Kernel 3.3.8.

/etc/openwrt_version is '1'.

-------------

So, what and how to get everything up to snuff.  I have no idea how to relate any of these numbers to 1.5.3 .... :)  And isn't openwrt in the 12.0-14.0 range?  Is the firmware part of the Linux kernel?  How does that get updated?


-------------
Currently, it appears that my Bridge is not working.  It wasn't even show as an installed package "cpu-mcu-bridge".  I installed it and rebooted, still no luck.  Should the bridge also get started from a start up script?


Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: jessemonroy650 on Dec 17, 2015, 06:24 am
Could someone help me out with version numbers please.  I've pulled out my old Yun 1.0 Shield and want to get it all updated.

::::SNIP::::

@blackt1ger,
your question is off subject. Please start a new thread. This thread is for upgrading. Your issue is about the "Shield". This thread is NOT about the "Shield".
Jesse
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Dec 17, 2015, 01:07 pm
@blackt1ger,
your question is off subject. Please start a new thread. This thread is for upgrading. Your issue is about the "Shield". This thread is NOT about the "Shield".
Jesse
I will second Jesse on this one: you are talking a out a product from Dragino that runs their own software build: it is not an arduino.cc product and is not running the software mentioned in this thread.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: blackt1ger on Dec 23, 2015, 09:53 pm
Okay, well, obviously I am very terribly confused and I am so sorry that I offended the Yun people with my  question about a SHEILD..


It was my understanding that the Yun and an Arduino with a Yun shield were the same.

But thank you for sharply pointing out that I have absolutely no business being here or asking questions.

However --- I HAVE BEEN TRYING TO UPGRADE TO THE LATESET 1.5.3 -----   

It must've been the topic that threw me.   I'll go somewhere else, where I can get knowledgeable help.

Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Dec 23, 2015, 11:39 pm
It was my understanding that the Yun and an Arduino with a Yun shield were the same.
They may be functionally similar, but they are not identical. There may be subtle differences between them and the software that runs on the Linux processor.

Your specific question was about figuring out version numbers - since you are looking at a different product with software distributed by a different company, any version numbers relating to the software in this thread will not apply to the version of the software on your device, and vice versa.

The software and procedure being discussed in this thread may or may not work on your shield, but that should be discussed in a different thread, not on this one.

Quote
But thank you for sharply pointing out that I have absolutely no business being here or asking questions.
Nobody has said that. Both Jesse and I said you should start a new thread about this topic - nobody has said you should go away or look for a different forum. If someone wanted you to go away, they would've said that - an invitation to start a new discussion is not a request to leave. You are welcome at this forum, and if you start a topic about how to relate the version numbers between the shield and the Yun, (and I assume you also want to know if this software will work on your shield) we will be happy to discuss it with you in your thread.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: AntonySerio on Feb 12, 2016, 03:05 pm
I purchased a new Yun yesterday afternoon. It boots, it's on the network, I can get to the configure page and I can SSH into the board's filesystem. I have the latest image on an SD card, but my Yun is unable to see it. I reformatted the card as Fat32 using Apple's disk utility, to no avail. The /mnt directory on the Yun is empty, and the only directories that I see in my /dev directory are bsg, bus, input, pts, and shm. None of them lead anywhere. The SD card is a few years old, so it COULD be flaky, but my mac can read it just fine. Any assistance would be appreciated.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: mart256 on Feb 12, 2016, 03:28 pm
Write dmesg on the console to check if a new device appears when you plug the sd.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: AntonySerio on Feb 12, 2016, 03:57 pm
I ran dmesg -c to clear the buffer, pulled the card, re-inserted the card, and ran dmesg again. There were no new messages.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: AntonySerio on Feb 12, 2016, 09:15 pm
After reseating the card several times, suddenly my Yun is able to read the card. Proceeding with upgrade. Thanks for the help...
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: impressiver on May 24, 2016, 09:19 am
Heads up: The latest version is 1.6.2 (https://www.arduino.cc/en/Main/Software).

Make sure to pay close attention to the upgrade guide, or you could end up with a brick:

Quote
If you have a Yún with an older firmware: (1.5.3) before proceed you need to to upgrade the bootloader following the bootloader update procedure. If you don't upgrade the bootloader first, your Yún will become unusable.
Before you begin, know that following the official upgrade process (https://www.arduino.cc/en/Tutorial/YunUBootReflash) is done at your peril (even though every Yun shipped prior to this update requires a firmware upgrade):

Quote
WARNING: Following this guide will VOID the WARRANTY of your Yún
Hopefully some more information will come out soon from the Arduino folks to clear things up a bit.

Update: I've seen a few reports of failed updates, mostly due to not upgrading the firmware. Use the steps in this post (http://forum.arduino.cc/index.php?topic=402375.0) as a guide.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: escuincle on May 25, 2016, 10:58 pm
I was able to get into the Lininino Web, but I did the upgrade recommended, OpenWrt-Yun image, and when it was done the YUN WIFI signal disappeared. I don't see it now on any of my devices, I wonder what I did wrong and how can I restore it. Anybody could help with this issue?  Thanks.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Wile on Jul 29, 2016, 02:39 am
Anyone has taken a look here : https://forum.arduino.cc/index.php?topic=406295.0 ?

There's a SFTP problem...
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: FrederickP on Aug 01, 2016, 08:31 am
The described firmware version in that thread seems to be 1.6.2.

I had some trouble with that one too, see my latest post here for a solution that worked for me:

https://forum.arduino.cc/index.php?topic=402375.0
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: fweens on Nov 26, 2016, 05:52 pm
Hi there!

I need your help...

I've tried to upgrade my Yun to the latest version and it didn't work... So I tried the following (as said here https://www.arduino.cc/en/Tutorial/YunUBootReflash):

setenv serverip 192.168.1.231;
setenv ipaddr 192.168.1.146;
tftp 0x80060000 openwrt-ar71xx-generic-linino-u-boot.bin;
erase 0x9f000000 +0x40000;
cp.b $fileaddr 0x9f000000 $filesize;
erase 0x9f040000 +0x10000

tftp 0x80060000 openwrt-ar71xx-generic-yun-16M-kernel.bin;
erase 0x9fEa0000 +0x140000;
cp.b $fileaddr 0x9fea0000 $filesize;

tftp 0x80060000 openwrt-ar71xx-generic-yun-rootfs-squashfs.bin;

erase 0x9f050000 +0xE50000;
cp.b $fileaddr 0x9f050000 $filesize;

bootm 0x9fea0000

The last command returned:
ar7240> bootm 0x9fea0000

## Booting image at 9fea0000 ...
Bad Header Checksum
ar7240>

## Booting image at 9fea0000 ...
Bad Header Checksum
ar7240>


In fact when you download the base images zip file, it contains the openwrt-ar71xx-generic-yun-16M-kernel.bin kernel file but not the openwrt-ar71xx-generic-yun-rootfs-squashfs.bin...

May be it's the explanation ? But don't know how to fix it...
Best,

Franck
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: Renaudp on Dec 15, 2016, 10:54 pm
Hello,

Can you tell me how to check if my yun must be upgraded?
Where can I see the current version.

Thx,
Renaud
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: cmartu on Dec 19, 2016, 12:21 am
Hi, I subscribe to Renaudp Question:

How to check if my Yun must be upgraded?

The posts in this topic and the Upgrade procedure on Arduino site are really confusing for me:

1. impressiver in post #45 is saying: Heads up: The latest version is 1.6.2. and he makes a link to 1.5.3 on Arduino site. So what is the version to upgrade to??

2. in post #4 is saying: "If files does not exists, then you running Linino." The response I get is: "No such file or directory"
    I didn't start Linino and I don't know how to get to OpenWRT to find out what is in my Yun.

Can anybody help us to clarify this?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: TrashCompactor on Dec 28, 2016, 01:35 am
Why does https://www.arduino.cc/en/Main/Software show a Yun Image for 1.5.3 which according to their change page (https://github.com/arduino/openwrt-yun) was last updated in 2014?

I thought OpenWRT was supported better and updated more frequently than Linino but Linino's latest version is from 2015.

Is OpenWRT Yun still supported?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: sscirrus on Dec 29, 2016, 09:47 pm
I'm trying to update to Python 3 on Yun, which doesn't seem to be supported, but I strongly need Python 3 for a few reasons to do with my project.

Are we getting a new OpenWRT distribution any time soon?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: aliabdrazak on Mar 05, 2017, 12:14 pm
Downloading http://download.linino.org/linino_distro/lininoIO/latest/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://download.linino.org/linino_distro/lininoIO/latest/packages/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_verify_file: Unable to get data from file /etc/opkg/trusted.gpg: No such file or directory
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: johnchen16 on Jul 06, 2017, 09:01 am
I was happily using 2 Yúns until purchasing 2 more newer units with the badly working osjs web interface.  I upgraded to 1.5.3 encountering more issues.  After a long journey with installing several images I finally located the 1.4.1 image that was the same on my older units.  You can get the 1.4.1 image to downgrade via this link:

https://arduino.cc/download_handler.php?f=/openwrtyun/1/YunSysupgradeImage_v1.4.1.zip

The uboot flash method never seems to work for me.  Instead the sysupgrade command via USB drive always worked.  You can do this from a sketch console or ssh.

[insert USB drive with the .bin file in the root dir]

cd /mnt/sda1
sysupgrade -n -v openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin

[reboots after flashing, connect via WiFi, then login using password "arduino"]

Check for the golden version 1.4.1:

cat /etc/openwrt_release
...
DISTRIB_REVISION="r41503"
...

Yún happy again!  :)
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: AgroMeInc on Oct 14, 2017, 05:45 am
I was happily using 2 Yúns until purchasing 2 more newer units with the badly working osjs web interface.  I upgraded to 1.5.3 encountering more issues. 
Agreed. The Linino Arduino OS 2.0.1 is hideous. Who wants a Windows-looking Desktop env, instead of a clean adaptive interface like 1.4 and 1.5x. Not sure what they were thinking or smoking at arduino.org

I had the same issue but I flashed 1.5.3 (everything: uboot,kernel,owrt-yun) from here http://arduino.cc/download_handler.php?f=/openwrtyun/1/YunImage_v1.5.3.zip

I wrote about this here: https://forum.arduino.cc/index.php?topic=504425.0

Strangely, the bin posted here: https://arduino.cc/download_handler.php?f=/openwrtyun/1/YunSysupgradeImage_v1.5.3.zip is 16MB in size whereas the one from YunImage_v1.5.3.zip is 7.9MB so I decided to "upgrade" from smaller 1.5.3 to the larger 1.5.3 and the bridge stopped working. Everything else seems fine but the bridge is not starting when the AVR call Bridge.start() . I tried running run-bridge manually but it blocks the shell.

So I think I will reflash the smaller 1.5.3 and see if it fixes the bridge. What a pain in the butt all these problems and confusion between Yun, Yun Shield and the demented arduino.org stuff with OSJS. Honest to G~d I was going to walk away from Arduino altogether if Arduino OS 2.0.1 was the "future" of this product. Who wants all this bloated crap in this thin architecture.

The reason we all love Arduino IMHO is precisely because of KISS and very simple, elegant clean and hackable toolchain. Once you start adding these layers of crap like OSJS etc. it completely looses the spirit of Arduino. Again IMHO, not sure what the developers were thinking.
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: WhidbeyBill on Oct 19, 2017, 01:26 am
Salute to Johnchen16.
The USB upgrade worked just fine on the .ORG boards. Yours was among the first that actually made sense and worked first time. (WhidbeyBill) :)  :)  :)

I also initially had the logon problem in Chrome that was described by another BClaes
https://forum.arduino.cc/index.php?topic=448192.0
so clear the cache, reenter ipaddress. Happy Yun Days are back.

root@arduino:/# cd /mnt/sda1
root@arduino:/mnt/sda1# sysupgrade -n -v openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin

<message in serial terminal window>


Sending TERM to remaining processes ... uhttpd dbus-daemon dnsmasq avahi-daemon thd ntpd uSDaemon sleep syslogd klogd hotplug2 ubusd netifd
Sending KILL to remaining processes ... uhttpd
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...  [ ....]   
Upgrade completed
Rebooting system...
 :)
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: niallp on Oct 22, 2017, 09:25 am
Earlier I managed to get my old pair of Yun's upgraded to 1.6.2 which I think corresponds to https://github.com/arduino/openwrt-yun-1505 for the source so I am having a go at rebuilding it however the .config didn't seem to match the binaries I found earlier (generic board rather than Arduino Yun for a start) ... can anyone confirm the git repo I found is the latest ?

Is there anywhere else that we can find the configs for the arduino supplied binaries ?

Thx ...
Title: Please upgrade your Yún - latest is 1.5.3 Signature Issue
Post by: WhidbeyBill on Dec 19, 2017, 02:40 am
I'll begin by saying I have six Yuns, five working exceptionally well. Just one is stubborn ( I call it BYun ) and has been troublesome for two years but i keep trying to save it. First, although all of the others can use generic uSD cards, this solitary Yun is finicky and will only happen to mount ''one' of my Samsung EVO cards. I speed tested it and its better than the generic Sandisks by 50% writing. Only a bit faster reading. I can mount any old a USB flash just fine. I bought some more Samsung uSD's to try, but no luck.
I actually replaced the USB controller chip ALCOR 6350 (thinking that might help), but still only this one Samsung, out of 8 uSD's,  works, I have these two other Samsungs it won't mount either. Bizarre. O'Scoping the uSD data stream doesn't give me a clue but then my 'scope won't do a capture, either. 
I can do a firmware upgrade via uSD or USB flash on this Yun and at one time I could opkg update without issue - either in LUCi web panel or SSH. But all of a sudden I am getting consistent "Remove wrong signature file" message, regardless of the method. Today I used the same uSD SYSupgrade flash chip to refresh another Yun, and I can do all the other opkg installs on it just fine so its not a file corruption..
The last SYSUPGRADE 1.5.3 flash I did on BYun from the LUCi Web Panel and although the process went smoothly, I am still left with a brick trying to install any other software. I know I have uploaded sketches on this Yun probably hundreds of times in my learning process.
I should also mention that I earlier this year had this BYun fella fully upgraded on a USB expansion, by hacking the expansion sketch to sdb  but I'd wanted it to be like all the others in the network so I went to the trouble of changing the chip thinking it would solve the SD card problem. I don't have any exceptional software to post since this doesn't involve a sketch, per se.
So any clues about the signature problem from the OPENWRT experts? I do have the serial log of three separate flash exercises
Thank You.


Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: ShapeShifter on Dec 19, 2017, 12:31 pm
I can't help you with the Linux issues, I'll let a more experienced person comment on that.

But I will say that in my experience with hardware production, if you have one board that is behaving differently than the others, and the issue is on one focused area (in your case, the SD card) then I would strongly suspect a hardware issue on that board. The SD interface is through a USB expansion chip - you say you replaced a chip, is that the one? Since a USB drive operates properly, I wouldn't suspect the USB side of things. The weak link in a system is often the mechanical aspects: I would suspect the SD card socket. Maybe there is something mechanically different about that one SD card - perhaps its marginally thicker so it makes better contact, or it has better quality contact patches, or something along those lines?

Maybe cleaning the contacts, adjusting them so they have more pressure, or simply replacing the socket may help?
Title: Re: Please upgrade your Yún - latest is 1.5.3
Post by: WhidbeyBill on Dec 19, 2017, 06:45 pm
Hello Shapeshifter, Thank you for your response.
Yeah I would agree with not finding the actual uSD culprit, but since i have had the USB as a fall-back I am now more concerned about finding out why the Signature file is either corrupted or if there is really a memory corruption on the board itself.
I have tried doing the firmware 'upgrade' via several Samsung flash SD's (funny, after posting last night I tried again with a another Samsung chip that finally DID mount repetitively) and also via the USB and I get a signature file error either way.  For the Money it is hardly worth anymore time expended. I can use the board as-is for experimental sketches, but can't use it for datalogging, or any mods beyond the stock board.
I wondered if there is a factory test routine that could be loaded in the serial USB port that could check the flash and RAM, etc. This is just an exercise mind you; being retired, I make projects of trying to not TRASH too much.
Since the board is an early model, I am content with replacing it in the line-up and move on.
Cheers, & Happy holiday, or Merry Christmas if that pleases.