That works.
I removed other entried in uEnv.txt and changed it to 
enable_uboot_overlays=1
uboot_overlay_addr0=/lib/firmware/BB-I2C2-ADXL-00A0.dtbo
Now I can see my driver probing.

One thing happened. I tried to see slots
cat /sys/device/platform/bone.capemgr/slots
cat: slots: No such file or directory

slots file itself is not present now.

On Wednesday, November 8, 2017 at 2:10:12 AM UTC+5:30, RobertCNelson wrote:
>
> On Tue, Nov 7, 2017 at 2:32 PM, Mrigendra Chaubey 
> <[email protected] <javascript:>> wrote: 
> > Hi All, 
> > 
> > I face this problem of not being able to make overlay work at boot 
> time.I 
> > checked these threads, 
> > 
> > 
> https://stackoverflow.com/questions/17768714/bbb-automatically-load-a-device-tree-overlay-on-boot
>  
> > 
> > 
> https://groups.google.com/forum/#!msg/beagleboard/jYpYHZPl1ig/90BPMxxhWLMJ 
> > 
> >  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 
> > 
> > https://pastebin.com/raw/T3bZKyT8 
> > 
> > This is my kernel log while boot up, 
> > 
> > https://pastebin.com/raw/EmiAedQz 
> > 
> > this is dmesg 
> > 
> > https://pastebin.com/raw/6PVVBHeD 
> > 
> > 
> > What I am missing? 
>
> Just use u-boot overlays: 
>
> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays 
>
> in /boot/uEnv.txt: 
>
> enable_uboot_overlays=1 
> uboot_overlay_addr0=/lib/firmware/BB-I2C2-ADXL-00A0.dtbo 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4b177adb-18c1-4f3d-98d8-6f22a2e6a57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to