On Fri, Feb 26, 2016 at 12:37 PM,  <[email protected]> wrote:
> Hi,
>
> Using the image:
>
>
> https://rcn-ee.com/rootfs/bb.org/testing/2016-02-21/lxqt-4gb/bone-debian-8.3-lxqt-4gb-armhf-2016-02-21-4gb.img.xz
>
> running from microSD.  In /boot/uEnv.txt, I have uncommented the line:
>
>   dtb=am335x-boneblack-emmc-overlay.dtb
>
> to disable HDMI and added the line:
>
>   cape_enable=bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4,BB-UART5

That is weird...

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

root@beaglebone:~# dmesg | grep serial
[    3.493566] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158,
base_baud = 3000000) is a 8250
[    4.093442] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 197,
base_baud = 3000000) is a 8250
[    4.096877] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 198,
base_baud = 3000000) is a 8250
[    4.098865] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 199,
base_baud = 3000000) is a 8250

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

root@beaglebone:~# dmesg | grep serial
[    3.493566] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158,
base_baud = 3000000) is a 8250
[    4.093442] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 197,
base_baud = 3000000) is a 8250
[    4.096877] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 198,
base_baud = 3000000) is a 8250
[    4.098865] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 199,
base_baud = 3000000) is a 8250
[  159.353752] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 200,
base_baud = 3000000) is a 8250

root@beaglebone:~# dmesg | grep bone
[    0.000000] Kernel command line: console=ttyO0,115200n8
bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4
root=UUID=eb1945f3-f04e-4e7f-b356-ef6e4a713535 ro rootfstype=ext4
rootwait coherent_pool=1M quiet cape_universal=enable
[    3.837697] bone_capemgr bone_capemgr: Baseboard: 'A335BNLT, ,BBG115096703'
[    3.837729] bone_capemgr bone_capemgr:
compatible-baseboard=ti,beaglebone-black - #slots=4
[    3.892817] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.952794] bone_capemgr bone_capemgr: slot #1: No cape found
[    4.012791] bone_capemgr bone_capemgr: slot #2: No cape found
[    4.072791] bone_capemgr bone_capemgr: slot #3: No cape found
[    4.078588] bone_capemgr bone_capemgr: enabled_partno PARTNO
'BB-UART1' VER 'N/A' PR '0'
[    4.078603] bone_capemgr bone_capemgr: slot #4: override
[    4.078619] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[    4.078635] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A0,Override Manuf,BB-UART1'
[    4.078762] bone_capemgr bone_capemgr: enabled_partno PARTNO
'BB-UART2' VER 'N/A' PR '0'
[    4.078776] bone_capemgr bone_capemgr: slot #5: override
[    4.078789] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
[    4.078804] bone_capemgr bone_capemgr: slot #5: 'Override Board
Name,00A0,Override Manuf,BB-UART2'
[    4.078908] bone_capemgr bone_capemgr: enabled_partno PARTNO
'BB-UART4' VER 'N/A' PR '0'
[    4.078922] bone_capemgr bone_capemgr: slot #6: override
[    4.078934] bone_capemgr bone_capemgr: Using override eeprom data at slot 6
[    4.078949] bone_capemgr bone_capemgr: slot #6: 'Override Board
Name,00A0,Override Manuf,BB-UART4'
[    4.079596] bone_capemgr bone_capemgr: initialized OK.
[    4.095097] bone_capemgr bone_capemgr: slot #4: dtbo
'BB-UART1-00A0.dtbo' loaded; overlay id #0
[    4.099474] bone_capemgr bone_capemgr: slot #5: dtbo
'BB-UART2-00A0.dtbo' loaded; overlay id #1
[    4.099631] bone_capemgr bone_capemgr: slot #6: dtbo
'BB-UART4-00A0.dtbo' loaded; overlay id #2
[   16.255809] LUN: removable file:
/var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2015-12-04.img
[  159.324123] bone_capemgr bone_capemgr: part_number 'BB-UART5', version 'N/A'
[  159.324219] bone_capemgr bone_capemgr: slot #7: override
[  159.324269] bone_capemgr bone_capemgr: Using override eeprom data at slot 7
[  159.324323] bone_capemgr bone_capemgr: slot #7: 'Override Board
Name,00A0,Override Manuf,BB-UART5'
[  159.359911] bone_capemgr bone_capemgr: slot #7: dtbo
'BB-UART5-00A0.dtbo' loaded; overlay id #3
root@beaglebone:~#

Must be a race at startup...


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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to