diff options
Diffstat (limited to 'meta-yocto-bsp')
-rw-r--r-- | meta-yocto-bsp/conf/machine/beaglebone.conf | 2 | ||||
-rw-r--r-- | meta-yocto-bsp/wic/beaglebone.wks | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf index 24a95b4ced..9286d1bba6 100644 --- a/meta-yocto-bsp/conf/machine/beaglebone.conf +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf | |||
@@ -16,7 +16,7 @@ include conf/machine/include/tune-cortexa8.inc | |||
16 | 16 | ||
17 | IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" | 17 | IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap" |
18 | EXTRA_IMAGECMD_jffs2 = "-lnp " | 18 | EXTRA_IMAGECMD_jffs2 = "-lnp " |
19 | WKS_FILE = "sdimage-bootpart.wks" | 19 | WKS_FILE ?= "beaglebone.wks" |
20 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" | 20 | IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage" |
21 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" | 21 | do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot" |
22 | 22 | ||
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 @@ | |||
1 | # short-description: Create SD card image for Beaglebone | ||
2 | # long-description: Creates a partitioned SD card image for Beaglebone. | ||
3 | # Boot files are located in the first vfat partition. | ||
4 | |||
5 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16 | ||
6 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4 | ||