william@beaglebone:~$ dmesg |grep tty
[    0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8
root=/dev/mmcblk0p1 rootfstype=ext4 rootwait ip        v6.disable=1
[    0.002187] console [tty0] enabled
[    0.002223] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    1.998154] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158,
base_baud = 3000000) is a 8250
[    2.884801] console [ttyS0] enabled
william@beaglebone:~$ clear
william@beaglebone:~$ ls /sys/devices/
armv7_cortex_a8  breakpoint  platform  soc0  software  system  tracepoint
virtual
william@beaglebone:~$ ls /sys/devices/platform/
alarmtimer    cpufreq-dt        leds  omap-pcm-audio  pm33xx.0  power
serial8250  ti-cpufreq.0
bone_capemgr  fixedregulator@0  ocp   opp_table0      pmu       reg-dummy
soc         uevent
william@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots
 0: PF----  -1
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
william@beaglebone:~$ ls /lib/firmware/ |grep UART
BB-UART1-00A0.dtbo
BB-UART2-00A0.dtbo
BB-UART2-RTSCTS-00A0.dtbo
BB-UART3-00A0.dtbo
BB-UART4-00A0.dtbo
BB-UART4-RS485-00A0.dtbo
BB-UART5-00A0.dtbo
william@beaglebone:~$ sudo sh -c"echo 'BB-UART2' >
/sys/devices/platform/bone_capemgr/slots"
[sudo] password for william:
sh: 0: Illegal option -h
william@beaglebone:~$ sudo sh -c "echo 'BB-UART2' >
/sys/devices/platform/bone_capemgr/slots"
william@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots
 0: PF----  -1
 1: PF----  -1
 2: PF----  -1
 3: PF----  -1
 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,BB-UART2
william@beaglebone:~$ dmesg |grep tty
[    0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8
root=/dev/mmcblk0p1 rootfstype=ext4 rootwait ip        v6.disable=1
[    0.002187] console [tty0] enabled
[    0.002223] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    1.998154] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158,
base_baud = 3000000) is a 8250
[    2.884801] console [ttyS0] enabled
[778201.669492] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 198,
base_baud = 3000000) is a 8250


On Thu, Aug 18, 2016 at 4:17 PM, Matt <[email protected]> wrote:

> Don't think the ttyS's are it.  I know for sure in 3.18 you use the /ttyO2
> or whatever number uart you enable.
>
> Can anyone confirm that in 4.4 the UARTS show as /ttyS*  ?
>
> Going to check my .dts.
>
> On Thursday, August 18, 2016 at 3:18:43 PM UTC-7, Mike Bell wrote:
>>
>> On 08/18/2016 05:57 PM, Matt wrote:
>> > Hi,
>> >
>> > Working in kernel 4.4.16-bone-rt-r11 and am not seeing the
>> > corresponding entries in /dev/ for the enabled UARTS.
>> >
>> > /dev/tty13  /dev/tty24    /dev/tty35  /dev/tty46    /dev/tty57
>> /dev/ttyS0
>> > /dev/tty14  /dev/tty25    /dev/tty36  /dev/tty47    /dev/tty58
>> /dev/ttyS1
>> > /dev/tty15  /dev/tty26    /dev/tty37  /dev/tty48    /dev/tty59
>> /dev/ttyS2
>> > /dev/tty16  /dev/tty27    /dev/tty38  /dev/tty49    /dev/tty6
>> /dev/ttyS3
>> > /dev/tty17  /dev/tty28    /dev/tty39  /dev/tty5    /dev/tty60
>> /dev/ttyS4
>> > /dev/tty18  /dev/tty29    /dev/tty4   /dev/tty50    /dev/tty61
>> /dev/ttyS5
>> >
>> >
>> > What am I missing here?  When a UART is loaded into slots should it
>> > then be labeld ttyOX in /dev just as in 3.18?
>> > --
>>
>> /dev/ttyS?
>>
>> Mike
>>
> --
> 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/47a3dbf5-9d09-4825-80a4-54213c54c336%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/47a3dbf5-9d09-4825-80a4-54213c54c336%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORrF9s1MQpobfxJa%2B%3DY_G7_cMOq%2BYcnNYcOoyyZ5zO4MOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to