Skip to contentSkip to conversation

MIPS: qemu-malta_defconfig: set MAX_IMAGE_SIZE = 4 MiB

PATCH Applied Antony Pavlov 2 participants 2 messages Dec 5, 2016 – Dec 7, 2016 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: qemu-malta_defconfig: set MAX_IMAGE_SIZE = 4 MiB

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

---
 arch/mips/configs/qemu-malta_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/mips/configs/qemu-malta_defconfig +1 -0
index 004adac..9671e93 100644
@@ -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
Signature · 7 lines
2.10.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 7 lines · Antony Pavlov

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

---
 arch/mips/configs/qemu-malta_defconfig | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks

Sascha

Quoted 22 lines
arch/mips/configs/qemu-malta_defconfig +1 -0
index 004adac..9671e93 100644
@@ -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
Signature · 7 lines
2.10.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox