Linux Newbie question

Sam
Hi,

I am a linux newbie. Want to learn linux.

I built a helloworld program in my PC. I am trying to download and test it.


Looks like there are four ways for moving stuff from PC to Mini2440:

1) Using a USB drive (it works ok for me)
2) Using FTP (it does not works for me... I have Ubuntu under vm player.
got some issues in setting up the PC eth0 port)
3) Using Serial connection? 
4) Using a USB cable from PC to Mini2440?

I spent one week trying to do steps 2, 3 and 4 above. None works. 

The manual supplied does have couple of images and nothing else. For a
newbie that is not enough info.

Can anyone tell me the steps to download the code from Linux box (PC) to
Mini2440 using the USB connection cable or using the serial cable?

Or atleast point a website that has info.

If you do, I will honour you by renaming the main file of my project in
your name. Seriously.

Thanks

skip2816
- give your mini an IP wich is inside your hosts network
  A program for this purpose can you find in the Friendly ARM - Tab
- now ping your mini, should work
- telnet mini's IP, should work, user root, no password
- to get able logging in as root in a ftp session you have to give root a
not empty password.
- alternative you can use telnet and then ftp back to host

s_stavrev
I use ftp to upload applications to mini2440.  The very first thing you
should do is to establish telnet to the mini. 

1/ Set it's IP address from FriendlyARM tab with Network Setting
application. For example my mini is set to 172.16.0.230

2/ Set your IP. To do it you should login as a root to your Ubuntu.

#su
#ifconfig eth0 172.16.0.1 netmask 255.255.0.0  (after each restart you have
do do it again)
#telnet 172.16.0.230

mini comes with no root password set. You can set new with passwd command.
When network is up you should be able also to open the embedded web page
from browser or run ftp. To open ftp connection open terminal on your
ubuntu and type:
ftp 172.16.0.230          (the IP of the mini)

When ftp is open you can use these comands:

cd - change dir on mini
ls - ls on mini
!ls - ls on ubuntu
lcd - change dir on ubuntu
send <filename> - upload file to mini

when application is uploaded you can run it from telnet with
./myappname

This works for console applications only. To run GUI app there are some
more things that should be done.

And there is one more way to upload files. Use USB flash drive or SD card.

Sam
Thanks for your quick reply for this new bee. you guys are great. 

 I still have the ftp issue in the linux box because of the Vmplayer. But
the telnet is working from the Windows box (based on your instructions) so
it looks like the connection and everything in mini2440 is ok. I am
planning to get a full blown linux box (with out the vmplayer thingy) and
certainly that will solve my problem.

 thanks a lot.