mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Sabre-6Quad: Update linker script to account for memory at beginning of DRAM reserved for U-Boot
This commit is contained in:
@@ -46,6 +46,12 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
/* Clocking *************************************************************************/
|
/* Clocking *************************************************************************/
|
||||||
|
/* Clocking will be configured at 792 MHz initially when started via U-Boot. The
|
||||||
|
* Linux kernel will use the CPU frequency scaling code which will switch the
|
||||||
|
* processor frequency between 400 MHz and 1GHz based on load and temperature.
|
||||||
|
*
|
||||||
|
* For now, NuttX simply leaves the clocking at 792MHz.
|
||||||
|
*/
|
||||||
|
|
||||||
/* LED definitions ******************************************************************/
|
/* LED definitions ******************************************************************/
|
||||||
/* LEDs
|
/* LEDs
|
||||||
|
|||||||
@@ -35,7 +35,8 @@
|
|||||||
|
|
||||||
/* The i.MX6 has 256 KB of OCRAM beginning at virtual address 0x0090:0000
|
/* The i.MX6 has 256 KB of OCRAM beginning at virtual address 0x0090:0000
|
||||||
* This memory configuration, however, loads into the 1GB DDR3 on board
|
* This memory configuration, however, loads into the 1GB DDR3 on board
|
||||||
* the Sabre 6Quad K which lies at 0x1000:0000.
|
* the Sabre 6Quad K which lies at 0x1000:0000. Code is positioned at
|
||||||
|
* 0x10800000 which the standard load address of Linux when used with uBoot.
|
||||||
*
|
*
|
||||||
* Vectors in low memory are assumed and 16KB of OCRAM is reserved at the
|
* Vectors in low memory are assumed and 16KB of OCRAM is reserved at the
|
||||||
* high end of OCRAM for the page table.
|
* high end of OCRAM for the page table.
|
||||||
@@ -44,7 +45,7 @@
|
|||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
oscram (W!RX) : ORIGIN = 0x00900000, LENGTH = 256K - 16K
|
oscram (W!RX) : ORIGIN = 0x00900000, LENGTH = 256K - 16K
|
||||||
ddr3 (W!RX) : ORIGIN = 0x10000000, LENGTH = 1024K
|
ddr3 (W!RX) : ORIGIN = 0x10800000, LENGTH = 1024M - 8M
|
||||||
}
|
}
|
||||||
|
|
||||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||||
|
|||||||
Reference in New Issue
Block a user