Avnet MaaXBoard AES-MC-SBC-IMX8M-G User Manual
Hide thumbs Also See for MaaXBoard AES-MC-SBC-IMX8M-G:

Advertisement

Quick Links

MaaXBoard
(AES-MC-SBC-IMX8M-G)
Debian Linux User Manual
V1.2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MaaXBoard AES-MC-SBC-IMX8M-G and is the answer not in the manual?

Questions and answers

Summary of Contents for Avnet MaaXBoard AES-MC-SBC-IMX8M-G

  • Page 1 MaaXBoard (AES-MC-SBC-IMX8M-G) Debian Linux User Manual V1.2...
  • Page 2 The MaaXBoard single board computer (part number: AES-MC-SBC-IMX8M) and its related intellectual property are owned by Avnet Manufacturing Services. Avnet Manufacturing Services has the copyright of this document and reserves all rights. Any part of the document should not be modified, distributed or duplicated in any approach and form without the written permission issued by Avnet Manufacturing Services.
  • Page 3: Revision History

    MaaXBoard-Linux-Debian-UM-V1.2 Revision History Rev. Description Author Date V1.0 Initial version Sandy 20190301 Add MIPI displayer, USB Device and V1.1 Demo Sandy 20190705 Modify Wi-Fi and Camera operation Add Bluetooth Audio V1.2 Sandy 20200119 Add Debian Weston system http://www.avnet.me/maaxboard...
  • Page 4: Table Of Contents

    Shut down CAN ......................22 4.8.1 Manage Ethernet connection ..................41 4.8.2 Manage Wi-Fi Connection ................... 43 4.9.1 Search and Connect Device ..................46 4.9.2 Transmit and Receive Files ..................48 4.9.3 Connect Bluetooth Audio ..................... 49 4.9.4 Other Configuration ..................... 51 http://www.avnet.me/maaxboard...
  • Page 5 1 Gigabit Ethernet (RJ45) 2 USB 3.0 can work in host & device mode 2 UART (TTL) include debug port External interfaces(I2C, UART,SPI ,SAI and GPIO) WIFI & BLE 4.2 LVDS display MIPI-DSI display MIPI camera Dual display (TBD) http://www.avnet.me/maaxboard...
  • Page 6 115200, data bits as 8, stop bits as 1, parity as none. Connect the debug interface to PC with USB to TTL converter. Pin 6, 8 and 10 of J10 to the GND, RXD and TXD pin of the USB to TTL converter. http://www.avnet.me/maaxboard...
  • Page 7 When the system boot up, the serial terminal will print the following information: Enter username as “root” to login. Enter password as “avnet” to login After the boot, screen will show the desktop environment. Connect a HDMI monitor up to your MaaXBoard.
  • Page 8 MaaXBoard-Linux-Debian-UM-V1.2 http://www.avnet.me/maaxboard...
  • Page 9 Light out LED: root@maaxboard:~# echo 0 | tee /sys/class/leds/usr_led/brightness root@maaxboard:~# echo 0 | tee /sys/class/leds/sys_led/brightness Light up LED: root@maaxboard:~# echo 1 | tee /sys/class/leds/usr_led/brightness root@maaxboard:~# echo 1 | tee /sys/class/leds/sys_led/brightness 3.3 Button MaaXBoard supports 3 buttons: S3-BACK, S4-HOME and S2-PWR. http://www.avnet.me/maaxboard...
  • Page 10 Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 102 (KEY_HOME) Event code 412 (KEY_PREVIOUS) Properties: Testing ... (interrupt to exit) Event: time 1571363047.449332, type 1 (EV_KEY), code 102 (KEY_HOME), value 1 Event: time 1571363047.449332, -------------- SYN_REPORT ------------ http://www.avnet.me/maaxboard...
  • Page 11: Hdmi

    MIPI-DSI supports backlight brightness adjustment. The backlight brightness has a range from 0 to 255, in which 10 means highest brightness, 0 means lowest. Execute the following instructions on the serial terminal to implement the backlight test: root@maaxboard:~# echo 7 > /sys/class/backlight/backlight/brightness http://www.avnet.me/maaxboard...
  • Page 12: Lvds Screen

    -l **** List of PLAYBACK Hardware Devices **** card 0: imxaudiohdmi [imx-audio-hdmi], device 0: imx8 hdmi i2s-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Device [USB Audio Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 http://www.avnet.me/maaxboard...
  • Page 13: Bluetooth Audio

    In the Yocto system, the node for UART2 is /dev/ttymxc1. The system image provides a test application, uart_test, which could be used for a loop back test. Short connect the pin 16 and 18 in J10, then enter the following instructions in serial terminal: http://www.avnet.me/maaxboard...
  • Page 14 MaaXBoard-Linux-Debian-UM-V1.2 root@maaxboard:~# ./uart_test -d /dev/ttymxc1 -b 115200 /dev/ttymxc1 RECV 10 total /dev/ttymxc1 RECV: 1234567890 The result of RECV as above, means test passed. Note: Press “CTRL+C” to exit the test. http://www.avnet.me/maaxboard...
  • Page 15: Network Test

    If you need to set a static IP, use nano command to modify /etc/network/interfaces, add following info in The primary network interface segment. auto eth0 iface eth0 inet static address 192.168.1.139 gateway 192.168.1.1 netmask 255.255.255.0 Execute sync after the modification, then reboot the system to make it effect. http://www.avnet.me/maaxboard...
  • Page 16: Configure Ip Via Gui

    [ 542.636616] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 542.817343] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. Execute the following instructions on the serial terminal: root@maaxboard:~# ls /dev/sd* /dev/sda /dev/sda1 root@maaxboard:~# ls /run/media/ sda1 http://www.avnet.me/maaxboard...
  • Page 17: Usb Device

    192.168.1.115 root@maaxboard:~# ifconfig usb0 The terminal window will print information as shown below usb0 Link encap:Ethernet HWaddr 92:a9:b6:be:8b:3f inet addr:192.168.1.115 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::90a9:b6ff:febe:8b3f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 http://www.avnet.me/maaxboard...
  • Page 18 PING 192.168.1.15 (192.168.1.15) 56(84) bytes of data. 64 bytes from 192.168.1.15: icmp_seq=1 ttl=64 time=0.865 ms 64 bytes from 192.168.1.15: icmp_seq=2 ttl=64 time=0.464 ms 64 bytes from 192.168.1.15: icmp_seq=3 ttl=64 time=0.259 ms The information shown above indicates the network connection is working properly. http://www.avnet.me/maaxboard...
  • Page 19: Connect And Disconnect Wi-Fi Connection

    Infra 6 270 Mbit/s 67 ▂▄▆_ WPA1 WPA2 Test Wi-Fi network with ping command: root@maaxboard:~# ping www.avnet.com -I wlan0 PING www.a.shifen.com (103.235.46.39) 56(84) bytes of data. 64 bytes from 103.235.46.39: icmp_seq=1 ttl=50 time=122 ms 3.10.1 Connect and Disconnect Wi-Fi Connection...
  • Page 20: Delete Wi-Fi Connection

    Execute the following instructions on the serial terminal: root@maaxboard:~# hciattach /dev/ttymxc3 bcm43xx 115200 bcm43xx_init Cannot open directory '/etc/firmware': No such file or directory Patch not found, continue anyway Set Controller UART speed to 115200 bit/s Device setup complete root@maaxboard:~# hciconfig hci0 up http://www.avnet.me/maaxboard...
  • Page 21: Scan The Bluetooth Device

    Open CAN0: root@maaxboard:~# ip link set can0 up Note: bitrate range is 2000~100000. 3.12.3 CAN Transmit and Receive Connect the CAN module to another CAN device, set the same bitrate of 2 modules, then open CAN. Set CAN0 as receiver: http://www.avnet.me/maaxboard...
  • Page 22: Shut Down Can

    Debian file system integrates GPU application, use gputop command to check GPU driver and info. root@maaxboard:~#gputop Clients attached to GPU | 0 / 6 (sample_mode: TIME - 1.0 secs) Galcore version:6.2.4.163672, gpuperfcnt:e3c7de622a66, 1.4 3D:GC7000,Rev:6214 Core: 800 MHz, Shader: 800 MHz 3D Cores:1,2D Cores:0,VG Cores:0 DDR0: r:97.21,w:0.07 DDR1: http://www.avnet.me/maaxboard...
  • Page 23 Open VG. It also provides several test programs. GPU test program saved in path /opt/, users can execute them in serial terminal, e.g.: root@maaxboard:~# /opt/qt_samples/gui/analogclock/analogclock root@maaxboard:~# /opt/imx-gpu-sdk/GLES3/Skybox/Skybox_Wayland root@maaxboard:~# /opt/imx-gpu-sdk/OpenVG/Example3/Example3_Wayland root@maaxboard:~# /opt/viv_samples/tiger/tiger Note: Press “CTRL+C” to exit the test. 3.17 GPIO (40 Pin Sense Hat) (TBD) http://www.avnet.me/maaxboard...
  • Page 24 MaaXBoard-Linux-Debian-UM-V1.2 Chapter 4 Weston Desktop Environment Connect displayer to MaaXBoard, Weston Desktop Environment will run automatically after system boot. Users could connect keyboard and mouse to operate. Here we use MIPI-DSI screen as example to introduce it. http://www.avnet.me/maaxboard...
  • Page 25 Icon Application Usage Application Name Terminal Tool GNOME Terminal File Manager Files Management Internet Explorer Chromium Video Player Totem Movie Player Text Editor Gedit Text Editor Camera Camera Network Manager Network Connections Bluetooth Manager Blueman-manager http://www.avnet.me/maaxboard...
  • Page 26 Terminal application supports multiple windows, and adjusts the window size; click the x to close the application. To learn more about the usage of the Terminal, open a Help -> Content to view the Help documents. http://www.avnet.me/maaxboard...
  • Page 27 The path to be open by default is /root, if you need to go to other directory, open root directory “/” first. Click Other Locations -> Computer, then open other path from here. File manager supports multiple windows, and adjust the window size, click the x to close the application. http://www.avnet.me/maaxboard...
  • Page 28 MaaXBoard-Linux-Debian-UM-V1.2 http://www.avnet.me/maaxboard...
  • Page 29 MaaXBoard-Linux-Debian-UM-V1.2 4.4 Chromium Explorer Users could explore the internet with this application. Chromium support full screen, click the x to close the application. Open Chromium, enter website address in address bar to view the internet pages. http://www.avnet.me/maaxboard...
  • Page 30 4.5 Movie Player Totem Movie Player support play video file in several format, the largest support resolution is 4K (use with 4K HDMI Displayer). 1. Open Totem, click + button, choose “Add Local Video” to add files to playlist. http://www.avnet.me/maaxboard...
  • Page 31 3. When playing the video files, users could full screen view, pause/resume a movie / song, change the audio volume, etc. 4. Click < button to back to playlist, click √ button or right click the file to select the file and delete form http://www.avnet.me/maaxboard...
  • Page 32 MaaXBoard-Linux-Debian-UM-V1.2 the playlist. 5. Click this button to open the menu, set Preferences, keyboard shortcuts, view help document or exit the application. http://www.avnet.me/maaxboard...
  • Page 33 MaaXBoard-Linux-Debian-UM-V1.2 6. If connected to internet, users could open Channels and play online video. 7. In file manager, double click the video / audio file, system will use Totem to play it. http://www.avnet.me/maaxboard...
  • Page 34 8. To learn more about Totem, open Totem Movie Player Manual. 4.6 Text Editor Gedit is a GUI text editor, support edit text file such as txt, shell script, etc. 1. Open Gedit, it will new a Untitled Document. http://www.avnet.me/maaxboard...
  • Page 35 MaaXBoard-Linux-Debian-UM-V1.2 2. Click “Open -> Other Documents” to open exist text file to edit. http://www.avnet.me/maaxboard...
  • Page 36 MaaXBoard-Linux-Debian-UM-V1.2 3. Click “+” to create new file. 4. Click this button to use more function. http://www.avnet.me/maaxboard...
  • Page 37 MaaXBoard-Linux-Debian-UM-V1.2 5. To learn more, click Help to view the gedit help guide. http://www.avnet.me/maaxboard...
  • Page 38 MaaXBoard, make sure the desktop environment is start up. 1. Open Camera application, system will detect the Camera connected or Camera interface. Choose uvcvideo when you use the USB camera, choose mx6s-csi when you use MIPI-CSI camera. Click Reload button to refresh. http://www.avnet.me/maaxboard...
  • Page 39 3. Click Capture button to take a photo and show the thumbnail in the right side of the window. Click Video, it will record yuv video file in yuyv format, users could copy it to PC to check with YUVplayer. The photo and video files will be saved in /root/Pictures. http://www.avnet.me/maaxboard...
  • Page 40 MaaXBoard-Linux-Debian-UM-V1.2 4. Click the thumbnail to close the camera preview and show the whole image in current window. Camera application supports adjust the window size, click the x to close the application. http://www.avnet.me/maaxboard...
  • Page 41: Manage Ethernet Connection

    Network manager could be used to manage the Ethernet and Wi-Fi connection: 4.8.1 Manage Ethernet connection The default Ethernet connection is Wired connection 1, choose this connection, then click setting button to edit. In Ethernet page, users could check MAC address, Speed, Duplex mode, etc. Click “Save” button to http://www.avnet.me/maaxboard...
  • Page 42 MaaXBoard-Linux-Debian-UM-V1.2 save the modification. In IPv4/IPv6 Settings page, users could change IP address, DNS servers, etc. Click “Save” button to save the modification. http://www.avnet.me/maaxboard...
  • Page 43: Manage Wi-Fi Connection

    4.8.2 Manage Wi-Fi Connection 1. Wi-Fi connection need to be adding manually, click + button, then select Wi-Fi in the pop-up window. 2. In Wi-Fi Page, enter the SSID for the Wi-Fi network, and choose work mode, band and device to http://www.avnet.me/maaxboard...
  • Page 44 If we connect Wi-Fi with exist Wi-Fi connection, choose Client in Mode, Automatic in Band. If we set a new Wi-Fi Hotspot, choose Hotspot in Mode, 2.4GHz or 5GHz in Band, and modify the channel parameter if necessary. http://www.avnet.me/maaxboard...
  • Page 45 MaaXBoard-Linux-Debian-UM-V1.2 3. In Wi-Fi Security page, choose the Wi-Fi security method and enter password. 4. In IPv4/IPv6 Settings page, change IP address, DNS servers, etc. Click “Save” button to save the modification. http://www.avnet.me/maaxboard...
  • Page 46: Search And Connect Device

    4.9.1 Search and Connect Device 1. Click Search button to search for available Bluetooth device. 2. Select the device to connect, then click Pair button in Right click menu, Device menu or Quick menu bar to pair the device. http://www.avnet.me/maaxboard...
  • Page 47 MaaXBoard-Linux-Debian-UM-V1.2 3. Sometimes the device will ask the system to confirm pairing request. 4. To cancel the pair, select the device, then click Remove button in Right click menu, Device menu or Quick menu bar to pair the device. http://www.avnet.me/maaxboard...
  • Page 48: Transmit And Receive Files

    MaaXBoard-Linux-Debian-UM-V1.2 4.9.2 Transmit and Receive Files 1. Pair with a Bluetooth device, such as smart phone, then click “Send File” button. 2. Choose the file in pop-up window. http://www.avnet.me/maaxboard...
  • Page 49: Connect Bluetooth Audio

    4. Select the inform window, press “Esc” button on keyboard to close it. 4.9.3 Connect Bluetooth Audio MaaXBoard supports connect the Bluetooth audio device, such as Bluetooth headset, to play video or audio files. Pair the device at first, then choose “Connect to: Audio Sink” in Right click menu, or Device http://www.avnet.me/maaxboard...
  • Page 50 MaaXBoard-Linux-Debian-UM-V1.2 menu. Users could also click Setup button, follow the guide to configure the Bluetooth connection. http://www.avnet.me/maaxboard...
  • Page 51: Other Configuration

    MaaXBoard-Linux-Debian-UM-V1.2 4.9.4 Other Configuration 1. In Adapter -> preferences, user can modify the device name of the Bluetooth adapter. 2. In View -> Local Services, user can change the incoming folder for received files, etc. http://www.avnet.me/maaxboard...
  • Page 52 4.10 Image Viewer In file manager, double click the image file, system will use Image Viewer to show the picture on the screen. In Image Viewer, users could full screen to view the picture, zoom, rotate, check picture properties, etc. http://www.avnet.me/maaxboard...
  • Page 53 MaaXBoard-Linux-Debian-UM-V1.2 To learn more, open the help content by click the thumbnail in the menu bar: http://www.avnet.me/maaxboard...
  • Page 54 1. Firstly, you should prepare a SD card, which is no less than 8GB. 2. Then, download and install “Win32 Disk Imager” from: https://sourceforge.net/projects/win32diskimager/. 3. Select the system images file: eg:MaaXBoard-Debian-Image-SDcard-V1.1.1r10.img 4. Click “Write” button to burn the images: http://www.avnet.me/maaxboard...
  • Page 55 USB0 (The lower one in USB interface HUB1) support burning mode. Connect USB0 and PC before power on the board. The system will enter burning mode. Then users could burn the system image to the development board using uuu tools. For the detail information, refer to MaaXBoard EMMC burning Guide. http://www.avnet.me/maaxboard...
  • Page 56 MaaXBoard-Linux-Debian-UM-V1.2 Chapter 6 Appendix 6.1 Hardware For the detail hardware introduction, please refer to MaaXBoard Hardware user manual. http://www.avnet.me/maaxboard...

Table of Contents