You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm backend: Expand run.sh CLI knobs for bare-metal builds
- Clarify help text for select_ops_list, toolchain choices, and add
--build-dir reuse.
- Track whether select_ops_list was overridden, allow arbitrary cmake -D
flags, and tidy scratch or toolchain warnings.
- Plumb the new option state through the control flow to prepare for
automation.
Change-Id: I69b027e726eee0b23206e7e3c836db375a8bf5b6
Signed-off-by: Usamah Zaheer <usamah.zaheer@arm.com>
echo" --bundleio Create Bundled pte using Devtools BundelIO with Input/RefOutput included"
67
68
echo" --etdump Adds Devtools etdump support to track timing, etdump area will be base64 encoded in the log"
68
69
echo" --build_type=<TYPE> Build with Release, Debug, RelWithDebInfo, UndefinedSanitizer or AddressSanitizer, default is ${build_type}"
69
-
echo" --extra_build_flags=<FLAGS> Extra flags to pass to cmake like -DET_ARM_BAREMETAL_METHOD_ALLOCATOR_POOL_SIZE=60000 Default: none "
70
+
echo" --build-dir=<DIR> Optional: reuse an existing arm_executor_runner build directory (configured via 'cmake -S examples/arm/executor_runner -B <DIR> ...'). If omitted, run.sh auto-configures one under ${et_build_root} for bare-metal targets."
70
71
echo" --build_only Only build, don't run"
71
-
echo" --toolchain=<TOOLCHAIN> Ethos-U: Toolchain can be specified (e.g. bare metal as arm-none-eabi-gcc or zephyr as arm-zephyr-eabi-gcc Default: ${toolchain}"
72
+
echo" --extra_build_flags=\"<FLAGS>\" Extra -D style flags to pass to cmake when run.sh auto-configures the build"
73
+
echo" --toolchain=<arm-none-eabi-gcc|arm-zephyr-eabi-gcc> Toolchain preset to use when run.sh auto-configures the build. Default: ${toolchain}"
72
74
echo" --system_config=<CONFIG> Ethos-U: System configuration to select from the Vela configuration file (see vela.ini). Default: Ethos_U55_High_End_Embedded for EthosU55 targets, Ethos_U85_SYS_DRAM_Mid for EthosU85 targets."
73
75
echo" NOTE: If given, this option must match the given target. This option also sets timing adapter values customized for specific hardware, see ./executor_runner/CMakeLists.txt."
74
76
echo" --config=<FILEPATH> Ethos-U: System configuration file that specifies system configurations (vela.ini)"
75
77
echo" --memory_mode=<MODE> Ethos-U: Memory mode to select from the Vela configuration file (see vela.ini), e.g. Shared_Sram/Sram_Only. Default: 'Shared_Sram' for Ethos-U55 targets, 'Sram_Only' for Ethos-U85 targets"
76
78
echo" --pte_placement=<elf|ADDR> Ethos-U: Control if runtime has PTE baked into the elf or if its placed in memory outside of the elf, defaults to ${pte_placement}"
77
79
echo" --specify_ethosu_scratch Use actual Ethos-U scratch size for given model to size temp allocator"
78
80
echo" --et_build_root=<FOLDER> Executorch build output root folder to use, defaults to ${et_build_root}"
79
-
echo" --scratch-dir=<FOLDER> Path to your Arm scrach dir if you not using default ${arm_scratch_dir}"
81
+
echo" --scratch-dir=<FOLDER> Path to your Ethos-U scratch dir if you not using default ${arm_scratch_dir}"
80
82
echo" --qdq_fusion_op Enable QDQ fusion op"
81
83
echo" --model_explorer Enable model explorer to visualize a TOSA or PTE model graph."
82
84
echo" --visualize_pte With --model_explorer, visualize PTE flatbuffer model and delegates. Cannot be used with --visualize_tosa"
83
-
echo" NOTE: If PTE contains an Ethos-U delegate, the Ethos-U subgraph will be visualized if aot_arm_compiler_flags is set with the -i flag to include intermediate tosa files."
85
+
echo" NOTE: If PTE contains an Ethos-U delegate, the Ethos-U subgraph will be visualized if aot_arm_compiler_flags includes -i for TOSA dumps."
84
86
echo" --visualize_tosa With --model_explorer, visualize TOSA flatbuffer model. Cannot be used with --visualize_pte"
85
87
echo" --perf_overlay With --model_explorer and --visualize_tosa, include performance data from FVP PMU trace."
0 commit comments