[U-Boot] 85xx: MPC8536DS board does not build

Ben Warren biggerbadderben at gmail.com
Mon Aug 10 18:32:45 CEST 2009


Kumar Gala wrote:
> On Aug 10, 2009, at 2:56 AM, Wolfgang Denk wrote:
>
>   
>> Dear Kumar,
>>
>> I cannot build the MPC8536DS board any more using the ELDK 4.2 tool
>> chain (gcc 4.2.2):
>>
>> ppc_85xx-ld: section .bootpg [effff000 -> effff1cb] overlaps  
>> section .data.rel.local [efffe5d0 -> effff
>> c7b]
>> ppc_85xx-ld: section .resetvec [effffffc -> efffffff] overlaps  
>> section .u_boot_cmd [effffc9c -> f00003e
>> b]
>> ppc_85xx-ld: u-boot: section .bootpg lma 0xeffff000 overlaps  
>> previous sections
>> ppc_85xx-ld: u-boot: section .data.rel.ro lma 0xeffffc7c overlaps  
>> previous sections
>> ppc_85xx-ld: u-boot: section .u_boot_cmd lma 0xeffffc9c overlaps  
>> previous sections
>> ppc_85xx-ld: u-boot: section .resetvec lma 0xeffffffc overlaps  
>> previous sections
>>
>>
>> Could you please have a look?
>>     
>
> The e1000 driver updates seem to contribute a bit to code bloat.
>
>     text	   data	    bss	    dec	    hex	filename
>   427664	  52160	 300093	 779917	  be68d	u-boot			new e1000
>   417628	  51980	 300093	 769701	  bbea5	u-boot			old e1000
>
> Not sure what we can do about it.
>
> - k
>   
Adding PCI-E support to this driver added an astounding 3000+ lines to 
the driver.  I asked Roy to pare it back, but it was still pretty 
huge.   If this size increase is a serious issue, I support backing this 
patch out and refactoring it to include only the features that are 
necessary for a bootloader.

regards,
Ben


More information about the U-Boot mailing list