Skip to contentSkip to conversation

igep0030_nand_defconfig compile is broken

U-Boot Heiko Schocher 3 participants 3 messages Apr 25, 2016

lore
Share & tools
lore
#0 lore raw

Hello

on current HEAD of mainline code, compile for "igep0030_nand_defconfig" is broken:

arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram' arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1176 bytes scripts/Makefile.spl:247: recipe for target 'spl/u-boot-spl' failed make[1]: *** [spl/u-boot-spl] Error 1
Makefile:1334: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2

a git bisect shows:

$ git bisect bad
578ec3b1fb3f4e85d8243d442f66f308c94b791d is the first bad commit
commit 578ec3b1fb3f4e85d8243d442f66f308c94b791d
Author: Alexander Graf <[email protected]>
Date:   Mon Apr 11 16:16:21 2016 +0200

distro: Enable iso partition code

Now that we can properly boot EFI payloads from iso el torito images, let's enable support for isos by default in the distro header.

:040000 040000 ba4615980d26ef80e9b9e5ce9fc2440456c556cb 6d0ba56e5ed81ea54d37566763f3f225bd2d00ad M
include
pollux:u-boot hs [(kein Branch, bin?re Suche begonnen bei master)] $

buildman show 3 boards:

        arm:  +   igep0030_nand

+arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram' +arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1236 bytes +make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
arm: + duovero
+arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram' +arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 816 bytes +make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2

        arm:  +   igep0020_nand

+arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram' +arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1220 bytes +make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
517 0 40 /557 q8_a13_tablet

Could somebody provide a fix for this boards?

Thanks!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#1 lore raw
Quoted 58 lines · Heiko Schocher

Hello

on current HEAD of mainline code, compile for "igep0030_nand_defconfig" is broken:

arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram'
arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1176 bytes scripts/Makefile.spl:247: recipe for target 'spl/u-boot-spl' failed make[1]: *** [spl/u-boot-spl] Error 1
Makefile:1334: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2

a git bisect shows:

$ git bisect bad
578ec3b1fb3f4e85d8243d442f66f308c94b791d is the first bad commit
commit 578ec3b1fb3f4e85d8243d442f66f308c94b791d
Author: Alexander Graf <[email protected]>
Date:   Mon Apr 11 16:16:21 2016 +0200

distro: Enable iso partition code

Now that we can properly boot EFI payloads from iso el torito images, let's enable support for isos by default in the distro header.

:040000 040000 ba4615980d26ef80e9b9e5ce9fc2440456c556cb
6d0ba56e5ed81ea54d37566763f3f225bd2d00ad M include
pollux:u-boot hs [(kein Branch, bin?re Suche begonnen bei master)] $

buildman show 3 boards:

       arm:  +   igep0030_nand

+arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram'

(quoted diff) +5 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1236 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
       arm:  +   duovero
+arm-linux-gnueabi-ld.bfd: u-boot-spl section `.data' will not fit in 

region `.sram'

(quoted diff) +5 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 816 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
       arm:  +   igep0020_nand
+arm-linux-gnueabi-ld.bfd: u-boot-spl section `.data' will not fit in 

region `.sram'

(quoted diff) +4 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1220 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
  517    0   40 /557    q8_a13_tablet
Quoted 1 line

Could somebody provide a fix for this boards?

Ouch, I didn't realize that distro defconfigs flow into SPL as well. Is there any streamlined way to only select default config options for SPL?

Alex

#2 lore raw
Quoted 59 lines · Alexander Graf
Quoted 58 lines · Heiko Schocher

Hello

on current HEAD of mainline code, compile for "igep0030_nand_defconfig" is broken:

arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram'
arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1176 bytes scripts/Makefile.spl:247: recipe for target 'spl/u-boot-spl' failed make[1]: *** [spl/u-boot-spl] Error 1
Makefile:1334: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2

a git bisect shows:

$ git bisect bad
578ec3b1fb3f4e85d8243d442f66f308c94b791d is the first bad commit
commit 578ec3b1fb3f4e85d8243d442f66f308c94b791d
Author: Alexander Graf <[email protected]>
Date:   Mon Apr 11 16:16:21 2016 +0200

distro: Enable iso partition code

Now that we can properly boot EFI payloads from iso el torito images, let's enable support for isos by default in the distro header.

:040000 040000 ba4615980d26ef80e9b9e5ce9fc2440456c556cb
6d0ba56e5ed81ea54d37566763f3f225bd2d00ad M include
pollux:u-boot hs [(kein Branch, bin?re Suche begonnen bei master)] $

buildman show 3 boards:

      arm:  +   igep0030_nand

+arm-linux-gnueabi-ld.bfd: u-boot-spl section .data' will not fit in region .sram'

(quoted diff) +5 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1236 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
      arm:  +   duovero
+arm-linux-gnueabi-ld.bfd: u-boot-spl section `.data' will not fit

in region `.sram'

(quoted diff) +5 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 816 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
      arm:  +   igep0020_nand
+arm-linux-gnueabi-ld.bfd: u-boot-spl section `.data' will not fit

in region `.sram'

(quoted diff) +4 -0
+arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 1220 bytes
+make[2]: *** [spl/u-boot-spl] Error 1
+make[1]: *** [spl/u-boot-spl] Error 2
+make: *** [sub-make] Error 2
 517    0   40 /557    q8_a13_tablet
Quoted 5 lines
Quoted 1 line

Could somebody provide a fix for this boards?

Ouch, I didn't realize that distro defconfigs flow into SPL as well. Is there any streamlined way to only select default config options for SPL?

As much as anything else it's also how gcc (prior to 6) combines strings prior to -fdata-sections/-ffunction-sections. Just need to find something or another that can come out of igep, most likely.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160425/5b4ee133/attachment.sig>