On Mon, Jul 17, 2017 at 12:18 PM, Hồng Quân Nguyễn
<[email protected]> wrote:
> I installed Ubuntu 16.04 to my BeagleBone Black and tried to enable UART1,
> but it seems to not works.
>
> Content of /etc/default/capemgr:
>
> # Default settings for capemgr. This file is sourced by /bin/sh from
> # /etc/init.d/capemgr.sh
>
> # Options to pass to capemgr
> CAPE=BB-UART1,BB-PWM1
>
>
>
> Content of /sys/devices/platform/bone_capemgr/slots:
>
>  0: ---l--  -1
>  1: ------  -1
>  2: ---l--  -1
>  3: ---l--  -1
>  4: --O---  -1
>
>
>
> Log related to BB-UART1 cape:
>
> $ journalctl
> Jul 17 16:15:00 beaglebone-glass sh[612]: generic-board-startup:
> [model=TI_AM335x_BeagleBone_Black]
> Jul 17 16:15:00 beaglebone-glass sh[612]: generic-board-startup: [startup
> script=/opt/scripts/boot/am335x_evm.sh]
> Jul 17 16:15:00 beaglebone-glass kernel: bone_capemgr bone_capemgr:
> part_number 'BB-UART1', version 'N/A'
> Jul 17 16:15:00 beaglebone-glass kernel: bone_capemgr bone_capemgr: slot #4:
> override
> Jul 17 16:15:00 beaglebone-glass kernel: bone_capemgr bone_capemgr: slot #4:
> auto loading handled by U-Boot
> Jul 17 16:15:00 beaglebone-glass cron[676]: (CRON) INFO (pidfile fd = 3)
> Jul 17 16:15:00 beaglebone-glass systemd[1]: Starting System Logging
> Service...
> Jul 17 16:15:01 beaglebone-glass systemd[1]: Started D-Bus System Message
> Bus.
>
> Linux info:
>
> $ uname -a
> Linux beaglebone-glass 4.4.62-ti-r104 #1 SMP Thu May 18 18:00:40 UTC 2017
> armv7l armv7l armv7l GNU/Linux
>
> $ cat /etc/dogtag
> rcn-ee.net console Ubuntu Image 2017-05-21
>
> How to fix it?

That image uses u-boot overlays:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

in /boot/uEnv.txt set:

uboot_overlay_addr4=/lib/firmware/BB-UART1-00A0.dtbo
uboot_overlay_addr5=/lib/firmware/BB-PWM1-00A0.dtbo

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYh8EBtAhUSWFCHbzz6xNKFXPi8Onq1Lg%2BOoiHndfiip2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to