5125 views|4 replies

186

Posts

0

Resources
The OP
 

OKMX8MP-C Operation Instructions: Feiling Embedded iMX8MP Platform System Settings [Copy link]

OKMX8MP-C Operation Instructions: Feiling Embedded iMX8MP Platform System Settings

The hardware board used in this article is the Feiling embedded OKMX8MP-C development board, and the system version is Linux5.4.70+Qt5.15.0. Let's first give a brief introduction to this board.

The OKMX8MP-C development board is designed based on the NXP i.MX 8M Plus processor, which focuses on machine learning and vision, advanced multimedia, and highly reliable industrial automation. It is designed to meet the needs of applications such as smart cities, industrial Internet, smart medical care, and smart transportation.

i.MX 8M Plus Features

1. High-performance NPU 2.3 TOPS computing power (tera operations per second)

2. Quad-core Arm Cortex-A53 subsystem with a clock speed of up to 2GHz

3. Independent real-time subsystem based on Cortex-M7 with a main frequency of up to 800MHz

4. High-performance 800MHz audio DSP for voice and natural language processing

5. Dual-camera image signal processor (ISP)

6. 3D GPU for rich graphics rendering

Main text begins:


1. How to change the logo of iMX8MPlus development board?

OKMX8MPQ-C can already display the LOGO image on the LCD during the u-boot stage. If you need to change the LOGO, please replace: OK8MP-SDK/images/boot/logo.bmp

The image must be in 24-bit BMP format with a resolution of 1024x600.

2. How to set the power-on auto-start program on the iMX8MPlus development board

Taking the Feiling embedded iMX8MP platform as an example, this article introduces a method to use systemd to configure any startup program.

Power on OKMX8MPQ-C, enter the /home/root/ directory in the development board terminal, execute the following command to create a script file, and modify the permissions:

root@OK8MP:~# echo '#!/bin/sh' >> /etc/autorun.sh

root@OK8MP:~# echo 'gst-play-1.0 /media/forlinx/test.mp3' >> /etc/autorun.sh

root@OK8MP:~# chmod 777 /etc/autorun.sh

Go to the "/lib/systemd/system/" directory and create a new autorun.service file. The command is as follows:

root@OK8MP:~# cd /lib/systemd/system
root@OK8MP:~# vi autorun.service

The contents of the file are as follows:

[Unit]

Description=autorun

After=basic.service X.service thermal-zone-init.service

[Service]

ExecStart=/etc/autorun.sh

[Install]

WantedBy=multi-user.target

The Description line needs to contain the service name, and the ExecStart line needs to contain the absolute path of the executable file.

After saving and exiting, execute the following command on the terminal:

root@OK8MP:~# systemctl -f enable /lib/systemd/system/autorun.service

At this point, the newly added auto-start service will take effect. After restarting the iMX8MP development board, this program will run automatically and the audio output will be successful.

3. How to change the desktop status bar displayed on the iMX8MP development board

By default, when the iMX8MP development board is powered on, the time information status bar at the top of the weston desktop is set to be hidden. If you need it to be displayed, you can set it as follows.

If you need to display the application in full screen, you can modify it as follows to hide the top status bar. Power on the iMX8MP development board and enter the following command in the terminal of the iMX8MP development board to open the weston configuration file:

root@OK8MP:~# vi /etc/xdg/weston/weston.ini

Modify the contents of the file as follows:

[shell]

locking=false

panel-position=top

4. iMX8MPlus development board screen calibration

The OKMX8MPQ-C development board uses capacitive touch by default and starts the calibration procedure. If you need to recalibrate, execute the following command to delete the calibration file and restart the iMX8MP development board.

root@OK8MP:~# rm /etc/udev/rules.d/cal.rules

root@OK8MP:~# sync

If your screen does not need calibration, you can execute the following command to disable the calibration service.

root@OK8MP:~# systemctl disable cal

You can also execute the following command to enable the calibration service.

root@OK8MP:~# systemctl enable cal

Original source: https://www.forlinx.com/article_view_803.html

This post is from ARM Technology

Latest reply

The weston configuration is quite borderline, much simpler than the previous configurations of X, gnome and other desktops.   Details Published on 2022-2-14 19:53
 

6547

Posts

0

Resources
2
 

Looking at changing the iMX8MP development board to display the desktop status bar, it is very troublesome to open the weston configuration file

This post is from ARM Technology

Comments

come on   Details Published on 2022-2-16 13:40
 
 
 

7422

Posts

2

Resources
3
 

The weston configuration is quite borderline, much simpler than the previous configurations of X, gnome and other desktops.

This post is from ARM Technology

Comments

Hahahahaha yes  Details Published on 2022-2-16 13:39
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

186

Posts

0

Resources
4
 
freebsder posted on 2022-2-14 19:53 weston is quite borderline, much simpler than the previous desktops such as X and gnome.

Hahahahahaha yes

This post is from ARM Technology
 
 
 

186

Posts

0

Resources
5
 
Jacktang posted on 2022-2-11 07:24 Looking at changing the iMX8MP development board to display the desktop status bar, it is very troublesome to open the weston configuration file

come on

This post is from ARM Technology
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list