background image

Matrix-513 User Guide 
 

12

 

4.  Artila Utility Software 

The introduction of Artila utility software as follow: 

 

4.1  update 

Update loader, environment file and kernel image.    Type 

update--help

 to find the command usage. 

 

 

Update can only operate under supervisor mode (password: root).    Please use command 

su

 and login 

as root. 

 

4.2  setuart   

Configure serial port setting.    An example show as followed to configure port 1 as RS-485 interface 

with baud rate 921600.

   

 

 

4.3  version 

Find out the version of OS. 

 

 

 

Summary of Contents for Matrix-513

Page 1: ...Matrix 513 Linux ARM9 Industry Box Computer User Guide Version 1 0 1 Copyright Artila Electronics Co Ltd All Rights Reserved ...

Page 2: ......

Page 3: ... 6 Ethernet Port 3 3 7 Serial Port DB9 Male 3 3 8 Serial Console Port 4 3 9 Digital I O Port 4 3 10 Factory Default Settings 4 3 11 Power on and System Boot up 5 3 12 Inittab and Run Levels 5 3 13 Default Started Service 5 3 14 Network Settings 6 3 15 File System 6 3 16 Devices List 7 3 17 Utility Software 7 3 18 Mounting USB Device by udev 8 3 19 Web Page Directory 8 3 20 Adjust the System Time 8...

Page 4: ...ader Menu 14 6 Frequently Asked Question 15 6 1 Forgot Password 15 6 2 Forgot the IP Address 15 6 3 System Fail to Boot 15 7 System Recovery 16 7 1 Update Image 16 7 2 Make Filesystem 16 7 3 Recovery Env 16 7 4 Show Info 16 7 5 Reboot 16 7 6 Update Image Starts 17 7 7 Update Image Completes 17 7 8 Make Files System Starts 17 8 Appendix 18 8 1 Utility Collection 18 8 2 ipkg Software Package Managem...

Page 5: ...anual 3 8 5 Set 3G mode connection 23 8 6 Update and build up GCC environment 24 8 7 WiFi and 3G Assembling 25 8 7 1 Open top shell 25 8 7 2 Add on 3G module and antenna 25 8 7 3 Finish 3G and wifi module assembling 26 ...

Page 6: ......

Page 7: ...dule USB bus 9 to 48VDC power input Pre installed Standard Linux 2 6 38 kernel and file system GNU tool chain available on Artila FTP Optional DIN RAIL mounting adaptor 1 1 Packing List Matrix 513 Box Computer Wall mount bracket 1 2 Optional Accessory CBL F10M9 20 91 0P9M9 001 Console Cable 10Pin Header to DB9 Male 20cm DK 35A 36 DK35A 000 DIN RAIL Mounting Kit Pigtail WiFi 1001 20 91 CST16 001 IP...

Page 8: ...Matrix 513 User Guide 2 Reset Power LAN 1 LAN 2 USB USB C DIO Remove the cap to install ANT 2 Layout ...

Page 9: ... and restart Matrix 513 again If Ready LED is still off please contact the manufacture for technical support 3 4 Link Act LED When Ethernet port are connected to the network Link Act will show solid green and if there is traffic is the Ethernet port this LED will flash 3 5 Serial Port LED These eight dual color LEDs indicate the data traffic at the serial ports When RXD line is high then Green lig...

Page 10: ... near the reset button and LEDs Use any terminal software such as hyper terminal and configure the setting as follow Baud Rate 115200 Data bits 8 Parity N Stop bit 1 Terminal type VT100 3 9 Digital I O Port 1 DO Out 2 DO Com 3 DI 1 4 DI 2 5 DI Com 3 10 Factory Default Settings LAN 1 IP Address 192 168 2 127 LAN 2 IP Address 192 168 3 127 Login root or guest telnet guest only Password root or guest...

Page 11: ...el 5 etc rc5 d Linux 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 0 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 f...

Page 12: ...Wireless LAN configuration file is located at etc Wireless RT5370STA RT5370STA dat Modify the file for the wireless LAN settings Please refer to the RT5370_WIFI_Setup Matrix 513 supports USB WLAN adaptor Ralink RT2571 and RT5370sta You can enable the driver module rt5370sta by adding rt5370sta in etc modules 3 15 File System ...

Page 13: ...ial port 1 to port 4 3 sda to sdb USB flash disk 4 ttyUSB0 to ttyUSB1 USB RS 232 adaptor usbserial ko 5 gpio General Purpose digital I O 6 ttyACM0 and ttyACM1 USB Modem CDC compliant 7 spi0 spi1 SPI bus controller 8 mmc SD driver 9 rtc0 m41t81 real time clock device default 10 rtc1 rs5c372a real time clock device M 501 compatible 3 17 Utility Software Matrix 513 Linux includes busybox utility coll...

Page 14: ... your USB device 3 19 Web Page Directory The web pages are placed at usr www and the etc lighttpd conf contains the lighttpd web server settings The home page name should be index html 3 20 Adjust the System Time To adjust the RTC time you can follow the command date MMDDhhmmYYYY where MM Month 01 12 DD Date 01 31 hh Hour mm minutes YYYY Year ...

Page 15: ...dit to modify the etc motd 3 23 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 3 24 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 513 Currently user can use ipkg to install th...

Page 16: ... 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 2 009q1 203 arm none linux gnueabi exe The toolchain 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 ...

Page 17: ...ile o to run the program 3 27 Auto Start Program on Boot To start a program on boot you can use etc rc local For example to use vi to edit rc local hello exit 0 Hello will be executed after system boot up rc local has the similar function as etc rc in Matrix 513 ...

Page 18: ...ent file and kernel image Type update help to find the command usage Update can only operate under supervisor mode password root Please use command su and login as root 4 2 setuart Configure serial port setting An example show as followed to configure port 1 as RS 485 interface with baud rate 921600 4 3 version Find out the version of OS ...

Page 19: ...Matrix 513 User Guide 13 4 4 gpioctl The gpio can be configured by gpioctl and the usage is as shown followed ...

Page 20: ...1 Flow Control None Terminal type VT100 Once power up Matrix 513 please repeatedly keying and you will see the loader menu appear as follow If you miss the timing please power on again the Matrix 513 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...

Page 21: ...ress you can use the Java Manager available on Artila FTP to search the IP address of Matrix 513 Or use serial console port to find out the IP address by ifconfig 6 3 System Fail to Boot If you mess up the root file system and make the system fail to boot Matrix 513 will automatically switch to boot from Dataflash file system and a console menu will show up at console port to help user perform sys...

Page 22: ...Please prepare an USB disk with vFAT file system and copy the image files to it before choosing this option 7 2 Make Filesystem This option is used to create customized file system Before using this function you need to copy the folder of mkimage on the Artila FTP 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 ...

Page 23: ...tes 7 8 Make Files System Starts Note 1 Use Arrow keys up and down to selection the functions 2 Use Arrow keys left and right to go to higher or lower levels of menu screen 3 To force system go into DataFlash booting repeatedly keying Shift 1 right after Matrix 513 power on ...

Page 24: ... can find more utility on Artila FTP and use ipkg to install the utility 8 2 ipkg Software Package Management Matrix 513 uses ipkg to manage the software installation upgrade and removal Artila will continuously add the kernel module and utility on Artila FTP user can install these software from Artila FTP In addition user can also setup your FTP server to update the software you want How to setup...

Page 25: ...tware by changing the ipkg conf src gz usb_arm ftp root root 127 0 0 1 media sda1 Utility src gz usb_kernel ftp root root 127 0 0 1 media sda1 modules Make sure the USB disk is correctly mounted now use command ipkg update To update the package list and use 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...

Page 26: ...s file is automatically generated by update modules Please do not edit this file directly If you want to change or add anything please take a look at the files in etc modutils and read the manpage for update modules update modules start processing etc modutils hidp hidp update modules end processing etc modutils hidp update modules start processing etc modutils rfcomm rfcomm update modules end pro...

Page 27: ...mobilephone Modify etc network interface root Matrix513 vi etc network interfaces Delete the in front of the command auto wlan0 iface wlan0 inet dhcp Before edit Wireless interfaces auto wlan0 iface wlan0 inet dhcp Example of an unencrypted no WEP or WPA wireless connection After edit Wireless interfaces auto wlan0 iface wlan0 inet dhcp Example of an unencrypted no WEP or WPA wireless connection S...

Page 28: ...ccess Point essid and input the SSID Network Type AuthMode Encryp Type and WPAPSK Modify etc Wireless RT5370STA RT5370STA dat root Matrix513 vi etc Wireless RT5370STA RT5370STA dat Default SSID Artila NetworkType Infra AuthMode WPA2PSK EncrypType TKIP WPAPSK 12345asd Input the wpa essid and wpa psk wep essid and wep psk Modify etc network interfaces root Matrix513 vi etc network interfaces Exmaple...

Page 29: ...ic 1 RX packets 0 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 1947393 1 8 MiB TX bytes 10860 10 6 KiB 8 5 Set 3G mode connection Please add on SIM card into 3G module Modify etc network interfaces root Matrix513 vi etc network interfaces Delete the in front of the command auto 3g iface 3g inet ppp provider 3g Befo...

Page 30: ...ropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 3 RX bytes 68 68 0 B TX bytes 141 141 0 B 8 6 Update and build up GCC environment modify ipkg configure file root Matrix513 vi etc ipkg conf Add on three command as below ftp example src gz arm http www artila com download ipkgs 9G45 utility src gz kernel http www artila com download ipkgs 9G45 modules src gz utilities http www artila com downl...

Page 31: ...Matrix 513 User Guide 25 8 7 WiFi and 3G Assembling 8 7 1 Open top shell 8 7 2 Add on 3G module and antenna 3G Socket WiFi Socket ...

Page 32: ...Matrix 513 User Guide 26 8 7 3 Finish 3G and WiFi module assembling ...

Reviews: