On Wed, Dec 9, 2015 at 10:42 AM, Matt Maher Peterson
<[email protected]> wrote:
> Thanks that worked to adafruit library working.
>
>
> Still having an issues getting the device tree to load on boot.
>
> Is there a better way to do this than in /boot/uEnv.txt ?  I have this line
> in there now but it does not seam to do the job as I do not see the overlay
> loaded after boot in .../slots
> cape_enable=capemgr.enable_partno=BB-APA-01
>
>
>
>
> I can manually load it:
>
> root@mmpTestBox:/sys/class/gpio# cat
> /sys/devices/platform/bone_capemgr/slots
>
>  0: PF----  -1
>  1: PF----  -1
>  2: PF----  -1
>  3: PF----  -1
>
> root@mmpTestBox:/sys/class/gpio# sh -c "echo 'BB-APA-01' >
> /sys/devices/platform/bone_capemgr/slots"
> root@mmpTestBox:/sys/class/gpio# cat
> /sys/devices/platform/bone_capemgr/slots
>
>  0: PF----  -1
>  1: PF----  -1
>  2: PF----  -1
>  3: PF----  -1
>
>  4: P-O-L-   0 Override Board Name,00A0,Override Manuf,BB-APA-01
>
> I believe in the old kernel 3.8.x I fuound a way to bake the overlay kernel.
> Is this possible in 4.1.x?

The trick is in the "bb-customizations" package:

Encase you don't have it installed:

https://github.com/rcn-ee/repos/blob/master/bb-bb-customizations/suite/jessie/debian/dtbo

if [ ! -x /usr/share/initramfs-tools/hooks/dtbo ] ; then
    sudo chmod +x /usr/share/initramfs-tools/hooks/dtbo
fi

then just:

sudo update-initramfs -u -k $(uname -r)

and it'll be in your initrd.

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to