From 1f097aa8562a56145b8783caa107c7fa8458cdf0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 11 Dec 2013 17:05:08 -0600 Subject: [PATCH] A10/pcDuino/Linux build fixes --- arch/arm/src/a1x/chip/a10_memorymap.h | 2 +- configs/pcduino-a10/scripts/sdram.ld | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/a1x/chip/a10_memorymap.h b/arch/arm/src/a1x/chip/a10_memorymap.h index c7ce9b917e..6f102e3287 100644 --- a/arch/arm/src/a1x/chip/a10_memorymap.h +++ b/arch/arm/src/a1x/chip/a10_memorymap.h @@ -41,7 +41,7 @@ ************************************************************************************/ #include -#include +#include /************************************************************************************ * Pre-processor Definitions diff --git a/configs/pcduino-a10/scripts/sdram.ld b/configs/pcduino-a10/scripts/sdram.ld index 60a1a02c57..414c408a4a 100644 --- a/configs/pcduino-a10/scripts/sdram.ld +++ b/configs/pcduino-a10/scripts/sdram.ld @@ -33,11 +33,13 @@ * ****************************************************************************/ -/* The pcDuino and 256MB of SDRAM beginning at virtual address 0x4000:0000 */ +/* The pcDuino and 1GB of SDRAM beginning at virtual address 0x4000:0000. + * Execution begins at address 0x4a00000, leaving 864MB for NuttX. + */ MEMORY { - sdram (W!RX) : ORIGIN = 0x40000000, LENGTH = 256M + sdram (W!RX) : ORIGIN = 0x4a000000, LENGTH = 864M } OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")