Change MOST Linux Driver configuration
Description
Environment
Activity

Tobias Jahnke December 20, 2017 at 1:40 PM
Dominiq,
our initial proposal was to have a separate kernel module which configures the driver. We provide the code for our customers. However, this solution was refused by mainline kernel and also by AGL. We agree to solve the configuration in another way. The script solves the driver configuration, but has some drawbacks, as you noticed.
We're open for your feedback and proposals, but please let's discuss after eel. There is no other solution available in the next days.

Dominig ar Foll December 20, 2017 at 9:46 AM
Tobias,
the name is a detail, as long as it's close to the driver name, we will be able to link them.
The issue is the way the script works. It's slow, cannot report any error and potentially as discussed yesterday can get us out of sync during startup.
The script also cannot =report the loaded configuration, what makes debug difficult.
The correct way would be to have a utility which parse a config file, does the configuration and report status when done and active. Without going to the complexity of the firmware download system, we could have the configuration called when we need it.
The current systemd model is not perfect but can be made to fit. We just neede to implement the correct dependency to ensure the right timing.

Tobias Jahnke December 20, 2017 at 9:35 AM
The script configures the MOST Linux Driver not UNICENS. Do you agree to rename to "Change MOST Linux Driver configuration"?
Details
Details
Assignee

Reporter

The script /usr/bin/unicens-config.sh should not be used for initlisation.
It slow and unreliable.
We should have a config file read by the driver (use default value if no config file and report error).
Then when the driver is loaded we would know that the system is ready. It would also avoid errors in network configuration.