#! /bin/sh
# Script to flash imagess via fastboot
#


sudo ../../../fastboot flash ram ../../../../../../images/light-a-val/light_fastboot_image_single_rank_sec/u-boot-with-spl.bin
sudo ../../../fastboot reboot
sleep 10
sudo ../../../fastboot flash uboot ../../../../../../images/light-a-val/light_fastboot_image_single_rank_sec/u-boot-with-spl.bin
sudo ../../../fastboot flash tf ../../../../../../images/light-a-val/light_fastboot_image_single_rank_sec/tf.ext4
sudo ../../../fastboot flash tee ../../../../../../images/light-a-val/light_fastboot_image_single_rank_sec/tee.ext4
sudo ../../../fastboot flash boot ../../../../../../images/light-a-val/boot.ext4
sudo ../../../fastboot flash root ../../../../../../images/light-a-val/rootfs.thead-image-multimedia.ext4
