aboutsummaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-12-22 23:14:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-16 18:08:20 +0000
commit40a11d4f03c376339d8ab1e55d0b1abf92d01af5 (patch)
treec2602cadd407c32be8485ff5d00491320e26f115 /meta-yocto-bsp/wic
parent928a93d516756126ee863614c7cd6559957cfa7b (diff)
downloadpoky-40a11d4f03c376339d8ab1e55d0b1abf92d01af5.tar.gz
poky-40a11d4f03c376339d8ab1e55d0b1abf92d01af5.tar.bz2
poky-40a11d4f03c376339d8ab1e55d0b1abf92d01af5.zip
beaglebone: add beaglebone.wks
Currently beaglebone machine uses sdimage-bootpart.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added beaglebone.wks to meta-yocto-bsp/wic/ to make it independent on changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: e88c4da453f24845f3b95f9ff7b23a4a38dc670a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/wic')
-rw-r--r--meta-yocto-bsp/wic/beaglebone.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-yocto-bsp/wic/beaglebone.wks b/meta-yocto-bsp/wic/beaglebone.wks
new file mode 100644
index 0000000000..0c09a9547b
--- /dev/null
+++ b/meta-yocto-bsp/wic/beaglebone.wks
@@ -0,0 +1,6 @@
+# short-description: Create SD card image for Beaglebone
+# long-description: Creates a partitioned SD card image for Beaglebone.
+# Boot files are located in the first vfat partition.
+
+part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
+part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4