野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 13189|回复: 0

[求助] 动态加载设备树错误

[复制链接]
发表于 2020-8-16 16:23:05 | 显示全部楼层 |阅读模式
root@npi:~# mkdir /sys/kernel/config/device-tree/overlays/mpu6050
root@npi:~# cd /lib/firmware/
root@npi:/lib/firmware# ls
LICENCE.atheros_firmware                imx-fire-ecspi3-slave-overlay.dtbo
LICENCE.broadcom_bcm43xx                imx-fire-emmc-overlay.dtbo
LICENCE.rtlwifi_firmware.txt            imx-fire-gpmi-overlay.dtbo
LICENCE.ti-connectivity                 imx-fire-hdmi-overlay.dtbo
bcm                                     imx-fire-i2c1-overlay.dtbo
brcm                                    imx-fire-i2c2-overlay.dtbo
carl9170-1.fw                           imx-fire-key-overlay.dtbo
htc_9271.fw                             imx-fire-lcd43-overlay.dtbo
imx                                     imx-fire-lcd5-overlay.dtbo
imx-fire-18b20-overlay.dtbo             imx-fire-led-overlay.dtbo
imx-fire-485r1-overlay.dtbo             imx-fire-mpu6050-overlay.dtbo
imx-fire-485r2-overlay.dtbo             imx-fire-resistive-screen.dtbo
imx-fire-74hc595-overlay.dtbo           imx-fire-rgb-led-overlay.dtbo
imx-fire-adc1-overlay.dtbo              imx-fire-sound-overlay.dtbo
imx-fire-bluetooth-overlay.dtbo         imx-fire-uart2-overlay.dtbo
imx-fire-btwifi-overlay.dtbo            imx-fire-uart3-overlay.dtbo
imx-fire-button-interrupt-overlay.dtbo  imx-fire-uart4-overlay.dtbo
imx-fire-cam-overlay.dtbo               imx-fire-uart5-overlay.dtbo
imx-fire-can1-overlay.dtbo              logo.bmp
imx-fire-can2-overlay.dtbo              mt7601u.bin
imx-fire-dht11-overlay.dtbo             rtlwifi
imx-fire-ecspi3-overlay.dtbo            ti-connectivity
root@npi:/lib/firmware# echo imx-fire-mpu6050-overlay.dtbo >/sys/kernel/config/device-tree/overlays/mpu6050/path
[  118.702572] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/clock-frequency
[  118.715774] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/pinctrl-names
[  118.729735] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/pinctrl-0
[  118.742794] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/status
-bash: echo: write error: Invalid argument
root@npi:/lib/firmware# echo imx-fire-mpu6050-overlay.dtbo >/sys/kernel/config/device-tree/overlays/mpu6050/path
[  120.970610] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/clock-frequency
[  120.983191] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/pinctrl-names
[  120.999013] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/pinctrl-0
[  121.012711] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /soc/aips-bus@2100000/i2c@21a0000/status
-bash: echo: write error: Invalid argument
root@npi:/lib/firmware#

这种情况怎么解决?新手用哪种镜像系统学习这种设备树呢?


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-11-23 05:14 , Processed in 0.026574 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表