[U-Boot] igep0030_nand_defconfig compile is broken

Alexander Graf agraf at suse.de
Mon Apr 25 13:13:40 CEST 2016


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



More information about the U-Boot mailing list