Difference between revisions of "Communicate"
m (→Links) |
m |
||
Line 64: | Line 64: | ||
For more information regarding how-to setup a tftp server please check one of many web how-to: | For more information regarding how-to setup a tftp server please check one of many web how-to: | ||
* [http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd#TFTP TFTP server quick how-to] | * [http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd#TFTP TFTP server quick how-to] | ||
+ | * [https://linuxlink.timesys.com/docs/linux_tftp Another how-to configure a TFTP Server for Linux] | ||
+ | * [http://www.webune.com/forums/how-to-install-tftp-server-in-linux.html till another how-to...] | ||
* [http://doc.ubuntu-fr.org/tftpd ubuntu TFTP server documentation in French] | * [http://doc.ubuntu-fr.org/tftpd ubuntu TFTP server documentation in French] | ||
Line 69: | Line 71: | ||
* [http://www.columbia.edu/kermit/ Kermit Homepage] | * [http://www.columbia.edu/kermit/ Kermit Homepage] | ||
* [http://www.jls-info.com/julien/linux/ GTKTerm Homepage] | * [http://www.jls-info.com/julien/linux/ GTKTerm Homepage] | ||
− | |||
* [http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd#TFTP TFTP server quick how-to] | * [http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd#TFTP TFTP server quick how-to] | ||
+ | * [https://linuxlink.timesys.com/docs/linux_tftp Another how-to configure a TFTP Server for Linux] | ||
+ | * [http://www.webune.com/forums/how-to-install-tftp-server-in-linux.html till another how-to...] | ||
+ | * [http://doc.ubuntu-fr.org/tftpd ubuntu TFTP server documentation in French] | ||
* [[Windows uBoot Connection | configuring RS-232 and TFTP on Windows to communicate with your board]] | * [[Windows uBoot Connection | configuring RS-232 and TFTP on Windows to communicate with your board]] |
Revision as of 21:11, 23 April 2009
How-To connect your Armadeus board to your development Host.
Contents
Forewords
The default connection uses a simple RS232 Null-Modem cable (with or without USB<->serial adapter).
As you will have to transfer some mega bytes of data, the Ethernet link is mandatory.
In order to use these two media with the APF target a terminal emulator (for RS232 link) and a TFTP server (for Ethernet link) have to be configured.
At this stage, you should have something looking like that (IP addresses may change):
RS232 Terminal configuration
You will need a RS232 terminal emulator to communicate with U-Boot/Linux console. You can choose between:
- Kermit
- Minicom
- GtkTerm
We suggest you to use Kermit as Terminal emulator for RS232 connection. Minicom was sadly reported to have problems when communicating with U-Boot (ZModem data transfer). If you just need a simple serial console and not to transfer data through RS232, then GTKTerm is the perfect choice ! (package gtkterm in Ubuntu)
TFTP server
In order to send your image files (U-Boot, Linux, rootfs or FPGA's firmware) at higher speed to your Armadeus board, you can use the Ethernet link and a TFTP server. Once the server started, the files located in the server shared directory (/tftpboot by default) will be accessible from the U-Boot/Linux TFTP clients.
TFTP server installation
- On *Ubuntu / Debian:
[ ] $ sudo apt-get install tftpd xinetd
or use Synaptic
- On Fedora:
[ ] $ rpm -q tftpd xinetd
- Then create the directory that will contain all the files that the server will export (you have to be root to do that):
[ ] $ sudo mkdir /tftpboot [ ] $ sudo chmod 777 /tftpboot
Server configuration
- Edit or create the configuration file /etc/xinetd.d/tftp and modify/add it the following lines:
# default: off # description: The tftp server serves files using the trivial file transfer # protocol. The tftp protocol is often used to boot diskless # workstations, download configuration files to network-aware printers, # and to start the installation process for some operating systems. service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot # disable = yes }
- Restart xinetd service:
[ ] $ sudo killall -HUP xinetd
For more information regarding how-to setup a tftp server please check one of many web how-to:
- TFTP server quick how-to
- Another how-to configure a TFTP Server for Linux
- till another how-to...
- ubuntu TFTP server documentation in French