diff mbox

[U-Boot] arm: omap: cm_t35: Remove CONFIG_SYS_BOOTMAPSZ to fix FDT Linux booting

Message ID 1392971313-25252-1-git-send-email-sr@denx.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Stefan Roese Feb. 21, 2014, 8:28 a.m. UTC
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.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tom Rini <trini@ti.com>
---
 include/configs/cm_t35.h | 7 -------
 1 file changed, 7 deletions(-)

Comments

Tom Rini Feb. 21, 2014, 7:16 p.m. UTC | #1
On Fri, Feb 21, 2014 at 09:28:33AM +0100, Stefan Roese wrote:

> 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.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Nikita Kiryanov <nikita@compulab.co.il>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Cc: Tom Rini <trini@ti.com>

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

Patch

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 7729a02..08c67f5 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -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