summaryrefslogtreecommitdiff
path: root/meta-yocto-extra
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-extra')
-rw-r--r--meta-yocto-extra/conf/layer.conf14
-rw-r--r--meta-yocto-extra/wic/unit-beaglebone-yocto.wks7
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-yocto-extra/conf/layer.conf b/meta-yocto-extra/conf/layer.conf
new file mode 100644
index 0000000..cf3675d
--- /dev/null
+++ b/meta-yocto-extra/conf/layer.conf
@@ -0,0 +1,14 @@
+BBPATH .= ":${LAYERDIR}"
+
+BBFILES += "\
+ ${LAYERDIR}/recipes-*/*/*.bb \
+ ${LAYERDIR}/recipes-*/*/*.bbappend \
+"
+
+BBFILE_COLLECTIONS += "yocto-extra-layer"
+BBFILE_PATTERN_yocto-extra-layer = "^${LAYERDIR}/"
+BBFILE_PRIORITY_yocto-extra-layer = "6"
+
+LAYERDEPENDS_yocto-extra-layer += "yocto"
+
+LAYERSERIES_COMPAT_yocto-extra-layer = "whinlatter"
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"