[coreboot] STACK_SIZE pcengines apu1

Maxime de Roucy maxime.deroucy at gmail.com
Sun Sep 6 14:10:25 CET 2015


Hello,

I am building a coreboot rom for my pcengines apu1.
A bug is logged during the boot process :
http://review.coreboot.org/gitweb?p=board-status.git;a=blob;f=pcengines/apu1/4.0-9873-g7b9762f/2015-06-04T15:16:28Z/coreboot_console.txt;hb=HEAD#l1281

In order to solve it I applied this changed :

    diff --git a/src/Kconfig b/src/Kconfig
    index 9c01687..c8b8ad2 100644
    --- a/src/Kconfig
    +++ b/src/Kconfig
    @@ -427,7 +427,7 @@ config HEAP_SIZE
     config STACK_SIZE
            hex
            default 0x0 if (ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_MIPS || ARCH_RAMSTAGE_RISCV)
    -       default 0x1000
    +       default 0x2000
     
     config MAX_CPUS
            int

I don't see the bug line anymore, instead I see :

    CPU0: stack: 00148000 - 0014a000, lowest used address 00148d34, stack used: 4812 bytes

I now the patch is not good since it change the default stack size for
all the boards. I didn't found the right place the change the stack
size only for pcengines apu1 board.
But maybe those informations can help developers to improve coreboot.
-- 
Regards
Maxime de Roucy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150906/71796972/attachment-0001.asc>


More information about the coreboot mailing list