[U-Boot] QorIQ NAND-Boot configs not building

Dear Andy & Kumar,
all QorIQ NAND-Boot configurations are apeareantly failing to build.
I get
ld: NAND bootstrap too big
error messages for these board configurations: P1011RDB_NAND, P1020RDB_NAND, P2010RDB_NAND, and P2020RDB_NAND
Please fix.
Thanks in advance.
Best regards,
Wolfgang Denk

On Aug 18, 2010, at 5:15 PM, Wolfgang Denk wrote:
Dear Andy & Kumar,
all QorIQ NAND-Boot configurations are apeareantly failing to build.
I get
ld: NAND bootstrap too big
error messages for these board configurations: P1011RDB_NAND, P1020RDB_NAND, P2010RDB_NAND, and P2020RDB_NAND
Please fix.
This will take a bit longer since it seems to be compiler version dependent. Not seeing it with gcc 4.3.2. What gcc are you using?
- k

Dear Kumar Gala,
In message AA5C74A5-8B4F-4ED8-A9E9-DFEA41481DD1@kernel.crashing.org you wrote:
This will take a bit longer since it seems to be compiler version dependent. Not seeing it with gcc 4.3.2. What gcc are you using?
gcc 4.2.2 as comes with ELDK 4.2
Best regards,
Wolfgang Denk

On Aug 19, 2010, at 2:47 AM, Wolfgang Denk wrote:
Dear Kumar Gala,
In message AA5C74A5-8B4F-4ED8-A9E9-DFEA41481DD1@kernel.crashing.org you wrote:
This will take a bit longer since it seems to be compiler version dependent. Not seeing it with gcc 4.3.2. What gcc are you using?
gcc 4.2.2 as comes with ELDK 4.2
Best regards,
Wolfgang Denk
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
and
socrates
- k

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

On Sep 8, 2010, at 3:41 PM, Wolfgang Denk wrote:
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?
Not terribly, but I was using ppc_85xxDP-. Will try with ppc_6xx.
- k
participants (2)
-
Kumar Gala
-
Wolfgang Denk