[simulator] improve init process
[simulator] improve init process

RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread