Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MLeis4
Novice
1,243 Views

Optimize time to "start kernel" after poweron on edison

Are there steps to optimize "starting kernel" on poweron (i.e. uboot starts running)

It seems the dfu util part takes several seconds in my benchmarking.

What I'd like to do is get a system which starts the kernel after loading uboot in 1-2 seconds.

What's achievable?

0 Kudos
2 Replies
Pedro_M_Intel
Employee
13 Views

Hello martyl,

Thanks for reaching out!

If you would like to improve Edison's boot time, I'd suggest you to modify the image to remove any packages not required by your project like it is discussed on .

However, if what you like to achieve is, as you mentioned, modify the time it takes U-boot to start, you will probably have to modify Edison's U-boot which is not supported.

Nevertheless, if you would like to try this, you can check Edison's U-boot source in https://github.com/01org/edison-u-boot GitHub - 01org/edison-u-boot .

I hope this is useful.

-Peter.

Andriy_S_Intel
Employee
13 Views

Remove dfu call from U-Boot for first. (Just from environment)

Compile as much as possible into kernel for second. (And do not compile what is not used)

You may try to use initrd instead of real rootfs (This will be RAM consuming, but you can really adjust what you have there. Mine is abou 25Mb unpacked)

That's what came to my mind.