1 1
phelum

User DT overlay

Recommended Posts

Hi,

I'm trying to create a DT overlay for my Cubietruck running 4.19.62 and I've placed it in /boot/overlay-user and changed the user_overlays entry in boot.scr to load it.  It is being loaded but I'm getting FDT_ERR_NOTFOUND when trying to apply it.

 

The overlay is meant to change the label and default-trigger entries for the four LEDs in the leds node.  I'm using dtc 4.1.4 and it does compile this overlay.

 

Can anybody tell me how I can change this overlay so it will work ?  Or perhaps tell me if this is not possible.

/dts-v1/;
/plugin/;

/ {
    compatible = "allwinner,sun7i-a20";

    fragment@0 {
        target = <&leds>;
        __overlay__ {
            blue {
                label = "blue";
                linux,default-trigger = "heartbeat";
            };

            orange {
                label = "orange";
                linux,default-trigger = "cpu0";
            };

            white {
                label = "white";
                linux,default-trigger = "cpu1";
            };

            green {
                label = "green";
                linux,default-trigger = "mmc0";
            };
        };
    };
};

Thanks,

Steven

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1