Enable UART after driver removal without reboot
ayushdevel1325 at gmail.com
Fri Aug 18 09:29:42 EDT 2023
I have a Linux Serdev driver  that uses a specific UART. To actually
access the UART directly (`/dev/ttyS4`), I have to enable a device tree
 and reboot the device. I was wondering if there was a better way to
go about it.
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 . Having to restart
everytime I or anyone else wants to update firmware is not great, while
I am looking for a cycle like this: `rmmod driver` -> `flash firmware`
-> `modprobe driver`.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies