Re: How to directly dertermine the initialization sequence of all devices


Dmitriy Korovkin
 

On Sun, 14 Aug 2016, Tidy Jiang wrote:


Hi All,

I know that devices' initialization sequence is dertermined by its level and
priority, but it's  difficult to peek those information in enormous code,
especially many devices are included.

So, Is there a way to directly, conveniently get the devices' initialization
sequence?
The way I know looks like this:
grep INIT_PRIORITY outdir/.config

CONFIG_KERNEL_INIT_PRIORITY_DEFAULT is usually the highest usable
priority, CONFIG_KERNEL_INIT_PRIORITY_DEVICE is the priority that devices
usually initialize at. If a device uses something different, it is
specified there.

Regards,
Dmitriy

Join devel@lists.zephyrproject.org to automatically receive all group messages.