From 9ae4ab56e7c114e314bcac1c980d872033c4c210 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 21 Oct 2016 12:34:44 -0700 Subject: yocto-project-qs: Fixed the example to use 'dd' instead of 'mkefidisk.sh' Fixes [YOCTO #10451] The example that writes the image to bootable media did not seem to work when using 'mkefidisk.sh'. It does work using 'dd'. I changed the procedure to use 'dd'. (From yocto-docs rev: e3f90869291f619db1d830b127ade66986eba886) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../yocto-project-qs/yocto-project-qs.xml | 25 +++++++++------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'documentation') diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 0d76ee4497..1ae17b895d 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -722,23 +722,18 @@ Write the Image: - You can write the image to a USB key, SATA drive, or SD - card by using the mkefidisk.sh script, - which is included in the poky - repository at - scripts/contrib/mkefidisk.sh: + You can write the image just built to a bootable media + (e.g. a USB key, SATA drive, SD card, etc.) using the + dd utility: - $ sudo $HOME/source/poky/scripts/contrib/mkefidisk.sh HOST_DEVICE \ - tmp/deploy/images/intel-corei7-64/core-image-base-intel-corei7-64.hddimg TARGET_DEVICE + $ sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-minimal-intel-corei7-64.wic of=TARGET_DEVICE - In the previous command, - HOST_DEVICE is the device node - on the build host (e.g. /dev/sdc or - /dev/mmcblk0). - TARGET_DEVICE is the name of the - device as the MinnowBoard MAX sees it (e.g. - /dev/sda or - /dev/mmcblk0). + In the previous command, the + TARGET_DEVICE is the device node in + the host machine (e.g. /dev/sdc, which + is most likely a USB stick, or + /dev/mmcblk0, which is most likely an + SD card. Boot the Hardware: With the boot device provisioned, you can insert the -- cgit v1.2.3-54-g00ecf