I2c device could not be found when EMMC started

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

I2c device could not be found when EMMC started

跳至解决方案
1,562 次查看
muaxi8
Contributor V

Spiflash, I use the cpio.gz root file system, I have three devices under i2C, iiO is hanging one device:

root@TinyLinux:~# ls /sys/bus/i2c/devices/
0-0040 0-004e 1-004e i2c-0 i2c-1 i2c-2 i2c-3

root@TinyLinux:~# ls /sys/bus/iio/devices/
iio:device0

But when I use flex-installer -b XXXXX -d /dev/mmcblk1 to install the system to the MMC device and boot with MMC, The I2C device and IIO device cannot be found. What's the reason for that ??

root@localhost:~# ls /sys/bus/i2c/devices/
i2c-0

root@localhost:~# ls /sys/bus/i2c/devices/i2c-0/
consumers device/ name of_node/ subsystem/ uevent
delete_device i2c-dev/ new_device power/ suppliers

 

Add new findings:

I with DTC decompiled  /boot/fsl-lx2160a-dtb.dtb, found not I was using the device tree。why didn't I modified device tree why compiled into it ? Do I need to replace the fSL-lx2160a-dtb.dtb file in the root file system? How do I replace it ?

muaxi8_0-1636535425646.png

 

 

0 项奖励
回复
1 解答
1,551 次查看
muaxi8
Contributor V

It's been settled。Because I didn't update the bootpartion

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,552 次查看
muaxi8
Contributor V

It's been settled。Because I didn't update the bootpartion

0 项奖励
回复