Monday, October 29, 2007

tftp - on marvell device

My marvell device(PXA300) seems only work on static ip. I use HyperTerminal as emulator on Windows, with ifconfig, I got "192.168.1.101", while my workstation ip is 192.168.10.130, and my vmware Fedora Core 5 is 192.168.100.129. I don't know how to connect the device to my linux host, but here is how it works on my workstation.

- I change my workstation ip to "192.168.1.102", gateway to "192.168.1.100"
- Then on HyperTerminal, I can "ping 192.168.1.102", and on workstation I can "ping 192.168.1.101"
- On workstation(XP), I download and install tftp server. (Let google help to find one)
- Setup tftp, that is, start or stop tftp server, I would say my tftp server is local.

- on HyperTerminal:

tftp -p -r blah 192.168.1.102 (send blah to workstation)
tftp -g -r clock.txt 192.168.1.102 (get clock.txt from workstation)