/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | boot.c | 31 __RCSID("$NetBSD: boot.c,v 1.22 2020/01/11 16:29:07 christos Exp $"); 46 readboot(int dosfs, struct bootblock *boot) in readboot() argument 53 perr("could not read boot block"); in readboot() 58 pfatal("Invalid signature in boot block: %02x%02x", in readboot() 63 memset(boot, 0, sizeof *boot); in readboot() 64 boot->ValidFat = -1; in readboot() 69 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 70 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot() 71 boot in readboot() 337 writefsinfo(int dosfs, struct bootblock *boot) writefsinfo() argument [all...] |
H A D | fat.c | 168 struct bootblock *boot; member 523 return (fat->boot); in boot_of_() 557 const struct bootblock *boot = boot_of_(fat); in valid_cl() local 559 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl() 580 checkdirty(int fs, struct bootblock *boot) in checkdirty() argument 587 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) in checkdirty() 590 off = boot->bpbResSectors; in checkdirty() 591 off *= boot->bpbBytesPerSec; in checkdirty() 593 buffer = malloc(len = boot in checkdirty() 646 struct bootblock *boot; cleardirty() local 699 struct bootblock *boot; _readfat() local 806 readfat(int fs, struct bootblock *boot, struct fat_descriptor **fp) readfat() argument 1123 struct bootblock *boot = boot_of_(fat); clearchain() local 1144 struct bootblock *boot; copyfat() local 1194 struct bootblock *boot; writefat() local 1251 struct bootblock *boot; checklost() local [all...] |
H A D | check.c | 50 struct bootblock boot; in checkfilesys() local 79 if (readboot(dosfs, &boot) == FSFATAL) { in checkfilesys() 85 if (skipclean && preen && checkdirty(dosfs, &boot)) { in checkfilesys() 96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys() 132 freebytes = (int64_t)boot.NumFree * boot.ClusterSize; in checkfilesys() 133 badbytes = (int64_t)boot.NumBad * boot.ClusterSize; in checkfilesys() 140 if (boot.NumBad) { in checkfilesys() 145 boot in checkfilesys() [all...] |
H A D | dir.c | 225 struct bootblock *boot; in resetDosDirSection() local 227 boot = fat_get_boot(fat); in resetDosDirSection() 229 rootdir_size = boot->bpbRootDirEnts * 32; in resetDosDirSection() 230 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 251 if (boot->flags & FAT32) { in resetDosDirSection() 252 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { in resetDosDirSection() 256 rootDir->head = boot->bpbRootClust; in resetDosDirSection() 302 struct bootblock *boot; in delete() local 304 boot in delete() 391 struct bootblock *boot; checksize() local 469 struct bootblock *boot; check_subdirectory() local 536 struct bootblock *boot; readDosDirSection() local 1075 struct bootblock *boot = fat_get_boot(fat); reconnect() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/ |
H A D | module_config.mk | 5 BOOT_INC := -I$(MAIN_TOPDIR)/boot/flashboot/fixed/include \ 6 -I$(MAIN_TOPDIR)/boot/flashboot/upg \ 7 -I$(MAIN_TOPDIR)/boot/flashboot/include \ 8 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/lsadc \ 9 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/gpio \ 10 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/io \ 11 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/efuse \ 12 -I$(MAIN_TOPDIR)/boot/flashboot/include/lzma \ 13 -I$(MAIN_TOPDIR)/boot/flashboot/lib/lzma \ 14 -I$(MAIN_TOPDIR)/boot/flashboo [all...] |
H A D | Makefile | 25 OBJ_SRCS += $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/crc32.c \ 26 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaDec.c \ 27 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaTools.c
|
/device/board/hihope/dayu210/uboot/ |
H A D | make.sh | 91 echo " ./make.sh --spl --- pack loader with u-boot-spl.bin" 92 echo " ./make.sh --tpl --- pack loader with u-boot-tpl.bin" 93 echo " ./make.sh --tpl --spl --- pack loader with u-boot-tpl.bin and u-boot-spl.bin" 102 echo " ./make.sh map --- cat u-boot.map" 103 echo " ./make.sh sym --- cat u-boot.sym" 156 # fit: pack non-secure uboot.img && boot.img 188 --no-uboot) # FIT: pack uboot.img without u-boot 196 ARG_TPL_BIN="tpl/u-boot-tpl.bin" 200 ARG_SPL_BIN="spl/u-boot [all...] |
/device/board/hisilicon/hispark_taurus/uboot/ |
H A D | Makefile | 21 UBOOT_VER:=u-boot-2020.01 23 UBOOT:=u-boot-$(CHIP).bin 31 NORMAL_UBOOT_DIR:=$(OSDRV_DIR)/../../../../../third_party/u-boot 47 mkdir $(OSDRV_DIR)/out/boot -p 53 @echo "---------task [1] build boot" 59 pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- u-boot-z.bin >/dev/null;popd 60 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/out/boot 61 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/secureboot_release 65 @echo "---------boot clea [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/ |
H A D | build_patch.sh | 23 if [ ! -d $CROOT/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; then 24 tar -zxf u-boot-v2019.07.tar.gz 25 cd u-boot-v2019.07 35 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/ |
H A D | build_patch.sh | 22 if [ ! -d $CROOT/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; then 23 tar -zxf u-boot-v2019.07.tar.gz 24 cd u-boot-v2019.07 34 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch
|
H A D | factory.mk | 20 U_BOOT_DIR = $(MAIN_TOPDIR)/third_party/u-boot-v2019.07
32 COMPILE_MODULE += boot loaderboot
101 if [ ! -d $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; \
103 cd $(THIRD_DIR)/u-boot-v2019.07; \
104 tar -xvf u-boot-v2019.07.tar.gz; \
105 cd $(U_BOOT_DIR)/u-boot-v2019.07; \
115 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch ; \
127 $(RM) $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot [all...] |
H A D | non_factory.mk | 20 U_BOOT_DIR = $(MAIN_TOPDIR)/third_party/u-boot-v2019.07
31 COMPILE_MODULE += boot loaderboot
130 if [ ! -d $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; \
132 cd $(THIRD_DIR)/u-boot-v2019.07; \
133 tar -xvf u-boot-v2019.07.tar.gz; \
134 cd $(U_BOOT_DIR)/u-boot-v2019.07; \
144 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch ; \
167 $(RM) $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot [all...] |
/device/board/hisilicon/hispark_aries/uboot/ |
H A D | Makefile | 21 UBOOT_VER:=u-boot-2020.01 23 UBOOT:=u-boot-$(CHIP).bin 47 mkdir $(OSDRV_DIR)/out/boot -p 53 @echo "---------task [1] build boot" 59 pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- u-boot-z.bin >/dev/null;popd 60 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/out/boot 61 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/secureboot_release 65 @echo "---------boot clean"
|
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | mkimg | 54 KERNEL_IMAGE_PATH=${objtree}/arch/${ARCH}/boot/Image 57 DTB_PATH=${objtree}/arch/arm/boot/dts/${DTB} 60 DTB_PATH=vendor/arch/arm64/boot/dts/rockchip/${DTB} 63 KERNEL_ZIMAGE_PATH=${objtree}/arch/${ARCH}/boot/${ZIMAGE} 73 ITS=${OUT}/boot.its 86 -o boot.img && \ 87 echo " Image: boot.img (with Image ${RAMDISK_IMG} resource.img) is ready"; 103 -o boot.img && 104 echo " Image: boot.img (${BOOT_IMG} + Image) is ready"; 151 TMP_ITB=${OUT}/boot [all...] |
/device/soc/rockchip/common/sdk_linux/arch/arm64/ |
H A D | Makefile | 152 boot := arch/arm64/boot macro 153 KBUILD_IMAGE := $(boot)/Image.gz 159 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 162 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 165 $(Q)$(MAKE) $(build)=$(boot) $@ 175 $(Q)$(MAKE) $(clean)=$(boot) 193 echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Imag [all...] |
/device/soc/rockchip/common/sdk_linux/scripts/ |
H A D | mkimg | 54 KERNEL_IMAGE_PATH=${objtree}/arch/${ARCH}/boot/Image 57 DTB_PATH=${objtree}/arch/arm/boot/dts/${DTB} 58 KERNEL_ZIMAGE_PATH=${objtree}/arch/arm/boot/zImage 62 DTB_PATH=${objtree}/arch/arm64/boot/dts/rockchip/${DTB} 63 KERNEL_ZIMAGE_ARG="--kernel ${objtree}/arch/arm64/boot/Image.lz4" 74 ITS=${OUT}/boot.its 87 -o boot.img && \ 88 echo " Image: boot.img (with Image ${RAMDISK_IMG} resource.img) is ready"; 104 -o boot.img && 105 echo " Image: boot [all...] |
H A D | repack-bootimg | 13 --boot_img BOOT_IMG path to the original boot image 84 echo "No boot img" 100 default_kernel=arch/arm64/boot/Image.lz4 102 default_kernel=arch/arm64/boot/Image 106 default_kernel=arch/arm/boot/zImage 108 default_kernel=arch/arm/boot/Image 123 version=$(grep -a "^boot image header version: " $log | sed "s/^boot image header version: //")
|
/third_party/python/Modules/ |
H A D | _threadmodule.c | 1066 thread_bootstate_free(struct bootstate *boot) in thread_bootstate_free() argument 1068 Py_DECREF(boot->func); in thread_bootstate_free() 1069 Py_DECREF(boot->args); in thread_bootstate_free() 1070 Py_XDECREF(boot->kwargs); in thread_bootstate_free() 1071 PyMem_Free(boot); in thread_bootstate_free() 1078 struct bootstate *boot = (struct bootstate *) boot_raw; in thread_run() local 1081 tstate = boot->tstate; in thread_run() 1092 PyObject *res = PyObject_Call(boot->func, boot->args, boot in thread_run() 1147 struct bootstate *boot = PyMem_NEW(struct bootstate, 1); thread_PyThread_start_new_thread() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/ |
H A D | module_config.mk | 5 BOOT_INC := -I$(MAIN_TOPDIR)/boot/loaderboot/include \ 6 -I$(MAIN_TOPDIR)/boot/loaderboot/fixed/include \ 7 -I$(MAIN_TOPDIR)/boot/loaderboot/secure \ 8 -I$(MAIN_TOPDIR)/boot/commonboot
|
H A D | Makefile | 25 OBJ_SRCS += $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/crc32.c \ 26 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaDec.c \ 27 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaTools.c
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/boot/flashboot/ |
H A D | Makefile | 25 OBJ_SRCS += $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/crc32.c \ 26 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaDec.c \ 27 $(MAIN_TOPDIR)/third_party/u-boot-v2019.07/u-boot-v2019.07/lib/lzma/LzmaTools.c
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ |
H A D | Makefile | 23 all:prepare ddrinit rsa2048pem_gen rsa4096pem_gen u-boot-rsa.bin aeskey2reg 24 #all:prepare rsa2048pem_gen rsa4096pem_gen u-boot-rsa.bin aeskey2reg 29 pushd ddr_init;make;./mkddrinit.sh u-boot-original.bin;popd 40 u-boot-rsa.bin: prepare ddrinit rsa2048pem_gen rsa4096pem_gen 41 #u-boot-rsa.bin: prepare rsa2048pem_gen rsa4096pem_gen
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/ |
H A D | linker.lds.mk | 33 boot/start.o (.text)
34 boot/uart.o (.text)
35 boot/init_regs.o (.text)
36 boot/lowlevel_init_v300.o (.text)
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/ |
H A D | linker.lds.mk | 33 boot/start.o (.text) 34 boot/uart.o (.text) 35 boot/init_regs.o (.text) 36 boot/lowlevel_init_v300.o (.text)
|
/device/board/hihope/dayu210/kernel/ |
H A D | make-ohos.sh | 112 dtb_path=vendor/arch/arm/boot/dts 114 dtb_path=vendor/arch/arm64/boot/dts/rockchip 125 cp -f ${OBJ_PATH}arch/${arch}/boot/${image} ${EXTLINUX_PATH}/
|