/external/dtc/tests/ |
D | run_tests.sh | 237 run_dtc_test -I dts -O dtb -o overlay_base_no_symbols.test.dtb "$SRCDIR/overlay_base.dts" 238 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__symbols__" 239 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__fixups__" 240 run_test check_path overlay_base_no_symbols.test.dtb not-exists "/__local_fixups__" 242 …run_dtc_test -I dts -O dtb -o overlay_overlay_no_fixups.test.dtb "$SRCDIR/overlay_overlay_no_fixup… 243 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__symbols__" 244 run_test check_path overlay_overlay_no_fixups.test.dtb not-exists "/__fixups__" 245 run_test check_path overlay_overlay_no_fixups.test.dtb exists "/__local_fixups__" 247 run_test overlay overlay_base_no_symbols.test.dtb overlay_overlay_no_fixups.test.dtb 250 …run_dtc_test -I dts -O dtb -o overlay_base_manual_symbols.test.dtb "$SRCDIR/overlay_base_manual_sy… [all …]
|
D | fdtdump-runtest.sh | 11 dtb="${dts}.dtb" 15 files="$dtb $out $LOG" 20 verbose_run_log_check "$LOG" $VALGRIND $DTC -O dtb $dts -o $dtb 21 $FDTDUMP ${dtb} | grep -v "//" >${out}
|
D | fdtput-runtest.sh | 19 dtb="$2" 27 verbose_run_check $VALGRIND "$DTPUT" "$dtb" "$node" "$property" $value $flags 30 verbose_run_log_check "$LOG" $VALGRIND "$DTGET" "$dtb" "$node" "$property" $flags
|
/external/arm-trusted-firmware/common/ |
D | fdt_wrappers.c | 22 int fdt_read_uint32_array(const void *dtb, int node, const char *prop_name, in fdt_read_uint32_array() argument 28 assert(dtb != NULL); in fdt_read_uint32_array() 34 prop = fdt_getprop(dtb, node, prop_name, &value_len); in fdt_read_uint32_array() 53 int fdt_read_uint32(const void *dtb, int node, const char *prop_name, in fdt_read_uint32() argument 56 return fdt_read_uint32_array(dtb, node, prop_name, 1, value); in fdt_read_uint32() 59 uint32_t fdt_read_uint32_default(const void *dtb, int node, in fdt_read_uint32_default() argument 63 int err = fdt_read_uint32(dtb, node, prop_name, &ret); in fdt_read_uint32_default() 72 int fdt_read_uint64(const void *dtb, int node, const char *prop_name, in fdt_read_uint64() argument 78 ret = fdt_read_uint32_array(dtb, node, prop_name, 2, array); in fdt_read_uint64() 92 int fdtw_read_bytes(const void *dtb, int node, const char *prop, in fdtw_read_bytes() argument [all …]
|
D | fdt_fixup.c | 194 int fdt_add_reserved_memory(void *dtb, const char *node_name, in fdt_add_reserved_memory() argument 197 int offs = fdt_path_offset(dtb, "/reserved-memory"); in fdt_add_reserved_memory() 201 offs = fdt_add_subnode(dtb, 0, "reserved-memory"); in fdt_add_reserved_memory() 204 fdt_setprop_u32(dtb, offs, "#address-cells", 2); in fdt_add_reserved_memory() 205 fdt_setprop_u32(dtb, offs, "#size-cells", 1); in fdt_add_reserved_memory() 206 fdt_setprop(dtb, offs, "ranges", NULL, 0); in fdt_add_reserved_memory() 212 offs = fdt_add_subnode(dtb, offs, node_name); in fdt_add_reserved_memory() 213 fdt_setprop(dtb, offs, "no-map", NULL, 0); in fdt_add_reserved_memory() 214 fdt_setprop(dtb, offs, "reg", addresses, 12); in fdt_add_reserved_memory() 230 static int fdt_add_cpu(void *dtb, int parent, u_register_t mpidr) in fdt_add_cpu() argument [all …]
|
/external/arm-trusted-firmware/include/common/ |
D | fdt_wrappers.h | 17 int fdt_read_uint32(const void *dtb, int node, const char *prop_name, 19 uint32_t fdt_read_uint32_default(const void *dtb, int node, 21 int fdt_read_uint64(const void *dtb, int node, const char *prop_name, 23 int fdt_read_uint32_array(const void *dtb, int node, const char *prop_name, 25 int fdtw_read_string(const void *dtb, int node, const char *prop, 27 int fdtw_write_inplace_cells(void *dtb, int node, const char *prop, 29 int fdtw_read_bytes(const void *dtb, int node, const char *prop, 31 int fdtw_write_inplace_bytes(void *dtb, int node, const char *prop, 33 int fdt_get_reg_props_by_index(const void *dtb, int node, int index, 35 int fdt_get_reg_props_by_name(const void *dtb, int node, const char *name, [all …]
|
D | fdt_fixup.h | 12 int fdt_add_reserved_memory(void *dtb, const char *node_name, 14 int fdt_add_cpus_node(void *dtb, unsigned int afflv0, 16 int fdt_adjust_gic_redist(void *dtb, unsigned int nr_cores,
|
/external/arm-trusted-firmware/plat/arm/common/ |
D | arm_dyn_cfg_helpers.c | 46 int arm_dyn_tb_fw_cfg_init(void *dtb, int *node) in arm_dyn_tb_fw_cfg_init() argument 48 assert(dtb != NULL); in arm_dyn_tb_fw_cfg_init() 52 if (fdt_check_header(dtb) != 0) { in arm_dyn_tb_fw_cfg_init() 58 *node = fdt_node_offset_by_compatible(dtb, -1, "arm,tb_fw"); in arm_dyn_tb_fw_cfg_init() 82 int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr, size_t heap_size) in arm_set_dtb_mbedtls_heap_info() argument 91 int err = arm_dyn_tb_fw_cfg_init(dtb, &dtb_root); in arm_set_dtb_mbedtls_heap_info() 105 err = fdtw_write_inplace_cells(dtb, dtb_root, in arm_set_dtb_mbedtls_heap_info() 113 err = fdtw_write_inplace_cells(dtb, dtb_root, in arm_set_dtb_mbedtls_heap_info() 135 int arm_set_bl2_hash_info(void *dtb, void *data) in arm_set_bl2_hash_info() argument 142 return fdtw_write_inplace_bytes(dtb, dtb_root, in arm_set_bl2_hash_info() [all …]
|
D | arm_dyn_cfg.c | 96 tb_fw_config_info = FCONF_GET_PROPERTY(dyn_cfg, dtb, TB_FW_CONFIG_ID); in arm_bl1_set_mbedtls_heap() 103 void *dtb = (void *)tb_fw_cfg_dtb; in arm_bl1_set_mbedtls_heap() local 105 err = arm_set_dtb_mbedtls_heap_info(dtb, in arm_bl1_set_mbedtls_heap() 122 flush_dcache_range(tb_fw_cfg_dtb, fdt_totalsize(dtb)); in arm_bl1_set_mbedtls_heap() 140 tb_fw_config_info = FCONF_GET_PROPERTY(dyn_cfg, dtb, TB_FW_CONFIG_ID); in arm_bl1_set_bl2_hash() 229 dtb_info = FCONF_GET_PROPERTY(dyn_cfg, dtb, config_ids[i]); in arm_bl2_dyn_cfg_init()
|
/external/arm-trusted-firmware/lib/fconf/ |
D | fconf_cot_getter.c | 189 static int get_oid(const void *dtb, int node, const char *prop, char **oid) in get_oid() argument 194 rc = fdt_read_uint32(dtb, node, prop, &phandle); in get_oid() 199 node = fdt_node_offset_by_phandle(dtb, phandle); in get_oid() 205 rc = fdtw_read_string(dtb, node, "oid", *oid, MAX_OID_NAME_LEN); in get_oid() 222 static int populate_and_set_auth_methods(const void *dtb, int node, in populate_and_set_auth_methods() argument 241 rc = get_oid(dtb, node, "signing-key", &oid); in populate_and_set_auth_methods() 250 rc = get_oid(dtb, node, "hash", &oid); in populate_and_set_auth_methods() 265 rc = get_oid(dtb, node, "antirollback-counter", &oid); in populate_and_set_auth_methods() 285 static int get_parent_img_id(const void *dtb, int node, in get_parent_img_id() argument 291 err = fdt_read_uint32(dtb, node, "parent", &phandle); in get_parent_img_id() [all …]
|
D | fconf_dyn_cfg_getter.c | 65 const void *dtb = (void *)config; in fconf_populate_dtb_registry() local 77 uint32_t config_max_size = fdt_totalsize(dtb); in fconf_populate_dtb_registry() 83 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_dtb_registry() 89 fdt_for_each_subnode(child, dtb, node) { in fconf_populate_dtb_registry() 95 rc = fdt_read_uint64(dtb, child, "load-address", &val64); in fconf_populate_dtb_registry() 102 rc = fdt_read_uint32(dtb, child, "max-size", &config_max_size); in fconf_populate_dtb_registry() 108 rc = fdt_read_uint32(dtb, child, "id", &config_id); in fconf_populate_dtb_registry()
|
D | fconf_tbbr_getter.c | 24 const void *dtb = (void *)config; in fconf_populate_tbbr_dyn_config() local 28 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_tbbr_dyn_config() 36 err = fdt_read_uint32(dtb, node, "disable_auth", in fconf_populate_tbbr_dyn_config() 58 err = fdt_read_uint64(dtb, node, "mbedtls_heap_addr", &val64); in fconf_populate_tbbr_dyn_config() 66 err = fdt_read_uint32(dtb, node, "mbedtls_heap_size", &val32); in fconf_populate_tbbr_dyn_config() 76 err = fdtw_read_bytes(dtb, node, "bl2_hash_data", TCG_DIGEST_SIZE, in fconf_populate_tbbr_dyn_config()
|
/external/arm-trusted-firmware/plat/rpi/rpi4/ |
D | rpi4_bl31_setup.c | 206 void *dtb = (void *)rpi4_get_dtb_address(); in rpi4_prepare_dtb() local 211 if (fdt_check_header(dtb) != 0) in rpi4_prepare_dtb() 214 ret = fdt_open_into(dtb, dtb, 0x100000); in rpi4_prepare_dtb() 216 ERROR("Invalid Device Tree at %p: error %d\n", dtb, ret); in rpi4_prepare_dtb() 220 if (dt_add_psci_node(dtb)) { in rpi4_prepare_dtb() 225 if (dt_add_psci_cpu_enable_methods(dtb)) { in rpi4_prepare_dtb() 231 if (fdt_add_reserved_memory(dtb, "atf@0", 0, 0x80000)) in rpi4_prepare_dtb() 234 offs = fdt_node_offset_by_compatible(dtb, 0, "arm,gic-400"); in rpi4_prepare_dtb() 238 fdt_setprop(dtb, offs, "interrupts", gic_int_prop, 12); in rpi4_prepare_dtb() 240 offs = fdt_path_offset(dtb, "/chosen"); in rpi4_prepare_dtb() [all …]
|
/external/mesa3d/.gitlab-ci/bare-metal/ |
D | fastboot.sh | 87 wget $BM_DTB -O dtb 89 cat kernel dtb > Image.gz-dtb 90 rm kernel dtb 92 cat $BM_KERNEL $BM_DTB > Image.gz-dtb 97 -k Image.gz-dtb \ 100 rm Image.gz-dtb
|
/external/arm-trusted-firmware/docs/resources/diagrams/plantuml/ |
D | fconf_bl2_populate.puml | 31 fconf -> fconf_dyn_cfg_getter: populate_dtb_registry(uintptr_t dtb) 32 note over fconf_dyn_cfg_getter: read dtb_registry properties from dtb 34 arm_bl2_setup -> fconf: FCONF_GET_PROPERTY(dyn_cfg, dtb, TB_FW_CONFIG_ID) 38 fconf -> fconf_tbbr_getter: fconf_populate_tbbr_dyn_config(uintptr_t dtb) 39 note over fconf_tbbr_getter: read tbbr properties from dtb 40 fconf -> arm_fconf_io: fconf_populate_arm_io_policies(uintptr_t dtb) 41 note over arm_fconf_io: read arm io propeties from dtb
|
D | fip-secure-partitions.puml | 74 artifact tb_fw_config.dtb 96 artifact signed_tb_fw_config.dtb [ 97 tb_fw_config.dtb (signed) 130 tb_fw_config.dtb (signed) 158 dtc --> tb_fw_config.dtb 159 tb_fw_config.dtb --> cert_create 160 cert_create --> signed_tb_fw_config.dtb 162 signed_tb_fw_config.dtb --> fiptool
|
/external/arm-trusted-firmware/plat/arm/board/fvp/fconf/ |
D | fconf_nt_config_getter.c | 23 const void *dtb = (const void *)config; in fconf_populate_event_log_config() local 31 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_event_log_config() 40 err = fdtw_read_cells(dtb, node, "tpm_event_log_sm_addr", 2, in fconf_populate_event_log_config() 47 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config() 54 err = fdtw_read_cells(dtb, node, in fconf_populate_event_log_config()
|
/external/arm-trusted-firmware/plat/arm/common/fconf/ |
D | fconf_nv_cntr_getter.c | 30 const void *dtb = (void *)config; in fconf_populate_nv_cntrs() local 33 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_nv_cntrs() 40 fdt_for_each_subnode(child, dtb, node) { in fconf_populate_nv_cntrs() 42 rc = fdt_read_uint32(dtb, child, "id", &id); in fconf_populate_nv_cntrs() 50 rc = fdt_get_reg_props_by_index(dtb, child, 0, ®, NULL); in fconf_populate_nv_cntrs()
|
D | fconf_sdei_getter.c | 30 const void *dtb = (void *)config; in fconf_populate_sdei_dyn_config() local 33 node = fdt_node_offset_by_compatible(dtb, -1, "arm,sdei-1.0"); in fconf_populate_sdei_dyn_config() 40 err = fdt_read_uint32(dtb, node, "private_event_count", in fconf_populate_sdei_dyn_config() 56 err = fdt_read_uint32_array(dtb, node, "private_events", in fconf_populate_sdei_dyn_config() 71 err = fdt_read_uint32(dtb, node, "shared_event_count", in fconf_populate_sdei_dyn_config() 86 err = fdt_read_uint32_array(dtb, node, "shared_events", in fconf_populate_sdei_dyn_config()
|
D | arm_fconf_sp.c | 43 const void *dtb = (void *)config; in fconf_populate_arm_sp() local 48 node = fdt_node_offset_by_compatible(dtb, -1, compatible_str); in fconf_populate_arm_sp() 54 fdt_for_each_subnode(sp_node, dtb, node) { in fconf_populate_arm_sp() 62 err = fdt_read_uint32_array(dtb, sp_node, "uuid", 4, in fconf_populate_arm_sp() 88 err = fdt_read_uint32(dtb, sp_node, "load-address", &val32); in fconf_populate_arm_sp() 98 fdtw_read_string(dtb, sp_node, "owner", in fconf_populate_arm_sp()
|
/external/arm-trusted-firmware/plat/rpi/rpi3/ |
D | rpi3_bl31_setup.c | 163 void *dtb = (void *)RPI3_PRELOADED_DTB_BASE; in rpi3_dtb_add_mem_rsv() local 168 if (fdt_check_header(dtb) != 0) in rpi3_dtb_add_mem_rsv() 171 regions = fdt_num_mem_rsv(dtb); in rpi3_dtb_add_mem_rsv() 185 if (fdt_get_mem_rsv(dtb, i, &addr, &size) != 0) in rpi3_dtb_add_mem_rsv() 193 rc = fdt_del_mem_rsv(dtb, i); in rpi3_dtb_add_mem_rsv() 210 rc = fdt_add_mem_rsv(dtb, SEC_SRAM_BASE, SEC_SRAM_SIZE); in rpi3_dtb_add_mem_rsv()
|
/external/autotest/utils/ |
D | emulator_manager.py | 74 dtb = cmd_result.stdout.split('\n')[0] 75 return dtb.strip() or None 106 dtb = self._find_dtb() 107 if dtb: 108 args += ['-dtb', dtb]
|
/external/arm-trusted-firmware/include/plat/arm/common/ |
D | arm_dyn_cfg_helpers.h | 13 int arm_dyn_tb_fw_cfg_init(void *dtb, int *node); 14 int arm_set_dtb_mbedtls_heap_info(void *dtb, void *heap_addr, 18 int arm_set_bl2_hash_info(void *dtb, void *data);
|
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/ |
D | build_axf.ld.S | 22 INPUT(./fdts/arm_fpga.dtb) 39 .dtb (FPGA_PRELOADED_DTB_BASE): { 41 *arm_fpga.dtb
|
/external/arm-trusted-firmware/plat/arm/board/tc0/ |
D | platform.mk | 81 FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb 82 TB_FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_tb_fw_config.dtb 95 TC0_TOS_FW_CONFIG := ${BUILD_PLAT}/fdts/$(notdir $(basename ${ARM_SPMC_MANIFEST_DTS})).dtb 103 TC0_HW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}.dtb 105 $(eval TC0_HW_CONFIG := ${BUILD_PLAT}/$(patsubst %.dts,%.dtb,$(TC0_HW_CONFIG_DTS)))
|