-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ultra96v2_valtest project files to Projects/ultra96v2_valtest f…
…older
- Loading branch information
Showing
38 changed files
with
43,939 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- system.mss 2018-10-29 14:02:20.503616000 -0400 | ||
+++ system.mss 2018-10-30 10:01:56.161352000 -0400 | ||
@@ -6,8 +6,8 @@ | ||
PARAMETER OS_NAME = standalone | ||
PARAMETER OS_VER = 6.7 | ||
PARAMETER PROC_INSTANCE = psu_cortexa53_0 | ||
- PARAMETER stdin = psu_uart_0 | ||
- PARAMETER stdout = psu_uart_0 | ||
+ PARAMETER stdin = psu_uart_1 | ||
+ PARAMETER stdout = psu_uart_1 | ||
END | ||
|
||
|
1 change: 1 addition & 0 deletions
1
Projects/ultra96v2_valtest/software/mem_test_long_app/src/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Empty application. Add your own sources. |
318 changes: 318 additions & 0 deletions
318
Projects/ultra96v2_valtest/software/mem_test_long_app/src/lscript.ld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,318 @@ | ||
/*******************************************************************/ | ||
/* */ | ||
/* This file is automatically generated by linker script generator.*/ | ||
/* */ | ||
/* Version: */ | ||
/* */ | ||
/* Copyright (c) 2010-2016 Xilinx, Inc. All rights reserved. */ | ||
/* */ | ||
/* Description : Cortex-A53 Linker Script */ | ||
/* */ | ||
/*******************************************************************/ | ||
|
||
_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 0x2000; | ||
_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 0x0; | ||
|
||
_EL0_STACK_SIZE = DEFINED(_EL0_STACK_SIZE) ? _EL0_STACK_SIZE : 1024; | ||
_EL1_STACK_SIZE = DEFINED(_EL1_STACK_SIZE) ? _EL1_STACK_SIZE : 2048; | ||
_EL2_STACK_SIZE = DEFINED(_EL2_STACK_SIZE) ? _EL2_STACK_SIZE : 1024; | ||
|
||
/* Define Memories in the system */ | ||
|
||
MEMORY | ||
{ | ||
psu_ddr_0_MEM_0 : ORIGIN = 0x0, LENGTH = 0x7FF00000 | ||
psu_ocm_ram_0_MEM_0 : ORIGIN = 0xFFFC0000, LENGTH = 0x40000 | ||
} | ||
|
||
/* Specify the default entry point to the program */ | ||
|
||
ENTRY(_vector_table) | ||
|
||
/* Define the sections, and where they are mapped in memory */ | ||
|
||
SECTIONS | ||
{ | ||
.text : { | ||
KEEP (*(.vectors)) | ||
*(.boot) | ||
*(.text) | ||
*(.text.*) | ||
*(.gnu.linkonce.t.*) | ||
*(.plt) | ||
*(.gnu_warning) | ||
*(.gcc_execpt_table) | ||
*(.glue_7) | ||
*(.glue_7t) | ||
*(.ARM.extab) | ||
*(.gnu.linkonce.armextab.*) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.init (ALIGN(64)) : { | ||
KEEP (*(.init)) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.fini (ALIGN(64)) : { | ||
KEEP (*(.fini)) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.interp : { | ||
KEEP (*(.interp)) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.note-ABI-tag : { | ||
KEEP (*(.note-ABI-tag)) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.rodata : { | ||
. = ALIGN(64); | ||
__rodata_start = .; | ||
*(.rodata) | ||
*(.rodata.*) | ||
*(.gnu.linkonce.r.*) | ||
__rodata_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.rodata1 : { | ||
. = ALIGN(64); | ||
__rodata1_start = .; | ||
*(.rodata1) | ||
*(.rodata1.*) | ||
__rodata1_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.sdata2 : { | ||
. = ALIGN(64); | ||
__sdata2_start = .; | ||
*(.sdata2) | ||
*(.sdata2.*) | ||
*(.gnu.linkonce.s2.*) | ||
__sdata2_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.sbss2 : { | ||
. = ALIGN(64); | ||
__sbss2_start = .; | ||
*(.sbss2) | ||
*(.sbss2.*) | ||
*(.gnu.linkonce.sb2.*) | ||
__sbss2_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.data : { | ||
. = ALIGN(64); | ||
__data_start = .; | ||
*(.data) | ||
*(.data.*) | ||
*(.gnu.linkonce.d.*) | ||
*(.jcr) | ||
*(.got) | ||
*(.got.plt) | ||
__data_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.data1 : { | ||
. = ALIGN(64); | ||
__data1_start = .; | ||
*(.data1) | ||
*(.data1.*) | ||
__data1_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.got : { | ||
*(.got) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.got1 : { | ||
*(.got1) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.got2 : { | ||
*(.got2) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.ctors : { | ||
. = ALIGN(64); | ||
__CTOR_LIST__ = .; | ||
___CTORS_LIST___ = .; | ||
KEEP (*crtbegin.o(.ctors)) | ||
KEEP (*(EXCLUDE_FILE(*crtend.o) .ctors)) | ||
KEEP (*(SORT(.ctors.*))) | ||
KEEP (*(.ctors)) | ||
__CTOR_END__ = .; | ||
___CTORS_END___ = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.dtors : { | ||
. = ALIGN(64); | ||
__DTOR_LIST__ = .; | ||
___DTORS_LIST___ = .; | ||
KEEP (*crtbegin.o(.dtors)) | ||
KEEP (*(EXCLUDE_FILE(*crtend.o) .dtors)) | ||
KEEP (*(SORT(.dtors.*))) | ||
KEEP (*(.dtors)) | ||
__DTOR_END__ = .; | ||
___DTORS_END___ = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.fixup : { | ||
__fixup_start = .; | ||
*(.fixup) | ||
__fixup_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.eh_frame : { | ||
*(.eh_frame) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.eh_framehdr : { | ||
__eh_framehdr_start = .; | ||
*(.eh_framehdr) | ||
__eh_framehdr_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.gcc_except_table : { | ||
*(.gcc_except_table) | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.mmu_tbl0 (ALIGN(4096)) : { | ||
__mmu_tbl0_start = .; | ||
*(.mmu_tbl0) | ||
__mmu_tbl0_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.mmu_tbl1 (ALIGN(4096)) : { | ||
__mmu_tbl1_start = .; | ||
*(.mmu_tbl1) | ||
__mmu_tbl1_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.mmu_tbl2 (ALIGN(4096)) : { | ||
__mmu_tbl2_start = .; | ||
*(.mmu_tbl2) | ||
__mmu_tbl2_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.ARM.exidx : { | ||
__exidx_start = .; | ||
*(.ARM.exidx*) | ||
*(.gnu.linkonce.armexidix.*.*) | ||
__exidx_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.preinit_array : { | ||
. = ALIGN(64); | ||
__preinit_array_start = .; | ||
KEEP (*(SORT(.preinit_array.*))) | ||
KEEP (*(.preinit_array)) | ||
__preinit_array_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.init_array : { | ||
. = ALIGN(64); | ||
__init_array_start = .; | ||
KEEP (*(SORT(.init_array.*))) | ||
KEEP (*(.init_array)) | ||
__init_array_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.fini_array : { | ||
. = ALIGN(64); | ||
__fini_array_start = .; | ||
KEEP (*(SORT(.fini_array.*))) | ||
KEEP (*(.fini_array)) | ||
__fini_array_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.ARM.attributes : { | ||
__ARM.attributes_start = .; | ||
*(.ARM.attributes) | ||
__ARM.attributes_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.sdata : { | ||
. = ALIGN(64); | ||
__sdata_start = .; | ||
*(.sdata) | ||
*(.sdata.*) | ||
*(.gnu.linkonce.s.*) | ||
__sdata_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.sbss (NOLOAD) : { | ||
. = ALIGN(64); | ||
__sbss_start = .; | ||
*(.sbss) | ||
*(.sbss.*) | ||
*(.gnu.linkonce.sb.*) | ||
. = ALIGN(64); | ||
__sbss_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.tdata : { | ||
. = ALIGN(64); | ||
__tdata_start = .; | ||
*(.tdata) | ||
*(.tdata.*) | ||
*(.gnu.linkonce.td.*) | ||
__tdata_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.tbss : { | ||
. = ALIGN(64); | ||
__tbss_start = .; | ||
*(.tbss) | ||
*(.tbss.*) | ||
*(.gnu.linkonce.tb.*) | ||
__tbss_end = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.bss (NOLOAD) : { | ||
. = ALIGN(64); | ||
__bss_start__ = .; | ||
*(.bss) | ||
*(.bss.*) | ||
*(.gnu.linkonce.b.*) | ||
*(COMMON) | ||
. = ALIGN(64); | ||
__bss_end__ = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
_SDA_BASE_ = __sdata_start + ((__sbss_end - __sdata_start) / 2 ); | ||
|
||
_SDA2_BASE_ = __sdata2_start + ((__sbss2_end - __sdata2_start) / 2 ); | ||
|
||
/* Generate Stack and Heap definitions */ | ||
|
||
.heap (NOLOAD) : { | ||
. = ALIGN(64); | ||
_heap = .; | ||
HeapBase = .; | ||
_heap_start = .; | ||
. += _HEAP_SIZE; | ||
_heap_end = .; | ||
HeapLimit = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
.stack (NOLOAD) : { | ||
. = ALIGN(64); | ||
_el3_stack_end = .; | ||
. += _STACK_SIZE; | ||
__el3_stack = .; | ||
_el2_stack_end = .; | ||
. += _EL2_STACK_SIZE; | ||
. = ALIGN(64); | ||
__el2_stack = .; | ||
_el1_stack_end = .; | ||
. += _EL1_STACK_SIZE; | ||
. = ALIGN(64); | ||
__el1_stack = .; | ||
_el0_stack_end = .; | ||
. += _EL0_STACK_SIZE; | ||
. = ALIGN(64); | ||
__el0_stack = .; | ||
} > psu_ocm_ram_0_MEM_0 | ||
|
||
_end = .; | ||
} | ||
|
47 changes: 47 additions & 0 deletions
47
Projects/ultra96v2_valtest/software/mem_test_long_app/src/memory_config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/****************************************************************************** | ||
* | ||
* Copyright (C) 2008 - 2014 Xilinx, Inc. All rights reserved. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* Use of the Software is limited solely to applications: | ||
* (a) running on a Xilinx device, or | ||
* (b) that interact with a Xilinx device through a bus or interconnect. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
* XILINX BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | ||
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
* | ||
* Except as contained in this notice, the name of the Xilinx shall not be used | ||
* in advertising or otherwise to promote the sale, use or other dealings in | ||
* this Software without prior written authorization from Xilinx. | ||
* | ||
******************************************************************************/ | ||
|
||
#ifndef __MEMORY_CONFIG_H_ | ||
#define __MEMORY_CONFIG_H_ | ||
|
||
struct memory_range_s { | ||
char *name; | ||
char *ip; | ||
unsigned long base; | ||
unsigned long size; | ||
}; | ||
|
||
/* generated memory ranges defined in memory_ranges_g.c */ | ||
extern struct memory_range_s memory_ranges[]; | ||
extern int n_memory_ranges; | ||
|
||
#endif |
14 changes: 14 additions & 0 deletions
14
Projects/ultra96v2_valtest/software/mem_test_long_app/src/memory_config_g.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* This file is automatically generated based on your hardware design. */ | ||
#include "memory_config.h" | ||
|
||
struct memory_range_s memory_ranges[] = { | ||
{ | ||
"psu_ddr_0_MEM_0", | ||
"psu_ddr_0", | ||
0x00000050, | ||
2146434992, | ||
}, | ||
/* psu_ocm_ram_0_MEM_0 memory will not be tested since application resides in the same memory */ | ||
}; | ||
|
||
int n_memory_ranges = 1; |
Oops, something went wrong.