| /freebsd-12.1/sbin/fsck_msdosfs/ |
| H A D | boot.c | 64 memset(boot, 0, sizeof *boot); in readboot() 83 boot->FATsecs = boot->bpbFATsmall; in readboot() 212 boot->NumSectors = boot->bpbSectors; in readboot() 214 boot->NumSectors = boot->bpbHugeSectors; in readboot() 217 boot->bpbResSectors + boot->bpbFATs * boot->FATsecs - in readboot() 219 boot->NumClusters = (boot->NumSectors - boot->ClusterOffset) / in readboot() 236 boot->NumFatEntries = (boot->FATsecs * boot->bpbBytesPerSec) / 4; in readboot() 239 boot->NumFatEntries = (boot->FATsecs * boot->bpbBytesPerSec) / 2; in readboot() 242 boot->NumFatEntries = (boot->FATsecs * boot->bpbBytesPerSec * 2) / 3; in readboot() 248 boot->NumClusters, boot->FATsecs); in readboot() [all …]
|
| H A D | fat.c | 170 *buffer = calloc(boot->FATsecs, boot->bpbBytesPerSec); in _readfat() 177 off = boot->bpbResSectors + no * boot->FATsecs; in _readfat() 186 != boot->FATsecs * boot->bpbBytesPerSec) { in _readfat() 209 boot->NumFree = boot->NumBad = 0; in readfat() 568 fatsz = boot->FATsecs * boot->bpbBytesPerSec; in writefat() 569 buffer = calloc(boot->FATsecs, boot->bpbBytesPerSec); in writefat() 610 if (!_readfat(fs, boot, boot->ValidFat >= 0 ? boot->ValidFat :0, in writefat() 654 off = boot->bpbResSectors + i * boot->FATsecs; in writefat() 700 boot->FSFree != boot->NumFree) { in checklost() 702 boot->FSFree, boot->NumFree); in checklost() [all …]
|
| H A D | check.c | 49 struct bootblock boot; in checkfilesys() local 91 if (boot.ValidFat < 0) in checkfilesys() 97 mod |= readfat(dosfs, &boot, boot.ValidFat >= 0 ? boot.ValidFat : 0, &fat); in checkfilesys() 103 if (boot.ValidFat < 0) in checkfilesys() 121 mod |= checkfat(&boot, fat); in checkfilesys() 156 if (boot.NumBad) in checkfilesys() 158 boot.NumFiles, in checkfilesys() 159 boot.NumFree * boot.ClusterSize / 1024, boot.NumFree, in checkfilesys() 160 boot.NumBad * boot.ClusterSize / 1024, boot.NumBad); in checkfilesys() 163 boot.NumFiles, in checkfilesys() [all …]
|
| H A D | dir.c | 230 b2 = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 253 boot->bpbRootClust >= boot->NumClusters) { in resetDosDirSection() 258 if (fat[boot->bpbRootClust].head != boot->bpbRootClust) { in resetDosDirSection() 309 int clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete() 319 off = startcl * boot->bpbSecPerClust + boot->ClusterOffset; in delete() 467 off = boot->bpbResSectors + boot->bpbFATs * in readDosDirSection() 470 last = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection() 471 off = cl * boot->bpbSecPerClust + boot->ClusterOffset; in readDosDirSection() 843 boot->NumFiles++; in readDosDirSection() 965 + boot->ClusterOffset * boot->bpbBytesPerSec; in reconnect() [all …]
|
| /freebsd-12.1/tools/boot/ |
| H A D | rootgen.sh | 53 cp ${src}/boot/loader.efi ${mntpt}/efi/boot/bootx64.efi 69 -p freebsd-boot:=${src}/boot/gptboot \ 101 -p freebsd-boot:=${src}/boot/gptboot \ 134 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 173 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 213 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 295 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 337 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 379 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 814 cp /boot/kernel/kernel ${DESTDIR}/boot/kernel [all …]
|
| H A D | install-boot.sh | 39 mkdir -p ${mntpt}/efi/boot 40 cp ${dst}/boot/loader.efi ${mntpt}/efi/boot/bootx64.efi 146 doit gpart bootcode -b ${dst}/boot/mbr ${dev} 147 dd if=${dst}/boot/zfsboot of=/tmp/zfsboot1 count=1 150 doit dd if=${dst}/boot/zfsboot of=/dev/${dev}s${s}a skip=1 seek=1024 257 gpt0=${DESTDIR}/boot/pmbr 258 gpt2=${DESTDIR}/boot/gptboot 259 gptzfs2=${DESTDIR}/boot/gptzfsboot 262 mbr0=${DESTDIR}/boot/mbr 263 mbr2=${DESTDIR}/boot/boot [all …]
|
| /freebsd-12.1/sys/gnu/dts/arm/ |
| H A D | mmp2-brownstone.dts | 46 regulator-boot-on; 52 regulator-boot-on; 58 regulator-boot-on; 64 regulator-boot-on; 70 regulator-boot-on; 76 regulator-boot-on; 82 regulator-boot-on; 88 regulator-boot-on; 94 regulator-boot-on; 100 regulator-boot-on; [all …]
|
| 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 …]
|
| H A D | axm5516-cpus.dtsi | 2 * arch/arm/boot/dts/axm5516-cpus.dtsi 81 cpu-release-addr = <0>; // Fixed by the boot loader 89 cpu-release-addr = <0>; // Fixed by the boot loader 97 cpu-release-addr = <0>; // Fixed by the boot loader 105 cpu-release-addr = <0>; // Fixed by the boot loader 113 cpu-release-addr = <0>; // Fixed by the boot loader 121 cpu-release-addr = <0>; // Fixed by the boot loader 129 cpu-release-addr = <0>; // Fixed by the boot loader 137 cpu-release-addr = <0>; // Fixed by the boot loader 145 cpu-release-addr = <0>; // Fixed by the boot loader [all …]
|
| H A D | am57xx-idk-common.dtsi | 27 regulator-boot-on; 37 regulator-boot-on; 48 regulator-boot-on; 160 regulator-boot-on; 169 regulator-boot-on; 179 regulator-boot-on; 188 regulator-boot-on; 197 regulator-boot-on; 212 regulator-boot-on; 221 regulator-boot-on; [all …]
|
| H A D | rk3288-evb-rk808.dts | 41 regulator-boot-on; 52 regulator-boot-on; 64 regulator-boot-on; 73 regulator-boot-on; 85 regulator-boot-on; 97 regulator-boot-on; 108 regulator-boot-on; 120 regulator-boot-on; 132 regulator-boot-on; 144 regulator-boot-on; [all …]
|
| H A D | pxa910-dkb.dts | 48 regulator-boot-on; 54 regulator-boot-on; 60 regulator-boot-on; 66 regulator-boot-on; 72 regulator-boot-on; 78 regulator-boot-on; 89 regulator-boot-on; 95 regulator-boot-on; 101 regulator-boot-on; 107 regulator-boot-on; [all …]
|
| H A D | rk3288-vyasa.dts | 28 regulator-boot-on; 37 regulator-boot-on; 47 regulator-boot-on; 57 regulator-boot-on; 67 regulator-boot-on; 77 regulator-boot-on; 91 regulator-boot-on; 105 regulator-boot-on; 191 regulator-boot-on; 202 regulator-boot-on; [all …]
|
| H A D | tegra114-tn7.dts | 91 regulator-boot-on; 99 regulator-boot-on; 107 regulator-boot-on; 115 regulator-boot-on; 123 regulator-boot-on; 131 regulator-boot-on; 139 regulator-boot-on; 147 regulator-boot-on; 325 regulator-boot-on; 337 regulator-boot-on; [all …]
|
| H A D | dra7-evm.dts | 30 regulator-boot-on; 75 regulator-boot-on; 86 regulator-boot-on; 96 regulator-boot-on; 115 regulator-boot-on; 159 regulator-boot-on; 168 regulator-boot-on; 177 regulator-boot-on; 186 regulator-boot-on; 195 regulator-boot-on; [all …]
|
| /freebsd-12.1/tools/tools/nanobsd/rescue/Files/root/ |
| H A D | ZFS_Create.txt | 3 Some remarks for setting up a zfs boot environment 6 boot 12 zpool create -o mountpoint=none boot ... 13 zpool set listsnapshots=on boot 15 zfs create -o mountpoint=/mnt boot/ROOT 16 zfs create boot/ROOT/root 20 cp /boot/zfs/zpool.cache /mnt/root/boot/zfs/zpool.cache 21 zpool set bootfs=boot/ROOT/root boot 23 set in /mnt/root/boot/loader.conf 26 vfs.root.mountfrom="zfs:boot/ROOT/root"
|
| /freebsd-12.1/release/tools/ |
| H A D | ec2.conf | 71 echo 'debug.trace_on_panic=1' >> ${DESTDIR}/boot/loader.conf 72 echo 'debug.debugger_on_panic=0' >> ${DESTDIR}/boot/loader.conf 73 echo 'kern.panic_reboot_wait_time=0' >> ${DESTDIR}/boot/loader.conf 76 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf 77 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf 83 echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 84 echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf 89 echo 'boot_multicons="YES"' >> ${DESTDIR}/boot/loader.conf 94 echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf 97 echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
|
| H A D | arm.subr | 123 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 125 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 127 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 136 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 138 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 140 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 149 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 151 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 156 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf 158 >> ${CHROOTDIR}/${DESTDIR}/boot/loader.conf [all …]
|
| /freebsd-12.1/release/powerpc/ |
| H A D | mkisoimages.sh | 46 uudecode -o /tmp/hfs-boot-block.bz2 "`dirname "$0"`/hfs-boot.bz2.uu" 47 bzip2 -d /tmp/hfs-boot-block.bz2 48 OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ') 50 dd if="$1/boot/loader" of=/tmp/hfs-boot-block seek=$OFFSET conv=notrunc 58 <chrp-boot> 61 <boot-script>boot &device;:,\ppc\chrp\loader</boot-script> 62 </chrp-boot>
|
| /freebsd-12.1/usr.sbin/pc-sysinstall/backend/ |
| H A D | functions-cleanup.sh | 66 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q 'zfs_load="YES"' 2>/dev/null 69 echo 'zfs_load="YES"' >>${FSMNT}/boot/loader.conf 79 cp /boot/zfs/* ${FSMNT}/boot/zfs/ 135 echo "vfs.root.mountfrom=\"${ROOTFSTYPE}:${ROOTFS}\"" >> ${FSMNT}/boot/loader.conf 252 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q 'geom_mirror_load="YES"' 2>/dev/null 255 echo 'geom_mirror_load="YES"' >>${FSMNT}/boot/loader.conf 265 mkdir -p ${FSMNT}/boot/keys >/dev/null 2>/dev/null 279 echo "geli_${PARTNAME}_keyfile0_load=\"YES\"" >> ${FSMNT}/boot/loader.conf 290 cat ${FSMNT}/boot/loader.conf 2>/dev/null | grep -q 'geom_eli_load="YES"' 2>/dev/null 293 echo 'geom_eli_load="YES"' >>${FSMNT}/boot/loader.conf [all …]
|
| /freebsd-12.1/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 | 17 ." 1. Start FreeBSD with /boot/stable.conf." 19 ." 2. Start FreeBSD with /boot/current.conf." 63 10 22 at-xy ." * Choose 4 in order to warm boot your machine." 81 ." Loading /boot/stable.conf. Please wait..." cr 82 s" /boot/stable.conf" read-conf 83 0 boot-conf exit 88 ." Loading /boot/current.conf. Please wait..." cr 89 s" /boot/current.conf" read-conf 90 0 boot-conf exit 95 ." Proceeding with standard boot. Please wait..." cr [all …]
|
| /freebsd-12.1/stand/i386/loader/ |
| H A D | loader.rc | 5 include /boot/loader.4th 6 include /boot/efi.4th 7 try-include /boot/loader.rc.local 17 \ Load in the boot menu 18 include /boot/beastie.4th 20 \ Start the boot menu
|
| /freebsd-12.1/sys/gnu/dts/arm64/rockchip/ |
| H A D | rk3368-geekbox.dts | 72 regulator-boot-on; 129 regulator-boot-on; 137 regulator-boot-on; 145 regulator-boot-on; 151 regulator-boot-on; 159 regulator-boot-on; 167 regulator-boot-on; 175 regulator-boot-on; 182 regulator-boot-on; 190 regulator-boot-on; [all …]
|
| /freebsd-12.1/sys/gnu/dts/arm64/mediatek/ |
| H A D | mt6380.dtsi | 20 regulator-boot-on; 29 regulator-boot-on; 38 regulator-boot-on; 47 regulator-boot-on; 56 regulator-boot-on; 65 regulator-boot-on; 74 regulator-boot-on; 83 regulator-boot-on;
|