Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rshal2
New Contributor II
279 Views

Can we compile preloader without optimization ?

Jump to solution

Hello,

 

I am struglling with building u-boot-spl (preloader), without debug information.

Is it possible ? How ?

 

Thanks

0 Kudos
1 Solution
Fawaz_J_Intel
Employee
100 Views

Hello sir,

We always recommend our standard flow of compiling preloader, uboot and zImage, since this is the tested flow on board.

Keeping the debug info will not cause any issue to your system unless you need to reduce the image size. If the system is not able to boot, and you are following the recommended flow by intel, there is a big possibility of having some hardware issues.

 

thank you

View solution in original post

4 Replies
Fawaz_J_Intel
Employee
100 Views

Hello sir,

May I know which device is this?

Also, which Quartus version are you using?

 

Thank you..

rshal2
New Contributor II
100 Views

Hello,

 

We are using 5ASXFB5 (arria V) with quartus 15.1

When compiling preloader, I see in log that it use optimizations "-0s" and "-O2", and "-g".

I can debug preloader, but I rather have no optimization at all, becuase I see some skips from line to line sometimes, which make debugging more confusing.

I searched settings file and Makefile, but found nothing, which helps to remove optimization.

 

Thanks

 

rshal2
New Contributor II
100 Views

Hello,

 

I managed to proceed in debug, even without "no optimization" method.

So, the answer to this question is less required now.

 

Thank you.

Fawaz_J_Intel
Employee
101 Views

Hello sir,

We always recommend our standard flow of compiling preloader, uboot and zImage, since this is the tested flow on board.

Keeping the debug info will not cause any issue to your system unless you need to reduce the image size. If the system is not able to boot, and you are following the recommended flow by intel, there is a big possibility of having some hardware issues.

 

thank you

View solution in original post

Reply