forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arm backend: Move the rodata to the DDR and bring the ITCM limit back…
… to 512KB This allows us to deploy models on the MPS3 FPGA board running the Corstone-300 design Change-Id: I0bd673c129f82418b962ad608b061de1b36a96df
- Loading branch information
Showing
8 changed files
with
35 additions
and
99 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
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
24 changes: 0 additions & 24 deletions
24
...les/arm/ethos-u-setup/core_platform/patches/0001-Add-.data-fixup-from-Corestone-300.patch
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
examples/arm/ethos-u-setup/core_platform/patches/0001-Move-rodata-to-the-DDR.patch
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,34 @@ | ||
From 0fb46c2fe4a072546f87c6cb9202d5001f1eb9c5 Mon Sep 17 00:00:00 2001 | ||
From: George Gekov <[email protected]> | ||
Date: Mon, 18 Nov 2024 11:24:11 +0000 | ||
Subject: [PATCH] Move rodata to the DDR | ||
|
||
--- | ||
targets/corstone-300/platform.ld | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/targets/corstone-300/platform.ld b/targets/corstone-300/platform.ld | ||
index b458fc6..8d4bc73 100644 | ||
--- a/targets/corstone-300/platform.ld | ||
+++ b/targets/corstone-300/platform.ld | ||
@@ -154,7 +154,7 @@ SECTIONS | ||
*(SORT(.dtors.*)) | ||
*(.dtors) | ||
|
||
- *(.rodata*) | ||
+ | ||
|
||
KEEP(*(.eh_frame*)) | ||
} > ITCM :rom_exec | ||
@@ -280,7 +280,7 @@ SECTIONS | ||
#endif | ||
* (expected_output_data_sec) | ||
* (sec_command_stream, sec_weight_data, sec_input_data) | ||
- | ||
+ *(.rodata*) | ||
* (ethosu_core_in_queue) | ||
* (ethosu_core_out_queue) | ||
. = ALIGN(4); | ||
-- | ||
2.25.1 | ||
|
33 changes: 0 additions & 33 deletions
33
examples/arm/ethos-u-setup/core_platform/patches/0001-New-phdr-for-.data-section.patch
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
examples/arm/ethos-u-setup/core_platform/patches/0003-Make-ITCM-1MB.patch
This file was deleted.
Oops, something went wrong.
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
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