geissdoerfer / shepherd

MIT License
13 stars 6 forks source link

Handling of PRUs in kernel module #7

Closed geissdoerfer closed 5 years ago

geissdoerfer commented 5 years ago

Currently, the kernel module polls for the PRUs by trying a range of phandles during initialization. This is an ugly workaround and may not work under all circumstances. Instead, the shepherd kernel module should be registered as a platform driver for the PRUs and automatically probed, once the PRUs are detected by the kernel.

kugelbit commented 5 years ago

Thanks for filling the Issue.

We can get rid of this "ugly workaround" by writing a platform-driver-kernel-modul. I will go deeper into this in the next few weeks.