Thanks Robert, you saved my day. I lost a couple of days with UART not working after upgrading to Debian 9. Finally after having a look at the posts in the mailing list I found this and figured out 'cape_enable=bone_capemgr.enable_partno=BB-UART1' is not enough anymore. It is perhaps worthed to include an entry in the wiki <http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays> with specific information on this change and how to enable the UART, as not all of us who work with overlays have a full understanding on how they work and interact with uboot.
Thanks a log again! :) El dilluns, 17 juliol de 2017 20:01:24 UTC+2, RobertCNelson va escriure: > > On Mon, Jul 17, 2017 at 12:18 PM, Hồng Quân Nguyễn > <[email protected] <javascript:>> 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/9a51a0ba-2f14-43ec-b05a-40ea1e96de2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
