当前位置:网站首页>NXP imx8mp learning records
NXP imx8mp learning records
2022-06-22 03:16:00 【JanKin_ BY】
1. With system imx8mp test
take 8mp micro USB Connect to the host computer , Connect the second serial port /dev/ttyUSB2,boot mood choice 0 0 1 0,115200 8 N 1 , Suggest using Minicom, Display as terminal ,root The password goes straight to the carriage .
https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf i.MX 8M Plus | Cortex-A53/M7 | NXP Semiconductors
rely on :
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm rsync curl
mkdir ~/imx-yocto-bsp
cd imx-yocto-bsp
mkdir bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/imx-yocto-bsp/bin/repo # download repo
chmod a+x ~/imx-yocto-bsp/bin/repo # to repo jurisdiction
export PATH=~/imx-yocto-bsp/bin:$PATH # Set access
cd ~/imx-yocto-bsp
git config --global user.name "Your Name" # Random names
git config --global user.email "Your Email" # E-mail is unlimited
git config --list
./bin/repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.35-2.0.0.xml
./bin/repo sync
######https://source.codeaurora.org/external/imx/imx-manifest
######https://source.codeaurora.org/external/imx/imx-manifest/tree/?h=imx-linux-hardknott Open the web address to see if there is any system added
DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b standaloneIf repo sync The process is too long
modify repo file
open ~/bin/repo Document and modify google Address
# vi ~/bin/repo
From
REPO_URL = 'https://gerrit.googlesource.com/git-repo'
To
REPO_URL = 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'2.yocto Engineering creation
uuu download image
sudo ~/Desktop/uuu -b emmc_all imx-boot imx-image-full-imx8mp-lpddr4-evk.wic.bz2yocto The cross compilation tool uses
yocto Cross compilation tools
./fsl-imx-xwayland-glibc-x86_64-imx-image-full-cortexa53-crypto-imx8mp-lpddr4-evk-toolchain-5.10-hardknott.sh
. /opt/fsl-imx-xwayland/5.10-hardknott/environment-setup-cortexa53-crypto-poky-linux
CC rs-hello-realsense.cpp -o rs-realsense -O1 -lstdc++ -lpthread -lm -ldl -lrt -lrealsense2yocto Project creation :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
You know imx8m plus yocto project compile with realsense D455 Tutorial links :
https://zhuanlan.zhihu.com/p/402846961
Lower drive :
chmod a+x uuu // Install uuu https://github.com/NXPmicro/mfgtools/releases/tag/uuu_1.4.149
Put the... On the board boot The button is set to USB Serial Download Mode 0 0 0 1
Same as Execute lsusb You will see a with NXP Serial port
sudo ~/Desktop/uuu -b emmc_all imx-boot imx-image-full-imx8mp-lpddr4-evk.wic.bz2 //yocto Project compilation image
sudo ./uuu LF_v5.10_2.0.0_images_IMX8MPEVK.zip // Official image https://www.nxp.com.cn/document/guide/getting-started-with-the-i-mx-8m-plus-evk:GS-iMX-8M-Plus-EVK
NXP8MP binding WIFI:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Run in the home directory
modprobe moal mod_para=nxp/wifi_mod_para.conf
ifconfig mlan0 up
ifconfig uap0 up
/usr/sbin/wpa_supplicant -B -i mlan0 -c /etc/wpa_supplicant.conf -Dwext
# Search visible wifi
wpa_cli -i mlan0 scan
# Get search results
wpa_cli -i mlan0 scan_result
# Set up wifi Of ssid
# ssid You need to add double quotes , Double quotation marks plus slashes or single quotation marks
wpa_cli -i mlan0 set_network 0 ssid \"BY\"
# Set encryption mode ,WPA-PSK representative :WPA-PSK/WPA2-PSK
wpa_cli -i mlan0 set_network 0 key_mgmt WPA-PSK
# Set up wifi password , Need double quotation marks just like the account number
wpa_cli -i mlan0 set_network 0 psk \"123456789\"
# New configuration wifi It is disabled by default , Enable , When enabled, if there is no connection wifi, newly added wifi Visible, it will be automatically connected
wpa_cli -i mlan0 enable_network 0
# Check the status again , Check whether you are connected to the network
# wpa_state=COMPLETED Indicates that the connection is complete , But if signal_level A small comparison indicates that there is no connection
wpa_cli -i mlan0 status
# preservation wifi To configure , It's best to enable wifi Save after , Otherwise, it will be saved wifi Is disabled by default
wpa_cli -i mlan0 save_config
# Manual from DHCP In order to get IP Address of the :
udhcpc -imlan0
Settings dns
temporary :
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
permanent
sudo gedit /etc/systemd/resolved.conf
# See resolved.conf(5) for details
[Resolve]
DNS=8.8.8.8
#FallbackDNS=
#Domains=
LLMNR=no
#MulticastDNS=no
#DNSSEC=no
#Cache=yes
#DNSStubListener=yesLooking at the file is really a link ls imx-boot -l

边栏推荐
- FastDFS-6.0.6
- Primary key in efcore
- linux下安装mysql8及使用(转载)
- Redis6.0 new features (Part 2)
- Day18qt signal and slot 2021-10-29
- Typora + picgo configure the drawing bed to realize automatic uploading of pictures
- 六、MySQL之数据定义语言(一)
- 什么是SSL证书,拥有一个SSL证书有什么好处?
- Overview of web framework and program development
- 关于mysql的int型主键自增问题
猜你喜欢

Two dot vertical progress styles

Adaptive batch job scheduler: automatically derive parallelism for Flink batch jobs
![[6. high precision multiplication]](/img/83/1659503e62839c395ca7849596d6fc.png)
[6. high precision multiplication]

uv_loop_init()流程

ATM simulation system

Markdown advanced syntax, marktext compatible

tag动态规划-刷题预备知识-1.动态规划五部曲解题法 + lt.509. 斐波那契数/ 剑指Offer 10.I + lt.70. 爬楼梯彻底解惑 + 面试真题扩展

【NVMe2.0b 5】NVM Subsystem

Harmonyos Hongmeng uses ORM bee to access database instances

uv_ Run process
随机推荐
torch. Max() explanation
[6. high precision multiplication]
Classification of traffic signs
Libuv asynchronous task logic and UV_ queue_ work()
[2. merge sort]
Starting WDA with tidevice
Memory hierarchy introduction
Force buckle 461 Hamming distance
Using JMeter for web side automated testing
BOM attribute, method and event application cases
[pwn basics]pwntools learning
Day20qt multiple forms switching idea 2021-10-31
Harmonyos Hongmeng uses ORM bee to access database instances
C++ primer Chapter 2 summary of variables and basic types
360EDR刨析
Select for i/0 multiplexing
Operating instructions for tcp202 current probe of Tektronix oscilloscope
libuv异步任务逻辑和uv_queue_work()
银联支付 返回商户 Nignx post请求405
360edr planing