Embedded Linux Information
- Building the 2.4.x Kernel Basics
- Network Configuration
- Developing Applications and Modules for uClinux 2.4.x
- Connection between Linux PC and 44B0X Target Board
- LCD Configuration
- Audio Configuration
- Sharp ARM 9 Root FS with FC
-
Modifying SDL-1.2.11 to support USB mouse for ARM
Connection between Linux PC and 44B0X Target Board
by Tong Lai Yu and Felix Lo, July 2005
Linux Environment
We need to setup tftp for communcation:
server ( Linux PC )
- install tftpd if needed, generally already installed from installation of
linux
- start tftpd by
in.tftpd -l -s dir
- put your download files in dir
- if necessary, open firewall in port 69 for udp and tcp, for example:
- /sbin/services iptables stop
- /sbin/services iptables start (?)
client ( Target board, using ARMBOOT )
install tftp if needed (should already be included)
setup server ip by setenv serverip 192.168.1.95
setup local ip if needed by setenv ipaddr 192.168.1.73
check environment by printenv.
setup the file names for download:
- tftp c008000 image.ram
- tftp c400000 rom.fs
To use tftp to download files to the target board, we need to use minicom to
control the board as command prompt:
start command prompt by
set parameter by crtl-A crtl-Z, and use the following parameters:
- /dev/ttyS0
- /var/lock
- 115200 8N1
- no
- no
--------------------------
- choose ANSI terminal
Windows Environment
start super-terminal under windows
set communication parameters as above
If using serial to transfer files:
- At ARM board, executes
loadb c008000
- Click on <Transfer> then <Send File> to pick
image.ram
- At ARM board, executes
loadb c400000
- Click on <Transfer> then <Send File> to pick
romfs.img
- go c008000
If using network cable:
- In DOS prompt of windows, execute tftd32.exe, which
comes with the ARM board CD. Set the directory.
- At ARM board,
- printenv
- setenv ipaddr 192.168.1.128
- setenv servdrip 192.168.1.20
- execute "tftp c008000 image.ram"
- execute "ftfp c400000 romfs.img"
- go c008000