Skip to content

Slot conflict resolution without compiling custom kernel? #23

@kfatehi

Description

@kfatehi

Hello

First off thank you. Secondly, I have an issue that has so far led me to having to consider compiling my own kernel, which I'd like to avoid. I am thinking there may be an easier solution that is just not well-documented yet.

I have a LCD cape that is causing a conflict in that it is disabling my UART2 in order to provide a hardware button [Enter key]. It is recognized as the BB-BONE-LCD4-01.

Between the LCD cape and the Beaglebone, I have a custom PCB (I call it a cape, but it does not provide an EEPROM with any identification information). This PCB utilizes UART2 via a MAX3232 chip. This was working perfectly fine before stacking the LCD cape.

I thought that I was already overriding the conflict by editing /boot/uboot/uEnv.txt to have the line cape_enable=capemgr.enable_partno=BB-UART1,BB-UART2 but this is not the case. The LCD cape overrides my settings and disables UART2 for the Enter button.

Is there a way to configure the beaglebone to prioritize my decision to enable the UART2 over the Enter key?

Some relevant lines of dmesg:

[    0.710548] bone-capemgr bone_capemgr.9: loader: before slot-8 BB-UART2:00A0 (prio 0)
[    0.710566] bone-capemgr bone_capemgr.9: loader: check slot-8 BB-UART2:00A0 (prio 0)
[    0.710581] bone-capemgr bone_capemgr.9: loader: after slot-8 BB-UART2:00A0 (prio 0)
[    0.710596] bone-capemgr bone_capemgr.9: slot #8: Requesting part number/version based 'BB-UART2-00A0.dtbo
[    0.710612] bone-capemgr bone_capemgr.9: slot #8: Requesting firmware 'BB-UART2-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[    0.710635] bone-capemgr bone_capemgr.9: slot #8: dtbo 'BB-UART2-00A0.dtbo' loaded; converting to live tree
[    0.710792] bone-capemgr bone_capemgr.9: slot #8: BB-UART2 conflict P9.21 (#3:BB-BONE-LCD4-01)
[    0.719838] bone-capemgr bone_capemgr.9: slot #8: Failed verification
[    0.726586] bone-capemgr bone_capemgr.9: loader: failed to load slot-8 BB-UART2:00A0 (prio 0)

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions