I2c device could not be found when EMMC started

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2c device could not be found when EMMC started

ソリューションへジャンプ
1,558件の閲覧回数
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,547件の閲覧回数
muaxi8
Contributor V

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,548件の閲覧回数
muaxi8
Contributor V

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

0 件の賞賛
返信