Announcement

Collapse
No announcement yet.

BurnInTest Linux (ARM) Serial port question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BurnInTest Linux (ARM) Serial port question

    Hi!

    Trying to get the serial ports on my Arm (MX8MPlus) based system working via loopback. Device is running Yocto and kernel 5.4.47

    From cmdline_config.txt
    <Serial>

    <Test>
    ## Device to test - ttys0, ttys1 etc to ttys63
    Device ttymxc0
    ## Test Mode - Loopback or Detect
    TestMode Loopback
    </Test>

    <Test>
    ## Device to test - ttys0, ttys1 etc to ttys63
    Device ttymxc2
    ## Test Mode - Loopback or Detect
    TestMode Loopback
    </Test>
    When running the status page indicates an error .. and I am not sure why ttymxc0 becomes ttyMXc0 or ttymxc2 becomes ttyMXc2 but I suspect this may be a cause of the issue.

    Click image for larger version

Name:	BIT Status.jpg
Views:	520
Size:	48.1 KB
ID:	51175

    the resulting log (BiTLog2.log) indicates the ports cannot be found which I believe is caused by the uppercase characters.

    BiTLog2.log

    Click image for larger version

Name:	grep tty.jpg
Views:	432
Size:	22.7 KB
ID:	51177

    Any idea how / why the serial port names are being changed and how I can communicate with these serial ports?

    Thanks in advance!

    Scott



  • #2
    Looks like there's a problem handling some arm devices, this will be fixed in the next update.

    In the meantime you can create a symbolic link to the correct serial port.

    sudo ln -s /dev/ttymxc0 /dev/ttyMXc0

    sudo ln -s /dev/ttymxc2 /dev/ttyMXc2

    Comment


    • #3
      Thanks! This worked just fine. Not sure why I didn't think of that!

      Comment

      Working...
      X