summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks')
-rw-r--r--distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks8
1 files changed, 8 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks b/distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks
new file mode 100644
index 0000000..89ef56b
--- /dev/null
+++ b/distribution/yocto-advanced/meta-schulung-extended/scripts/lib/wic/canned-wks/vexpress.wks
@@ -0,0 +1,8 @@
+# short-description: Create a Phytec AM335x disk image (SD card)
+# long-description: Creates a partitioned disk image for Phytec AM335x BSPs
+# boards that the user can directly dd to an SD card and boot.
+
+part /boot --source bootimg-partition --fstype=vfat --label boot --ondisk mmc --active --align 4096 --size 20
+part / --source rootfs --fstype=ext2 --label root --ondisk mmc --align 1024 --use-uuid
+
+bootloader --timeout=0