I2c device could not be found when EMMC started

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2c device could not be found when EMMC started

Jump to solution
1,549 Views
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 Kudos
Reply
1 Solution
1,538 Views
muaxi8
Contributor V

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

View solution in original post

0 Kudos
Reply
1 Reply
1,539 Views
muaxi8
Contributor V

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

0 Kudos
Reply