Helo All,
I am trying to learn embedded linux.
Please provide clarity on below:
- As DTB provides Board and SOC related information will it be sufficient to make sure correct drivers will be enabled?
- How a correct driver will get selected and will it happen during build time or kernel runtime based on the DTB?
- 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?
- Is it sufficient to have well defined DTB about board and kernel to make Linux up and running on any platform.
Thanks,Suraj