summaryrefslogtreecommitdiff
path: root/meta-yocto-extra/wic/unit-beaglebone-yocto.wks
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-extra/wic/unit-beaglebone-yocto.wks')
-rw-r--r--meta-yocto-extra/wic/unit-beaglebone-yocto.wks7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-yocto-extra/wic/unit-beaglebone-yocto.wks b/meta-yocto-extra/wic/unit-beaglebone-yocto.wks
new file mode 100644
index 0000000..927892b
--- /dev/null
+++ b/meta-yocto-extra/wic/unit-beaglebone-yocto.wks
@@ -0,0 +1,7 @@
+# short-description: Create SD card image for Beaglebone
+# long-description: Creates a partitioned SD card image for Beaglebone with increased size to allow for use with kernel with bundled initramfs that exceeds the upstream size of 32MB
+# Boot files are located in the first vfat partition.
+
+part /boot --source bootimg_partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --fixed-size 64 --sourceparams="loader=u-boot" --use-uuid
+part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4 --use-uuid
+bootloader --append="console=ttyS0,115200 splash video=HDMI-A-1:1024x600@60 vt.global_cursor_default=0"