Here is a linker's error message for some configurations: or1k-elf-ld: barebox section `.eh_frame' will not fit in region `ram' or1k-elf-ld: region `ram' overflowed by 16868 bytes This patch increases space reserved for barebox from 256K to 512K so the error's probability is dramatically decreased. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> Cc: Franck Jullien <franck.jullien@xxxxxxxxx> --- arch/openrisc/boards/generic/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/openrisc/boards/generic/config.h b/arch/openrisc/boards/generic/config.h index 6ebab42..10c33a1 100644 --- a/arch/openrisc/boards/generic/config.h +++ b/arch/openrisc/boards/generic/config.h @@ -13,8 +13,8 @@ #define OPENRISC_SOPC_ETHOC_BASE 0x92000000 -/* We reserve 256K for barebox */ -#define BAREBOX_RESERVED_SIZE 0x40000 +/* We reserve 512K for barebox */ +#define BAREBOX_RESERVED_SIZE 0x80000 /* Barebox will be at top of main memory */ #define OPENRISC_SOPC_TEXT_BASE (OPENRISC_SOPC_MEMORY_BASE + OPENRISC_SOPC_MEMORY_SIZE - BAREBOX_RESERVED_SIZE) -- 2.0.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox