background image

Matrix-522 User Guide 
 

8

 

3.18  File System 

 

 

The 256MB NAND Flash memory of Matrix-522 contains Boot loader (uBoot), Linux Kernel, Root File 

System and user disk (\home).    The file system and disk space are shown as follow:   

 

 

3.19  Devices List 

The supported devices are shown at /dev directory.    Following list are most popular ones: 

1.  ttyS0: serial console port 

2.  ttyS1 to ttyS2: serial port 1 to port 2 

3.  sda to sdb: USB flash disk 

4.  ttyUSB0 to ttyUSB1: USB RS-232 adaptor (fdti_sio.ko) 

5.  rtc: Real Time Clock 

6.  gpio: General Purpose digital I/O   

7.  ttyACM0 and ttyACM1: USB Modem (CDC compliant) 

8.  mmc: SD driver 

 

 Note 

 

can0 and can1 are network devices under SocketCAN.

 

 

3.20  Utility Software 

Matrix-522 includes busybox utility collection and Artila utility software and there are placed at: 

/sbin 

/bin 

/usr/bin 

/use/sbin 

 

Содержание Matrix-522

Страница 1: ...Matrix 522 Linux ARM9 Industry Box Computer User Guide Version 1 1 Copyright Artila Electronics Co Ltd All Rights Reserved...

Страница 2: ......

Страница 3: ...Male 4 3 9 CAN Port DB9 Male 4 3 10 Serial Console Port 4 3 11 Digital I O Port DB25 Female 5 3 12 Factory Default Settings 5 3 13 Power on and System Boot up 6 3 14 Inittab and Run Levels 6 3 15 Def...

Страница 4: ...4 1 update 15 4 2 setuart 15 4 3 setconsole 15 4 4 version 16 4 5 gpioctl 16 5 Loader Menu 17 6 Frequently Asked Question 18 6 1 Forgot Password 18 6 2 Forgot the IP Address 18 6 3 System Fail to Boo...

Страница 5: ...ce port Multimedia Card Interface for Micro SD memory card Two 3 in 1 RS 232 422 485 ports Two 2500 Vrms fully isolated CAN 2 0A 2 0B ports 21 programmable Digital I O port 9 to 40VDC power input Pre...

Страница 6: ...Matrix 522 User Guide 2 2 Layout 25 12 5 4 167 5 5 9 104 Reset Button 40 1 10...

Страница 7: ...rn off the power and restart Matrix 522 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 w...

Страница 8: ...s available at Pin 3 of the DB9 connector 3 10 Serial Console Port Serial console port is located inside the box at CON1 You need to use console cable 91 0P9M9 001 to access it Serial Console RS 232 1...

Страница 9: ...22 GND 10 DIO9 23 GND 11 DIO10 24 VCC3 12 DIO11 25 VCC5 13 DIO12 Note 1 VCC3 3 3 VDC output 2 VCC5 5 VDC output 3 GND Digital Ground 3 12 Factory Default Settings LAN 1 IP Address 192 168 2 127 LAN 2...

Страница 10: ...he run level 5 etc rc5 d Matrix 522 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 abou...

Страница 11: ...the USB WLAN adaptor Use vi editing tool to edit the etc network interfaces for network setting The default setting is static IP 192 168 2 127 Matrix 522 also supports Wireless LAN Use wireless_essid...

Страница 12: ...are most popular ones 1 ttyS0 serial console port 2 ttyS1 to ttyS2 serial port 1 to port 2 3 sda to sdb USB flash disk 4 ttyUSB0 to ttyUSB1 USB RS 232 adaptor fdti_sio ko 5 rtc Real Time Clock 6 gpio...

Страница 13: ...ternal memory device which plug into Matrix 522 you can use the command dmesg grep sd dmesg grep mmc To find out the device type sda sdb or mmc And use mount dev sda1 mount dev mmc to mount the USB di...

Страница 14: ...Y Year hwclock w To write the date information to RTC User can also use NTP client utility on Artila FTP to adjust the RTC time ntpclient time server ip 3 25 SSH Console Matrix 522 supports SSH If you...

Страница 15: ...ore about ipkg 3 28 SocketCAN Matrix 522 supports SocketCAN which implements a standard network interface for CAN protocols for Linux Unlike other CAN implementation for Linux based on character devic...

Страница 16: ...candump canecho cansend cansequnce User can also use ip command to configure CAN e g ip link set can0 down ip link set can0 type can bitrate 250000 ip link set can0 up ip details link show can0 The bo...

Страница 17: ...directory of PC Under root directory type following command to install the Matrix 522 Toolchain tar xvfj arm linux 4 3 3 tar bz2 The toolchain file name are arm linux gnueabi gcc arm linux gnueabi g...

Страница 18: ...gin with password Use bin command to set transfer mode to binary ftp bin To transfer the execution file to Matrix 522 user disk home guest and use chmod x file o To change it to execution mode and fil...

Страница 19: ...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 setconsole Unlike Matrix 510 which shares the seri...

Страница 20: ...Matrix 522 User Guide 16 4 4 version Find out the version of OS 4 5 gpioctl The gpio can be configured by gpioctl and the usage is as shown followed...

Страница 21: ...Flow Control None Terminal type VT100 Once power up Matrix 522 please repeatedly keying and you will see the loader menu appear as follow If you miss the timing please power on again the Matrix 522 a...

Страница 22: ...ess you can use the Java Manager available on Artila FTP to search the IP address of Matrix 522 Or use serial console port to find out the IP address by ifconfig 6 3 System Fail to Boot If you mess up...

Страница 23: ...FTP Please prepare an USB disk 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 t...

Страница 24: ...es 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 Da...

Страница 25: ...0 6 artila utility v 1 1 handy utility added by Artila You can find more utility on Artila FTP and use ipkg to install the utility 8 2 ipkg Software Package Management Matrix 522 uses ipkg to manage...

Страница 26: ...ware 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 us...

Страница 27: ...ystem system boot process and log management Server Apache and SSH server configuration Network network configuration Hardware RTC setting Others File manager upload and download Remember to use comma...

Отзывы: