Iduino Yun Shield firmware restore errors

Post Reply
marko_mo
Posts: 2
Joined: Tue Apr 18, 2017 8:11 am

Iduino Yun Shield firmware restore errors

Post by marko_mo » Tue Apr 18, 2017 8:27 am

Hi All,

I have this Yun Shield http://www.geeetech.com/wiki/index.php/ ... Yun_Shield exactly same as on picture.
I have tried to access web interface over 172.31.255.254 but it was too slow and after login I got blank page. It was too slow and I had to reload 10-15 times to get to settings.
I decided to do a upgrade as described here http://www.geeetech.com/wiki/index.php/ ... Yun_Shield using tftp. I get to the point when enter command below and it starts displying T T T T T T T.. and tftp opens a small widow where shows file size and 0 bytes sent.

Code: Select all

tftpboot 0x81000000 dragino2-yun-geeetech-v2.0.2-kernel.bin<CR>


It actually can not send or Yun can not receive the file to its memory.

When I send command

Code: Select all

printenv<CR>

I get this as result:

Code: Select all

UDP socket created
dragino2-yun-geeetech-v2.0.2-kernel.binoctettsize1245184U-Boot 1.1.4  (Jun  3 2014)

dr_boot> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:192k(u-boot),64k(u-boot-env),16064k(firmware),64k(ART)
bootdelay=1
baudrate=115200
bootfile="firmware.bin"
loadaddr=0x80800000
ncport=6666
uboot_addr=0x9F000000
uboot_name=uboot.bin
uboot_size=0x30000
uboot_upg=if ping $serverip; then tftp $loadaddr $uboot_name && if itest.l $filesize == $uboot_size; then erase $uboot_addr +$filesize && cp.b $loadaddr $uboot_addr $filesize && echo OK!; else echo ERROR! Wrong file size!; fi; else ERROR! Server not reachable!; fi
firmware_addr=0x9F040000
firmware_name=firmware.bin
firmware_upg=if ping $serverip; then tftp $loadaddr $firmware_name && erase $firmware_addr +$filesize && cp.b $loadaddr $firmware_addr $filesize && echo OK!; else ERROR! Server not reachable!; fi
filesize=8c0000
fileaddr=81000000
serverip=192.168.255.2
bootcmd=bootm 0x9fea0000
ipaddr=192.168.255.1
stdin=nc
stdout=nc
stderr=nc
ethact=eth1

Environment size: 956/32764 bytes

After trying to send I get this:

Code: Select all

dr_boot> tftpboot 0x81000000 dragino2-yun-geeetech-v2.0.2-kernel.bin

TFTP from IP: 192.168.255.2
      Our IP: 192.168.255.1
    Filename: 'dragino2-yun-geeetech-v2.0.2-kernel.bin'
Load address: 0x81000000
       Using: eth1

     Loading: T T T T T T T T T T 

## Error: retry count exceeded, starting again!
Does anyone knows what could be a problem?

Thanks in advance!

Post Reply