Skip to contentSkip to conversation

omap3_logic: Move SPL Stack into SDRAM

PATCH New Adam Ford 2 participants 2 messages Mar 8, 2017 – Mar 9, 2017

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 omap3_logic: Move SPL Stack into SDRAM

A previous patch broke the board. This patch will add missing part from the previous patch and also move the SPL Stack into SDRAM at 0x82000000.

Tested with GCC 4.8.2 and GCC 6.2

Fixes 0959649dc6d9 ("omap3_logic: Switch to simple malloco in SPL")

Changes in V2:
- Keep CONFIG_SPL_SYS_MALLOC_SIMPLE
- Add CONFIG_SYS_MALLOC_F_LEN=0x2000 (8 MB)

configs/omap3_logic_defconfig +3 -0
index fe762c0..6fad8ce 100644
@@ -6,6 +6,9 @@ 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
2.7.4
#1 lore raw

PATCH 1/1 omap3_logic: Move SPL Stack into SDRAM

configs/omap3_logic_defconfig

Quoted 16 lines · Adam Ford

A previous patch broke the board. This patch will add missing part from the previous patch and also move the SPL Stack into SDRAM at 0x82000000.

Tested with GCC 4.8.2 and GCC 6.2

Fixes 0959649dc6d9 ("omap3_logic: Switch to simple malloco in SPL")

Changes in V2:
- Keep CONFIG_SPL_SYS_MALLOC_SIMPLE
- Add CONFIG_SYS_MALLOC_F_LEN=0x2000 (8 MB)

configs/omap3_logic_defconfig +0 -0
index fe762c0..6fad8ce 100644

Applied to u-boot/master, thanks!

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/20170309/ff616ed2/attachment.sig>