From 5d988381e629281ae5435aeda3b4ca102f6e6f7b Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 8 Apr 2015 14:40:20 -0700 Subject: [PATCH] Linux: Created new linker script from scratch Signed-off-by: Mark Charlebois --- linux-configs/linuxtest/scripts/ld.script | 25 +++++------------------ 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/linux-configs/linuxtest/scripts/ld.script b/linux-configs/linuxtest/scripts/ld.script index 2e92f20a69..32478e1e14 100644 --- a/linux-configs/linuxtest/scripts/ld.script +++ b/linux-configs/linuxtest/scripts/ld.script @@ -1,8 +1,8 @@ /**************************************************************************** - * configs/aerocore/common/ld.script + * ld.script * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2015 Mark Charlebois. All rights reserved. + * Author: Mark Charlebois * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be + * 3. Neither the name PX4 nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -33,27 +33,12 @@ * ****************************************************************************/ -/* The STM32F427 has 2048Kb of FLASH beginning at address 0x0800:0000 and - * 256Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of SRAM beginning at address 0x2002:0000 - * 4) 64Kb of TCM SRAM beginning at address 0x1000:0000 - * - * When booting from FLASH, FLASH memory is aliased to address 0x0000:0000 - * where the code expects to begin execution by jumping to the entry point in - * the 0x0800:0000 address range. - * - * The first 0x4000 of flash is reserved for the bootloader. - */ - SECTIONS { /* * Construction data for parameters. */ - __param ALIGN(8): { + __param : ALIGN(8) { __param_start = .; KEEP(*(__param*)) __param_end = .;