summaryrefslogtreecommitdiff
path: root/classes/wic-am335x-helper.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/wic-am335x-helper.bbclass')
-rw-r--r--classes/wic-am335x-helper.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/wic-am335x-helper.bbclass b/classes/wic-am335x-helper.bbclass
index 1fd48a1..70057b2 100644
--- a/classes/wic-am335x-helper.bbclass
+++ b/classes/wic-am335x-helper.bbclass
@@ -1,11 +1,11 @@
IMAGE_CMD_emmc_append () {
if [ -e ${EMMCIMG} ]; then
# copy the MLO to address 0x0 and keep the partition table
- dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_SYMLINK} of=${EMMCIMG} bs=446 count=1 conv=notrunc
- dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_SYMLINK} of=${EMMCIMG} skip=1 seek=1 conv=notrunc
+ dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_LINK_NAME} of=${EMMCIMG} bs=446 count=1 conv=notrunc
+ dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_LINK_NAME} of=${EMMCIMG} skip=1 seek=1 conv=notrunc
# copy the MLO to address 0x20000, 0x40000, 0x60000
- dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_SYMLINK} of=${EMMCIMG} seek=768 bs=512 conv=notrunc
- dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_SYMLINK} of=${EMMCIMG} seek=512 bs=512 conv=notrunc
- dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_SYMLINK} of=${EMMCIMG} seek=256 bs=512 conv=notrunc
+ dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_LINK_NAME} of=${EMMCIMG} seek=768 bs=512 conv=notrunc
+ dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_LINK_NAME} of=${EMMCIMG} seek=512 bs=512 conv=notrunc
+ dd if=${DEPLOY_DIR_IMAGE}/${BAREBOX_IPL_BIN_LINK_NAME} of=${EMMCIMG} seek=256 bs=512 conv=notrunc
fi
}