From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Mon, 10 Aug 2009 09:32:45 -0700 Subject: [U-Boot] 85xx: MPC8536DS board does not build In-Reply-To: <0E1A5EEB-51E5-488D-9457-993F95553506@kernel.crashing.org> References: <20090810075631.B68EC833DBD2@gemini.denx.de> <0E1A5EEB-51E5-488D-9457-993F95553506@kernel.crashing.org> Message-ID: <4A804BAD.1010204@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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