This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOT CODE OPTIMIZATION`

Hi all,

Anyone can give me some suggestion how to  do optimization in u-boot for booting purpose?

Regards,

santosh vastrad

  • This is a very broad topic, it also depends highly on what type of optimization you are looking for. One place to start is look through the include/configs .h file for the target board you are looking to optimize. There are several build configuration parameters here, some related to optimization. The u-boot readme file has some info on what the various build switches that are available.

  • Hi patton,

    I started to optimize the u-boot code,

    started from arch/arm/lib/board.c file, where i have commented unwanted functions,

    But still my u-boot.bin image size is around 206KB, So still need less , where else i can think of reducing the code,

    can you suggest?

    Regards,

    santosh vastrad

  • Santosh,

    Perhaps this lab will help you with some of your boot time optimization.

    http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Boot_Time_Reduction

    Chase