> > > > *Now do I add this to the file?* > > > > *if [ ! -x /usr/share/initramfs-tools/hooks/dtbo ] ; then sudo chmod > +x /usr/share/initramfs-tools/hooks/dtbo fi * >
That's bash script programmer speak for making that file executable, if it's not already ;) On Wed, Dec 9, 2015 at 10:13 AM, Matt Maher Peterson < [email protected]> wrote: > Thanks for bearing with me here. > > I did a wget > https://github.com/rcn-ee/repos/blob/master/bb-bb-customizations/suite/jessie/debian/dtbo > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Frcn-ee%2Frepos%2Fblob%2Fmaster%2Fbb-bb-customizations%2Fsuite%2Fjessie%2Fdebian%2Fdtbo&sa=D&sntz=1&usg=AFQjCNEcV4pgfY8pNlN-kjZBtGGz-F4pgg> > > Now do I add this to the file? > > if [ ! -x /usr/share/initramfs-tools/ > hooks/dtbo ] ; then > sudo chmod +x /usr/share/initramfs-tools/hooks/dtbo > fi > > and then > sudo update-initramfs -u -k $(uname -r) > > Just to confirm my BB-APA-01-00A0.dtbo is in /lib/firmware and loads > manually. > > I can see that usr/share/initramfs-tools/hooks/dtbo file matches what you > have in the repo > > On Wednesday, December 9, 2015 at 8:51:48 AM UTC-8, RobertCNelson wrote: >> >> 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. > -- 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.
