Skip to content

Commit

Permalink
Create boot image with partition table
Browse files Browse the repository at this point in the history
Create a boot image with partition table. This is the sane variant for
USB flash drives and also seems to work when flashing the installer
straight onto the CM4 eMMC.

The same boot.img can still be used with rpiboot, so there seems to be
really no downside of using a partition table.

Signed-off-by: Stefan Agner <[email protected]>
  • Loading branch information
agners committed Jul 27, 2022
1 parent b141517 commit 5075eb1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions board/raspberrypi/genimage-raspberrypi4-64.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ image boot.vfat {
size = 64M
}

image boot.img {
hdimage {
}

partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}
}

0 comments on commit 5075eb1

Please sign in to comment.