[PATCH] MIPS: qemu-malta_defconfig: set MAX_IMAGE_SIZE = 4 MiB

Antony Pavlov antonynpavlov at gmail.com
Mon Dec 5 00:28:29 PST 2016


If barebox binary image size exceeds the 4 MiB then
qemu exits with the 'Could not load MIPS bios' message.

Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/configs/qemu-malta_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/qemu-malta_defconfig b/arch/mips/configs/qemu-malta_defconfig
index 004adac..9671e93 100644
--- a/arch/mips/configs/qemu-malta_defconfig
+++ b/arch/mips/configs/qemu-malta_defconfig
@@ -1,6 +1,7 @@
 CONFIG_BUILTIN_DTB=y
 CONFIG_BUILTIN_DTB_NAME="qemu-malta"
 CONFIG_PBL_IMAGE=y
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
 CONFIG_STACK_SIZE=0x7000
 CONFIG_EXPERIMENTAL=y
 CONFIG_BAUDRATE=38400
-- 
2.10.2




More information about the barebox mailing list