sw_apps: openamp rpc demo application is modified
This patch changes openamp rpc demo application linker script to keep everything in DDR except vectors. It fixes the order of text carve out memory. Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com> Acked-for-series: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
e7d500deb7
commit
0d7905e608
3 changed files with 5 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
#include "xil_exception.h"
|
||||
#include "xscugic.h"
|
||||
#include "xil_cache.h"
|
||||
#include "xil_mmu.h"
|
||||
#include "xil_mpu.h"
|
||||
#include "baremetal.h"
|
||||
#include "env.h"
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ _SDA2_BASE_ = __sdata2_start + ((__sbss2_end - __sdata2_start) / 2 );
|
|||
. += _HEAP_SIZE;
|
||||
_heap_end = .;
|
||||
HeapLimit = .;
|
||||
} > ps8_ocm_ram_1_S_AXI_BASEADDR
|
||||
} > ps8_ddr_S_AXI_BASEADDR
|
||||
|
||||
.stack (NOLOAD) : {
|
||||
. = ALIGN(16);
|
||||
|
@ -322,7 +322,7 @@ _SDA2_BASE_ = __sdata2_start + ((__sbss2_end - __sdata2_start) / 2 );
|
|||
. += _UNDEF_STACK_SIZE;
|
||||
. = ALIGN(16);
|
||||
__undef_stack = .;
|
||||
} > ps8_ocm_ram_1_S_AXI_BASEADDR
|
||||
} > ps8_ddr_S_AXI_BASEADDR
|
||||
|
||||
_end = .;
|
||||
}
|
||||
|
|
|
@ -44,10 +44,9 @@ struct remote_resource_table {
|
|||
unsigned int reserved[2];
|
||||
unsigned int offset[NO_RESOURCE_ENTRIES];
|
||||
/* text carve out entry */
|
||||
|
||||
struct fw_rsc_carveout ocm_1_cout;
|
||||
struct fw_rsc_carveout ddr_cout;
|
||||
struct fw_rsc_carveout ocm_1_cout;
|
||||
/* rpmsg vdev entry */
|
||||
/* rpmsg vdev entry */
|
||||
struct fw_rsc_vdev rpmsg_vdev;
|
||||
struct fw_rsc_vdev_vring rpmsg_vring0;
|
||||
struct fw_rsc_vdev_vring rpmsg_vring1;
|
||||
|
|
Loading…
Add table
Reference in a new issue