Cannot load device tree overlay at startup

197 views
Skip to first unread message

bremenpl

unread,
Mar 31, 2015, 6:15:29 AM3/31/15
to beagl...@googlegroups.com
Hello there,
I am using a custom build kernel using the script from Mr Nelson (https://github.com/RobertCNelson/bb-kernel.git). I am facing problems with loading a device tree overlay for dvi cape at startup. I was abble to succesfully load the overlay using echo BB-BONE-DVID-01 > slots when running already. I tried sifferent methods for loading the device tree at startup.

I tried creating uEnv.txt in /boot/ directory that contains:

# enable systemd
optargs
=quiet init=/lib/systemd/systemd

# enable dvi
cape_enable
=capemgr.enable_partno=BB-BONE-DVID-01



This havent worked so i tried editing /etc/default/capemgr with:

CAPE=BB-BONE-DVID-01



But that also did not help, the dts is not loading at startup.
I would aprichiate any hints on this case. Is there any step I could possibly miss when loading device trees at startup?
I am using debian wheezy.

Robert Nelson

unread,
Mar 31, 2015, 9:23:56 AM3/31/15
to Beagle Board
dmesg | grep cape

Regards,

--
Robert Nelson
https://rcn-ee.com/

Bremenpl

unread,
Mar 31, 2015, 1:59:06 PM3/31/15
to beagl...@googlegroups.com
This is the grep cape from the debug console when booting.
http://pastebin.com/RSjGfuce
Ill pase the grep cape from dmesg tommorow morning if theres anything
missing, the board was left at university.
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> 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/mnw4Q7nXA3I/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

unread,
Apr 1, 2015, 2:37:01 AM4/1/15
to beagl...@googlegroups.com
This is the output of dmesg:
https://pastebin.com/DPgdsuR4

There is no sign of BB-BONE-DVID-01 loading, but only BB-BONE-DVID-02,
and I am not loading this overlay anywhere. Are there any other places I
can check for capes that are loaded at startup? I feel the
BB-BONE-DVID-02 is loaded by default somehow.

W dniu 2015-03-31 o 15:23, Robert Nelson pisze:
Bremenpl

azizb...@gmail.com

unread,
Apr 1, 2015, 11:01:09 AM4/1/15
to beagl...@googlegroups.com



Hi,
Can you try the following in uEnv.txt
optargs
=capemgr.enable_partno=BB-BONE-DVID-01

Bremenpl

unread,
Apr 1, 2015, 11:08:07 AM4/1/15
to beagl...@googlegroups.com

First thing in the morning.

--

Bremenpl

unread,
Apr 1, 2015, 1:46:15 PM4/1/15
to beagl...@googlegroups.com

Can you pass many parameters to optargs, so I can still use systemd?

Bremenpl

unread,
Apr 2, 2015, 2:12:55 AM4/2/15
to beagl...@googlegroups.com
Same thing :/
https://pastebin.com/kkr55jmn

W dniu 2015-04-01 o 16:43, azizb...@gmail.com pisze:
--
For more options, visit http://beagleboard.org/discuss
---
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/mnw4Q7nXA3I/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

Bremenpl

unread,
Apr 5, 2015, 6:32:03 AM4/5/15
to beagl...@googlegroups.com

Hi there,
Any other hints maybe? I still havent resolved this :\.

On April 1, 2015 5:01:10 PM azizb...@gmail.com wrote:

--

pic t

unread,
Apr 5, 2015, 9:46:02 AM4/5/15
to beagl...@googlegroups.com

Editing /etc/default/capemgr worked for me, can you try creating uenv.txt in /boot/uboot ?

Bremenpl

unread,
Apr 5, 2015, 11:40:24 AM4/5/15
to beagl...@googlegroups.com

Ill try replacing the uEnv.txt, will let know as soon as I do.

Bremenpl

unread,
Apr 7, 2015, 2:37:00 AM4/7/15
to beagl...@googlegroups.com
Hello,
Moving uEnv.txt havent solved the issue: https://pastebin.com/eJUPXyWU
Any other thoughts?

W dniu 2015-04-05 o 15:45, pic t pisze:
-- 
Bremenpl

l...@pinkfroot.com

unread,
Oct 15, 2015, 9:33:19 AM10/15/15
to BeagleBoard
I am too seeing this issue on the latest 4.1 kernel.

This is a custom cape that loads fine echoing direct to the slot but when I add to the /etc/default/capemgr file nothing happens.

Nothing in the log at all for it.

Lee

Robert Nelson

unread,
Oct 15, 2015, 9:35:15 AM10/15/15
to Beagle Board
On Thu, Oct 15, 2015 at 2:36 AM, <l...@pinkfroot.com> wrote:
> I am too seeing this issue on the latest 4.1 kernel.
>
> This is a custom cape that loads fine echoing direct to the slot but when I
> add to the /etc/default/capemgr file nothing happens.

The script that uses /etc/default/capemgr needs to be patched for v4.1.x
Reply all
Reply to author
Forward
0 new messages