Loading custom capes on Debian

60 views
Skip to first unread message

bremenpl

unread,
Nov 24, 2014, 3:11:14 AM11/24/14
to beagl...@googlegroups.com
Hello there,
I am suing bbb and a Debian Console image. I am strying to locate the place where the tree overlays are located but I cant. I tried greping for "BB-UART1" for example but I cant find it. Even though I can export it to slots. I have added my custom cape to /lib/firmware/ but when I try to export it to slots it cannot find the file. In the regular image all tree-overlays are stotred in /lib/firmware/ and in my image that folder is empty. I would really aprichiate any help, this is very urgent for me and I dont have much time :(

Jason Lange

unread,
Nov 24, 2014, 3:20:40 AM11/24/14
to Beagle Board
What kernel are you using?  (what is the output from "uname -a"
?)

On Mon, Nov 24, 2014 at 12:11 AM, bremenpl <brem...@gmail.com> wrote:
Hello there,
I am suing bbb and a Debian Console image. I am strying to locate the place where the tree overlays are located but I cant. I tried greping for "BB-UART1" for example but I cant find it. Even though I can export it to slots. I have added my custom cape to /lib/firmware/ but when I try to export it to slots it cannot find the file. In the regular image all tree-overlays are stotred in /lib/firmware/ and in my image that folder is empty. I would really aprichiate any help, this is very urgent for me and I dont have much time :(

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

Bremenpl

unread,
Nov 24, 2014, 3:21:30 AM11/24/14
to beagl...@googlegroups.com
root@beaglebone:/# uname -a
Linux beaglebone 3.8.13-bone64 #1 SMP Thu Aug 21 21:24:58 UTC 2014 armv7l GNU/Linux

W dniu 2014-11-24 o 09:20, Jason Lange pisze:
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/DwM-75kDnRc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
Bremenpl

Jason Lange

unread,
Nov 24, 2014, 3:50:54 AM11/24/14
to Beagle Board
I don't have much experience with device tree overlays so I might not be able to help, but what is the exact command you are using to echo it into the slot?

Bremenpl

unread,
Nov 24, 2014, 3:54:28 AM11/24/14
to beagl...@googlegroups.com
root@beaglebone:/sys/devices/bone_capemgr.9# echo BB-BONELT_HDMIN1 > slots
-bash: echo: write error: No such file or directory

For some reason he doesnt see my .dtbo file in lib/firmware/ but or the other hand there are no other .dtbo files there. They are somewhere, because I can echo BB-UART1 for example, I just cant figue out where. I dont know where to put my .dtbo file or how to enable /lib/firmware/ directory for .dtbo files

W dniu 2014-11-24 o 09:50, Jason Lange pisze:

Philip Polstra

unread,
Nov 24, 2014, 11:43:54 AM11/24/14
to beagl...@googlegroups.com
I suspect it is a problem with your dtbo file.  I believe that some of the dtbo files that used to be installed in /lib/firmware have been essentially compiled in to the kernel in an attempt to fix some other issues.  My dtbo for my XBee cape is still in /lib/firmware and it works fine.  Doesn't automatically load off EEPROM at boot, but the running "echo XbeeFullCape0001>/sys/devices/bone_capemgr.9/slots" as root works.  

Robert Nelson

unread,
Nov 24, 2014, 11:47:34 AM11/24/14
to Beagle Board
On Mon, Nov 24, 2014 at 2:57 AM, Bremenpl <brem...@gmail.com> wrote:
> root@beaglebone:/sys/devices/bone_capemgr.9# echo BB-BONELT_HDMIN1 > slots
> -bash: echo: write error: No such file or directory

btw:

`dmesg | tail` will give you more info one the error above..

>
> For some reason he doesnt see my .dtbo file in lib/firmware/ but or the
> other hand there are no other .dtbo files there. They are somewhere, because
> I can echo BB-UART1 for example, I just cant figue out where. I dont know
> where to put my .dtbo file or how to enable /lib/firmware/ directory for
> .dtbo files

They are built in..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Bremenpl

unread,
Nov 24, 2014, 12:52:04 PM11/24/14
to beagl...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages