From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 08 Sep 2010 22:41:32 +0200 Subject: [U-Boot] QorIQ NAND-Boot configs not building In-Reply-To: <032F2EE7-6C88-4C83-AF81-55874220F73B@kernel.crashing.org> References: <20100818221527.99867157D71@gemini.denx.de> <20100819074725.9B589157D71@gemini.denx.de> <032F2EE7-6C88-4C83-AF81-55874220F73B@kernel.crashing.org> Message-ID: <20100908204132.A647F1506AA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <032F2EE7-6C88-4C83-AF81-55874220F73B@kernel.crashing.org> you wrote: > > Can you retry w/top of tree and let me know results. I tried this w/o > seeing any issues. The build failures I'm getting are with: > > P2020DS_36BIT This gives just a harmless (but pretty common) warning: -> cat P2020DS_36BIT.ERR e1000.c: In function 'e1000_transmit': e1000.c:5028: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type > socrates This is indeed broken: -> cat socrates.ERR ld: warning: dot moved backwards before `.bss' ld: warning: dot moved backwards before `.bss' ld: warning: dot moved backwards before `.bss' ld: u-boot: section .text lma 0xfffa0000 overlaps previous sections ld: u-boot: section .rodata lma 0xfffe3b08 overlaps previous sections ld: u-boot: section .reloc lma 0xffff3100 overlaps previous sections ld: u-boot: section .data lma 0xffff6444 overlaps previous sections ld: u-boot: section .data.rel.ro.local lma 0xffffcc54 overlaps previous sections ld: u-boot: section .data.rel lma 0xffffcd50 overlaps previous sections ld: u-boot: section .data.rel.local lma 0xffffcdb4 overlaps previous sections ld: u-boot: section .data.rel.ro lma 0xffffec54 overlaps previous sections ld: u-boot: section .u_boot_cmd lma 0xffffecb0 overlaps previous sections ld: u-boot: section .bootpg lma 0xfffff394 overlaps previous sections But the NAND-Boot configs still fail to build: -> cat P1011RDB_NAND.ERR ld: NAND bootstrap too big ld: NAND bootstrap too big make[1]: *** [/work/wd/tmp-ppc/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2 make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. -> cat P1020RDB_NAND.ERR ld: NAND bootstrap too big ld: NAND bootstrap too big make[1]: *** [/work/wd/tmp-ppc/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2 make: *** Waiting for unfinished jobs.... -> cat P2010RDB_NAND.ERR ld: NAND bootstrap too big ld: NAND bootstrap too big make[1]: *** [/work/wd/tmp-ppc/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2 make: *** Waiting for unfinished jobs.... -> cat P2020RDB_NAND.ERR ld: NAND bootstrap too big ld: NAND bootstrap too big make[1]: *** [/work/wd/tmp-ppc/nand_spl/u-boot-spl] Error 1 make: *** [nand_spl] Error 2 make: *** Waiting for unfinished jobs.... Ah, I see - this happens when building with a generic PPC toolchain like ELDK's "ppc_6xx-"; when using "ppc_85xxDP-" instead the build succeeds. Does this give you a hint how to fix this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The great question... which I have not been able to answer... is, `What does woman want?'" - Sigmund Freud