All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] QorIQ NAND-Boot configs not building
@ 2010-08-18 22:15 Wolfgang Denk
  2010-08-19  7:05 ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2010-08-18 22:15 UTC (permalink / raw)
  To: u-boot

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

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] QorIQ NAND-Boot configs not building
  2010-08-18 22:15 [U-Boot] QorIQ NAND-Boot configs not building Wolfgang Denk
@ 2010-08-19  7:05 ` Kumar Gala
  2010-08-19  7:47   ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2010-08-19  7:05 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] QorIQ NAND-Boot configs not building
  2010-08-19  7:05 ` Kumar Gala
@ 2010-08-19  7:47   ` Wolfgang Denk
  2010-09-07 16:48     ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2010-08-19  7:47 UTC (permalink / raw)
  To: u-boot

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

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] QorIQ NAND-Boot configs not building
  2010-08-19  7:47   ` Wolfgang Denk
@ 2010-09-07 16:48     ` Kumar Gala
  2010-09-08 20:41       ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Kumar Gala @ 2010-09-07 16:48 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] QorIQ NAND-Boot configs not building
  2010-09-07 16:48     ` Kumar Gala
@ 2010-09-08 20:41       ` Wolfgang Denk
  2010-09-09  2:28         ` Kumar Gala
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2010-09-08 20:41 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] QorIQ NAND-Boot configs not building
  2010-09-08 20:41       ` Wolfgang Denk
@ 2010-09-09  2:28         ` Kumar Gala
  0 siblings, 0 replies; 6+ messages in thread
From: Kumar Gala @ 2010-09-09  2:28 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-09  2:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18 22:15 [U-Boot] QorIQ NAND-Boot configs not building Wolfgang Denk
2010-08-19  7:05 ` Kumar Gala
2010-08-19  7:47   ` Wolfgang Denk
2010-09-07 16:48     ` Kumar Gala
2010-09-08 20:41       ` Wolfgang Denk
2010-09-09  2:28         ` Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.