/freebsd/sbin/fsck_msdosfs/ |
H A D | boot.c | 46 readboot(int dosfs, struct bootblock *boot) in readboot() argument 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->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot() 72 !powerof2(boot->bpbBytesPerSec)) { in readboot() 73 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot() 78 boot->bpbSecPerClust = block[13]; in readboot() 79 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot() [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->bpbBytesPerSec); in checkdirty() 604 if ((size_t)read(fs, buffer, boot->bpbBytesPerSec) != in checkdirty() [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.NumFiles, freestr, boot.NumFree, in checkfilesys() 146 badstr, boot.NumBad); in checkfilesys() 149 boot.NumFiles, freestr, boot.NumFree); 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 = fat_get_boot(fat); in delete() 306 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete() [all …]
|
/freebsd/tools/boot/ |
H A D | rootgen.sh | 25 . $(dirname $0)/install-boot.sh 49 mkimg -s gpt -b ${src}/boot/pmbr \ 50 -p freebsd-boot:=${src}/boot/gptboot \ 60 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi 73 make_esp_file ${img}.p1 ${espsize} ${src}/boot/loader.efi 76 mkimg -b ${src}/boot/pmbr -s gpt \ 78 -p freebsd-boot:=${src}/boot/gptboot \ 91 mkdir -p $dst/boot/kernel 92 cat > ${dst}/boot/loader.conf.local <<EOF 96 cp /boot/kernel/acl_nfs4.ko ${dst}/boot/kernel/acl_nfs4.ko [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | mmp2-brownstone.dts | 43 regulator-boot-on; 49 regulator-boot-on; 55 regulator-boot-on; 61 regulator-boot-on; 67 regulator-boot-on; 73 regulator-boot-on; 79 regulator-boot-on; 85 regulator-boot-on; 91 regulator-boot-on; 97 regulator-boot-on; [all …]
|
H A D | pxa910-dkb.dts | 45 regulator-boot-on; 51 regulator-boot-on; 57 regulator-boot-on; 63 regulator-boot-on; 69 regulator-boot-on; 75 regulator-boot-on; 86 regulator-boot-on; 92 regulator-boot-on; 98 regulator-boot-on; 104 regulator-boot-on; [all …]
|
/freebsd/tools/tools/nanobsd/rescue/Files/root/ |
H A D | ZFS_Create.txt | 2 Some remarks for setting up a zfs boot environment 5 boot 11 zpool create -o mountpoint=none boot ... 12 zpool set listsnapshots=on boot 14 zfs create -o mountpoint=/mnt boot/ROOT 15 zfs create boot/ROOT/root 19 cp /boot/zfs/zpool.cache /mnt/root/boot/zfs/zpool.cache 20 zpool set bootfs=boot/ROOT/root boot 22 set in /mnt/root/boot/loader.conf 25 vfs.root.mountfrom="zfs:boot/ROOT/root"
|
/freebsd/release/tools/ |
H A D | ec2.conf | 38 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf 39 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf 43 echo 'entropy_efi_seed_size="64"' >> ${DESTDIR}/boot/loader.conf 47 printf -- "-n\n" > ${DESTDIR}/boot.config 53 echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 54 echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 57 echo 'hint.fd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 58 echo 'hint.fdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 61 echo 'hint.ppc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 66 echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/intel/axm/ |
H A D | axm5516-cpus.dtsi | 3 * arch/arm/boot/dts/axm5516-cpus.dtsi 77 cpu-release-addr = <0>; // Fixed by the boot loader 85 cpu-release-addr = <0>; // Fixed by the boot loader 93 cpu-release-addr = <0>; // Fixed by the boot loader 101 cpu-release-addr = <0>; // Fixed by the boot loader 109 cpu-release-addr = <0>; // Fixed by the boot loader 117 cpu-release-addr = <0>; // Fixed by the boot loader 125 cpu-release-addr = <0>; // Fixed by the boot loader 133 cpu-release-addr = <0>; // Fixed by the boot loader 141 cpu-release-addr = <0>; // Fixed by the boot loader [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx53-qsrb.dts | 38 regulator-boot-on; 46 regulator-boot-on; 54 regulator-boot-on; 62 regulator-boot-on; 69 regulator-boot-on; 77 regulator-boot-on; 85 regulator-boot-on; 91 regulator-boot-on; 99 regulator-boot-on; 104 regulator-boot-on; [all …]
|
/freebsd/release/powerpc/ |
H A D | mkisoimages.sh | 70 BOOTBLOCK=$(mktemp /tmp/hfs-boot-block.XXXXXX) 72 # Apple boot code 73 uudecode -p "`dirname "$0"`/hfs-boot.bz2.uu" | bunzip2 > $BOOTBLOCK 76 dd if="$BASEBITSDIR/boot/loader" of=$BOOTBLOCK seek=$OFFSET conv=notrunc 78 bootable="-o bootimage=macppc;$BOOTBLOCK -o no-emul-boot" 80 # pSeries/PAPR boot code 82 cp "$BASEBITSDIR/boot/loader" "$BASEBITSDIR/ppc/chrp" 84 <chrp-boot> 87 <boot-script>boot [all...] |
/freebsd/share/examples/bootforth/ |
H A D | README | 5 Normally, you can place the files in /boot as they are here, and they will be 6 automatically loaded by /boot/loader. You must choose between boot.4th or 8 only used by boot.4th, and menuconf.4th is only used by loader.rc, so you 13 boot.4th example of file which is always loaded by /boot/loader, if 14 present in /boot/ 15 loader.rc example of file which is always loader by /boot/loader, if 16 present in /boot/ 28 If you use loader.rc/menuconf.4th, be sure to create /boot/stable.conf and 29 /boot/current.conf, like described in loader.conf(5), with appropriate
|
H A D | menuconf.4th | 16 ." 1. Start FreeBSD with /boot/stable.conf." 18 ." 2. Start FreeBSD with /boot/current.conf." 62 10 22 at-xy ." * Choose 4 in order to warm boot your machine." 80 ." Loading /boot/stable.conf. Please wait..." cr 81 s" /boot/stable.conf" read-conf 82 0 boot-conf exit 87 ." Loading /boot/current.conf. Please wait..." cr 88 s" /boot/current.conf" read-conf 89 0 boot-conf exit 94 ." Proceeding with standard boot. Please wait..." cr [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3588-fet3588-c.dtsi | 36 regulator-boot-on; 46 regulator-boot-on; 56 regulator-boot-on; 66 regulator-boot-on; 76 regulator-boot-on; 86 regulator-boot-on; 156 regulator-boot-on; 173 regulator-boot-on; 196 regulator-boot-on; 284 regulator-boot-on; [all …]
|
H A D | rk3588-edgeble-neu6a-common.dtsi | 31 regulator-boot-on; 40 regulator-boot-on; 50 regulator-boot-on; 100 regulator-boot-on; 117 regulator-boot-on; 204 regulator-boot-on; 218 regulator-boot-on; 231 regulator-boot-on; 245 regulator-boot-on; 258 regulator-boot-on; [all …]
|
H A D | rk3588-toybrick-x0.dts | 68 regulator-boot-on; 78 regulator-boot-on; 88 regulator-boot-on; 98 regulator-boot-on; 108 regulator-boot-on; 120 regulator-boot-on; 131 regulator-boot-on; 141 regulator-boot-on; 151 regulator-boot-on; 161 regulator-boot-on; [all …]
|
H A D | px30-firefly-jd4-core.dtsi | 24 regulator-boot-on; 95 regulator-boot-on; 109 regulator-boot-on; 120 regulator-boot-on; 132 regulator-boot-on; 145 regulator-boot-on; 158 regulator-boot-on; 171 regulator-boot-on; 184 regulator-boot-on; 197 regulator-boot-on; [all …]
|
H A D | rk3588-friendlyelec-cm3588.dtsi | 55 regulator-boot-on; 64 regulator-boot-on; 75 regulator-boot-on; 86 regulator-boot-on; 148 regulator-boot-on; 165 regulator-boot-on; 186 regulator-boot-on; 378 regulator-boot-on; 392 regulator-boot-on; 405 regulator-boot-on; [all …]
|
H A D | rk3588-coolpi-cm5.dtsi | 42 regulator-boot-on; 52 regulator-boot-on; 62 regulator-boot-on; 72 regulator-boot-on; 154 regulator-boot-on; 171 regulator-boot-on; 192 regulator-boot-on; 381 regulator-boot-on; 395 regulator-boot-on; 408 regulator-boot-on; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | pv88060.txt | 32 regulator-boot-on; 39 regulator-boot-on; 46 regulator-boot-on; 53 regulator-boot-on; 60 regulator-boot-on; 67 regulator-boot-on; 74 regulator-boot-on; 81 regulator-boot-on; 94 regulator-boot-on; 101 regulator-boot-on; [all …]
|
H A D | pfuze100.txt | 48 regulator-boot-on; 56 regulator-boot-on; 63 regulator-boot-on; 70 regulator-boot-on; 77 regulator-boot-on; 94 regulator-boot-on; 99 regulator-boot-on; 149 regulator-boot-on; 157 regulator-boot-on; 164 regulator-boot-on; [all …]
|
/freebsd/share/firmwares/iwm/ |
H A D | Makefile | 15 iwm3160DIR= /boot/firmware 21 iwm3168DIR= /boot/firmware 27 iwm7260DIR= /boot/firmware 33 iwm7265DIR= /boot/firmware 39 iwm7265DDIR= /boot/firmware 45 iwm8000CDIR= /boot/firmware 51 iwm8265DIR= /boot/firmware 57 iwm9000DIR= /boot/firmware 63 iwm9260DIR= /boot/firmware
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-evb-rk808.dts | 42 regulator-boot-on; 53 regulator-boot-on; 65 regulator-boot-on; 74 regulator-boot-on; 86 regulator-boot-on; 98 regulator-boot-on; 109 regulator-boot-on; 121 regulator-boot-on; 133 regulator-boot-on; 145 regulator-boot-on; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mm-evkb.dts | 32 regulator-boot-on; 42 regulator-boot-on; 53 regulator-boot-on; 62 regulator-boot-on; 71 regulator-boot-on; 80 regulator-boot-on; 89 regulator-boot-on; 98 regulator-boot-on; 107 regulator-boot-on; 116 regulator-boot-on;
|