Skip to contentSkip to conversation

QorIQ NAND-Boot configs not building

U-Boot Wolfgang Denk 2 participants 6 messages Aug 18, 2010 – Sep 9, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
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
"I think trash is the most important manifestation of culture we have
in my lifetime."                                      - Johnny Legend
#1 lore raw
Quoted 4 lines · Wolfgang Denk

Dear Andy & Kumar,

all QorIQ NAND-Boot configurations are apeareantly failing to build.

Quoted 8 lines

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

#2 lore raw

Dear Kumar Gala,

Quoted 3 lines · In message <[email protected]> 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

Signature · 5 lines
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 only time the world beats a path to your door is when you are  in
the bathroom.
#3 lore raw
Quoted 4 lines · Wolfgang Denk

Dear Kumar Gala,

Quoted 1 line · In message <[email protected]> you wrote:
Quoted 8 lines
Quoted 2 lines

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

#4 lore raw

Dear Kumar Gala,

Quoted 5 lines · In message <[email protected]> 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

Quoted 1 line

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

Signature · 5 lines
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
#5 lore raw
Quoted 7 lines · Wolfgang Denk

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