2009-04-16 09:10:57     1 MB uImage simple saving opportunity (libcrypto)

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-16 09:10:57     1 MB uImage simple saving opportunity (libcrypto)

Rob Maris (GERMANY)

Message: 72754   

 

By default (at least with my Bluetechnix target), specific Network Options are set which leads to approx. +1 MB bigger uImage. Perhaps other users can check it out, too.

 

Main contributor is romfs/usr/lib/libcrypto.so.0.9, build by having any of those three options in kernelconfiguration set.

 

[*] Networking support --->

       Networking options --->

       ...

< > IP: IPsec transport mode

       < > IP: IPsec tunnel mode

       < > IP: IPsec BEET mode

 

I believe that these options are not needed for most system constellations.

QuoteReplyEditDelete

 

 

2009-04-17 14:58:01     Re: 1 MB uImage simple saving opportunity (libcrypto)

Robin Getz (UNITED STATES)

Message: 72797   

 

Rob:

 

kernel settings should have nothing to do with compiling/including the userspace libraries.

 

I have both those selected - INET_XFRM_MODE_TRANSPORT & INET_XFRM_MODE_BEET - but I have no libcrypto showning up.

QuoteReplyEditDelete

 

 

2009-04-19 16:39:52     Re: 1 MB uImage simple saving opportunity (libcrypto)

Rob Maris (GERMANY)

Message: 72824   

 

Robin:

 

I was wondering, too. But I indeed found a difference. Now I activated these entries. No substantial change. New examination showed that user config libSSL is responsible for this.

 

This misinformation may have been caused by attempts to reduce a binary size and by not doing romfs clear upon every iteration or whatever may have caused this finding. Well, some day this thread will no longer appear on this page... 

Attachments

    Outcomes