Skip to content

Will building ad9361 driver as a kernel module ever be possible? #2947

@develoopeer

Description

@develoopeer

What's the problem?

As mentioned in #2514, building ad9361 driver as a module is not an trivial task, cause it required reimplementing some of the core code. Because of that, now building of driver as a module is forcefully disabled. I want to know, if someone working on this? Or maybe i am the only one facing the problem of live reloading driver.

My case

I want to manually reflash fpga firmware in real time without breaking a driver. I found this thread where someone recommended to

unbind dma-axi-dmac via sysfs -> reflash fpga -> bind again.

But for me it is simply not working. I assumed, that on driver initialization phase, driver configure some registers on the fpga, and after reflashing this data is gone. Reinitializing driver with

echo 1 > /sys/kernel/debug/iio/iio:device0/initialize

also didn't work. After that, i thought that the only way to be sure that driver is initialized correctly again is manually removing driver as a module and loading again. That's why i am asking will this ever be implemented?

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