Expand description
Support for the RP235x Boot ROM’s “Block” structures
Blocks contain pointers, to form Block Loops.
The IMAGE_DEF
Block (here the ImageDef
type) tells the ROM how to boot a
firmware image. The PARTITION_TABLE
Block (here the PartitionTable
type)
tells the ROM how to divide the flash space up into partitions.
Structs§
- A Block as understood by the Boot ROM.
- Describes a Partition
- Describes a partition table.
- Describes a unpartitioned space
Enums§
- The supported RP2350 CPU architectures
- Kinds of linked partition
- Flags that a Partition can have
- Permissions that a Partition can have
- The kinds of Secure Boot we support
- Flags that a Partition can have
Constants§
- A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark an image as data - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark an image as an executable - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU as an RP2040 - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU as an RP2350 - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU type as Arm - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU type as RISC-V - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU security mode as Non Secure - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU security mode as Non Secure - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the CPU security mode as unspecified - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark an image as invalid - A
ITEM_1BS_IMAGE_TYPE
value bitmask to mark the image as Try Before You Buy. - An item ID for encoding the image’s Entry Point
- An item ID for encoding a Hash
- An item ID for encoding an Image Type
- An item ID for encoding a Rolling Window Delta
- An item ID for encoding a Salt
- An item ID for encoding a Signature
- An item ID for encoding a Vector Table address
- An item ID for encoding a Version
- An item ID for encoding the definition of a Hash
- An item ID for encoding a placeholder entry that is ignored
- An item ID for encoding the special last item in a Block
- An item ID for encoding a Load Map
- An item ID for encoding a Partition Table
- We make our partition table this fixed size.
Functions§
- Create an Entry Point item.
- Make an item containing a tag, 1 byte length and two extra bytes.
- Make an item containing a tag, 2 byte length and one extra byte.
- Create Image Type item, of type IGNORED.
- Create Image Type item, of type DATA.
- Create Image Type item, of type EXE.
- Create Image Type item, of type INVALID.
- Create a Block Last item.
- Create an Rolling Window item.
- Create a Vector Table item.
Type Aliases§
- An Image Definition has one item in it - an
ITEM_1BS_IMAGE_TYPE