Skip to contentSkip to conversation

arm: omap: cm_t35: Remove CONFIG_SYS_BOOTMAPSZ to fix FDT Linux booting

PATCH In review Stefan Roese 2 participants 2 messages Feb 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: omap: cm_t35: Remove CONFIG_SYS_BOOTMAPSZ to fix FDT Linux booting

With CONFIG_SYS_BOOTMAPSZ defined, recent Linux kernel booting results in this error:

Booting using the fdt blob at 0x81f00000
Loading Kernel Image ... OK
ERROR: Failed to allocate 0x1189d bytes below 0x80004000. device tree - allocation error
FDT creation failed! hanging...### ERROR ### Please RESET the board ###

Removing this define solves this issue.

Cc Nikita Kiryanov <[email protected]>
Cc Igor Grinberg <[email protected]>
Cc Tom Rini <[email protected]>
---
 include/configs/cm_t35.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/cm_t35.h +0 -7
index 7729a02..08c67f5 100644
@@ -45,13 +45,6 @@
 #define CONFIG_MISC_INIT_R
 
 #define CONFIG_OF_LIBFDT		1
-/*
- * The early kernel mapping on ARM currently only maps from the base of DRAM
- * to the end of the kernel image.  The kernel is loaded at DRAM base + 0x8000.
- * The early kernel pagetable uses DRAM base + 0x4000 to DRAM base + 0x8000,
- * so that leaves DRAM base to DRAM base + 0x4000 available.
- */
-#define CONFIG_SYS_BOOTMAPSZ	        0x4000
 
 #define CONFIG_CMDLINE_TAG		/* enable passing of ATAGs */
 #define CONFIG_SETUP_MEMORY_TAGS
Signature · 1 line
1.8.5.5
#1 lore raw
Quoted 9 lines · Stefan Roese

With CONFIG_SYS_BOOTMAPSZ defined, recent Linux kernel booting results in this error:

Booting using the fdt blob at 0x81f00000
Loading Kernel Image ... OK
ERROR: Failed to allocate 0x1189d bytes below 0x80004000. device tree - allocation error
FDT creation failed! hanging...### ERROR ### Please RESET the board ###

Quoted 6 lines

Removing this define solves this issue.

Cc Nikita Kiryanov <[email protected]>
Cc Igor Grinberg <[email protected]>
Cc Tom Rini <[email protected]>

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/667f6891/attachment.pgp>