[U-Boot] igep0030_nand_defconfig compile is broken

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 agraf@suse.de 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.
Signed-off-by: Alexander Graf agraf@suse.de
: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

On 04/25/2016 11:36 AM, Heiko Schocher wrote:
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 agraf@suse.de 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. Signed-off-by: Alexander Graf <agraf@suse.de>
: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?
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

On Mon, Apr 25, 2016 at 01:13:40PM +0200, Alexander Graf wrote:
On 04/25/2016 11:36 AM, Heiko Schocher wrote:
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 agraf@suse.de 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.
Signed-off-by: Alexander Graf agraf@suse.de
: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?
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.
participants (3)
-
Alexander Graf
-
Heiko Schocher
-
Tom Rini