Skip to contentSkip to conversation

omap3_overo: Reduce SPL size

PATCH New Tom Rini 2 participants 3 messages Mar 11, 2017 – Mar 12, 2017

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 omap3_overo: Reduce SPL size

Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.

---
 configs/omap3_overo_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/omap3_overo_defconfig +4 -0
index e841948ae6fb..0fa05cb0fa8a 100644
@@ -4,6 +4,10 @@ CONFIG_TARGET_OMAP3_OVERO=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 omap3_overo: Reduce SPL size

Quoted 2 lines · Tom Rini

Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.

Should we do that for all the omap3 devices?

Quoted 27 lines
---
 configs/omap3_overo_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/omap3_overo_defconfig +4 -1
index e841948ae6fb..0fa05cb0fa8a 100644
@@ -4,6 +4,10 @@ CONFIG_TARGET_OMAP3_OVERO=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
+CONFIG_SPL_SYS_MALLOC_SIMPLE=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_STACK_R=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
--

1.9.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot

author
#2 lore raw

PATCH 1/1 omap3_overo: Reduce SPL size

Quoted 5 lines · Peter Robinson
Quoted 2 lines · Tom Rini

Borrowing from omap3_logic, switch to SPL_SYS_MALLOC_SIMPLE and moving the stack to DDR as soon as we're able.

Should we do that for all the omap3 devices?

Yes. I'm probably doing this one first on its own so that we can bring in the thumb errata patch (which grows this one into non-linking in travis). But I think I should hold off on the errata patch until after the release, just to be safe.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170311/3b76db64/attachment.sig>