Home

Matrix 504 User Guide V1.4

image

Contents

1. Serial Console Port Baud rate 115200 Data format 8 Bits No Parity 1 Stop bit N 8 1 Flow Control None Terminal type VT100 Power on and System boot up Once Matrix 504 is correctly power on it will start boot Linux kernel and mount file system You can use Ethernet and telnet and login Matrix 504 Once kernel loaded it will find sbin init and execute it The initialization configuration is at etc inittab Once boot up you can use telnet to login Matrix 504 cy o x Matrix5h4 login Password quest e i e A A r r a ff a ff 4S Of fo ff fe a ff Pn ee E E a a http www aprit la com quest MatrixSH4 S a Inittab and Run levels Inittab contains information of system initialization The system initialization script etc rcS d runs first then the run level 5 etc rc5 d Matrix 504 uses run level for system setup and the default run level is number 5 Please refer to introduction to linux http tille garrels be training tldp for information about run level Following is the run levels setting Run level O halt Run level 1 is single user login and service are disabled Run level 2 5 are multiple users Run level 6 is reboot Please refer to loader menu section for selection of run level Default started service amerd Artila broadcast search daemon ssh secured shell with sftp syslog klogd system and kernel log telnet server disable root with etc securetty ftp server vsft
2. ppp v2 4 3 ppp dial up utility src gz usb_kernel ftp root root 127 0 0 1 media sdal modules were added 15 psmics v22 2 procps supplement 16 artila utility v 1 1 handy utility added by Artila Make sure the USB disk is correctly mounted now use command ipkg update You can find more utility at Artila Matrix 504 CD and use to update the package list and use ipkg to install the utility ipkg install webmin To install webmin Webmin is a web based interface to system administration To start webmin go to etc webmin and type start webmin Then you can use browser to visit Matrix 504 port 10000 http 192 168 2 127 10000 Webmin 1 480 on Matrix504 Generic Linux 2 6 Windows Internet Explorer _ O D o E Dia EAT Fa eaa a re BRE RE HAWD RRB A TAM HAU x Google vigee P p d mM B Gee DFE aR Q Oar T BORE G Eerd g BEEG ABA Homi REESHMEL Webmin 1 480 on Matrix504 Generic Linux 2 6 D O Ar AAO R EO TAQ Home Page Q wepmin ee Version 1 480 on Matrix504 Generic Linux 2 6 Webmin System Servers Networking Hardware Others x Q x Ki Webmin Actions Log Webmin Configuration Webmin Servers Index Webmin Users Switch user aS fy gt 100
3. USB WLAN adaptor Ralink RT2571 You can enable the driver module rt73usb by adding rt73usb in etc modules File System rooteMatrixS5h4 7 ls etc lib proc home media shin rootPMatrixSh4 7H cd home roote MatrixSh4 homell ls Foot Sys tmp quest rootPNatrix5h4 homell cd media rootePNatrixSh4 medial ls disk mmc sdai sdbi rooteNatrixSh4 medial The 128MB NAND Flash memory of Matrix 504 contains Boot loader uBoot Linux Kernel Root File System and user disk home The file system and disk space are shown as follow BEE root Matrix544 media mount rootfs on type rootfs Crw ubiG rootfs on type ubifs Crw proc on proc type proc Crw sysfs on sys type sysfs Crw ramfs on dev type ramfs Crw devpts on dev pts type devpts Crw gid 5 mode 620 gt usbfs on proc bus usbh type usbfs Crw tmpfs on var volatile type tmpfs Crw size 6144k gt root Matrix544 medial df Filesystem 1K blocks Used Available Usex Mounted on ubi rootfs 114716 8256 166466 TA tmpfs 6144 56 6088 1 var volatile root Matrix544 mediatt SSH Console Matrix 504 supports SSH If you use Linux computer you can use SSH command to login Matrix 504 The configuration of Mounting External Storage Memory To find out the device name of the external memory device which plug into Matrix 504 you can use the command Devices list The supported devices are shown at dev directory Following list are most popular
4. of system boot 1 Forgot password up User need to use serial console to enter loader menu If you forgot the password for login please use serial console and Please configure the serial port of terminal as follow use run level 1 to boot system Use passwd to change the password setting Baud Rate 115200 Data bits 8 COM8 115200 None 1 ANSI Parity N ty 4 passwd mike Stop bit l Changing password for mike Flow Control None TR Enter the new password minimum of 5 maximum af 8 characters ETE Elease use a combination o upper and lower case letters and numbers Terminal type VT100 Enter new password f Re enter new password Password changed Once power up Matrix 504 please repeatedly keying and you will see the loader menu appear as follow Starting Matrix504 2 Forgot the IP address ie eee eed ees eee eee eee eee eee eedeeeawies If you forgot the Matrix 504 IP address you can use the Java Ortila Loader Version 2 8 8 Manager available in Artila CD to search the IP address of Matrix G Loader IFIP L Loader Serial Or use serial console port to find out the IP address by K Kernel TFTP S Kernel Serial ifconfi F Filesys TFIP T Filesys Serial E Eny Upgrade H Ethernet Setting A Dataflash Booting U Runlevel E Search amp Configurate Utility v2 06 R Reset JE HE E H H E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E E Exit Configuration M
5. ones 1 ttySO serial console port dmesg grep sd SSH and key are located at 2 ttyS1 to ttyS4 serial port 1 to port 4 To find out the device type sda or sdb etc ssh 3 sda to sdb USB flash disk And use The key generation program is available at usr bin 4 ttyUSBO to ttyUSB1 USB RS 232 adaptor fdti_sio ko mount dev sdal 5 rtc Real Time Clock to mount the USB disk and folder 1s local at 6 gpio General Purpose digital I O media sdal or mnt sdal 7 ttyACMO and ttyACM1 USB Modem CDC compliant POST ERAN rooth 192 166 2 127 3 password root Matrix5 4 cat etc fstab Utilit So ftware stock fstab you probably want to override this with a machine specific one Matrix 504 includes busybox utility collection and Artila paR ness eee utility software and there are placed at pose a sbin var vo latile tmpfs defaults size 6M bin usr bin Sno din edai defaulte ogne noaute use sbin pmedia sdbt defaults 2yne_neaute Please refer to Appendix for the utility collection list root Matrix5 4 sbhink ls init insmod iwgetid iwlist ivpriv ivspy klogd logread losetup lsmod rooteMatrix504 7 sbin cd bin root Matrix564 bink ls mkdosfs mkfs minix mkfs vfat mkswap modprobe pivot_root poweroff reboot reboot sysvinit rmnod route BEE setconso le shutdown start stop daemon sulogin swapoff swapon switch_root sysctl syslogd telinit udhc pe root MatrixS54 Welcome Me
6. q uestPMatrixS2 hbintsetuart pi t485 m h 216808 Port 1i type 485 mode qguestPMatrixS2h hin gt he lp VYers ion port i 2 h i p t 3 version find out the version of OS Telnet 192 168 2 127 0 x atrix5 4 login guest assword 7 A FLO FOF APOE PE E ee haan ah f E a a 7 i F E Password soot Matrix564 H version atrix504 Firmware Verison lt Linux 2 6 29 4 2 0 6 64M build 141 PREEMPT Wed Mar 1 15 44 31 CST 2616 ilesystem build 9 PREEMPT Fri Mar 12 14 24 62 CST 2616 soot Matrix5H4 i 4 gpioctl The gpio can be configured by gpioctl and the usage is as Shown followed The default setting is digital input with 75K ohm pull up resistor BEE Foot Matrix5h4 gpioctl help Usage gpioct OPTION display this help and exit output version information and exit GPIO number GPIO state 1 HIGH 6 LOW m mode 11 GPIO mode 1 INPUT amp OUTPUT a all Show all GPIO state and mode Foot Matrix5h4 H gpioctl all GPIO count 5 DIP_SW count GPIOW gt State High GPIO gt State High GPIO2 gt State High GPIO3 gt State High GPIO4 gt State High roote Matrix5h4 H help version io 8 1 2 1 state H i h o 1 p Input Input Input Input z Input Loader Menu Frequently Asked Question Loader menu helps user to select the run level
7. N and when TXD line is high Yellow light is ON Serial Port The four serial ports can be configured as RS 232 RS 422 or RS 485 by software They use RJ45 connector and the pin assignment are shown as following table Port 1 RS 232 422 485 RS 232 RXD TXD RTS CTS DSR DTR DCD GND RS 422 TXD TXD RXD RXD GND RS 485 DATA DATA GND Port 2 3 4 RS 232 RXD TXD RTS CTS GND RS 485 DATA DATA GND Serial Console Port Serial console port is used for locally accessing Matrix 504 system using RS 232 port The console port uses RJ45 connector and is next to Ethernet port Therefore please be careful to plug in the right connector Port 0 RS 232 RXD TXD GND Console Therefore you need to prepare or purchase the serial console cable CB RJ2CON 100 in order to use the serial console port In addition to the serial console signal the console RJ45 port also provides GPIO programmable I O signal function The GPIO port is CMOS I O and can be programmed as digital input or output Power up setting is digital input mode with 75K ohm pull up resistor Power Connector Connect the 9 to 48VDC power line to Matrix 504 If the power is properly supply the power LED will show a solid green color Ethernet Port The Ethernet Port use RJ45 connector Pin Signal Factory Default Settings LAN 1 IP Address 192 168 2 127 Login root or guest telnet guest only Password root or guest telnet guest only
8. Overview Matrix 504 is a Linux ready ARM9 based embedded computer Its lower power and robust design concept makes it an ideal industrial computer platform for harsh environment The Linux OS and file system are pre installed in the on board Flash memory and the GNU tool chain CD coming with Matrix 504 is ready for your application development Features ARM926EJ S ARM Thumb Processor 400MHz w MMU 32 KByte Data Cache and 32 KByte Instruction Cache 64MB SDRAM 128MB NAND Flash on board One 10 100 Mbps Ethernet Two USB 2 0 full speed 12 Mbps Host Ports One software configurable RS 232 422 485 port and three RS 232 485 ports 7 One serial console port 8 5 programmable GPIO 9 9to48VDC power input 10 Pre installed Linux 2 6 29 kernel and file system 11 GNU tool chain available in Artila CD 12 Optional DIN RAIL mounting adaptor a a Packing List Matrix 504 1s shipped with following items 1 Matrix 504 2 Artila CD includes Tool Chain Installation guide and Utility software and device driver and example programs Optional Accessory 1 CB RJ45F9 150 RJ45 to DBO Female Cable 2 CB RJ2CON 100 Serial Console Cable 3 DK 35A DIN RAIL Mounting Kit 4 PWR 12V 1A 110 240VAC to 12VDC 1A Power Adaptor Matrix 504 Quick Installation Guide Matrix 504 Layout 10 100Mbps Ethernet USB2 0 Host x2 9 48 VDC Power Reset Serial Console Power LED System Ready LED Ethernet LED MATRIX Industrial Linux Comp
9. bin to transfer the execution file to Matrix 504 user disk home guest and use chmod x file o To change it to execution mode and file o to run the program Auto start program on boot To start a program on boot you can use etc rc local For example to use vi to edit re local hello amp exit 0 Hello will be executed after system boot up re local has the similar function as etc re in Matrix 500 Artila Utility Software The introduction of Artila utility software as follow 1 update update loader environment file and kernel image Type update help to find the command usage BSE al rooteMatrix504 H update he lp Usage update OPTION Image Writes image to MTD device update environment file Display this help and exit Output version information and exit e env filename he lp version update Verison 2 00 root Matrix564 Update can only operated under supervisor mode password root Please use command su and login as root 2 setuart configure serial port setting An example show as followed to configure port as RS 485 interface with baud rate 921600 E Telnet 192 168 2127 a x Meagqe setuart OPTION display this help and exit output version information and exit UART port number type 232 422 4685 UART interface type m model 1 Dis Enable bit data mode for R amp 485 b baud LA 921600 Set baudrate up to 21608Hhbps
10. matrix504 matrix504 alf Kernel matrix504 matrix504K Update Image Starts Update Image Completes File system matrix504 matrix504R Updating Loader 128 Kibyte 20000 The update will b The files are available in Artila CD Please prepare an USB gga The update will be e disk and copy the image files to it before choosng this option The update will be e 2 Make Filesystem this option is used to create customized file system Before using this function you need to copy the folder of mkimage504 in the Artila CD to an USB disk This function will create a new file system image for users and they can use it to duplicate the customized file system to other Matrix 504 3 Recovery Env The option will recover the environment files as default setting Use this function only when the NAND file system crash 4 Show Info Show the version information of Matrix 504 5 Reboot Reboot the NAND flash file system Updating Filesystem 128 Kiby O x gp COM1 Make Files System Starts PulTY 0 x H mkimage504 mkimage Use Arrow keys up and down to selection the functions Use Arrow keys left and right to go to higher or lower levels of menu screen To force system go into DataFlash booting repeatedly keying Shift 1 right after Matrix 504 power on Appendix Utility Collection ipkg software package management The webmin for Matrix 504 provides following modules 1 busybox v1 14 2
11. onitor Broadcast Search Device Name MAC Address IPAddress Netmask Gateway Password Model Name earch by IP Matrix500 00 13 48 00 02 48 192 168 2127 255 255 255 0 192 168 2 254 None MATRIX 500 If you miss the timing please power on again the Matrix 504 and do it again Select U will prompt the run level selection message Run level 0 is halt run level 1 is single user disable login and service Run level 2 5 are multiple users and run level 6 is reboot To view the run level configuration please check etc inittab 3 System fail to boot If you mess up the root file system and make the system fail to boot Matrix 504 will automatically switch to boot from Dataflash file system and a console menu will show up at console port to help user perform system recovery System Recovery Section will tell you how to recover the system System Recovery If NAND Flash file system does fail DataFlash file system a SS ila will automatically boot up and a Console Menu at console port will appear as follow gp COM1 PuTTY O x Refresh Returni Update Image system go up and down Press enter to sele ge COM1 PuTTY 1 Update Image this option can recover the loader kernel and file system by using an USB disk The USB disk contains the images files with the path as follow Loader
12. p web server apache2 Ready LED debug LED for internal use SLA ete el Network Settings x root Matrix5B4 H cat etc network interfaces auto lo iface lo inet loopback auto eth Example of static iface eth inet static address 192 168 2 127 netmask 255 255 255 0 network 192 168 2 0 gateway 192 168 2 1 Example of dhcp iface eth inet dhcp Wireless interfaces Example of an unencrypted Cno WEP or WPAD wireless connection that connects to any available access point iface wlan inet dhcp wireless_mode managed wireless_essid any Ht Ht Ht Ht Ht auto wlan Ht Ht Ht Ht wire less_key any root Matrix564 Insert kernel module To insert kernel module while system boot up please use vi to edit etc modules to add module to load e g rt73usb To load the USB WLAN adaptor root Matrix544 H cat etc modules HHH This file is automatically generated by update modules Please do not edit this file directly anything please take a look at the files in etc modutils and read If you want to change or add the manpage for update modules rt 3ush root Matrix5h4 Use vi editing tool to edit the etc network interfaces for network setting The default setting 1s static IP 192 168 2 127 Matrix 504 also supports Wireless LAN Use wireless_essid XXX wireless_key YYY To add SSID and WEP key if necessary XXX is SSID and YYY is WEP Key Matrix 504 supports
13. ssage To modify the welcome message user can use text edit to modify the etc motd Web Page Director The web pages are placed at usr share apache2 and the etc apache2 httpd conf contains the apache web server settings The home page name should be index html Adjust the system time To adjust the RTC time you can follow the command http www aritla com roothMatrix504 proothMatrix504 Putty Console Software For Windows user you can download the putty software at http www chiark greenend org uk sgtatham putty download html to use SSH to login Matrix 504 ipkg package software management ipkg is a light software package utility It can be used to install upgrade and remove the software package for Matrix abe nkton ok 504 Currently user can use ipke to install the software packge wry sear tees date MMDDhhmmYYYY vans pss ae ee ere eine epee epi from Artila FTP You can find the configuration at ipkg conf _ u where When Matrix 504 is connected to network and issue command fgrep sync MM Month O1 12 grep my tar B ipkg update gunzip netstat touch DD Date O1 31 gzip pidof true To update the package list and use hostname pidof sysvinit umount hh Hour is Fep me ipkg install pene unane ne to install software package and In aries YYYY Year ipkg remove j gt login hwclock W P amp ls mkdir mknod root Matrix5 4 bink run parts sed To write the date information
14. tiny utility collection Matrix 504 uses ipkg to manage the software installation upgrade and 1 Webmin webmin configuration 2 sysvinit v2 86 standard Linux initialization removal Artila will continuously add the kernel module and utility at 2 System system boot process and log management 3 util linux mount umount v2 12r support long file name our ftp server user can install these software from Artila s ftp server In 3 Server Apache and SSH server configuration 4 ssh v4 6p1 support sftp server addition user can also setup your ftp server to update the software you 4 Network network configuration 5 usbutils v0 7 USB id program want To install the utility from Artila ftp please use vi to edit the etc 5 Hardware RTC setting 6 Apache2 v2 23 web server ipkg conf 6 Others File manager upload and download 7 weet v1 9 1 used in ipkg software src gz arm ftp 8 iptables v1 3 8 IP routing src gz kernel 9 ipkg v 0 99 163 software package management Remember to use command 10 procps v3 2 7 support webmin process management You can also copy the Utility and module folder from Artila CD to a 11 vsftpd v2 0 5 ftp server USB disk then use USB disk to install the software by changing the depmod a lib modules 2 6 29 4 modules dep 12 bash v3 2 GNU shell ipkg conf 13 wireless_tools v29 wireless LAN utility src gz usb_arm ftp root root 127 0 0 1 media sdal Utilit To update the dependency list if new kernel module 14
15. to RTC User can also use NTP client utility in Artila CD to adjust the RTC time ntpclient time server ip to remove software ipkg list to list available software ipkg list_installed to list software installed Please refer to Appendix for more about ipkg Install GNU Tool Chain Find a PC with Linux OS installed as followed Fedore 7 ubuntu 7 04 OpenSUSE 10 2 Mandriva 2008 Debian 5 0 Centos RedHat 5 and above Login as aroot user then copy the arm linux 4 3 2 tar gz to root directory of PC Under root directory type following command to install the Matrix 504 Tool Chain tar xvfj arm linux 4 3 3 tar bz2 The tool chain file name are arm linux gnueabi gcc arm linux gnueabi g arm linux gnueabi strip Version gcc 4 3 3 glibc 2 9 binutils 2 18 For Windows user please download the toolchain from CodeSourcery at http www codesourcery com sgpp lite arm portal package4547 public arm none linux gnueabi arm 2009q 1 203 arm none linux gnueabi exe The tool chain file name are arm none linux gnueabi gcc arm none linux gnueabi g arm none linux gnueabi strip Version gcc 4 3 3 glibc 2 8 binutils 2 19 Getting started with the Hello program There are many example programs in Artila CD To compile the sample you can use the Make file and type make To compile and link the library Once done use ftp command ftp 192 168 2 127 Then login with password Use bin command to set transfer mode to binary ftp gt
16. uter e e e Serial Port LED P2 P3 P4 RS 232 RS 232 RS 232 RS 485 S 485 RS 485 P1 P2 P3 P4 Serial Ports USB Port The USB port is an USB2 0 high speed host port It can be used to expand the hardware function of Matrix 504 and exchange file and data between PC and Matrix 504 using an USB flash disk Currently the hardware support by Matrix 504 USB is shown as follow USB Storage Device USB to Wireless LAN Adaptor Ralink RT73 USB to Serial Adaptor fdti usb to UART USB to Modem CDC compliant USB Camera dE a E The USB chent port is reserved for production purpose only Contact Artila if you find your hardware is not shown on the list Reset Button Press the Reset button to activate the hardware reset Please always use reboot command to reset Matrix 504 You should only use this function 1f the software reboot does not function properly Power LED The Power LED will show solid green if power is properly applied Ready LED After Power ON Matrix 504 starts booting Once system is boot up the Ready LED will show solid green The Ready LED will be turned off after Matrix 504 received halt command Link Act_LED When Ethernet port are connected to the network Link Act will show solid green and if there is traffic in the Ethernet this LED will flash Serial Port LED These four dual color LEDs indicate the data traffic at the serial ports When RXD line is high then Green light is O

Download Pdf Manuals

image

Related Search

Related Contents

StarTech.com 6in SATA Power Y Splitter Cable Adapter - M/F      FALCO 202 EVO  海外版说明书 GGEC  AMD Athlon II X3 Trip-Core 425  1 - ソニー製品情報  operation manual  

Copyright © All rights reserved.
Failed to retrieve file