U-Boot bootloader partition
Schema identifier ($id): "http://devicetree.org/schemas/mtd/partitions/u-boot.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
U-Boot is a bootloader commonly used in embedded devices. It's almost always located on some kind of flash device.
Device configuration is stored as a set of environment variables that are located in a (usually standalone) block of data.
Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):partition.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"brcm,u-boot"Broadcom stores environment variables inside a U-Boot partition. They can be identified by a custom header with magic value.
Properties matching a name pattern (patternProperties) #
^partition-.*$ — name matches this regular expression #
Shared schema rule ($ref): partition.yaml#/$defs/partition-node
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
compatible = "brcm,u-boot";
reg = <0x0 0x100000>;
label = "u-boot";
partition-u-boot-env {
};
};
partition@100000 {
reg = <0x100000 0x1ff00000>;
label = "firmware";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause