| /openbmc/u-boot/test/fs/ |
| H A D | fs-test.sh | 236 printenv filesize 237 setenv filesize 240 printenv filesize 241 setenv filesize 246 printenv filesize 247 setenv filesize 255 printenv filesize 257 md5sum $addr \$filesize 258 setenv filesize 262 printenv filesize [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | mkenvimage.c | 75 unsigned int filesize = 0, envsize = 0, datasize = 0; in main() local 164 filebuf = realloc(filebuf, filesize + readlen); in main() 169 readbytes = read(txt_fd, filebuf + filesize, readlen); in main() 175 filesize += readbytes; in main() 194 filesize = txt_file_stat.st_size; in main() 196 filebuf = mmap(NULL, sizeof(*envptr) * filesize, PROT_READ, in main() 200 sizeof(*envptr) * filesize, in main() 204 filebuf = malloc(sizeof(*envptr) * filesize); in main() 205 ret = read(txt_fd, filebuf, sizeof(*envptr) * filesize); in main() 206 if (ret != sizeof(*envptr) * filesize) { in main() [all …]
|
| H A D | mtk_image.c | 644 static void mtk_image_set_gen_header(void *ptr, off_t filesize, in mtk_image_set_gen_header() argument 666 hdr->brlyt.total_size = cpu_to_le32(filesize); in mtk_image_set_gen_header() 672 put_ghf_header(gfh, filesize, sizeof(struct gen_device_header), in mtk_image_set_gen_header() 677 filesize - sizeof(struct gen_device_header) - SHA256_SUM_LEN); in mtk_image_set_gen_header() 680 static void mtk_image_set_nand_header(void *ptr, off_t filesize, in mtk_image_set_nand_header() argument 694 payload_pages = (filesize + le16_to_cpu(hdr_nand->pagesize) - 1) / in mtk_image_set_nand_header() 707 put_ghf_header(gfh, filesize, 2 * le16_to_cpu(hdr_nand->pagesize), in mtk_image_set_nand_header() 712 filesize - 2 * le16_to_cpu(hdr_nand->pagesize) - SHA256_SUM_LEN); in mtk_image_set_nand_header()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | vmcoreinfo-test.c | 27 size_t filesize; in test_vmcoreinfo_write_basic() local 38 filesize = qfw_cfg_read_file(fw_cfg, qs, FW_CFG_VMCOREINFO_FILENAME, in test_vmcoreinfo_write_basic() 40 g_assert_cmpint(filesize, ==, sizeof(info)); in test_vmcoreinfo_write_basic() 52 filesize = qfw_cfg_write_file(fw_cfg, qs, FW_CFG_VMCOREINFO_FILENAME, in test_vmcoreinfo_write_basic() 54 g_assert_cmpint(filesize, ==, sizeof(info)); in test_vmcoreinfo_write_basic() 59 filesize = qfw_cfg_read_file(fw_cfg, qs, FW_CFG_VMCOREINFO_FILENAME, in test_vmcoreinfo_write_basic() 61 g_assert_cmpint(filesize, ==, sizeof(info)); in test_vmcoreinfo_write_basic()
|
| H A D | fw_cfg-test.c | 183 size_t filesize; in test_fw_cfg_reboot_timeout() local 188 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-fail-wait", in test_fw_cfg_reboot_timeout() 190 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_reboot_timeout() 202 size_t filesize; in test_fw_cfg_no_reboot_timeout() local 208 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-fail-wait", in test_fw_cfg_no_reboot_timeout() 210 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_no_reboot_timeout() 222 size_t filesize; in test_fw_cfg_splash_time() local 227 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-menu-wait", in test_fw_cfg_splash_time() 229 g_assert_cmpint(filesize, ==, sizeof(splash_time)); in test_fw_cfg_splash_time()
|
| /openbmc/u-boot/board/boundary/nitrogen6x/ |
| H A D | 6x_upgrade.txt | 5 echo "read $filesize bytes from SD card" ; 9 if sf read 0x12400000 $offset $filesize ; then 10 if cmp.b 0x12000000 0x12400000 $filesize ; then 23 sf write 0x12000000 $offset $filesize ; 25 if sf read 0x12400000 $offset $filesize ; then 26 if cmp.b 0x12000000 0x12400000 $filesize ; then
|
| /openbmc/u-boot/board/freescale/c29xpcie/ |
| H A D | README | 65 => protect off eff40000 +$filesize 66 => erase eff40000 +$filesize 67 => cp.b $loadaddr eff40000 $filesize 76 => protect off e9f40000 +$filesize 77 => erase e9f40000 +$filesize 78 => cp.b $loadaddr e9f40000 $filesize 98 => sf write $loadaddr 0 $filesize
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_fit.py | 128 def filesize(fname): function 327 'kernel_size' : filesize(kernel), 331 'fdt_size' : filesize(control_dtb), 337 'ramdisk_size' : filesize(ramdisk), 344 'loadables1_size' : filesize(loadables1), 350 'loadables2_size' : filesize(loadables2),
|
| /openbmc/openbmc-tools/ddconvnotrunc/ |
| H A D | ddconvnotrunc | 78 filesize() function 138 OF_UPDATE_OFF=$(filesize "$OF_FILE") 142 OF_SUFFIX_OFF=$(filesize "$OF_FILE")
|
| /openbmc/u-boot/board/freescale/mpc8610hpcd/ |
| H A D | README | 26 erase fff00000 +$filesize 27 cp.b 1000000 fff00000 $filesize 33 erase fbf00000 +$filesize 34 cp.b 1000000 fbf00000 $filesize
|
| /openbmc/openbmc/poky/meta/recipes-graphics/mesa/files/ |
| H A D | 0001-freedreno-don-t-encode-build-path-into-binaries.patch | 100 filesize = str(os.path.getsize(filepath)) 101 filesize = " " * (7 - len(filesize)) + filesize 103 - print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")") 104 + print("- " + filename + pad + " (" + filesize + " bytes, from " + filetime + ")")
|
| /openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
| H A D | rawcopy.py | 107 filesize = int(out.split()[0]) 109 if filesize > part.size: 110 part.size = filesize
|
| /openbmc/u-boot/board/freescale/p1010rdb/ |
| H A D | README.P1010RDB-PA | 107 => protect off eff40000 +$filesize 108 => erase eff40000 +$filesize 109 => cp.b $loadaddr eff40000 $filesize 118 => protect off eef40000 +$filesize 119 => erase eef40000 +$filesize 120 => cp.b $loadaddr eef40000 $filesize 143 => nand erase 0 $filesize 144 => nand write $loadaddr 0 $filesize 163 => sf write $loadaddr 0 $filesize
|
| /openbmc/u-boot/board/freescale/mpc8323erdb/ |
| H A D | README | 43 protect off fe000000 +$filesize 44 erase fe000000 +$filesize 45 cp.b $loadaddr fe000000 $filesize
|
| /openbmc/qemu/hw/misc/ |
| H A D | sifive_u_otp.c | 215 int filesize; in sifive_u_otp_realize() local 219 filesize = SIFIVE_U_OTP_NUM_FUSES * SIFIVE_U_OTP_FUSE_WORD; in sifive_u_otp_realize() 220 if (blk_getlength(blk) < filesize) { in sifive_u_otp_realize() 235 if (blk_pread(s->blk, 0, filesize, s->fuse, 0) < 0) { in sifive_u_otp_realize()
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
| H A D | 0031-corstone1000-detect-inflated-kernel-size.patch | 6 use filesize variable set by unzip command 23 …y ... ; unzip $kernel_addr 0x90000000; loadm 0x90000000 $kernel_addr_r $filesize; usb start; usb r…
|
| /openbmc/u-boot/fs/fat/ |
| H A D | fat.c | 312 loff_t filesize = FAT2CPU32(dentptr->size); in get_contents() local 319 debug("Filesize: %llu bytes\n", filesize); in get_contents() 321 if (pos >= filesize) { in get_contents() 326 if (maxsize > 0 && filesize > pos + maxsize) in get_contents() 327 filesize = pos + maxsize; in get_contents() 329 debug("%llu bytes\n", filesize); in get_contents() 346 filesize -= actsize; in get_contents() 353 actsize = min(filesize, (loff_t)bytesperclust); in get_contents() 365 filesize -= actsize; in get_contents() 370 if (!filesize) in get_contents() [all …]
|
| H A D | fat_write.c | 702 u64 cur_pos, filesize; in set_contents() local 706 filesize = pos + maxsize; in set_contents() 708 debug("%llu bytes\n", filesize); in set_contents() 710 if (!filesize) { in set_contents() 765 if (filesize <= (cur_pos + actsize)) in set_contents() 787 wsize = min(cur_pos + actsize, filesize) - pos; in set_contents() 797 if (filesize <= cur_pos) in set_contents() 809 if (filesize <= cur_pos) { in set_contents() 830 filesize -= cur_pos; in set_contents() 855 if (check_overflow(mydata, curclust, filesize)) { in set_contents() [all …]
|
| /openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
| H A D | README | 100 > sf erase 0 +$filesize 101 > sf write $kernel_addr_r 0 ${filesize} 103 > sf erase 0x40000 +$filesize 104 > sf write $kernel_addr_r 0x40000 ${filesize}
|
| /openbmc/u-boot/board/work-microwave/work_92105/ |
| H A D | README | 78 nand write $loadaddr 0x00000000 $filesize 84 nand write $loadaddr 0x00000000 $filesize 85 nand write $loadaddr 0x00020000 $filesize 91 nand write $loadaddr 0x00040000 $filesize
|
| /openbmc/u-boot/fs/ext4/ |
| H A D | ext4fs.c | 57 unsigned int filesize = le32_to_cpu(node->inode.size); in ext4fs_read_file() local 70 if (len + pos > filesize) in ext4fs_read_file() 71 len = (filesize - pos); in ext4fs_read_file()
|
| /openbmc/u-boot/board/keymile/scripts/ |
| H A D | ramfs-arm.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/ramfs-common.txt && env import -t 0x200000 ${filesize} &&…
|
| H A D | ramfs-ppc_82xx.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/ramfs-common.txt && env import -t 0x200000 ${filesize} &&…
|
| H A D | develop-ppc_8xx.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/develop-common.txt && env import -t 0x200000 ${filesize} …
|
| H A D | develop-arm.txt | 1 setup_debug_env=tftpboot 0x200000 scripts/develop-common.txt && env import -t 0x200000 ${filesize} …
|