初中生
最后登录1970-1-1
在线时间 小时
注册时间2020-5-18
|
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#
这种情况怎么解决?新手用哪种镜像系统学习这种设备树呢?
|
|