MaaXBoard Yocto UserManual V1.1 CN
MaaXBoard Yocto UserManual V1.1 CN
MaaXBoard Yocto UserManual V1.1 CN
(EM-MC-SBC-IMX8M)
Linux
V1.1
MaaXBoard-Linux-Yocto-UM-V1.1
MaaXBoard ( :EM-MC-SBC-IMX8M)
http://www.embest-tech.cn 2
MaaXBoard-Linux-Yocto-UM-V1.1
http://www.embest-tech.cn 3
MaaXBoard-Linux-Yocto-UM-V1.1
....................................................................................................................................................... 3
1 ................................................................................................................................................ 6
1.1 ................................................................................................................................. 6
1.2 ..................................................................................................................................... 7
2 ......................................................................................................................................... 8
2.1 SDCard .................................................................................................................. 8
3 ........................................................................................................................ 10
3.1 USER LED ............................................................................................................................... 10
3.2 Button ....................................................................................................................................... 10
3.3 .......................................................................................................................................... 12
3.3.1 HDMI ............................................................................................................................. 12
3.3.2 MIPI-DSI ................................................................................................................... 12
3.3.3 MIPI-LVDS ................................................................................................................ 13
3.4 TouchScreen ............................................................................................................................ 13
3.5 HDMI Audio .............................................................................................................................. 13
3.6 UART........................................................................................................................................ 13
3.6.1 UART2 ........................................................................................................................... 13
3.7 ............................................................................................................................ 14
3.7.1 IP ............................................................................................................ 14
3.7.2 IP.................................................................................................................... 14
3.8 USB 3.0 ............................................................................................................................ 15
3.8.1 USB Host....................................................................................................................... 15
3.8.2 USB Device ................................................................................................................... 15
3.9 Wi-Fi ......................................................................................................................................... 18
3.9.1 Wi-Fi .............................................................................................................. 18
3.9.2 Wi-Fi .............................................................................................................. 18
3.9.3 Wi-Fi .............................................................................................................. 19
3.10 Bluetooth 4.2 ............................................................................................................................ 19
3.11 Camera..................................................................................................................................... 19
http://www.embest-tech.cn 4
MaaXBoard-Linux-Yocto-UM-V1.1
http://www.embest-tech.cn 5
MaaXBoard-Linux-Yocto-UM-V1.1
1.1
01Doc Description
MaaXBoard-ReleaseNote-Vxx.pdf Release Note
MaaXBoard-UserManual-Vxx.pdf User Manual
MaaXBoard-DevelopmentGuide-Vxx.pdf Development Guide
01LinuxSourceCode Description
linux_4.14.78_xxx.gz Linux kernel source code: 4.14.78 version
u-boot_2018.03._xxx.tar.gz u-boot source code: 2018.03
02LinuxShipmentImage Description
MaaXBoard-LinuxShipmentImage-Yocto-Vxxx.img Yocto image with firmware, SD Card Image
03LinuxTools Description
gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz Gcc compiler for u-boot, kernel and applications
xxx Other tools
http://www.embest-tech.cn 6
MaaXBoard-Linux-Yocto-UM-V1.1
1.2
Desktop
Micro SD boot
HDMI display
MIPI-LVDS Display
MIPI-DSI Display
MIPI camera
http://www.embest-tech.cn 7
MaaXBoard-Linux-Yocto-UM-V1.1
MaaXBoard SDCard 4
QSG
2.1 SDCard
PC PUTTY 115200 8 1
http://www.embest-tech.cn 8
MaaXBoard-Linux-Yocto-UM-V1.1
root
demo
demo.
http://www.embest-tech.cn 9
MaaXBoard-Linux-Yocto-UM-V1.1
, MaaXBoard
LED:
LED:
3.2 Button
root@imx8mqevk:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: 30370000.snvs:snvs-powerkey
/dev/input/event1: UVC Camera (046d:0825)
/dev/input/event2: Logitech USB Optical Mouse
/dev/input/event3: SIGMACH1P USB Keykoard
/dev/input/event4: SIGMACH1P USB Keykoard
/dev/input/event5: gpio_keys
/dev/input/event6: bd718xx-pwrkey
Select the device event number [0-6]: 5
Input driver version is 1.0.1
http://www.embest-tech.cn 10
MaaXBoard-Linux-Yocto-UM-V1.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio_keys"
Supported events:
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 1551666241.347922, type 1 (EV_KEY), code 412 (KEY_PREVIOUS), value 1
Event: time 1551666241.347922, -------------- SYN_REPORT ------------
Event: time 1551666241.575856, type 1 (EV_KEY), code 412 (KEY_PREVIOUS), value 0
Event: time 1551666241.575856, -------------- SYN_REPORT ------------
Event: time 1551666246.259856, type 1 (EV_KEY), code 102 (KEY_HOME), value 1
Event: time 1551666246.259856, -------------- SYN_REPORT ------------
Event: time 1551666246.491858, type 1 (EV_KEY), code 102 (KEY_HOME), value 0
Event: time 1551666246.491858, -------------- SYN_REPORT ------------
2. PWR 8s 1s
PWR
Ctrl+C
http://www.embest-tech.cn 11
MaaXBoard-Linux-Yocto-UM-V1.1
3.3
MaaXBoard HDMI
MIPI-DSI J16
MIPI-LVDS J16
uEnv.txt fdt_file
3.3.1 HDMI
HDMI fdt_file
fdt_file=em-sbc-imx8m.dtb
HDMI 4K
3.3.2 MIPI-DSI
MIPI-DSI fdt_file
fdt_file=em-sbc-imx8m-dcss-dsi.dtb
MIPI-DSI 0~10
http://www.embest-tech.cn 12
MaaXBoard-Linux-Yocto-UM-V1.1
3.3.3 MIPI-LVDS
MIPI-LVDS fdt_file
fdt_file=em-sbc-imx8m-dcss-lvds.dtb
MIPI-LVDS 0~10
3.4 TouchScreen
MIPI-DSI MIPI-LVDS
root@imx8mqevk:~# ts_calibrate
+ 5
HDMI
3.6 UART
MaaXBoard 2 UART
MaaXBoard CPU
3.6.1 UART2
UART2 /dev/ttymxc2
uart_test
http://www.embest-tech.cn 13
MaaXBoard-Linux-Yocto-UM-V1.1
J10 16 18 pin
RECV
Ctrl+C
3.7
J13 IP IP
3.7.1 IP
MaaXBoard ip ifconfig IP
3.7.2 IP
MaaXBoard IP
IP
http://www.embest-tech.cn 14
MaaXBoard-Linux-Yocto-UM-V1.1
U USB0 USB1 :
[ 541.484723] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 541.548910] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 541.558886] scsi host0: usb-storage 2-1:1.0
[ 542.593679] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PQ: 0 ANSI: 6
[ 542.604306] sd 0:0:0:0: [sda] 30218842 512-byte logical blocks: (15.5 GB/14.4 GiB)
[ 542.612602] sd 0:0:0:0: [sda] Write Protect is off
[ 542.618045] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO
or FUA
[ 542.632439] sda: sda1
[ 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.
root@imx8mqevk:~# ls /dev/sd*
/dev/sda /dev/sda1
USB
3.8.2.1
USB0 PC uuu
MaaXBoard EMMC
http://www.embest-tech.cn 15
MaaXBoard-Linux-Yocto-UM-V1.1
3.8.2.2 USB
fdt_file=em-sbc-imx8m-usb0-device.dtb
HDMI
Window 7
2) USB OTG IP IP IP
IP PC IP
3) PC
http://www.embest-tech.cn 16
MaaXBoard-Linux-Yocto-UM-V1.1
4) Internet 4 TCP/IPv4
IP USB OTG
5)
http://www.embest-tech.cn 17
MaaXBoard-Linux-Yocto-UM-V1.1
3.9 Wi-Fi
Wi-Fi 2.4G/5G
3.9.1 Wi-Fi
Wi-Fi
ping wifi
3.9.2 Wi-Fi
Wi-Fi
root@imx8mqevk:~# ./wifi_stop.sh
Terminating DHCP
3907
Terminating hostapd
Terminating wpa_supplicant
root 3887 1 0 09:25 ? 00:00:00 wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D nl80211
sending signal 15 to procs
wlan0 has been disconnected on STA mode and AP mode !
http://www.embest-tech.cn 18
MaaXBoard-Linux-Yocto-UM-V1.1
3.9.3 Wi-Fi
J13 Wi-Fi
root@imx8mqevk:~# ./wifi_ap_start.sh
Configuration file: /etc/hostapd_mx8.conf
rfkill: Cannot open RFKILL control device
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr 80:c5:f2:7f:6e:cd and ssid "wifi_testAP"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
vi /etc/hostapd_mx8.conf
./wifi_stop.sh
root@imx8mqevk:~# ./bluetooth_start.sh
3.11 Camera
Camera MaaXBoard
root@imx8mqevk:~# ./Camera
http://www.embest-tech.cn 19
MaaXBoard-Linux-Yocto-UM-V1.1
Camera
Camera Camera
http://www.embest-tech.cn 20
MaaXBoard-Linux-Yocto-UM-V1.1
YUVPlayer
http://www.embest-tech.cn 21
MaaXBoard-Linux-Yocto-UM-V1.1
Camera
$HOME/images/
Ctrl+C X
TBD
3.13
Yocto /run/media/
root@imx8mqevk:~# ls /run/media/
mmcblk0p1 sda1
mmcblk0p1 SD sda1 U
http://www.embest-tech.cn 22
MaaXBoard-Linux-Yocto-UM-V1.1
3.14
MaaXBoard Wayland
Terminal
3.15 QT&GPU
GPU /opt/ :
root@imx8mqevk:~# /usr/share/qt5/examples/gui/openglwindow/openglwindow
root@imx8mqevk:~# /opt/imx-gpu-sdk/GLES3/Skybox/Skybox_Wayland
root@imx8mqevk:~# /opt/imx-gpu-sdk/OpenVG/Example3/Example3_Wayland
root@imx8mqevk:~# /opt/viv_samples/tiger/tiger
Ctrl+C
http://www.embest-tech.cn 23
MaaXBoard-Linux-Yocto-UM-V1.1
3.16
Yocto MP4 4K
http://www.embest-tech.cn 24
MaaXBoard-Linux-Yocto-UM-V1.1
4 Demo Application
demo demo
HDMI MIPI-LVDS
Demo
Wayland Terminal
QtFM
Chromium
WiFi_Config
Camera
Video
3D Example
QT Examples
http://www.embest-tech.cn 25
MaaXBoard-Linux-Yocto-UM-V1.1
http://www.embest-tech.cn 26
MaaXBoard-Linux-Yocto-UM-V1.1
4.2 QtFM
QT
http://www.embest-tech.cn 27
MaaXBoard-Linux-Yocto-UM-V1.1
4.3 Chromium
http://www.embest-tech.cn 28
MaaXBoard-Linux-Yocto-UM-V1.1
4.4 WiFi_Config
http://www.embest-tech.cn 29
MaaXBoard-Linux-Yocto-UM-V1.1
4.5 Camera
Camera
http://www.embest-tech.cn 30
MaaXBoard-Linux-Yocto-UM-V1.1
4.6 Video
http://www.embest-tech.cn 31
MaaXBoard-Linux-Yocto-UM-V1.1
http://www.embest-tech.cn 32
MaaXBoard-Linux-Yocto-UM-V1.1
4.7 3D Example
3D Example 8 3D Esc
Esc
http://www.embest-tech.cn 33
MaaXBoard-Linux-Yocto-UM-V1.1
4.8 QT Examples
QT Examples 4 QT
http://www.embest-tech.cn 34
MaaXBoard-Linux-Yocto-UM-V1.1
5.1 Windows SD
1. 8G SD
2. https://sourceforge.net/projects/win32diskimager/ Win32 Disk Imager PC
3. MaaXBoard-LinuxShipmentImage-Yocto-V1.0.6r07.img
4. Write
http://www.embest-tech.cn 35
MaaXBoard-Linux-Yocto-UM-V1.1
5.2 Linux SD
MaaXBoard-LinuxShipmentImage-Yocto-V1.0.6r07.img
1. bmap-tools
2. SD sdc
$ ls /dev/sd*
/dev/sda /dev/sda2 /dev/sdb /dev/sdb2 /dev/sdc /dev/sdc2
/dev/sda1 /dev/sda5 /dev/sdb1 /dev/sdb5 /dev/sdc1
3. SD
4.
5.3 EMMC
http://www.embest-tech.cn 36
MaaXBoard-Linux-Yocto-UM-V1.1
6.1
MaaXBoard
http://www.embest-tech.cn 37
MaaXBoard-Linux-Yocto-UM-V1.1
7.1
7.2
12
http://www.embest-tech.cn 38
MaaXBoard-Linux-Yocto-UM-V1.1
( )
http://www.embest-tech.cn 39
MaaXBoard-Linux-Yocto-UM-V1.1
+86-755-33190846/33190847/33190848
support@embest-tech.com
chinasales@embest-tech.com
+86-755-25616057
http://www.embest-tech.cn
4093 4 B
http://www.embest-tech.cn 40