-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Saw your question on #barebox about using EFI with barebox state.
A working example for using a fixed partition as storage backend for state I have is:
state: state {
magic = <0x3f2ba231>;
backend-type = "raw";
backend = <&state_part>;
backend-stridesize = <4096>;
#address-cells = <1>;
#size-cells = <1>;
[...]
}
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
state_part: state {
partuuid = "14367da7-c518-499f-9aad-e1f366692363";
};
};
The partition in my case is crated with a script calling sfdisk:
sfdisk -X gpt /dev/sdX << EOF
start=2048,size=18432,type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B,bootable
start=20480,size=2048,uuid=14367da7-c518-499f-9aad-e1f366692363
[...]
EOF
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels