background image

 

MaaXBoard-Nano-Linux-Yocto-Lite-UM-V1.0 

http://www.embest-tech.com 

36 

water, animals or foreign materials; 

  Products malfunction caused by disassembly or alter of components by customers or, 

products disassembled or repaired by persons or organizations unauthorized by Avnet 

Manufacturing Services, or altered in factory specifications, or configured or expanded with 

the components that are not provided or recognized by Avnet Manufacturing Services and the 

resulted damage in appearance or function; 

  Product failures caused by the software or system installed by customers or inappropriate 

settings of software or computer viruses; 

  Products purchased from unauthorized sales; 

  Warranty (including verbal and written) that is not made by Avnet Manufacturing Services and 

not included in the scope of our warranty should be fulfilled by the party who committed. Avnet 

Manufacturing Services has no any responsibility. 

  Within the period of warranty, the freight for sending products from customers to Avnet Manufacturing 

Services should be paid by customers; the freight from Avnet Manufacturing Services to customers 

should  be  paid  by  us.  The  freight  in  any  direction  occurs  after  warranty  period  should  be  paid  by 

customers; 

  Please contact technical support if there is any repair request. 

 

Avnet Manufacturing Services will not take any responsibility on the products sent back 

without the permission of the company. 

Summary of Contents for MaaXBoard Nano

Page 1: ...MaaXBoard Nano Yocto Lite User Manual V1 0 ...

Page 2: ...document should not be modified distributed or duplicated in any approach and form without the written permission issued by Avnet Manufacturing Services Disclaimer Avnet Manufacturing Services does not take warranty of any kind either expressed or implied as to the program source code software and documents provided along with the products and including but not limited to warranties of fitness for...

Page 3: ...MaaXBoard Nano Linux Yocto Lite UM V1 0 http www embest tech com 3 Revision History Rev Description Author Date V1 0 Initial version Sandy 20201028 ...

Page 4: ...2 3 Login system 11 2 3 1 Login Directly 11 2 3 2 Login from Debug Serial 11 2 3 3 Login from SSH 12 Chapter 3 Feature Configuration Introduction 16 3 1 USER LED 16 3 2 Button 16 3 3 Displayer 18 3 3 1 MIPI DSI Screen 18 3 4 Touchscreen 18 3 5 Audio 20 3 5 1 Check Device ID 20 3 5 2 Record Audio 21 3 5 3 Play Audio File 22 3 6 Video 23 3 7 Camera 23 3 7 1 Check Device ID 23 3 7 2 Preview 23 3 7 3 ...

Page 5: ...3 11 Wi Fi 26 3 11 1 Enable Wi Fi 26 3 11 2 Connect Wi Fi 26 3 11 3 Auto Connect Wi Fi 28 3 12 Bluetooth 4 2 28 3 12 1 Connect Bluetooth Device 28 3 12 2 Send Files 29 3 13 UART 30 3 13 1 UART 4 30 3 14 Control 40 Pin Interface 30 3 14 1 GPIO 30 Chapter 4 Burn or update the system Image 32 4 1 Burn the System Image to SD Card under Windows OS 32 4 2 Burn the System Image to SD Card under Linux OS ...

Page 6: ...x Yocto Lite UM V1 0 http www embest tech com 6 5 2 Software 34 5 3 Verified Device List 34 Chapter 6 Technical Support and Warranty 35 6 1 Technical Support 35 6 2 Warranty Conditions 35 Chapter 7 Contact Information 37 ...

Page 7: ...te 01LinuxSourceCode MaaXBoard Nano LinuxSourceCode Yocto Lite Vxx rar 02LinuxShipmentImage MaaXBoard Nano LinuxShipmentImage Yocto Lite Vxx rar 03LinuxTools MaaXBoard Nano LinuxTools Vxx rar 01Doc Description MaaXBoard Nano Linux Yocto Lite ReleaseNote Vxx pdf Release Note MaaXBoard Nano Linux Yocto Lite UserManual Vxx pdf User Manual MaaXBoard Nano Linux Yocto Lite DevelopmentGuide Vxx pdf Devel...

Page 8: ...rsion imx 5 4 24 2 1 0 U Boot version 2020 04 Kernel version 5 4 24 Evaluation image Yocto Lite Image Development based on NXP i MX 8M Nano Micro SD boot eMMC boot 1 Gigabit Ethernet RJ45 4 x USB 2 0 Host 2 UART TTL include debug port External interfaces I2C UART SPI and GPIO WIFI BLE 4 2 MIPI DSI display MIPI camera USB Camera ...

Page 9: ...ial Communication software e g PuTTY select the corresponding port number baudrate as 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 J1 to the GND RXD and TXD pin of the USB to TTL converter Disconnect Boot Select Pin J3 Powered the board with a 5V 2A Type C interface power to J10 When the system boot up the serial ...

Page 10: ...t keyboard and mouse to MaaXBoard Nano to login Yocto system 2 2 Boot from SD Card The boot process is almost the same with boot from SD card but you need to execute the following 2 operations before power on the board Insert the SD card into the card slot J10 Short Connect Boot Select Pin J3 ...

Page 11: ...oot up it will run the Weston Wayland Desktop Environment directly click Wayland Terminal to operate the board 2 3 2 Login from Debug Serial Install the Serial Communication software e g PUTTY select the corresponding port number baudrate as 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 J1 to the GND RXD and TXD pi...

Page 12: ...dr 192 168 2 108 Bcast 192 168 2 255 Mask 255 255 255 0 inet6 addr fe80 b2f3 a13d a557 4c18 64 Scope Link inet6 addr fe80 487 b9ff fed0 fcf5 64 Scope Link UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 46 errors 0 dropped 0 overruns 0 frame 0 TX packets 54 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 5944 5 8 KiB TX bytes 9217 9 0 KiB 2 3 3 2 Login Com...

Page 13: ...ing command and password Copy file from computer to MaaXBoard embest compiler scp test txt root 192 168 2 108 root 1 txt Copy file from MaaXBoard to computer embest compiler scp root 192 168 2 108 root 1 txt 1 txt 2 3 3 3 PuTTY PuTTY support SSH setting method as follows 1 Run PUTTY in Connection SSH Kex change the sequence of algorithm ...

Page 14: ...d Nano Linux Yocto Lite UM V1 0 http www embest tech com 14 2 In Session enter IP address e g 192 168 2 108 port 22 and Connection type SSH then click Open 3 In the first connection click Y in the popout window ...

Page 15: ...MaaXBoard Nano Linux Yocto Lite UM V1 0 http www embest tech com 15 4 Enter username as root password as avnet to login enter exit to logout ...

Page 16: ...class leds sys_led brightness Light up LED root maaxboard nano echo 1 tee sys class leds usr_led brightness root maaxboard nano echo 1 tee sys class leds sys_led brightness 3 2 Button MaaXBoard Nano support 3 button USR_KEY and PWR 1 Test USR_KEY button with following instructions Enter evtest command then choose the event id for gpio_keys root maaxboard nano evtest No device specified trying to s...

Page 17: ...nano evtest No device specified trying to scan all of dev input event Available devices dev input event0 30370000 snvs snvs powerkey dev input event1 gpio_keys dev input event2 bd718xx pwrkey Select the device event number 0 2 0 Input driver version is 1 0 1 Input device ID bus 0x19 vendor 0x0 product 0x0 version 0x0 Input device name 30370000 snvs snvs powerkey Supported events Event type 0 EV_SY...

Page 18: ...ct root maaxboard nano mkdir mount root maaxboard nano mount dev mmcblk1p1 mount root maaxboard nano nano mount uEnv txt 3 3 1 MIPI DSI Screen Choose MIPI DSI screen the fdt_file value should be fdt_file maaxboard nano mipi dtb MIPI DSI supports backlight brightness adjustment The backlight brightness has a range from 0 to 9 in which 9 means highest brightness 0 means lowest Execute the following ...

Page 19: ...n 0 Max 255 Event code 53 ABS_MT_POSITION_X Value 0 Min 0 Max 720 Event code 54 ABS_MT_POSITION_Y Value 0 Min 0 Max 1280 Event code 57 ABS_MT_TRACKING_ID Value 0 Min 0 Max 65535 Event code 58 ABS_MT_PRESSURE Value 0 Min 0 Max 255 Properties Property type 1 INPUT_PROP_DIRECT Testing interrupt to exit Event time 1597392253 449259 type 3 EV_ABS code 57 ABS_MT_TRACKING_ID value 19 Event time 159739225...

Page 20: ...ord you need to check the device id The on board audio output interface on board MIC and USB audio device could use arecord l and aplay l to check the device ID In default you will see the following device root maaxboard nano arecord l List of CAPTURE Hardware Devices card 1 imxaudiomicfil imx audio micfil device 0 micfil hifi snd soc dummy dai 0 Subdevices 1 1 Subdevice 0 subdevice 0 root maaxboa...

Page 21: ... could use command aplay L to check the audio device root maaxboard nano aplay L null Discard all samples playback or generate zero samples capture pulse PulseAudio Sound Server sysdefault CARD cs4344audio cs4344 audio Default Audio Device Currently we only support part of Bluetooth audio device 3 5 2 Record Audio Use the following command to record audio to file audio wav root maaxboard nano arec...

Page 22: ... down Left Right button to adjust the volume of different channel press Esc button to exit 3 5 3 Play Audio File root maaxboard nano aplay audio_sample wav root maaxboard nano gst play 1 0 audio_sample wav root maaxboard nano mpg123 audio_sample mp3 The aplay command support audio file in wav format gst play command support wav mp3 and aac format while the mpg123 command support mp3 format When us...

Page 23: ...ls dev video dev video0 dev video1 In default MIPI CSI camera is dev video0 USB Camera is dev video1 The device ID will be used in following command 3 7 2 Preview Use the following instruction to open Camera and preview the video on the screen root maaxboard nano gst launch 1 0 v4l2src device dev video0 autovideosink Note Press Ctrl C to exit change dev video0 to your device ID 3 7 3 Take Photo Us...

Page 24: ...ddress are example replace it with your real network environment 3 8 1 Network Test After connecting the network cable it will automatically obtain the IP by default You can use the ifconfig command to view the IP information and use the following command to perform the network test root maaxboard nano ifconfig eth0 eth0 Link encap Ethernet HWaddr 06 87 b9 d0 fc f5 inet addr 192 168 2 108 Bcast 19...

Page 25: ...t Execute sync after the modification then reboot the system to make it effect 3 9 Storage MaaXBoard support on board eMMC Flash SD Card interface it could boot from SD Card or eMMC 3 9 1 SD Card The storage node for SD Card is dev mmcblk1 To boot from SD Card short connect Boot Select Pin J3 before power on the board 3 9 2 eMMC The size of on board eMMC is 16GB The storage node for eMMC is dev mm...

Page 26: ... cache disabled read cache enabled doesn t support DPO or FUA 109 249451 sda sda1 109 256908 sd 0 0 0 0 sda Attached SCSI removable disk Execute the following instructions on the serial terminal root maaxboard nano ls dev sd dev sda dev sda1 The storage node for U disk is dev sda1 uses could mount the storage device to the file system to read and write data MaaXBoard Nano also supports other USB d...

Page 27: ...b s Extra Beacon interval 222 IE IEEE 802 11i WPA2 Version 1 Group Cipher TKIP Pairwise Ciphers 2 CCMP TKIP Authentication Suites 1 PSK IE WPA Version 1 Group Cipher TKIP Pairwise Ciphers 2 CCMP TKIP Authentication Suites 1 PSK IE Unknown DD180050F2020101800003A4000027A4000042435E0062322F00 Extra band bg Connect Wi Fi network root maaxboard nano nano etc wpa_supplicant conf Add following info into...

Page 28: ...supplicant wpa_supplicant mlan0 conf Note Add network info to etc wpa_supplicant wpa_supplicant mlan0 conf refer to above chapter systemctl start wpa_supplicant mlan0 systemctl enable wpa_supplicant mlan0 3 12 Bluetooth 4 2 System will initialize the Bluetooth Module automatically use the following instruction to connect 3 12 1 Connect Bluetooth Device Use bluetoothctl to connect Bluetooth Device ...

Page 29: ...3 21 57 6C is the address of the Bluetooth device change it according to your device 3 12 2 Send Files Run the OBEXD daemon and connect to the target Bluetooth device root maaxboard nano export dbus launch root maaxboard nano usr libexec bluetooth obexd r home root a d obexctl obex connect 94 87 E0 DF 90 2D 94 87 E0 DF 90 2D send home root 1 txt In above instructions 94 87 E0 DF 90 2D is the addre...

Page 30: ...n refer to the following table Table GPIO corresponding relation table GPIO number PINMUX Function PIN PIN Function PINMUX GPIO number 3 3V 1 2 5V 145 GPIO5_IO17 SDA1 3 4 5V 146 GPIO5_IO18 SCL1 5 6 GND 130 GPIO5_IO2 GPIO 7 8 UART_TX GPIO5_IO25 153 GND 9 10 UART_RX GPIO5_IO24 152 130 GPIO5_IO2 GPIO 11 12 GPIO PCM_CLK GPIO5_IO0 128 125 GPIO4_IO29 GPIO 13 14 GND 124 GPIO4_IO28 GPIO 15 16 GPIO GPIO5_I...

Page 31: ...0 126 GND 39 40 GPIO PCM_DOUT GPIO5_IO1 129 Here we use PIN 11 as an example 1 In above table find the GPIO Number of PIN11 which is 130 2 Set the function of Pin11 to be GPIO output root maaxboard nano echo 130 sys class gpio export root maaxboard nano echo out sys class gpio gpio130 direction 3 Set the level of Pin 11 0 means low 1 means high root maaxboard nano echo 1 sys class gpio gpio130 val...

Page 32: ...stem Image 4 1 Burn the System Image to SD Card under Windows OS 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 4 Click Write button to burn the images ...

Page 33: ...lite image maaxboard nano ddr4 1g sdcard rootfs wic of dev sdc bs 10M conv fsync sync If you get the bz2 file after compilation use bunzip2 command to extract bunzip2 lite image maaxboard nano ddr4 1g sdcard rootfs wic bz2 4 3 Update System Image in eMMC Here we use lite image maaxboard nano ddr4 1g sdcard 20201116084413 rootfs wic as an example Extract the image file copy it to a U disk refer to ...

Page 34: ...t Unless otherwise specified peripherals supported by this software such as HDMI displays Wi Fi devices etc are compatible with common types of devices However we provide the following list of verified peripheral devices for customers reference If you meet problems in using other devices contact the technical support MIPI LCD MaaXBoard DISPLAY_MIPI MIPI Camera MaaXBoard Camera USB Camera QQSJ 8810...

Page 35: ...s related to software or hardware during their development process Customers encounter issues caused by any unauthorized alter to the embedded operating system Customers encounter issues related to their own applications Customers encounter issues caused by any unauthorized alter to the source code provided by Avnet Manufacturing Services 6 2 Warranty Conditions 12 month free warranty on the PCB u...

Page 36: ...ftware or computer viruses Products purchased from unauthorized sales Warranty including verbal and written that is not made by Avnet Manufacturing Services and not included in the scope of our warranty should be fulfilled by the party who committed Avnet Manufacturing Services has no any responsibility Within the period of warranty the freight for sending products from customers to Avnet Manufact...

Page 37: ...33190846 33190847 33190848 E mail Technical support support embest tech com Sales contact globalsales embest tech com Fax 86 755 25616057 Website http www embest tech com Address Tower B 4 F Shanshui Building Nanshan Yungu Innovation Industry Park Liuxian Ave No 4093 Nanshan District Shenzhen Guangdong China ...

Reviews: