|
@@ -1,10 +1,12 @@
|
|
|
#short-description: Create SD card image for Starfive Duhbe
|
|
|
# long-description: Creates a partitioned SD card image for Starfive Dubhe.
|
|
|
|
|
|
+part spl --source rawcopy --sourceparams="file=scp_raw.img" --part-name spl --offset 2M --size 5M --part-type 2E54B353-1271-4842-806F-E436D6AF6985
|
|
|
+
|
|
|
#boot partition
|
|
|
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --size=200M --use-uuid
|
|
|
|
|
|
#root partition
|
|
|
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --size=2G --use-uuid
|
|
|
|
|
|
-bootloader --append "rootwait console=ttyS0,115200"
|
|
|
+bootloader --append "rootwait console=ttyS0,115200" --ptable gpt
|