Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

File transfer method under linux

Altera_Forum
Honored Contributor II
1,289 Views

I have a MMU linux up and running but I can't seem to figure out how to configure file transfer correctly. I just want to move a file off the board to my dev station but I can't seem to make FTP or SCP work. 

 

Anybody have a step by step recipe for setting up file transfer? 

Thanks 

David
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
573 Views

I think make the FTP working should be easy. 

Did you try busybox? busy box has FTP server in it. 

 

Also, you should be able to enable the SSH as well. 

SSH was a bit tricky to make it enabled for me on the older kernel. 

It requires to have certain named folder in the /etc default or something like that. 

 

Anyway, the last option could be, if you have, you can write the data out to SD card or CFI flash.
0 Kudos
Altera_Forum
Honored Contributor II
573 Views

 

--- Quote Start ---  

I think make the FTP working should be easy. 

Did you try busybox? busy box has FTP server in it. 

 

Also, you should be able to enable the SSH as well. 

SSH was a bit tricky to make it enabled for me on the older kernel. 

It requires to have certain named folder in the /etc default or something like that. 

 

Anyway, the last option could be, if you have, you can write the data out to SD card or CFI flash. 

--- Quote End ---  

 

 

Thanks for your help but it turns out that my problems were related to bandwidth... I had everything clocked so slow while I was figuring out Ethernet that the connections were timing out. Partitioned the design and adjusted the clocks and now everything works with FTP.
0 Kudos
Altera_Forum
Honored Contributor II
573 Views

Hello, 

 

I am trying to make file transfers to a custom board which runs an MMU version of uClinux.  

I have tried both SCP (dropbear) and FTP, this last in various flavours (ftpget and ftpput or installing the fptd server and using a client on the pc). Inetd manages connections to servers. 

 

The link between the board and the PC is an RS-232 uart; the PPP between the two guys (board and PC) is alive: I can ping, I can telnet, I can connect using SSH. 

 

I can copy files from the PC to the board, even the copy of large files (some MB) takes minutes (like in the ancient 56k internet times). I fail at copying the data from the board to the PC. In particular, with FTP the connection throughput falls down and to copy some MB it takes hours. 

 

As side notes :  

1) I am doing this with a custom uart component in the SOPC Builder beacuse with the Altera serial I noticed a lot of packet loss while pinging. This one does not lose packets. 

2) The Nios2 (with MMU) processor runs at 80 MHz and executes from external DDR2 ram clocked at 160 MHz. 

3) The git log for uClinux dist is dated Wed Mar 2 11:19:01 2011 

4) The git log for linux-2.6 is dated Tue Sep 21 11:29:37 

 

 

Any suggestions? If you need some more info, ask please. 

 

Regards, 

Gabriele
0 Kudos
Altera_Forum
Honored Contributor II
573 Views

Hello, 

 

to exclude there are problems on the PC serial, I have tried to connect two boards. The connection works but the exchange of files stall. 

 

While trying to exchange files it is impossible to telnet into a board: the PC side telnet stalls, if I try to make a telnet in the "two boards configuration" I get "telnet: can't connect to remote host (192.168.0.99): Connection timed out" 

 

Seems that someone is overwhelmed by stuff to do...
0 Kudos
Altera_Forum
Honored Contributor II
573 Views

Has anyone recently used with satisfaction fpt? Which system frequency? 

Anyway, seems strange this is a clocking prolems because the transfer from the board works well.
0 Kudos
Reply