Go Down

Topic: [solved] Yun UBoot reflashing Fails after downloding 512 byte (Read 2155 times) previous topic - next topic

Langhalsdino

Nov 07, 2014, 03:26 pm Last Edit: Nov 09, 2014, 07:11 pm by Langhalsdino Reason: solved the problem
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 :(

Langhalsdino

Angelo9999

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

Langhalsdino

Here is a coppy of the terminal output.

Code: [Select]
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.

Langhalsdino

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 :(

Langhalsdino

noblepepper

Quote
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.

Langhalsdino

Thank you, i will try it :)

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

Langhalsdino

Langhalsdino

Thank you noblepepper

it worked for me, thank you very much.


Langhalsdino

Go Up