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>
This commit is contained in:
parent
928a93d516
commit
40a11d4f03
|
@ -16,7 +16,7 @@ include conf/machine/include/tune-cortexa8.inc
|
||||||
|
|
||||||
IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
|
IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
|
||||||
EXTRA_IMAGECMD_jffs2 = "-lnp "
|
EXTRA_IMAGECMD_jffs2 = "-lnp "
|
||||||
WKS_FILE = "sdimage-bootpart.wks"
|
WKS_FILE ?= "beaglebone.wks"
|
||||||
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
|
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
|
||||||
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue