UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer _kumar
Observer
1,179 Views
Registered: ‎12-28-2016

How to reduce xilinx uboot and Linux boot time

Hi, I have a project with kintex 7 fpga, microblaze processor.

The processor is ported with xilinx uboot v2014 and Linux v3.12.

Currently my system takes 50 secs to not and get application start.

Need help to reduce this time.

Thanks
0 Kudos
6 Replies
Explorer
Explorer
1,149 Views
Registered: ‎06-03-2015

Re: How to reduce xilinx uboot and Linux boot time

Hi Kumar,

 

For 'Reduce Boot Time' , will get set of Presentations from ELC (Embedded Linux Conference) 2014, 2015. 

Check in elinux.org for ELC Presentations

 

Main Idea is, remove set  of Peripherals from u-boot code

& make silent of set of I/O Devices which are not needed at the Boot time.

 

For Ex: Your Device is booting with  SD card , you can remove  Ethernet Support, QSPI Support from Boot Code.

 

Thanks & Regards
Satish.G

 

 

 

G Satish Kumar
0 Kudos
Voyager
Voyager
1,130 Views
Registered: ‎09-14-2016

Re: How to reduce xilinx uboot and Linux boot time

Hi @_kumar,

 

Could you share bootlog with timestamp?

 

Cheers,

Trigger

0 Kudos
Observer _kumar
Observer
1,109 Views
Registered: ‎12-28-2016

Re: How to reduce xilinx uboot and Linux boot time

Hi,

 

I have attached my boot log, which contains the boot prints from board power on to linux command line.

 

Thanks!

0 Kudos
Voyager
Voyager
1,092 Views
Registered: ‎09-14-2016

Re: How to reduce xilinx uboot and Linux boot time

Hi ,

 

You should take a look to : 

[    0.794562] RPC: Registered udp transport module.
[    0.794678] RPC: Registered tcp transport module.
[    0.794800] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.918263] Skipping unavailable RESET gpio -2 (reset)
[    7.945828] futex hash table entries: 16 (order: -4, 448 bytes)

7 seconds for do what?

 

You are talking about 50 sec but :

 

[   12.521659] Freeing unused kernel memory: 2212K (c0421000 - c064a000)
Starting rcS...

Last point, if you want to lauch your application you have to add init script to start your app :)

 

Cheers,

Trigger

0 Kudos
Observer _kumar
Observer
1,087 Views
Registered: ‎12-28-2016

Re: How to reduce xilinx uboot and Linux boot time

Hi,

 

[    0.794800] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.918263] Skipping unavailable RESET gpio -2 (reset)

Yes, you pointed it rightly. Any suggestions on how to do this?

 

I said my total system boot time is 50 secs, right from power on to linux shell (#) [This step includes FSBL, U-Boot, Linux]

 

-Thanks!

0 Kudos
Voyager
Voyager
1,082 Views
Registered: ‎09-14-2016

Re: How to reduce xilinx uboot and Linux boot time

Hi ,

 

To reduce boot time:

- You can disable waiting time in u-boot (3/5 sec).

- Check DTS to find something about this strange reset : https://github.com/mqmaker/linux/blob/master/arch/microblaze/kernel/reset.c

 

And maybe update kernel -> Linux-3.15.0 is a little bit old isn't it ?

 

Cheers,

Trigger

0 Kudos