Hi All,
I face this problem of not being able to make overlay work at boot time.I checked these threads,
and I added optargs=capemgr.enable_partno=BB-I2C2-ADXL in uEnv.txt
This is my uboot version
U-Boot 2017.09-dirty (Oct 14 2017 - 21:00:59 +0530)
I am booting with this kernl image
vmlinuz-4.4.92-bone-rt-r19
and I am trying to add an overlay at boot time for adxl345.
1)go to /boot/uEnv.txt add following two lines
root@arm:~# cat /boot/uEnv.txt
uname_r=4.4.92-bone-rt-r19
cmdline=coherent_pool=1M quiet cape_universal=enable optargs=capemgr.enable_partno=BB-I2C2-ADXL
I compiled overlay file(BB-I2C2-ADXL-00A0.dts) and put it into lib/firmware
BB-I2C2-ADXL-00A0.dtbo
Standalone this works
echo "BB-I2C2-ADXL" > slots
I can see my driver probing it.
But adding this functionality in eEnv.txt does not take effect.
Overlay file
This is my kernel log while boot up,
this is dmesg
What I am missing?