Add tct/flash/flash_dd.sh script
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Mon, 14 Dec 2015 14:07:43 +0000 (15:07 +0100)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Fri, 13 May 2016 12:09:42 +0000 (14:09 +0200)
commite02bf2f4fcc2bb0d23172c3d2fec4d0f1d2aa304
treeb62b4220a5cd47efd6ddf3b9b2b5e4efac21cf2a
parentf7257338cb531526e9dbf7512821c03346f7cad8
Add tct/flash/flash_dd.sh script

It flashes SD card with images available in a directory it is
invoked in using dd. For more information read file header.

SD card should be prepared using script mkpart.sh available at:
https://wiki.tizen.org/wiki/Quick_guide_for_odroid#Fuse_bootloader_image

Example: ./flash_dd.sh /dev/sdb
Flashes as follows:
    * boot.img to /dev/sdb1
    * rootfs.img to /dev/sdb2
    * system-data.img to /dev/sdb3
    * user.img to /dev/sdb5
    * modules.img to /dev/sdb6

Change-Id: I2d5b72cf4d2079632cbd700dd5749260782868b8
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
tct/flash/flash_dd.sh [new file with mode: 0755]