Re: [beagleboard] Re: How to enable UART1 using dtb-rebuilder?

2015-11-09 Thread Robert Nelson
On Mon, Nov 9, 2015 at 12:45 PM, Davide Picchi  wrote:
>> 4.1-ti supports overlays, so you can either do it like "3.8".
>>
>>
>> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
>>
>> or create a custom *.dtb
>
>
> That's nice,
> but I cannot find any guide that helps me to install the new cape like in
> the first tutorial I posted above.
>
> How do I use such overlays?
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
>
> Should I copy them somewhere?

Follow steps 1 -> 3:

https://github.com/beagleboard/bb.org-overlays/blob/master/readme.md

Then either:

sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_capemgr/slots"

or:

/boot/uEnv.txt

cape_enable=bone_capemgr.enable_partno=BB-UART1

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


Re: [beagleboard] Re: How to enable UART1 using dtb-rebuilder?

2015-11-09 Thread William Hermans
http://www.embeddedhobbyist.com/2015/09/beaglebone-black-updating-device-tree-files/

On Mon, Nov 9, 2015 at 11:48 AM, Robert Nelson 
wrote:

> On Mon, Nov 9, 2015 at 12:45 PM, Davide Picchi  wrote:
> >> 4.1-ti supports overlays, so you can either do it like "3.8".
> >>
> >>
> >>
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
> >>
> >> or create a custom *.dtb
> >
> >
> > That's nice,
> > but I cannot find any guide that helps me to install the new cape like in
> > the first tutorial I posted above.
> >
> > How do I use such overlays?
> >
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
> >
> > Should I copy them somewhere?
>
> Follow steps 1 -> 3:
>
> https://github.com/beagleboard/bb.org-overlays/blob/master/readme.md
>
> Then either:
>
> sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_capemgr/slots"
>
> or:
>
> /boot/uEnv.txt
>
> cape_enable=bone_capemgr.enable_partno=BB-UART1
>
> 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 beagleboard+unsubscr...@googlegroups.com.
> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: How to enable UART1 using dtb-rebuilder?

2015-11-10 Thread Davide Picchi
Thank both of you.

Your explanations did work very well and I can load capes without a problem.

The only problem is that no capes are loaded at boot startup process. So I 
need to load the cape everytime.
The following answer 

 
didn't help further. I have that flag as default in my beagle.

The only working way seems to be:

/boot/uEnv.txt  // open that file and write the following:
 
cape_enable=bone_capemgr.enable_partno=BB-UART1

But I thought that this is just an alternative, not the first choice.

Any idea?
 



Am Montag, 9. November 2015 21:16:10 UTC+1 schrieb William Hermans:
>
>
> http://www.embeddedhobbyist.com/2015/09/beaglebone-black-updating-device-tree-files/
>
> On Mon, Nov 9, 2015 at 11:48 AM, Robert Nelson  > wrote:
>
>> On Mon, Nov 9, 2015 at 12:45 PM, Davide Picchi > > wrote:
>> >> 4.1-ti supports overlays, so you can either do it like "3.8".
>> >>
>> >>
>> >> 
>> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
>> >>
>> >> or create a custom *.dtb
>> >
>> >
>> > That's nice,
>> > but I cannot find any guide that helps me to install the new cape like 
>> in
>> > the first tutorial I posted above.
>> >
>> > How do I use such overlays?
>> > 
>> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-UART1-00A0.dts
>> >
>> > Should I copy them somewhere?
>>
>> Follow steps 1 -> 3:
>>
>> https://github.com/beagleboard/bb.org-overlays/blob/master/readme.md
>>
>> Then either:
>>
>> sudo sh -c "echo 'BB-UART1' > /sys/devices/platform/bone_capemgr/slots"
>>
>> or:
>>
>> /boot/uEnv.txt
>>
>> cape_enable=bone_capemgr.enable_partno=BB-UART1
>>
>> 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 beagleboard...@googlegroups.com .
>> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.