summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-08 02:35:42 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-03-14 14:26:27 +0100
commitb7dc942d1c3022e839ad9340fa85fe9ff4a4e0e0 (patch)
treea9435d8912c3490b0567d5824c84e5dfe9f5a64e /recipes
parentf54519962154daee4f9d2ae29d0dac555271dea5 (diff)
trdx-image-fstype: deploy zImage/device trees to bin folder
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/images/trdx-image-fstype.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/images/trdx-image-fstype.inc b/recipes/images/trdx-image-fstype.inc
index 6253a59..e138835 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -83,8 +83,10 @@ imagedeploy_kernel_tegra2() {
}
imagedeploy_kernel_vf() {
- # Do nothing, we use the kernel from /boot inside root fs
- :
+ # put kernel, device-tree into the bin directories
+ cp -pP ${DEPLOY_DIR_IMAGE}/zImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ ls ${DEPLOY_DIR_IMAGE}/*.dtb 2> /dev/null && cp -pP ${DEPLOY_DIR_IMAGE}/*.dtb ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage
}
fakeroot do_imagedeploy() {