/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | tplink,safeloader-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TP-Link SafeLoader partitions 10 TP-Link home routers store various data on flash (e.g. bootloader, 14 Flash space layout of TP-Link devices is stored on flash itself using 15 a custom ASCII-based format. That format was first found in TP-Link 17 CFE and U-Boot bootloaders. 19 Partitions specified in partitions table cover whole flash space. Some [all …]
|
H A D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixe [all...] |
/freebsd/lib/geom/part/ |
H A D | gpart.8 | 144 .Bl -tag -width ".Cm bootcode" 157 .Bl -tag -width 12n 163 offset and partition 178 The index in the partition table at which the new partition is to be 198 Dump a partition table to standard output in a special format used by the 215 .Bl -tag -width 10n 231 option is scheme-specific in nature (see the section entitled 282 .Bl -tag -width 10n 290 The number of entries in the partition table. 315 .Bl -tag -width 10n [all …]
|
/freebsd/sbin/bsdlabel/ |
H A D | bsdlabel.8 | 76 .Pa freebsd-bsdlabel 202 .Bl -tag -width ".Pa /etc/disktab" -compact 217 .Bd -literal -offset 4n 219 8 partitions: 220 # size offset fstype [fsize bsize bps/cpg] 229 .Bd -literal -offset 4n 246 track-to-track seek: 0 # milliseconds 249 8 partitions: 250 # size offset fstype [fsize bsize bps/cpg] 260 The partition table can have up to 8 entries. [all …]
|
/freebsd/stand/i386/gptboot/ |
H A D | gptboot.8 | 30 .Nd GPT bootcode for UFS on BIOS-based computers 33 is used on BIOS-based computers to boot from a UFS partition on a 34 GPT-partitioned disk. 37 .Cm freebsd-boot 54 switches from auto-boot to interactive mode. 59 The GPT standard allows a variable number of partitions, but 61 only boots from tables with 128 partitions or less. 64 checks and manages several attributes of GPT UFS partitions. 65 .Bl -tag -width ".Cm bootfailed" 80 Multiple partitions may have the [all …]
|
/freebsd/stand/efi/gptboot/ |
H A D | gptboot.efi.8 | 34 GPT-partitioned disk. 37 For BIOS-based computers, 44 Users with ZFS partitions should use 57 When the users cannot rely on host-supplied UEFI variables 73 The GPT standard allows a variable number of partitions, but 75 only boots from tables with 128 partitions or less. 78 checks and manages several attributes of GPT UFS partitions. 81 specific and non-standard. 82 .Bl -tag -width ".Cm bootfailed" 97 Multiple partitions may have the [all …]
|
/freebsd/stand/i386/gptzfsboot/ |
H A D | gptzfsboot.8 | 30 .Nd GPT bootcode for ZFS on BIOS-based computers 33 is used on BIOS-based computers to boot from a filesystem in 37 .Cm freebsd-boot 38 partition of a GPT-partitioned disk with 41 The GPT standard allows a variable number of partitions, but 43 only boots from tables with 128 partitions or less. 46 tries to find all ZFS pools that are composed of BIOS-visible 47 hard disks or partitions on them. 50 supported partitions for all supported partition scheme types. 58 individual partitions are probed in their partition table order. [all …]
|
/freebsd/sys/geom/part/ |
H A D | g_part_ldm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 83 * We do not keep all fields of on-disk structures, only most useful. 84 * All numbers in an on-disk structures are in big-endian format. 89 * Offset and sizes are in sectors. Location of each copy: 90 * - the first offset is relative to the disk start; 91 * - the second and third offset are relative to the LDM database start. 129 * Table of contents header is 512 bytes long. 143 uint64_t conf_offset; /* configuration offset */ 144 uint64_t log_offset; /* log offset */ [all …]
|
H A D | g_part_bsd64.c | 1 /*- 49 FEATURE(geom_part_bsd64, "GEOM partitioning class for 64-bit BSD disklabels"); 61 uint32_t d_npartitions; /* number of partitions */ 65 uint64_t d_bbase; /* boot area base offset (bytes) */ 66 /* boot area is pbase - bbase */ 67 uint64_t d_pbase; /* first allocatable offset (bytes) */ 68 uint64_t d_pstop; /* last allocatable offset+1 (bytes) */ 76 * d_pbase. Unlike 32 bit disklabels the on-disk format for 77 * a 64 bit disklabel remains slice-relative. 85 struct partition64 { /* the partition table */ [all …]
|
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | Partitions.rst | 1 Partitions title 10 or a shared library) to be split into multiple pieces, or partitions. A 12 loadable partitions. The loadable partitions depend on the main partition 14 shared object, the main partition and the loadable partitions share a virtual 16 offset from the main partition. This allows the loadable partitions to refer 18 performance overhead of PLTs, GOTs or symbol table entries. 21 ----- 37 ``-fsymbol-partition=<soname>``, where ``<soname>`` is the intended soname 42 into partitions according to which sections of the program are reachable from 43 which entry points, similarly to how ``--gc-sections`` removes unused parts of [all …]
|
/freebsd/stand/common/ |
H A D | part.c | 1 /*- 116 uuid->time_low = le32toh(uuid->time_low); in uuid_letoh() 117 uuid->time_mid = le16toh(uuid->time_mid); in uuid_letoh() 118 uuid->time_hi_and_version = le16toh(uuid->time_hi_and_version); in uuid_letoh() 152 if (memcmp(hdr->hdr_sig, GPT_HDR_SIG, sizeof(hdr->hdr_sig)) != 0) { in gpt_checkhdr() 156 sz = le32toh(hdr->hdr_size); in gpt_checkhdr() 161 crc = le32toh(hdr->hdr_crc_self); in gpt_checkhdr() 162 hdr->hdr_crc_self = crc32(0, Z_NULL, 0); in gpt_checkhdr() 163 if (crc32(hdr->hdr_crc_self, (const Bytef *)hdr, sz) != crc) { in gpt_checkhdr() 167 hdr->hdr_crc_self = crc; in gpt_checkhdr() [all …]
|
H A D | disk.c | 1 /*- 45 struct ptable *table; member 57 /* Convert size to a human-readable number. */ 81 ptblread(void *d, void *buf, size_t blocks, uint64_t offset) in ptblread() argument 87 od = (struct open_disk *)dev->dd.d_opendata; in ptblread() 90 * The strategy function assumes the offset is in units of 512 byte in ptblread() 91 * sectors. For larger sector sizes, we need to adjust the offset to in ptblread() 94 offset *= (od->sectorsize / 512); in ptblread() 99 return (dev->dd.d_dev->dv_strategy(dev, F_READ | F_NORA, offset, in ptblread() 100 blocks * od->sectorsize, (char *)buf, NULL)); in ptblread() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/dktp/ |
H A D | fdisk.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 42 * BIOS and MS-DOS conventions. 43 * Note that this block does not define the partitions used by the unix 44 * driver. The unix partitions are obtained from the VTOC. 61 * Vista DISKID. Otherwise Vista won't boot from Solaris GRUB in a dual-boot 67 #define FD_NUMPART 4 /* number of 'partitions' in fdisk table */ 74 * structure to hold the fdisk partition table 79 unsigned char begsect; /* begcyl is a 10-bit number. High 2 bits */ 83 unsigned char endsect; /* endcyl is a 10-bit number. High 2 bits */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm47081-tplink-archer-c5-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708"; 12 model = "TP-LINK Archer C5 V2"; 24 compatible = "gpio-leds"; 26 led-2ghz { 31 led-lan { 36 led-usb2-port1 { 37 label = "bcm53xx:green:usb2-port1"; 39 trigger-sources = <&ohci_port1>, <&ehci_port1>; [all …]
|
H A D | bcm4709-tplink-archer-c9-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708"; 12 model = "TP-LINK Archer C9 V1"; 24 compatible = "gpio-leds"; 26 led-lan { 31 led-wps { 36 led-2ghz { 41 led-5ghz { 46 led-usb3 { [all …]
|
/freebsd/share/doc/smm/02.config/ |
H A D | b.t | 64 The following table summarizes the default partitions selected 80 When multiple swap partitions are specified, the system treats the 82 The remaining partitions are then interleaved into the paging 102 is set to a non-zero value indicating the size (in bytes) of 107 ``/kernel''). The offset to the system dump is defined in the 108 system variable \fIdumplo\fP (a sector offset from 125 \fIdumpdev-size\fP \- \fImemsize\fP 127 where \fIdumpdev-size\fP is the size of the disk partition
|
/freebsd/usr.bin/mkimg/ |
H A D | mkimg.1 | 40 .Op Fl -capacity Ar capacity 48 .Fl -formats | Fl -schemes | Fl -version 69 The disk image can be made bootable by specifying the scheme-specific boot 78 utility does not treat it any differently from other partitions. 110 partitions and to round the size of the disk image. 120 An empty partition table can be written to the disk when specifying a 123 option, but without specifying any partitions. 124 When the size required for all the partitions is larger than the 131 If the combined sizes of the given partitions exceed the size given with 136 .Fl -capacity [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | davinci-nand.txt | 7 Davinci DM646x - https://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 8 Kestone - https://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 12 - compatible: "ti,davinci-nand" 13 "ti,keystone-nand" 15 - reg: Contains 2 offset/length values: 16 - offset and length for the access window. 17 - offset and length for accessing the AEMIF 20 - ti,davinci-chipselect: number of chipselect. Indicates on the 23 Can be in the range [0-3]. 27 - ti,davinci-mask-ale: mask for ALE. Needed for executing address [all …]
|
H A D | gpmc-onenand.txt | 7 explained in a separate documents - please refer to 8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 12 - compatible: "ti,omap2-onenand" 13 - reg: The CS line the peripheral is connected to 14 - gpmc,device-width: Width of the ONENAND device connected to the GPMC 19 - int-gpios: GPIO specifier for the INT pin. 21 For inline partition table parsing (optional): 23 - #address-cells: should be set to 1 24 - #size-cells: should be set to 1 29 compatible = "ti,omap3430-gpmc"; [all …]
|
H A D | atmel-nand.txt | 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" 15 "atmel,at91sam9g45-nand-controller" 16 "atmel,sama5d3-nand-controller" 17 "microchip,sam9x60-nand-controller" 18 - ranges: empty ranges property to forward EBI ranges definitions. 19 - #address-cells: should be set to 2. [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | SyntheticSections.cpp | 1 //===- SyntheticSections.cpp ----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file contains linker-synthesized sections. Currently, 14 //===----------------------------------------------------------------------===// 63 return config->is64 ? read64(buf) : read32(buf); in readUint() 67 if (config->is64) in writeUint() 87 // With this feature, you can identify LLD-generated binaries easily 88 // by "readelf --string-dump .comment <file>". 93 sec->splitIntoPieces(); in createCommentSection() [all …]
|
H A D | Writer.cpp | 1 //===- Writer.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 101 if (p->p_type != PT_LOAD) in removeEmptyPTLoad() 103 if (!p->firstSec) in removeEmptyPTLoad() 105 uint64_t size = p->lastSec->addr + p->lastSec->size - p->firstSec->addr; in removeEmptyPTLoad() 113 if (removed.count(sec->ptLoad)) in removeEmptyPTLoad() 114 sec->ptLoad = nullptr; in removeEmptyPTLoad() 121 for (unsigned part = 2; part != partitions.size() + 1; ++part) { in copySectionsIntoPartitions() 123 if (!(s->flags & SHF_ALLOC) || !s->isLive() || s->type != SHT_NOTE) in copySectionsIntoPartitions() [all …]
|
/freebsd/stand/i386/boot0/ |
H A D | boot0.S | 38 * Note - this code uses many tricks to save space and fit in one sector. 54 * The area at offset 0x1b2 contains a magic string ('Drive '), also 58 * e.g. which partitions to enable, the timeout, the use of LBA 62 * As in every Master Boot Record, the partition table is at 0x1be, 63 * made of four 16-byte entries each containing: 85 * %si pointer to the partition table from which we were loaded. 100 * After the relocation, the code scans the partition table printing 117 * PRT_OFF is the location of the partition table (from the MBR standard). 119 * it cannot be changed. Computed as a negative offset from 0x200 127 .set PRT_OFF,0x1be # Partition table [all …]
|
/freebsd/sys/sys/disk/ |
H A D | bsd.h | 1 /*- 41 /* Size of bootblock area in sector-size neutral bytes */ 50 /* Drive-type specific data size (in number of 32-bit inegrals) */ 53 /* Number of spare 32-bit integrals following drive-type data */ 98 * d_trackskew is the offset of sector 0 on track N relative to 99 * sector 0 on track N-1 on the same cylinder. Finally, d_cylskew 100 * is the offset of sector 0 on cylinder N relative to sector 0 101 * on cylinder N-1. 108 uint32_t d_trkseek; /* track-to-track seek, usec */ 110 uint32_t d_drivedata[BSD_NDRIVEDATA]; /* drive-type specific data */ [all …]
|
/freebsd/contrib/file/doc/ |
H A D | file.man | 10 .Bk -words 13 .Op Fl Fl exclude-quiet 15 .Op Fl Fl mime-encoding 16 .Op Fl Fl mime-type 58 or non-printable). 59 Exceptions are well-known file formats (core files, tar archives) 104 offset into the file can usually be described in this way. 119 ASCII, ISO-8859-x, non-ISO 8-bit extended-ASCII character sets 121 UTF-8-encoded Unicode, UTF-16-encoded Unicode, and EBCDIC 126 ASCII, ISO-8859-x, UTF-8, and extended-ASCII files are identified [all …]
|