YUN Bricked - Failsafe f-key not possible

I think I've bricked my YUN. I connect to the Arduino via USB. Load the Yunserial and reboot the YUN Linux.
The option to press the f-key (failsafe) never appears.
What can I do to factory-reset the YUN?
Please help.

I see the following text (this is only the last part):
[ 11.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0000: 0xe93f instead
[ 11.660000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0004: 0x5253 instead
[ 11.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0008: 0x5545 instead
[ 11.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a000c: 0xf4e2 instead
[ 11.670000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0010: 0x3487 instead
[ 11.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0014: 0xadd8 instead
[ 11.680000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0018: 0x0e36 instead
[ 11.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a001c: 0x9046 instead
[ 11.690000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0020: 0xf7ce instead
[ 11.700000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006a0024: 0xfe8c instead
[ 11.700000] jffs2: Further such events for this erase block will not be printed
[ 11.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0000: 0xeb33 instead
[ 11.740000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0004: 0xb08b instead
[ 11.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0008: 0x46b2 instead
[ 11.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b000c: 0x5dae instead
[ 11.750000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0010: 0x7993 instead
[ 11.760000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0014: 0xb48d instead
[ 11.760000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0018: 0x410d instead
[ 11.770000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b001c: 0x082a instead
[ 11.770000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0020: 0x654e instead
[ 11.780000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006b0024: 0x6141 instead
[ 11.780000] jffs2: Further such events for this erase block will not be printed
[ 11.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0000: 0xc9e9 instead
[ 11.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0004: 0x8d71 instead
[ 11.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0008: 0x93ec instead
[ 11.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c000c: 0x9d0a instead
[ 11.830000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0010: 0x94c9 instead
[ 11.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0014: 0xfaf2 instead
[ 11.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0018: 0x2aea instead
[ 11.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c001c: 0x9082 instead
[ 11.850000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0020: 0x801f instead
[ 11.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x006c0024: 0x239f instead
[ 11.860000] jffs2: Further such events for this erase block will not be printed
[ 11.880000] jffs2: Old JFFS2 bitmask found at 0x006c7448
[ 11.880000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 11.990000] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 2 of xdatum (1 unchecked, 1 orphan) and 40 of xref (0 dead, 28 orphan) found.
[ 11.990000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:2.
[ 12.000000] Freeing unused kernel memory: 232k freed
[ 12.000000] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.

The messages you posted appear just AFTER the firstboot message. Please post the beginning of the bootup, just before the first jffs2 error, the interesting part is before the counter reaches 11.xxxxxx.

Here is what it looks like around the failsafe message:

[    4.800000] scsi0 : usb-storage 1-1.4:1.0
[    5.290000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[    5.800000] scsi 0:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    9.840000] jffs2: notice: (530) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 0 orphan) found.

Worst case you can use uboot to reflash the image but failsafe is much easier and safer. When you get to failsafe you just need to runreset-to-factory-anywaywait 5 minutes and reboot

I've tried numerous methods but nthing worked out. Returned it to my supplier and received a brand new one.

Nevertheless thanks for your help.

Well, I did it again. I followed the instructions on Linino to update the Openwrt firmware. Ended up with a crippled YUN and an outdated firmware release.

Well, Linino: Please add a comment with your instructions NOT to update with the images you provide. They're useless with the YUN!!!

Luckily on Arduino.cc there's a good instruction howto reflash (no, not the one via f(ailsafe)-key in serial monitor) the YUN from ground up.

  1. Download and extract base images
  2. Download and start TFTP Server on a PC
  3. Start the YUN via the serial sketch in U-Boot mode
  4. Carry out the 3 steps
  5. Reboot

Here's the linky: http://arduino.cc/en/Tutorial/YunUBootReflash#.Uyih0Pl5MzZ

.......and then: enjoy my freshly installed YUN again.

Whoopieee

IF YOU HAVE ANY QUESTIONS: JUST GIVE ME A BEEP AND I'LL BE BACK ASAP.

Please provide a link to the images that don't work for you, I have tried many and haven't had the problem you describe. Even images for other AR9331 platforms will run, just some things don't work because things are wired differently.

I followed this instruction on arduino.cc: http://arduino.cc/en/Tutorial/YunSysupgrade#.UytWFvl5MzY

And downloaded this image: openwrt-ar71xx-generic-linino-16M-squashfs-sysupgrade.bin at http://download.linino.org/linino_distro/release/20140209.0/

I ended up with release 3.3.8 (non functional bridge) but when I restore it to the factory image I get 3.8.3.

Glad you are back up and running, here are some notes for other adventurous tinkerers:

The images at http://download.linino.org are development images and as such everything is not guaranteed to work. I don't see any warnings though, I agree this would be good. The image at http://downloads.arduino.cc/linino/1/YunSysupgradeImage_v1.zip is the "official" image that comes on the Yun from the factory.

It is much better to use the instructions at http://arduino.cc/en/Tutorial/YunSysupgrade, there are fewer ways to mess things up and you get exactly the same thing as the more risky methods.

IF you must use the http://arduino.cc/en/Tutorial/YunUBootReflash#.Uyih0Pl5MzZ I see no reason to ever re-flash U-boot. The fact that you can get to the U-boot prompt means that it is not broken so it doesn't need to be fixed. If something goes wrong re-flashing U-boot you have a brick and the only way to recover involves unsoldering the flash chip and reloading it directly.

Judging by the number of people that have reported problems , the
WARNING
Following this guide will VOID the WARRANTY of your Yún
needs to be in a larger font.

Hi,
The fact that you can get to the U-boot prompt means that it is not broken so it doesn't need to be fixed. If something goes wrong re-flashing U-boot you have a brick and the only way to recover involves unsoldering the flash chip and reloading it directly.
i have been stuck in this above.but i don't know how to unsolder the flash chip and reloading it directly.

any specific steps ?

thanks!

No Im sorry. Would 't know how to fix that.

Succes !

http://wiki.openwrt.org/doc/howto/generic.debrick

The flash chip is a 8 pin smt device under the metal shield marked winbond 25Q128FVSG Arduino is NO more opensource from Yun - #7 by system - Arduino Yún - Arduino Forum http://www.nexflash.com/NR/rdonlyres/A5B6C30B-C174-43CF-867E-E1A2F371A07C/0/W25Q128FV.pdf.