summaryrefslogtreecommitdiff
path: root/recipes/images/trdx-image-fstype.inc
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2016-05-20 13:53:53 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-06-30 13:19:25 +0200
commitf61f878e4c05111edce22097acd9bc5772f750cf (patch)
tree6961059ccd7f2d077076627b1af77fafb75b9dde /recipes/images/trdx-image-fstype.inc
parent5297f10980babd64e024a155604cbaf7139c60d5 (diff)
update.sh: write kernel and device tree into static UBI volumes
Use static UBI volumes on Colibri T20. Fix update over ethernet on Colibri Vybrid Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes/images/trdx-image-fstype.inc')
-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 c7b49fe..0f9e68d 100644
--- a/recipes/images/trdx-image-fstype.inc
+++ b/recipes/images/trdx-image-fstype.inc
@@ -101,8 +101,10 @@ imagedeploy_kernel_mx7() {
}
imagedeploy_kernel_tegra2() {
- # Do nothing, we use the kernel from /boot inside root fs
- :
+ # put kernel into the bin directories
+ rm -f ${IMAGE_ROOTFS}/boot/${KERNEL_IMAGETYPE}* ${IMAGE_ROOTFS}/boot/*.dtb
+ cp -pP ${DEPLOY_DIR_IMAGE}/zImage* ${IMAGE_ROOTFS}/../${MACHINE}_bin/
+ mv ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage-${MACHINE}.bin ${IMAGE_ROOTFS}/../${MACHINE}_bin/zImage
}
imagedeploy_kernel_vf() {