Home
last modified time | relevance | path

Searched full:os (Results 1 – 25 of 101) sorted by relevance

12345

/trusted-firmware-m-3.6.0/platform/ext/target/nxp/lpcxpresso55s69/scripts/
Dflash_bl2_JLink.py6 import os
10 os.chdir('../../../../../../build/bin')
14 …BL2_S_IMAGE_START = os.popen('findstr BL2_S_IMAGE_START:STRING= ..\CMakeCache.txt').read().split(…
15 …BL2_NS_IMAGE_START = os.popen('findstr BL2_NS_IMAGE_START:STRING= ..\CMakeCache.txt').read().split…
18 …BL2_S_IMAGE_START = os.popen('grep "BL2_S_IMAGE_START:STRING=" ../CMakeCache.txt').read().split('…
19 …BL2_NS_IMAGE_START = os.popen('grep "BL2_NS_IMAGE_START:STRING=" ../CMakeCache.txt').read().split(…
25 if os.path.isfile(FILE):
27 os.system('del /f /q ' + FILE)
29 os.system('rm -rf ' + FILE)
32 os.system('echo r >> ' + FILE) # reset the tar…
[all …]
Dflash_JLink.py6 import os
10 os.chdir('../../../../../../build/bin')
16 if os.path.isfile(FILE):
18 os.system('del /f /q ' + FILE)
20 os.system('rm -rf ' + FILE)
23 os.system('echo r >> ' + FILE) # reset the target
24 os.system('echo erase >> ' + FILE) # erase the flash memory
25 os.system('echo loadfile tfm_s.hex >> ' + FILE) # flash the secure image into target
26 os.system('echo loadfile tfm_ns.hex >> ' + FILE) # flash the non-secure image into target
27 os.system('echo r >> ' + FILE) # reset the target
[all …]
Dbuild_tfm_demo_bl2.py6 import os
11 …BL2_S_IMAGE_START = os.popen('findstr BL2_S_IMAGE_START ..\config.cmake').read().split("set(BL2_S_…
12 …BL2_NS_IMAGE_START = os.popen('findstr BL2_NS_IMAGE_START ..\config.cmake').read().split("set(BL2_…
14 …BL2_S_IMAGE_START = os.popen('grep "BL2_S_IMAGE_START" ../config.cmake').read().split("set(BL2_S_I…
15 …BL2_NS_IMAGE_START = os.popen('grep "BL2_NS_IMAGE_START" ../config.cmake').read().split("set(BL2_N…
39 os.chdir('../../../../../../')
42 if os.path.isdir("build"):
44 os.system('rd /s /q build')
46 os.system('rm -rf build')
49 os.system('cmake -S . -B build -DTFM_PLATFORM=nxp/lpcxpresso55s69 -DTFM_TOOLCHAIN_FILE=toolchain_GN…
[all …]
Dflash_bl2_PyOCD.py4 import os
8 os.chdir('../../../../../../build/bin')
12 …BL2_S_IMAGE_START = os.popen('findstr BL2_S_IMAGE_START:STRING= ..\CMakeCache.txt').read().split(…
13 …BL2_NS_IMAGE_START = os.popen('findstr BL2_NS_IMAGE_START:STRING= ..\CMakeCache.txt').read().split…
16 …BL2_S_IMAGE_START = os.popen('grep "BL2_S_IMAGE_START:STRING=" ../CMakeCache.txt').read().split('…
17 …BL2_NS_IMAGE_START = os.popen('grep "BL2_NS_IMAGE_START:STRING=" ../CMakeCache.txt').read().split(…
22 os.system('pyocd erase --mass -t ' + target) …
23 os.system('pyocd flash bl2.hex -t ' + target) …
24 os.system('pyocd flash tfm_s_ns_signed.bin --base-address ' + BL2_S_IMAGE_START + ' -t ' + target) …
Dbuild_tfm_demo.py6 import os
10 os.chdir('../../../../../../')
13 if os.path.isdir("build"):
15 os.system('rd /s /q build')
17 os.system('rm -rf build')
20 os.system('cmake -S . -B build -DTFM_PLATFORM=nxp/lpcxpresso55s69 -DTFM_TOOLCHAIN_FILE=toolchain_GN…
26 os.chdir('build')
27 os.system('make install')
Dbuild_tfm_regression.py6 import os
10 os.chdir('../../../../../../')
13 if os.path.isdir("build"):
15 os.system('rd /s /q build')
17 os.system('rm -rf build')
20 os.system('cmake -S . -B build -DTFM_PLATFORM=nxp/lpcxpresso55s69 -DTFM_TOOLCHAIN_FILE=toolchain_GN…
28 os.chdir('build')
29 os.system('make install')
Dflash_PyOCD.py4 import os
7 os.chdir('../../../../../../build/bin')
12 os.system('pyocd erase --mass -t ' + target) # erase the flash memory
13 os.system('pyocd flash tfm_s.hex tfm_ns.hex -t ' + target) # flash images into the target
/trusted-firmware-m-3.6.0/tools/
Dtfm_parse_manifest_list.py10 import os
28 TFM_ROOT_DIR = os.path.join(sys.path[0], '..')
60 if not os.path.isfile(template):
289 if not os.path.isfile(item):
298 expanded_path = os.path.expandvars(dict['manifest']).replace('\\', '/')
303 … path_relative_to_manifest_list = os.path.join(os.path.dirname(item), # path of manifest list
305 if os.path.isfile(path_relative_to_manifest_list):
410 manifest_out_basename = os.path.splitext(os.path.basename(manifest_path))[0]
413 output_path = os.path.expandvars(manifest_item['output_path'])
417 manifest_head_file = os.path.join(OUT_DIR, output_path, 'psa_manifest',
[all …]
/trusted-firmware-m-3.6.0/platform/ext/target/arm/mps3/common/provisioning/
Dcreate_provisioning_data.py10 import os
19 cwd = os.getcwd()
24 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
30 os.environ['LC_ALL'] = 'C.UTF-8'
31 os.environ['LANG'] = 'C.UTF-8'
91 huk = hex_to_c_array(os.urandom(32))
94 iak = hex_to_c_array(os.urandom(32))
97 boot_seed = hex_to_c_array(os.urandom(32))
100 implementation_id = hex_to_c_array(os.urandom(32))
103 entropy_seed = hex_to_c_array(os.urandom(64))
/trusted-firmware-m-3.6.0/docs/integration_guide/
Dos_migration_guide_armv8m.rst2 Generic OS migration from Armv7-M to Armv8-M architecture
5 migrating a generic OS kernel running on Armv7-M to the Armv8-M architecture.
10 - If the same OS codebase is used for both Secure and Non Secure builds, it is
12 compile time switch, e.g. ``#if (DOMAIN_NS == 1U)``. The OS build system in
14 - If the OS implements stack limit checking, the ``PSPLIM`` register
17 - If the OS manipulates directly the Link Register, the default Link Register
20 - If the OS manages the non-secure client identification, please check the
Dindex.rst13 OS migration to Armv8-M <os_migration_guide_armv8m.rst>
42 How to integrate another OS
45 OS migration to Armv8-M platforms argument
47 To work with TF-M on Armv8-M platforms, the OS needs to support the Armv8-M
49 world. More information about OS migration to the Armv8-M architecture can be
50 found in the :doc:`OS requirements <os_migration_guide_armv8m>`. Depending upon
67 On Armv8-M TrustZone based platforms, NS OS uses ``tfm_ns_interface_dispatch()``
99 regression tests rely on some OS functionality e.g. threads, mutexes etc. These
102 ``<build_dir>/install/export/tfm/test/inc``. OS needs to provide the
/trusted-firmware-m-3.6.0/tools/kconfig/
Dtfm_kconfig.py9 import os
86 os.environ[key] = value
99 output_dir = os.path.dirname(dot_config)
100 cmake_file = os.path.join(output_dir, 'project_config.cmake')
101 header_file = os.path.join(output_dir, 'project_config.h')
248 dot_config = os.path.abspath(os.path.join(args.output_path, '.config'))
260 if not os.path.exists(args.output_path):
261 os.mkdir(args.output_path)
263 if os.path.exists(dot_config):
267 mtime_prv = os.stat(dot_config).st_mtime
[all …]
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/
DMakefile.freertos9 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/include
10 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-CLI
11 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-TCP/include
18 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-TCP/portable/Compiler/$(COMPILER_TYPE_DIR)
22 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/portable/$(COMPILER_TYPE_DIR)/ARM_CM33
25 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/portable/$(COMPILER_TYPE_DIR)/ARM_CM3
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/bl1/scripts/
Dcreate_bl1_1_dma_bin.py9 import os
24 self._root = os.path.split(stream.name)[0]
29 filepath = os.path.join(self._root, self.construct_scalar(node))
30 command_name = os.path.basename(self.construct_scalar(node)).replace('.yaml', '')
194 with open(os.path.join(args.output_dir, location + "_dma_ics.bin"), mode="wb") as bin_file:
195 with open(os.path.join(args.output_dir, location + "_dma_ics.hex"), mode="wt") as hex_file:
197 location, os.path.join(args.output_dir, location + "_dma_ics.bin"),
200 location, os.path.join(args.output_dir, location + "_dma_ics.hex"),
/trusted-firmware-m-3.6.0/bl2/ext/mcuboot/scripts/wrapper/
Dwrapper.py11 import os
18 cwd = os.getcwd()
23 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
34 os.environ['LC_ALL'] = 'C.UTF-8'
35 os.environ['LANG'] = 'C.UTF-8'
/trusted-firmware-m-3.6.0/bl1/bl1_1/scripts/
Dcreate_bl1_2_img.py10 import os
12 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../../bl2/ext/mcuboot…
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/
Dprepare_mbedtls.sh38 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/include/"
43 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCC/ARM_CM3/ "
49 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/GCC/ARM_CM3/ "
54 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/GCC/ARM_CM33/ "
61 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCLANG/ARM_CM3/ "
68 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCLANG/ARM_CM33/ "
74 MBEDTLS_CFLAGS+=" -DMBEDTLS_CONFIG_FILE='<config-cc312-mps2-no-os.h>' "
/trusted-firmware-m-3.6.0/interface/include/multi_core/
Dtfm_ns_mailbox.h45 * when NSPE OS enforces non-secure task isolation.
152 * \note This function should be implemented according to NS OS and
162 * \brief Performs use scenario and NS OS specific waiting mechanism to wait for
165 * \note This function is implemented by NS OS specific waiting mechanism
171 * \brief Performs use scenario and NS OS specific mechanism in a mailbox IRQ
175 * \note The underlying NS OS specific function called inside this function
178 * \note This function is implemented by NS OS specific waiting
/trusted-firmware-m-3.6.0/bl2/ext/mcuboot/scripts/
Dmacro_parser.py12 import os
54 if os.path.isabs(file):
57 scriptsDir = os.path.dirname(os.path.abspath(__file__))
58 configFile = os.path.join(scriptsDir, file)
Dassemble.py26 import os
39 os.unlink(output)
62 ofd.seek(0, os.SEEK_END)
68 statinfo = os.stat(source)
/trusted-firmware-m-3.6.0/docs/cmake/
DFindSphinx.cmake18 #or to be located in a host OS specific standard location.
24 # then OS specific standard locations will be
68 #Find the Sphinx executable. Search OS specific default locations.
75 message(STATUS "Failed to find sphinx-build at OS specific default locations.")
/trusted-firmware-m-3.6.0/bl1/bl1_2/scripts/
Dcreate_bl2_img.py14 import os
16 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../../bl2/ext/mcuboot…
/trusted-firmware-m-3.6.0/
DKconfig.misc24 bool "Support NSPE OS providing NSPE client_id"
27 An NSPE client_id is provided by the NSPE OS via the SPM or directly
28 by the SPM. When `TFM_NS_MANAGE_NSID` is `ON`, TF-M supports NSPE OS
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/shared/include/pal/
Dcc_pal_dma.h15 need to be replaced according to the platform and OS.
50 …* \note If the data buffer was already mapped by the secure OS prior to calling the CryptoCel…
76 …* \note If the data buffer was already unmapped by the secure OS prior to calling the CryptoC…
77 … not have to perform any unmapping operation, and the actual unmapping can be done by the secure OS
/trusted-firmware-m-3.6.0/platform/ext/target/cypress/psoc64/security/
Dreprov_helper.py19 import os
114 if os.path.exists(pub_key_json) and os.stat(pub_key_json).st_size > 0:
212 options.policy_file = os.path.join('policy',
220 if not os.path.isfile(options.policy_file):

12345