Skip to content

Commit

Permalink
imx8mm_var_dart:script: Add support to copy M4 images.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-p-s committed May 18, 2021
1 parent 2cbd15f commit ef8fd0d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ function copy_android
pv ${ANDROID_IMGS_PATH}/vendor_boot.img > ${ROOTFS_MOUNT_DIR}/opt/images/Android/vendor_boot.img
sync | pv -t
fi

if [[ "${MACHINE}" = "imx8mm-var-dart" ]]; then
echo "Copying M4 demo images to /opt/images/"
pv ${ANDROID_BUILD_ROOT}/device/variscite/common/rpmsg_lite_pingpong_rtos_linux_remote.bin > ${ROOTFS_MOUNT_DIR}/opt/images/Android/rpmsg_lite_pingpong_rtos_linux_remote.bin
pv ${ANDROID_BUILD_ROOT}/device/variscite/common/rpmsg_lite_pingpong_rtos_linux_remote.elf > ${ROOTFS_MOUNT_DIR}/opt/images/Android/rpmsg_lite_pingpong_rtos_linux_remote.elf
pv ${ANDROID_BUILD_ROOT}/device/variscite/common/hello_world.elf > ${ROOTFS_MOUNT_DIR}/opt/images/Android/hello_world.elf
sync | pv -t
fi
}

function copy_android_scripts
Expand Down

0 comments on commit ef8fd0d

Please sign in to comment.