Home
last modified time | relevance | path

Searched refs:fit (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/openbmc/u-boot/common/
H A Dimage-fit.c111 static void fit_get_debug(const void *fit, int noffset, in fit_get_debug() argument
115 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
127 int fit_get_subimage_count(const void *fit, int images_noffset) in fit_get_subimage_count() argument
135 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_get_subimage_count()
137 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count()
162 static void fit_image_print_data(const void *fit, int noffset, const char *p, in fit_image_print_data() argument
174 fit_get_name(fit, noffset, NULL)); in fit_image_print_data()
176 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_print_data()
181 keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_print_data()
182 required = fdt_getprop(fit, noffset, "required", NULL) != NULL; in fit_image_print_data()
[all …]
H A Dimage-sig.c183 struct image_region *fit_region_make_list(const void *fit, in fit_region_make_list() argument
205 region[i].data = fit + fdt_regions[i].offset; in fit_region_make_list()
213 const void *fit, int noffset, int required_keynode, in fit_image_setup_verify() argument
219 if (fdt_totalsize(fit) > CONFIG_FIT_SIGNATURE_MAX_SIZE) { in fit_image_setup_verify()
224 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
229 padding_name = fdt_getprop(fit, noffset, "padding", NULL); in fit_image_setup_verify()
234 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify()
235 info->fit = (void *)fit; in fit_image_setup_verify()
253 int fit_image_check_sig(const void *fit, int noffset, const void *data, in fit_image_check_sig() argument
262 if (fit_image_setup_verify(&info, fit, noffset, required_keynode, in fit_image_check_sig()
[all …]
H A Dboot_fit.c15 static int fdt_offset(const void *fit) in fdt_offset() argument
20 node = fit_find_config_node(fit); in fdt_offset()
24 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in fdt_offset()
30 fdt_name = fdt_getprop(fit, node, FIT_FDT_PROP, &fdt_len); in fdt_offset()
37 fdt_node = fdt_subnode_offset(fit, images, fdt_name); in fdt_offset()
44 fdt_offset = fdt_getprop_u32(fit, fdt_node, "data-offset"); in fdt_offset()
49 fdt_len = fdt_getprop_u32(fit, fdt_node, "data-size"); in fdt_offset()
57 void *locate_dtb_in_fit(const void *fit) in locate_dtb_in_fit() argument
63 size = fdt_totalsize(fit); in locate_dtb_in_fit()
66 header = (struct image_header *)fit; in locate_dtb_in_fit()
[all …]
H A Dupdate.c215 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() argument
220 if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) in update_fit_getparams()
223 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams()
238 void *fit; in update_tftp() local
281 fit = (void *)addr; in update_tftp()
283 if (!fit_check_format((void *)fit)) { in update_tftp()
290 images_noffset = fdt_path_offset(fit, FIT_IMAGES_PATH); in update_tftp()
293 noffset = fdt_next_node(fit, images_noffset, &ndepth); in update_tftp()
298 fit_image_name = (char *)fit_get_name(fit, noffset, NULL); in update_tftp()
301 if (!fit_image_verify(fit, noffset)) { in update_tftp()
[all …]
H A Dbootm.c1000 static int bootm_host_load_image(const void *fit, int req_image_type) in bootm_host_load_image() argument
1014 noffset = fit_image_load(&images, (ulong)fit, in bootm_host_load_image()
1020 if (fit_image_get_type(fit, noffset, &image_type)) { in bootm_host_load_image()
1025 if (fit_image_get_comp(fit, noffset, &imape_comp)) { in bootm_host_load_image()
1043 int bootm_host_load_images(const void *fit, int cfg_noffset) in bootm_host_load_images() argument
1056 ret = bootm_host_load_image(fit, image_types[i]); in bootm_host_load_images()
/openbmc/u-boot/tools/
H A Dimage-host.c30 static int fit_set_hash_value(void *fit, int noffset, uint8_t *value, in fit_set_hash_value() argument
35 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_set_hash_value()
38 FIT_VALUE_PROP, fit_get_name(fit, noffset, NULL), in fit_set_hash_value()
59 static int fit_image_process_hash(void *fit, const char *image_name, in fit_image_process_hash() argument
68 node_name = fit_get_name(fit, noffset, NULL); in fit_image_process_hash()
70 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_process_hash()
82 ret = fit_set_hash_value(fit, noffset, value, value_len); in fit_image_process_hash()
107 static int fit_image_write_sig(void *fit, int noffset, uint8_t *value, in fit_image_write_sig() argument
118 string_size = fdt_size_dt_strings(fit); in fit_image_write_sig()
120 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_image_write_sig()
[all …]
H A Dfit_image.c733 const void *fit, in fit_image_extract() argument
741 fit_image_get_data(fit, image_noffset, &file_data, &file_size); in fit_image_extract()
760 const void *fit = ptr; in fit_extract_contents() local
767 if (!fit_check_format(fit)) { in fit_extract_contents()
773 images_noffset = fdt_path_offset(fit, FIT_IMAGES_PATH); in fit_extract_contents()
781 count = fit_get_subimage_count(fit, images_noffset); in fit_extract_contents()
789 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_extract_contents()
791 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_extract_contents()
799 count, fit_get_name(fit, noffset, NULL)); in fit_extract_contents()
801 fit_image_print(fit, noffset, p); in fit_extract_contents()
[all …]
/openbmc/u-boot/common/spl/
H A Dspl_fit.c39 static int spl_fit_get_image_name(const void *fit, int images, in spl_fit_get_image_name() argument
48 conf_node = fit_find_config_node(fit); in spl_fit_get_image_name()
52 for (node = fdt_first_subnode(fit, conf_node); in spl_fit_get_image_name()
54 node = fdt_next_subnode(fit, node)) { in spl_fit_get_image_name()
55 name = fdt_getprop(fit, node, "description", &len); in spl_fit_get_image_name()
62 name = fdt_getprop(fit, conf_node, type, &len); in spl_fit_get_image_name()
93 static int spl_fit_get_image_node(const void *fit, int images, in spl_fit_get_image_node() argument
100 err = spl_fit_get_image_name(fit, images, type, index, &str); in spl_fit_get_image_node()
106 node = fdt_subnode_offset(fit, images, str); in spl_fit_get_image_node()
171 void *fit, ulong base_offset, int node, in spl_load_fit_image() argument
[all …]
/openbmc/u-boot/include/
H A Dimage.h972 int fit_get_subimage_count(const void *fit, int images_noffset);
973 void fit_print_contents(const void *fit);
974 void fit_image_print(const void *fit, int noffset, const char *p);
983 static inline ulong fit_get_size(const void *fit) in fit_get_size() argument
985 return fdt_totalsize(fit); in fit_get_size()
995 ulong fit_get_end(const void *fit);
1011 int fit_get_desc(const void *fit, int noffset, char **desc);
1012 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
1014 int fit_image_get_node(const void *fit, const char *image_uname);
1015 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
[all …]
H A Dboot_fit.h13 void *locate_dtb_in_fit(const void *fit);
/openbmc/u-boot/test/py/tests/
H A Dtest_vboot.py93 '%s%s' % (datadir, its), fit])
107 '-r', fit])
122 with open(fit, 'r+b') as handle:
167 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
184 (fit, sig_node))
190 (fit, sig_node, sig))
195 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
202 fit = '%stest.fit' % tmpdir
H A Dtest_fit.py187 fit = make_fname('test.fit')
189 util.run_and_log(cons, [mkimage, '-f', its, fit])
192 return fit
357 fit = make_fit(mkimage, params)
358 params['fit'] = fit
377 data = read_file(fit)
388 fit = make_fit(mkimage, params)
400 fit = make_fit(mkimage, params)
412 fit = make_fit(mkimage, params)
/openbmc/phosphor-webui/app/common/directives/
H A Dserial-console.js4 import * as fit from 'xterm/lib/addons/fit/fit';
140 Terminal.applyAddon(fit); // Apply the `fit` addon
151 term.fit();
183 term.fit();
196 term.fit();
/openbmc/qemu/hw/acpi/
H A Dnvdimm.c372 fit_buf->fit = g_array_new(false, true /* clear */, 1); in nvdimm_init_fit_buffer()
379 g_array_free(fit_buf->fit, true); in nvdimm_build_fit_buffer()
380 fit_buf->fit = nvdimm_build_device_structure(state); in nvdimm_build_fit_buffer()
414 g_array_append_vals(table_data, fit_buf->fit->data, fit_buf->fit->len); in nvdimm_build_nfit()
505 uint8_t fit[]; /* the FIT data. */ member
545 GArray *fit; in nvdimm_dsm_func_read_fit() local
552 fit = fit_buf->fit; in nvdimm_dsm_func_read_fit()
554 trace_acpi_nvdimm_read_fit(read_fit->offset, fit->len, in nvdimm_dsm_func_read_fit()
557 if (read_fit->offset > fit->len) { in nvdimm_dsm_func_read_fit()
571 read_len = MIN(fit->len - read_fit->offset, in nvdimm_dsm_func_read_fit()
[all …]
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dspl.c86 void board_fit_image_post_process(const void *fit, int node, void **p_image, size_t *p_size) in board_fit_image_post_process() argument
91 fit_image_get_os(fit, node, &os); in board_fit_image_post_process()
97 fit_image_get_entry(fit, node, &s_ep); in board_fit_image_post_process()
/openbmc/u-boot/cmd/
H A Dsource.c31 static const char *get_default_image(const void *fit) in get_default_image() argument
35 images_noffset = fdt_path_offset(fit, FIT_IMAGES_PATH); in get_default_image()
39 return fdt_getprop(fit, images_noffset, FIT_DEFAULT_PROP, NULL); in get_default_image()
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dppa.c161 struct fdt_header fit; in ppa_init() local
168 &fdt_header_len, (u_char *)&fit); in ppa_init()
175 ret = fdt_check_header(&fit); in ppa_init()
204 fw_length = fdt_totalsize(&fit); in ppa_init()
/openbmc/u-boot/doc/uImage.FIT/
H A Dbeaglebone_vboot.txt208 $UOUT/tools/mkimage -f sign.its -K am335x-boneblack-pubkey.dtb -k keys -r image.fit
242 Now am335x-boneblack-pubkey.dtb contains the public key and image.fit contains
248 $UOUT/tools/fit_check_sign -f image.fit -k am335x-boneblack-pubkey.dtb
313 But it is fun to do this by hand, so you can load image.fit into a hex editor
316 $UOUT/tools/fit_info -f image.fit -n /images/kernel -p data
321 This tells us that the kernel starts at byte offset 168 (decimal) in image.fit
384 fdtget -l image.fit /
388 fdtget -l image.fit /configurations
390 fdtget -l image.fit /configurations/conf-1
393 fdtget -p image.fit /configurations/conf-1/signature-1
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Dfacebook-bmc-flash-layout.dtsi19 fit@80000 {
21 label = "fit";
H A Dfacebook-bmc-flash-layout-128.dtsi37 fit@100000 {
39 label = "fit";
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/files/corstone1000/
H A D0005-Platform-CS1000-Increase-RSE_COMMS-buffer-size.patch24 -/* size suits to fit the largest message too (EFI variables) */
27 + * The size suits to fit the largest message too (EFI variables)
/openbmc/linux/Documentation/driver-api/gpio/
H A Dusing-gpio.rst27 software-hardware interface to be set up. They should not have a natural fit
28 to any existing kernel subsystem and not be a good fit for an operating system,
33 from userspace will likely be a good fit for using GPIO lines from userspace as
/openbmc/webui-vue/src/views/Operations/SerialOverLan/
H A DSerialOverLanConsole.vue48 import { FitAddon } from 'xterm-addon-fit';
124 fitAddon.fit();
127 fitAddon.fit();
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dv4l2-selection-targets.rst46 - Bounds of the crop rectangle. All valid crop rectangles fit inside
68 - Bounds of the compose rectangle. All valid compose rectangles fit
/openbmc/u-boot/doc/
H A DREADME.chromium64 ./b/nyan-big/tools/mkimage -f doc/chromium/nyan-big.its u-boot-chromium.fit
68 --version 1 --config dummy.txt --vmlinuz u-boot-chromium.fit \
118 You should see that the data at 0x100 in u-boot-chromium.fit is the first few
121 hd u-boot-chromium.fit |head -20
166 u-boot-chromium.fit
170 --version 1 --config dummy.txt --vmlinuz u-boot-chromium.fit \

12345678910>>...16