can't setup more than 2 UART's at the same time

41 views
Skip to first unread message

Dror Lugasi

unread,
Aug 8, 2016, 2:28:10 PM8/8/16
to BeagleBoard
hey,
i have a BBB and i want to use the UART port it has.
it has the latest debian image from the beagle website.
i use it with a screen via hdmi and a keyboard and a mouse.

after changing the uEnv.txt file to have 

cape_enable=bone_capemgr.enable_partno=BB-UART0
cape_enable=bone_capemgr.enable_partno=BB-UART1 
cape_enable=bone_capemgr.enable_partno=BB-UART2 
cape_enable=bone_capemgr.enable_partno=BB-UART4 
cape_enable=bone_capemgr.enable_partno=BB-UART5

the beagle won't power up, the power led lights up but there is nothing on the screen.

i read that UART 4 is only available if you disable the hdmi port, is this true? 
cause i used the UART4 with a different version of debian and it worked..

right now i only managed to get UART1 and UART2 to show after the command

"cat /sys/devices/platform/bone_capemgr/slots"

when writing only:

cape_enable=bone_capemgr.enable_partno=BB-UART1 
cape_enable=bone_capemgr.enable_partno=BB-UART2 

in the uEnv.txt file.

can some one please explain how can i use all 5 UART ports with the hdmi as well?
i have tried all day with around 5-7 installations of the debian image every time
because this got the beagle to drop dead.

thanks!

Robert Nelson

unread,
Aug 8, 2016, 2:32:53 PM8/8/16
to Beagle Board, lugas...@gmail.com
On Mon, Aug 8, 2016 at 1:28 PM, Dror Lugasi <lugas...@gmail.com> wrote:
> hey,
> i have a BBB and i want to use the UART port it has.
> it has the latest debian image from the beagle website.
> i use it with a screen via hdmi and a keyboard and a mouse.
>
> after changing the uEnv.txt file to have
>
> cape_enable=bone_capemgr.enable_partno=BB-UART0
> cape_enable=bone_capemgr.enable_partno=BB-UART1
> cape_enable=bone_capemgr.enable_partno=BB-UART2
> cape_enable=bone_capemgr.enable_partno=BB-UART4
> cape_enable=bone_capemgr.enable_partno=BB-UART5


cape_enable=bone_capemgr.enable_partno=BB-UART0,BB-UART2,BB-UART4,BB-UART5

add:

dtb=am335x-boneblack-overlay.dtb

and you'll have eMMC/video disabled so you enable all the usarts..


Regards,

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

Robert Nelson

unread,
Aug 8, 2016, 2:45:00 PM8/8/16
to Beagle Board, Dror Lugasi
On Mon, Aug 8, 2016 at 1:41 PM, Dror Lugasi <lugas...@gmail.com> wrote:
> thank you very much Robert! unfortunately i will have it only on Wednesday
> so i'll try it then..
>
> so i just need to add
>
> cape_enable=bone_capemgr.enable_partno=BB-UART0,BB-UART2,BB-UART4,BB-UART5
> dtb=am335x-boneblack-overlay.dtb
>
> the -dtb- one line below the -cape_enable- ?

Doesn't matter, u-boot process the whole /boot/uEnv.txt file..

Matt

unread,
Aug 18, 2016, 7:29:21 PM8/18/16
to BeagleBoard, lugas...@gmail.com
Once you were successful here did you get the corresponding /dev/ttyO2 , /dev/ttyO4 , etc?
Reply all
Reply to author
Forward
0 new messages