mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
SAMA5 Boards: When running from SDRAM, a 32KB offset is needed by the bootloader
This commit is contained in:
@@ -33,9 +33,10 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* The SAMA5D36 has 128 KB of ISRAM beginning at virtual address 0x0030:0000.
|
||||
* This memory configuration, however, loads into the 256 MB SDRAM on board
|
||||
* the SAMA5D3-Xplained which lies at 0x2000:0000
|
||||
/* The SAMA5D3 has 128 KB of ISRAM beginning at virtual address 0x0030:0000.
|
||||
* This memory configuration, however, loads into the 256MB SDRAM on board
|
||||
* the SAMA5D3 Xplained which lies at 0x2000:0000. An offset 0x00008000 is
|
||||
* reserved by the bootloader.
|
||||
*
|
||||
* Vectors in low memory are assumed and 16KB of ISRAM is reserved at the
|
||||
* high end of ISRAM for the page table.
|
||||
@@ -44,7 +45,7 @@
|
||||
MEMORY
|
||||
{
|
||||
isram (W!RX) : ORIGIN = 0x300000, LENGTH = 128K - 16K
|
||||
sdram (W!RX) : ORIGIN = 0x20000000, LENGTH = 256M
|
||||
sdram (W!RX) : ORIGIN = 0x20008000, LENGTH = 256M - 32K
|
||||
}
|
||||
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||
|
||||
Reference in New Issue
Block a user