<html data-lt-installed="true">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <p>Hello everyone.</p>
    <p>I have a Linux Serdev driver [1] that uses a specific UART. To
      actually access the UART directly (`/dev/ttyS4`), I have to enable
      a device tree [2] and reboot the device. I was wondering if there
      was a better way to go about it.</p>
    <p>Is it possible to disable bcfserial (thereby enabling
      `/dev/ttyS4`) when the driver is removed (using rmmod)? I need
      access to `/dev/ttyS4` to flash new firmware to BeaglePlay CC1352
      using bsl [3]. Having to restart everytime I or anyone else wants
      to update firmware is not great, while developing.</p>
    <p>I am looking for a cycle like this: `rmmod driver` -> `flash
      firmware` -> `modprobe driver`.</p>
    <p><br>
    </p>
    <p>Ayush Singh<br>
    </p>
    <p><br>
    </p>
    <p>[1]:
      <a class="moz-txt-link-freetext"
href="https://git.beagleboard.org/gsoc/greybus/beagleplay-greybus-driver/-/tree/develop">https://git.beagleboard.org/gsoc/greybus/beagleplay-greybus-driver/-/tree/develop</a></p>
    <p>[2]:
      <a class="moz-txt-link-freetext"
href="https://git.beagleboard.org/beagleboard/linux/-/blob/v5.10.168-ti-arm64-r108/arch/arm64/boot/dts/ti/overlays/k3-am625-beagleplay-bcfserial-no-firmware.dts">https://git.beagleboard.org/beagleboard/linux/-/blob/v5.10.168-ti-arm64-r108/arch/arm64/boot/dts/ti/overlays/k3-am625-beagleplay-bcfserial-no-firmware.dts</a></p>
    [3]:
    <a class="moz-txt-link-freetext"
href="https://git.beagleboard.org/beagleconnect/zephyr/zephyr/-/blob/sdk-next/boards/arm/beagle_play_cc1352/cc2538-bsl.py">https://git.beagleboard.org/beagleconnect/zephyr/zephyr/-/blob/sdk-next/boards/arm/beagle_play_cc1352/cc2538-bsl.py</a>
    <p></p>
  </body>
  <lt-container></lt-container>
</html>