Skip to content

Commit

Permalink
Minor edits to MBR docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Dec 14, 2024
1 parent 35acaa9 commit 9a45be2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ Linux and the bootloaders for finding the file systems that exist on the media.
In comparison to a tool like `fdisk`, `fwup` only supports simplistic partition
setup, but this is sufficient for many devices. Tools such as `fdisk` can be
used to determine the block offsets and sizes of partitions for the
configuration file. Offsets and sizes are given in 512 byte blocks. Here's a
potential mbr definition:
configuration file. Offsets and sizes are given in 512 byte blocks. Here's an
example mbr definition:

```conf
mbr mbr-a {
Expand Down Expand Up @@ -460,6 +460,8 @@ mbr mbr-a {
}
```

### OSIP

If you're using an Intel Edison or similar platform, `fwup` supports generation
of the OSIP header in the MBR. This header provides information for where to
load the bootloader (e.g.., U-Boot) in memory. The `include-osip` option
Expand Down Expand Up @@ -493,6 +495,8 @@ mbr mbr-a {
}
```

### Expanding the final partition

Sometimes it's useful to have the final partition fill the remainder of the
storage. This is needed if your target's storage size is unknown and you need
to use as much of it as possible. The `expand` option requests that `fwup`
Expand Down

0 comments on commit 9a45be2

Please sign in to comment.