This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add support for bf512, bf514, bf516 and bf518


Hi,

This patch comes from Mike Frysinger. It adds new Blackfin processors support to libgloss. The new processors are bf512, bf514, bf516 and bf518. Please review and apply. Thanks.


Jie
2009-09-08  Mike Frysinger  <michael.frysinger@analog.com>

	* bfin/Makefile.in (BOARD_SCRIPTS): Add bf512.ld, bf514.ld,
	and bf516.ld, bf518.ld.
	* bfin/bf512.ld: New file.
	* bfin/bf514.ld: Likewise.
	* bfin/bf516.ld: Likewise.
	* bfin/bf518.ld: Likewise.

Index: bfin/Makefile.in
===================================================================
RCS file: /cvs/src/src/libgloss/bfin/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- bfin/Makefile.in	14 Aug 2008 22:00:45 -0000	1.2
+++ bfin/Makefile.in	8 Sep 2009 15:20:01 -0000
@@ -60,8 +60,8 @@
 SIM_INSTALL	= install-sim
 
 # Here is all of the development board stuff
-# BF531, BF532, BF533, BF537
 BOARD_SCRIPTS	= bfin-common-sc.ld  bfin-common-mc.ld \
+	bf512.ld bf514.ld bf516.ld bf518.ld \
 	bf522.ld bf523.ld bf524.ld bf525.ld bf526.ld bf527.ld \
 	bf531.ld bf532.ld bf533.ld \
 	bf534.ld bf536.ld bf537.ld \
Index: bfin/bf512.ld
===================================================================
RCS file: bfin/bf512.ld
diff -N bfin/bf512.ld
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bfin/bf512.ld	8 Sep 2009 15:20:01 -0000
@@ -0,0 +1,27 @@
+/*
+ * The default linker script for standalone executables running on
+ * ADSP-BF512 processor.
+ *
+ * Copyright (C) 2009 Analog Devices, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions. No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+
+MEMORY
+{
+  MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
+  MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
+  MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
+  MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
+  MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
+}
Index: bfin/bf514.ld
===================================================================
RCS file: bfin/bf514.ld
diff -N bfin/bf514.ld
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bfin/bf514.ld	8 Sep 2009 15:20:01 -0000
@@ -0,0 +1,27 @@
+/*
+ * The default linker script for standalone executables running on
+ * ADSP-BF514 processor.
+ *
+ * Copyright (C) 2009 Analog Devices, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions. No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+
+MEMORY
+{
+  MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
+  MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
+  MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
+  MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
+  MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
+}
Index: bfin/bf516.ld
===================================================================
RCS file: bfin/bf516.ld
diff -N bfin/bf516.ld
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bfin/bf516.ld	8 Sep 2009 15:20:01 -0000
@@ -0,0 +1,27 @@
+/*
+ * The default linker script for standalone executables running on
+ * ADSP-BF516 processor.
+ *
+ * Copyright (C) 2009 Analog Devices, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions. No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+
+MEMORY
+{
+  MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
+  MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
+  MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
+  MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
+  MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
+}
Index: bfin/bf518.ld
===================================================================
RCS file: bfin/bf518.ld
diff -N bfin/bf518.ld
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ bfin/bf518.ld	8 Sep 2009 15:20:01 -0000
@@ -0,0 +1,27 @@
+/*
+ * The default linker script for standalone executables running on
+ * ADSP-BF518 processor.
+ *
+ * Copyright (C) 2009 Analog Devices, Inc.
+ *
+ * The authors hereby grant permission to use, copy, modify, distribute,
+ * and license this software and its documentation for any purpose, provided
+ * that existing copyright notices are retained in all copies and that this
+ * notice is included verbatim in any distributions. No written agreement,
+ * license, or royalty fee is required for any of the authorized uses.
+ * Modifications to this software may be copyrighted by their authors
+ * and need not follow the licensing terms described here, provided that
+ * the new terms are clearly indicated on the first page of each file where
+ * they apply.
+ */
+
+MEMORY
+{
+  MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0xc000
+  MEM_L1_CODE_CACHE : ORIGIN = 0xFFA10000, LENGTH = 0x4000
+  MEM_L1_SCRATCH : ORIGIN = 0xFFB00000, LENGTH = 0x1000
+  MEM_L1_DATA_B : ORIGIN = 0xFF900000, LENGTH = 0x8000
+  MEM_L1_DATA_A : ORIGIN = 0xFF800000, LENGTH = 0x8000
+
+  MEM_L2 : ORIGIN = 0xFEB00000, LENGTH = 0x0
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]