Applying U-boot overlay from the command line?

20 views
Skip to first unread message

Rick Mann

unread,
Mar 12, 2018, 8:41:26 PM3/12/18
to Beagle Board
In the past, I'd apply an overlay by catting some stuff to .../slots. That no longer shows up in my sysfs.

I'm working on a U-boot overlay, but while experimenting, is there a way to apply the overlay from the command line after boot?

--
Rick Mann
rm...@latencyzero.com


evilwulfie

unread,
Mar 12, 2018, 9:14:08 PM3/12/18
to beagl...@googlegroups.com
Nope  all done in /boot/uEnv.txt on boot

Rick Mann

unread,
Mar 12, 2018, 9:35:42 PM3/12/18
to Beagle Board
Okay thanks.
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/4ac1e5b6-0a0f-a043-78f9-58dd4f59c448%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.


--
Rick Mann
rm...@latencyzero.com


Robert Nelson

unread,
Mar 13, 2018, 12:34:53 AM3/13/18
to Beagle Board, Rick Mann, evilwulfie
On Mon, Mar 12, 2018 at 8:35 PM, Rick Mann <rm...@latencyzero.com> wrote:
> Okay thanks.
>
>> On Mar 12, 2018, at 18:13 , evilwulfie <evilw...@gmail.com> wrote:
>>
>> Nope all done in /boot/uEnv.txt on boot
>>
>>
>> On 3/12/2018 5:41 PM, Rick Mann wrote:
>>> In the past, I'd apply an overlay by catting some stuff to .../slots. That no longer shows up in my sysfs.
>>>
>>> I'm working on a U-boot overlay, but while experimenting, is there a way to apply the overlay from the command line after boot?

Actually, there is a way, Jason K figured this out late last week and
it has not been fully documented out side of the e-ale.org training yet...

https://cm.e-ale.org/2018/pocketbeagle/README.md

We haven't figured out how far back this goes with mainline kernels
but, create a directory under:

/sys/kernel/config/device-tree/overlays/

Like:

sudo mkdir -p /sys/kernel/config/device-tree/overlays/accel/

then just echo the *.dtbo into the ./dtbo file created in the directory above..

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages