Page 2
The MaaXBoard Mini single board computer and its related intellectual property are owned by Avnet. Avnet 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.
Page 3
MaaxBoard-Mini-Linux-Yocto-User-Manual-v2.0 Revision History Rev. Description Author Date V1.0 Initial version Sandy 20200903 V1.1 Updated Yocto 3.0 Nick 20210322 V2.0 Updated Yocto to Langdale(4.1), BSP_VERSION to lf-6.1.1-1.0.0 Lily 20230714 https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Page 6
4.2 Program Images Using uuu ......................42 4.2.1 Preparation ........................... 42 4.2.2 Program the Image under Windows OS ................43 4.2.3 Program the Image under Ubuntu OS .................45 Chapter 5 Appendix ............................47 5.1 Hardware Documents ........................47 5.2 Software Documents ........................47 5.3 Contact Information ........................47 https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
MaaXBoard Mini 1.1 Target Board: The MaaXBoard Mini is a development board developed by Avnet, Which is a low-cost, NXP i.MX 8M Mini processor-based, single-board computer ideal for embedded computing and smart edge IoT applications. The i.MX 8M Mini family of application processors are based on the Arm® Cortex®-A53 and Cortex-M4 cores, which provide industry-leading audio, voice and video processing for applications that scale from consumer home audio to industrial building automation and embedded computers.
Page 8
4 USB 2.0 can work in host & device mode 2 x UART debug ports from USB 2.0 Device Pi HAT 40 Pin Expansion Interface (I2C,UART,SPI,PWM and GPIO) WIFI & BLE 4.1 MIPI-DSI display MIPI-CSI Camera/USB Camera https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
MaaxBoard-Mini-Linux-Yocto-User-Manual-v2.0 Chapter 2 Quick Start The default version of MaaXBoard Mini supports SD Card. Avnet also provides eMMC version for users to customize. To program the image into SD Card or eMMC, refer to Chapter 4 Program or update the system Images.
Users could also connect keyboard and mouse to MaaXBoard Mini to login Yocto system. 2.2 Boot from eMMC If you are using the eMMC version, the boot process is the same with boot from SD card, just ignore insert SD Card step.
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 2.3.3.2 Login Command line In this example, the IP of MaaXBoard Mini is 192.168.2.246, enter following command in command line window to connect: ssh root@192.168.2.246. Enter yes in the first connection, then will login to MaaXBoard Mini, enter exit to logout.
Page 12
MaaxBoard-Mini-Linux-Yocto-User-Manual-v2.0 2.3.3.3 PuTTY PuTTY support SSH, setting method as follows: 1. Run PUTTY, in Connection->SSH->Kex, change the sequence of algorithm. 2. In Session, enter IP address, e.g. 192.168.2.246, port 22, and Connection type SSH, then click Open. https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Page 13
MaaxBoard-Mini-Linux-Yocto-User-Manual-v2.0 3. In the first connection, click Y in the popout window. 4. Enter username as “root” to login, enter exit to logout. https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Here is the default setting in uEnv.txt: # Refer to readme.txt for more information on setting up U-Boot Env # Device tree base file fdt_file=maaxboard-mini.dtb https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Page 15
Mount the first partition of SD card or eMMC to the system, Then use nano or vi command to modify the uEnv.txt. After the modification, execute sync and reboot command to make it effect. root@maaxboardmini:~# mkdir mount https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
3.2 USER LED User can control the 2 single color LED indicators, LED0 and LED1 (corresponding to usr_led and sys_led) on MaaXBoard Mini Board. Execute the following instructions in serial terminal to control them. Turn off the LEDs: root@maaxboardmini:~# echo 0 > /sys/class/leds/usr_led/brightness root@maaxboardmini:~# echo 0 >...
Page 17
Input device name: "30370000.snvs:snvs-powerkey" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 116 (KEY_POWER) Properties: Testing ... (interrupt to exit) Event: time 1596184675.913800, type 1 (EV_KEY), code 116 (KEY_POWER), value 1 Event: time 1596184675.913800, -------------- SYN_REPORT ------------ https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
MaaXBoard Mini supports MIPI-DSI screen display. Users can connect the screen to MaaXBoard Mini before boot up the system according to the following table. When the system boot up, the screen will print the related startup message and login UI. Users can connect keyboard to login the MaaXBoard Mini file system.
Page 20
Property type 1 (INPUT_PROP_DIRECT) Testing ... (interrupt to exit) Event: time 1689060996.501590, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0 Event: time 1689060996.501590, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 291 Event: time 1689060996.501590, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 567 https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Use the aplay -l and arecord -l commands to list the audio playback- and record- device IDs. 3.6.1.1 USB Audio Device MaaXBoard Mini supports USB audio device (which do not need specified driver) to play audio. You can record and play audio from USB audio device. Connect a USB audio device to the USB port on MaaXBoard Mini, Use command **arecord -l** and **aplay -l** to check that the device id.
ID. Change those parameters according to your device. 3.6.3 Play Audio file MaaXBoard Mini can play audio files with the connected USB or Bluetooth device using the following commands: root@maaxboardmini:~# pulseaudio -D -v root@maaxboardmini:~# aplay audio_sample.wav root@maaxboardmini:~# gst-play-1.0 audio_sample.wav...
Yocto system support play video file in mp4 format, the largest support resolution is 4K, Use gplay-1.0 or gst-launch-1.0 command to play video files. Connect MaaXBoard Mini to the MIPI-DSI screen display, take video.mp4 file as an example, select one of the following four commands and enter it in the serial terminal.
3.10 USB 2.0 Interface MaaXBoard Mini supports 4 USB Interfaces, the lower one in J2 is USB0, the upper one in J2 is USB3, the lower one in J4 is USB2, the upper one in J4 is USB1. All of the 4 USB 2.0 interfaces support USB HOST function, only USB0 supports USB Device function.
The on-board Wi-Fi module support 2.4G/5G network and hotspot. 3.11.1 Enable Wi-Fi User can create wpa_supplicant.conf in /run/media/boot-mmcblk0p1/ to load the Wi-Fi driver and firmware (take "TEST23"&"12345678" as an example), Run the following commands to start Wi-Fi: root@maaxboardmini:~# vi /run/media/boot-mmcblk0p1/wpa_supplicant.conf https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Run the following command to check wireless connection, it will print the following info once connected: root@maaxboardmini:~# iwconfig wlan0 | grep ESSID wlan0 IEEE 802.11 ESSID:"TEST23" Run the command to get the IP address: root@maaxboardmini:~# udhcpc -i wlan0 -n -R https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
-A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT root@maaxboardmini:~# iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT 3.12 Bluetooth 4.1 3.12.1 Initialize the Bluetooth Module Execute the following instructions on the serial terminal: https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
3.12.3 Configure A2DP sink or source When connected to a remote Bluetooth device that supports the A2DP sink feature, MaaXBoard Mini can be configured as an A2DP Source. This type of bluetooth devices are usually bluetooth headsets, https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Page 33
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb) UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb) UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb) UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb) Modalias: usb:v1D6Bp0246d0525 Connect Bluetooth device: root@maaxboardmini:~# bluetoothctl [bluetooth]# power on [bluetooth]# pairable on [bluetooth]# default-agent [bluetooth]# scan on https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
Page 34
Play the audio file using pulseaudio play utility, the music will be played from the connected Bluetooth device: root@maaxboardmini:~# gst-play-1.0 audio_sample.wav root@maaxboardmini:~# mpg123 audio_sample1.mp3 root@maaxboardmini:~# paplay audio_sample.wav Use the following command to adjust the Bluetooth speaker playback volume, where < volume_level> Set to 0 for silent, 0x10000 for normal volume. https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
[CHG] Transfer /org/bluez/obex/client/session0/transfer0 Status: complete [DEL] Transfer /org/bluez/obex/client/session0/transfer0 [94:87:E0:DF:90:2D]# exit In above instructions, 94:87:E0:DF:90:2D is the address of target device, change it according to your device. 3.13 UART MaaXBoard Mini supports 2 UART interface. MaaXBoard Mini (CPU) Interface Type https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
To use the PWM of the 40-pins interface, enable the following options in uEnv.txt : Add dtoverlay_pwm=1 to uEnv.txt, then execute sync and reboot commands to make it effect. Configure PWM1: root@maaxboardmini:~# echo 0 > /sys/class/pwm/pwmchip0/export root@maaxboardmini:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable root@maaxboardmini:~# echo 1000000 > /sys/class/pwm/pwmchip0/pwm0/period Connect PWM1(PIN26) to a test LED https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
[ 3612.243815] EXT4-fs (mmcblk0p2): resized filesystem to 3781632 Expand rootfs size successfully, it will be enlarged upon the next reboot. View again, the partition size has been expanded: root@maaxboardmini:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 14G 2.1G 12G 16% / https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
4.1.1 Program the System Image into SD Card under Windows OS Firstly, you should prepare a SD card, which is no less than 8GB of capacity . Then, download and install “Win32 Disk Imager” from: https://sourceforge.net/projects/win32diskimager/. Select the system images file: Click “Write” button to program the images: https://www.avnet.com/wps/portal/us/products/avnet-boards/avnet-board-families/maaxboard/maaxboard-mini...
$ sync 4.2 Program Images Using uuu USB0 (The lower one in USB interface HUB1) of MaaXBoard Mini supports programming mode. Connect USB0 and PC before power on the board. The system will enter programming mode. Then users could program the system image to the development board using uuu tool.
MaaXBoard Mini Linux system image file, e.g: avnet-image-full-maaxboard-mini-20230711025928.rootfs.wic u-boot-imx8m-mini.imx U-boot image file: , usually the same version as the one contained in the system Image 4.2.2 Program the Image under Windows OS 4.2.2.1 Driver for Windows OS In Windows OS, connect USB0 to PC, then power on the board. Check the device manager to see if need...
Page 44
.\uuu -b sd_all u-boot-imx8m-mini.imx avnet-image-full-maaxboard-mini-20230711025928.rootfs.wic When programming finished, power down MaaXBoard Mini, disconnect the USB connection between USB0 and PC, power on the board again, then the board will boot with the new system image. 4.2.2.3 Program the Image into eMMC under Windows OS Connect USB0 (the lower one in USB 2.0 interface J2) and PC using USB type A cable.
MaaxBoard-Mini-Linux-Yocto-User-Manual-v2.0 When programming finished, power down MaaXBoard Mini, disconnect the USB connection between USB0 and PC, power on the board again, the board will boot with the new system image. 4.2.3 Program the Image under Ubuntu OS 4.2.3.1 Program the Image into SD Card under Ubuntu OS Connect USB0 (the lower one in USB 2.0 interface J2) and PC using USB type A cable.
MaaXBoard Mini Hardware user manual. 5.2 Software Documents MaaXBoard Mini supports Yocto Linux system, for additional information, please refer to the following documents: MaaXBoard Mini Linux Yocto UserManual Describes how to boot MaaXBoard Minni and aspects of the BSP functionality (This document)
Need help?
Do you have a question about the MaaXBoard Mini and is the answer not in the manual?
Questions and answers