[solved] Yun UBoot reflashing Fails after downloding 512 byte

Dear all,

I got another problem with my Arduino Yun, after the upgrade of the sysimage, the arduino fails at booting, so i cant get into failsave mode.

But i still can get into UBoot, unfortunately it cant update the sysimage via tftp, because the download Failes after 512 bytes (I attached an screenshot to the post).

Short information about my set up:
The arduino is tethered directly to my computer and I have created a tftp server with Windows 7/8.1, Linux Ubuntu (latest stable builed), MacOSX Maverics.

I hope for your help, cause i need the yun for a very importend school project :frowning:

Langhalsdino

Can you post the entire Uboot output when the download fails?

Here is a coppy of the terminal output.

ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot:  0
ar7240> setenv serverip 169.254.159.97
ar7240> tftp 0x80060000 openwrt-ar71xx-generic-yun-16M-rootfs-squashfs.bin
dup 1 speed 100
Using eth0 device
TFTP from server 169.254.159.97; our IP address is 192.168.1.2
Filename 'openwrt-ar71xx-generic-yun-16M-rootfs-squashfs.bin'.
Load address: 0x80060000
Loading: T T T T T T T
Abort
ar7240> tftp 0x80060000 openwrt-ar71xx-generic-yun-16M-rootfs-squashfs.bin
Using eth0 device
TFTP from server 169.254.159.97; our IP address is 192.168.1.2
Filename 'openwrt-ar71xx-generic-yun-16M-rootfs-squashfs.bin'.
Load address: 0x80060000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
eth1 link down
FAIL
Using eth0 device
TFTP from server 169.254.159.97; our IP address is 192.168.1.2
Filename 'openwrt-ar71xx-generic-yun-16M-rootfs-squashfs.bin'.
Load address: 0x80060000
Loading: T T T T T T
Abort

Additionally I attached a screenshot of the situation, to proof that the arduino downloads the first 512 bytes.

I really need your help, is there no one out there who could help me?

This is very importend to me, couse my deadline for the school project moves very very close :frowning:

Langhalsdino

TFTP from server 169.254.159.97; our IP address is 192.168.1.2

You may need to have the Yun on the same subnet as your host, try setting your host system to 192.168.1.1.

I don't work in Windows much so I can't help on how to set this.

Thank you, i will try it :slight_smile:

To set the subnet on windows, you just have to go through a messed up gui :smiley:
And if it did not work on windows, i will try it on Linux or MacOSX.

Langhalsdino

Thank you noblepepper

it worked for me, thank you very much.

Langhalsdino