sencha: add OTTF-specific startup
OTTF expects the SMC frmware is side-loaded; add sencha-ottf.resc to
do that.
Change-Id: Ieeb354aa40c5fb5f5a76d5d5b9f239623f4e72e3
diff --git a/sencha-ottf.resc b/sencha-ottf.resc
new file mode 100644
index 0000000..1302f51
--- /dev/null
+++ b/sencha-ottf.resc
@@ -0,0 +1,20 @@
+# Copyright 2024 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http:#www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Renode script for running OTTF firmware images on the sencha platform
+
+include @sim/config/sencha.resc
+
+# OTTF expects the SMC firmware to be side-loaded
+sysbus LoadELF $cheriot_elf false true cpu1