552cafd7a8
Explicitly enable PCI support in the kernel after commit eb01d42a77785 (PCI: consolidate PCI config entry in drivers/pci) and change to GPT partitions / root=PARTLABEL to find the rootfs instead of hardcoding /dev/mmcblk2p2 as the mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4). This has the additional advantage that the same image will work when written to a USB drive instead of a microsd. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
36 lines
550 B
INI
36 lines
550 B
INI
# Create an image of the efi partition
|
|
image efi-part.vfat {
|
|
vfat {
|
|
file startup.nsh {
|
|
image = "efi-part/startup.nsh"
|
|
}
|
|
file EFI {
|
|
image = "efi-part/EFI"
|
|
}
|
|
file bzImage {
|
|
image = "bzImage"
|
|
}
|
|
}
|
|
size=10M
|
|
}
|
|
|
|
# Create the sdcard image, pulling in
|
|
# * the image created by buildroot
|
|
# * the efi-partition created above
|
|
image sdcard.img {
|
|
hdimage {
|
|
gpt = true
|
|
}
|
|
|
|
partition boot {
|
|
partition-type-uuid = U
|
|
image = "efi-part.vfat"
|
|
}
|
|
|
|
partition rootfs {
|
|
partition-type-uuid = L
|
|
image = "rootfs.ext4"
|
|
size = 512M
|
|
}
|
|
}
|