Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 12244

How are platform drivers managed in linux

$
0
0

Helo All,

I am trying to learn embedded linux.

Please provide clarity on below:

  1. As DTB provides Board and SOC related information will it be sufficient to make sure correct drivers will be enabled?
  2. How a correct driver will get selected and will it happen during build time or kernel runtime based on the DTB?
  3. How are drivers for platform devices(UART, SPI, I2C etc) handled in Linux? I mean as different SOC's have different implementations(register and bit fields will be different) of these peripherals how a single driver will be able to handle both SOC's?
  4. Is it sufficient to have well defined DTB about board and kernel to make Linux up and running on any platform.

Thanks,Suraj


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>