driverlinux-device-drivermicrokernelsel4

is there a simple way to port linux drivers to L4?


I want to build a system over seL4 and I do not want to write the drivers from scratch. I know that L4linux managaged to raise an entire linux kernel, drivers included, over fiasco.OC.

Ideally I want a driver wrapper that would allow me to run linux drivers as standalone tasks over sel4.

I am willing to code much. but I want to avoid reading hardware spec sheets and rewriting drivers.


Solution

  • I last looked at L4 in depth many years ago.

    Based on my understanding the answer to your question should be in general a no. The reasons for this are mainly in two aspects: For one is because a fully bloated linux driver needs to take care of too many aspects to integrate into the kernel subsystems. The another reason is the two kernels are different.

    If the specific driver you are looking at does not heavily integrate into the kernel subsystems, it may be not a huge task for you to develop a wrapper.