bsps/sparc: Add GR765 BSP

This commit is contained in:
Matteo Concas
2026-09-28 09:48:59 +02:00
parent 51dd2cc3ad
commit 0e7b526837
17 changed files with 74 additions and 6 deletions
+25
View File
@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/* Copyright (C) 2026 Frontgrade Gaisler AB */
/* Default values, can be overridden */
_PROM_SIZE = DEFINED (_PROM_SIZE) ? _PROM_SIZE : 0;
_RAM_SIZE = DEFINED (_RAM_SIZE) ? _RAM_SIZE : 64M;
/* these are the maximum values */
MEMORY
{
rom : ORIGIN = 0xC0000000, LENGTH = 256M
ram : ORIGIN = 0x00000000, LENGTH = 2048M
sram : ORIGIN = 0xF5000000, LENGTH = 2M
}
_PROM_START = ORIGIN (rom);
_RAM_START = ORIGIN (ram);
ENTRY(start)
INCLUDE linkcmds.base
+3
View File
@@ -19,6 +19,9 @@ default:
value:
- -mcpu=leon3
- -mfix-gr712rc
- enabled-by: sparc/gr765
value:
- -mcpu=leon5
- enabled-by: true
value:
- -mcpu=leon3
+19
View File
@@ -0,0 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: sparc
bsp: gr765
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2026 Frontgrade Gaisler AB
cppflags: []
enabled-by: true
family: leon3
includes: []
install: []
links:
- role: build-dependency
uid: ../../opto2
- role: build-dependency
uid: grp
source: []
type: build
+1
View File
@@ -26,6 +26,7 @@ install:
source:
- bsps/sparc/leon3/start/linkcmds.gr712rc
- bsps/sparc/leon3/start/linkcmds.gr740
- bsps/sparc/leon3/start/linkcmds.gr765
- bsps/sparc/leon3/start/linkcmds.leon3
- bsps/sparc/leon3/start/linkcmds.ut699
- bsps/sparc/leon3/start/linkcmds.ut700
@@ -8,7 +8,9 @@ build-type: option
default:
- enabled-by: sparc/gr712rc
value: 0x80000100
- enabled-by: sparc/gr740
- enabled-by:
- sparc/gr740
- sparc/gr765
value: 0xff900000
enabled-by: true
format: '{:#010x}'
+3 -1
View File
@@ -6,7 +6,9 @@ actions:
- define-condition: null
build-type: option
default:
- enabled-by: sparc/gr740
- enabled-by:
- sparc/gr740
- sparc/gr765
value: true
- enabled-by: true
value: false
@@ -9,6 +9,7 @@ default:
- enabled-by:
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
value: false
- enabled-by: true
value: true
@@ -8,7 +8,9 @@ build-type: option
default:
- enabled-by: sparc/gr712rc
value: 0x80000300
- enabled-by: sparc/gr740
- enabled-by:
- sparc/gr740
- sparc/gr765
value: 0xff908000
enabled-by: true
format: '{:#010x}'
@@ -8,7 +8,9 @@ build-type: option
default:
- enabled-by: sparc/gr712rc
value: 0x80000200
- enabled-by: sparc/gr740
- enabled-by:
- sparc/gr740
- sparc/gr765
value: 0xff904000
enabled-by: true
format: '{:#010x}'
@@ -6,7 +6,9 @@ actions:
- format-and-define: null
build-type: option
default:
- enabled-by: sparc/gr712rc
- enabled-by:
- sparc/gr712rc
- sparc/gr765
value: 12
- enabled-by: sparc/gr740
value: 10
@@ -6,7 +6,9 @@ actions:
- define-condition: null
build-type: option
default:
- enabled-by: sparc/gr740
- enabled-by:
- sparc/gr740
- sparc/gr765
value: true
- enabled-by: true
value: false
@@ -9,6 +9,7 @@ default:
- enabled-by:
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
- sparc/ut699
- sparc/ut700
value: false
@@ -10,6 +10,8 @@ default:
value: 0x00000000
- enabled-by: sparc/gr740
value: 0xf0000000
- enabled-by: sparc/gr765
value: 0xb1000000
enabled-by: true
format: '{:#010x}'
links: []
@@ -9,6 +9,7 @@ default:
- enabled-by:
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
value: true
- enabled-by: true
value: false
+1
View File
@@ -20,6 +20,7 @@ enabled-by:
- powerpc/qoriq_core_1
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
- sparc/leon3
- sparc/ut699
- sparc/ut700
+1
View File
@@ -50,6 +50,7 @@ enabled-by:
- riscv/kendrytek210
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
- sparc/leon3
- x86_64/amd64
links: []
@@ -8,6 +8,7 @@ cxxflags: []
enabled-by:
- sparc/gr712rc
- sparc/gr740
- sparc/gr765
includes: []
install: []
links: []