Home
last modified time | relevance | path

Searched refs:boot (Results 1 – 25 of 1901) sorted by relevance

12345678910>>...77

/freebsd/sbin/fsck_msdosfs/
H A Dboot.c46 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 Dfat.c168 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 Dcheck.c50 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 Ddir.c225 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 Drootgen.sh25 . $(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/release/tools/
H A Dec2.conf36 printf -- "-n\n" > ${DESTDIR}/boot.config
37 metalog_add_data ./boot.config
43 echo 'autoboot_delay="-1"' >> ${DESTDIR}/boot/loader.conf
44 echo 'beastie_disable="YES"' >> ${DESTDIR}/boot/loader.conf
45 echo 'loader_menu_frame="ascii"' >> ${DESTDIR}/boot/loader.conf
49 echo 'entropy_efi_seed_size="64"' >> ${DESTDIR}/boot/loader.conf
55 echo 'hint.atkbd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
56 echo 'hint.atkbdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
59 echo 'hint.fd.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
60 echo 'hint.fdc.0.disabled=1' >> ${DESTDIR}/boot/loader.conf
[all …]
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Dmmp2-brownstone.dts43 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 Dpxa910-dkb.dts45 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 DZFS_Create.txt2 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/sys/contrib/device-tree/src/arm/intel/axm/
H A Daxm5516-cpus.dtsi3 * 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 Dimx53-qsrb.dts36 regulator-boot-on;
44 regulator-boot-on;
52 regulator-boot-on;
60 regulator-boot-on;
67 regulator-boot-on;
75 regulator-boot-on;
83 regulator-boot-on;
89 regulator-boot-on;
97 regulator-boot-on;
102 regulator-boot-on;
[all …]
/freebsd/share/examples/bootforth/
H A DREADME5 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 Dmenuconf.4th16 ." 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 Drk3588-fet3588-c.dtsi36 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;
288 regulator-boot-on;
[all …]
H A Drk3588-edgeble-neu6a-common.dtsi31 regulator-boot-on;
40 regulator-boot-on;
50 regulator-boot-on;
100 regulator-boot-on;
117 regulator-boot-on;
208 regulator-boot-on;
222 regulator-boot-on;
235 regulator-boot-on;
249 regulator-boot-on;
262 regulator-boot-on;
[all …]
H A Drk3588-firefly-core-3588j.dtsi58 regulator-boot-on;
76 regulator-boot-on;
98 regulator-boot-on;
179 regulator-boot-on;
193 regulator-boot-on;
206 regulator-boot-on;
220 regulator-boot-on;
233 regulator-boot-on;
247 regulator-boot-on;
257 regulator-boot-on;
[all …]
H A Drk3588-firefly-icore-3588q.dtsi58 regulator-boot-on;
75 regulator-boot-on;
98 regulator-boot-on;
176 regulator-boot-on;
190 regulator-boot-on;
203 regulator-boot-on;
217 regulator-boot-on;
230 regulator-boot-on;
244 regulator-boot-on;
254 regulator-boot-on;
[all …]
H A Drk3588-evb2-v10.dts59 regulator-boot-on;
67 regulator-boot-on;
82 regulator-boot-on;
92 regulator-boot-on;
102 regulator-boot-on;
275 regulator-boot-on;
290 regulator-boot-on;
302 regulator-boot-on;
315 regulator-boot-on;
329 regulator-boot-on;
[all …]
H A Drk3588-armsom-lm7.dtsi24 regulator-boot-on;
33 regulator-boot-on;
88 regulator-boot-on;
105 regulator-boot-on;
191 regulator-boot-on;
205 regulator-boot-on;
218 regulator-boot-on;
232 regulator-boot-on;
245 regulator-boot-on;
259 regulator-boot-on;
[all …]
H A Drk3588-toybrick-x0.dts68 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 …]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dpv88060.txt32 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 Dpfuze100.txt48 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/tests/ci/
H A DMakefile.armv712 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin
17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin)
18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm
H A DMakefile.aarch6412 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin -cpu cortex-a57
17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin)
18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm64
/freebsd/share/firmwares/iwm/
H A DMakefile15 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

12345678910>>...77