first pass, call genimage to generate sdcard.img

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
commit 06a3cfb166

@ -0,0 +1,7 @@
#!/bin/bash
cd ./deploy/
if [ ! -d ./root/ ] ; then
mkdir ./root/ || true
fi
sudo genimage --config genimage.cfg

@ -0,0 +1,36 @@
# Image for eMMC or SDCard boot on the Microchip PolarFire SOC Icicle Board
#
image boot.vfat {
vfat {
files = {
"beaglev_fire.itb",
}
file boot.scr {
image = "boot.scr"
}
}
size = 60M
}
image sdcard.img {
hdimage {
gpt = true
}
partition uboot {
partition-type-uuid = 21686148-6449-6E6F-744E-656564454649
image = "payload.bin"
}
partition kernel {
partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
bootable = "true"
image = "boot.vfat"
}
partition root {
partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
image = "rootfs.cpio"
}
}
Loading…
Cancel
Save