• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: u-boot on GuruPlug Server cannot tftp  (Read 2277 times)
rthinman
Newbie
*

Karma: 0
Posts: 3


View Profile
« on: May 13, 2011, 06:23:15 PM »

Hello,

I've been searching the forums, but haven't found the exact issue I'm experiencing.  Ultimately, I'm trying to get a stable Wi-Fi client, but to update the kernel, I need to get the kernel to the plug.  the u-boot on the stock plug doesn't support ext2, and there is no SD on the plug.  So tftp the image and boot it, right?

The atftp server is set up on my PC and running.  If I access it using atftp from the plug under Linux, I can transfer files.  Shut down and stop the booting process.  Set the proper IP addresses.  Try to ping the server, it works, so the network is working.  Try to tftp the image, it just gets lots of retries and fails.  Any thoughts on why?  I notice it tries egiga0, does this mean that a 10/100 Ethernet connection won't work? 

Log of activity:
Code:
U-Boot 2009.11-rc1 (Dec 01 2011 - 21:15:33)

Marvell-Plug2



SoC:   Kirkwood 88F6281_A0

DRAM:  512 MB

NAND:  512 MiB

In:    serial

Out:   serial

Err:   serial

Net:   egiga0

88E1121 Initialized on egiga0

Hit any key to stop autoboot:  3  2  0

Marvell>> printenv


bootcmd=${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;

bootdelay=3

baudrate=115200

x_bootcmd_ethernet=ping 192.168.2.1

x_bootcmd_usb=usb start

x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000

x_bootargs=console=ttyS0,115200

x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs

ethact=egiga0

bootargs=console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs

ipaddr=10.10.10.10

serverip=10.10.10.179

ethaddr=F0:AD:4E:00:4D:68

stdin=serial

stdout=serial

stderr=serial



Environment size: 570/131068 bytes

Marvell>> setenv ipaddr 192.168.0.12


Marvell>> setenv serverip 192.168.0.6


Marvell>> ping 192.168.0.6

 ### My comment: ping the server==>works.
Using egiga0 device

host 192.168.0.6 is alive

Marvell>> ping 192.168.0.22

 ### My comment: try a non-existent host to verify failure.
Using egiga0 device

ping failed; host 192.168.0.22 is not alive

Marvell>> tftpboot 0x6400000 uImage-guru-2.6.33.7


Using egiga0 device

TFTP from server 192.168.0.6; our IP address is 192.168.0.12

Filename 'uImage-guru-2.6.33.7'.

Load address: 0x6400000

Loading: *T T T T T T T T T T

Retry count exceeded; starting again

Thanks in advance,
Rod
Logged

xxcn
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #1 on: June 27, 2011, 01:40:46 PM »

I have the exact same problem. My  tftpd comes from "iputils 20101006-1" on an ArchLinux box. The tftp server seems to be working properly, I can fetch files with the test client from other machines. The plug simply timeouts.

Also, when I try to load a non-existing file, uboot gives me the finger properly after a single "T":

Marvell>> tftp 0x6400000 asdf

Using egiga0 device
TFTP from server 192.168.55.105; our IP address is 192.168.55.2
Filename 'asdf'.
Load address: 0x6400000
Loading: T
TFTP error: 'File not found' (1)
Starting again


Any ideas, anyone?
« Last Edit: June 27, 2011, 01:43:05 PM by xxcn » Logged

xxcn
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: July 02, 2011, 08:30:53 AM »

It seems the router in the middle was the problem for me. I built a crossover ehternet cable and was able to pull files via tftp.
Logged

Pages: [1]
Print
Jump to: