summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2013-05-03 13:11:36 -0500
committerMike Fiore <mfiore@multitech.com>2013-05-03 13:11:36 -0500
commitad9c240f940b9f903940fa675330da85bce47662 (patch)
treeee828f2bf813d41cbf2b4b8d86be0801c803a766
parent050448154d1b2b6b74d0ffb90ca26f34367dbdc8 (diff)
tftpboot: add pmecc_padded bootstrap file when appropriate
-rw-r--r--multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb4
-rw-r--r--multitech/recipes/images/corecdp-tftpboot.inc4
2 files changed, 8 insertions, 0 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb
index d044880..a7b0643 100644
--- a/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb
+++ b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.3.bb
@@ -21,6 +21,10 @@ do_pad_4bit_pmecc() {
cat ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin >> ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin
}
+do_install_append_mtocgd() {
+ do_pad_4bit_pmecc
+}
+
do_install_append_mtocgd3() {
do_pad_4bit_pmecc
}
diff --git a/multitech/recipes/images/corecdp-tftpboot.inc b/multitech/recipes/images/corecdp-tftpboot.inc
index 3650773..b237134 100644
--- a/multitech/recipes/images/corecdp-tftpboot.inc
+++ b/multitech/recipes/images/corecdp-tftpboot.inc
@@ -3,7 +3,11 @@
do_build_append () {
if [ -n "${TFTPBOOT_DIR}" ]; then
install -d ${DEPLOY_DIR_IMAGE}
+ rm -f ${TFTPBOOT_DIR}/oe_*
ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap.bin ${TFTPBOOT_DIR}/oe_bootstrap.bin
+ if [[ -f ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ]]; then
+ ln -nfs ${DEPLOY_DIR_IMAGE}/at91bootstrap_pmecc_padded.bin ${TFTPBOOT_DIR}/oe_bootstrap_pmecc_padded.bin
+ fi
ln -nfs ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_u-boot.bin
ln -nfs ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ${TFTPBOOT_DIR}/oe_uImage.bin
ln -nfs ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.jffs2 ${TFTPBOOT_DIR}/oe_rootfs.jffs2