I am trying to understand how to flash the eMMC from the UART session with the Debian SD card image (nor developer SD)..
I mean, once inserted the SD card in my Dragonboard, instead of using the graphical installer with the HDMI LCD screen, I need to do it from UART.
The shell prompt is:
the flash script is (as I understand) named flash:
# This script is called by the grpahical installer, and:
# * it is called from the folder which contains the build to flash
# * with "-o /dev/<output>"
SCRIPTPATH=$(dirname $(readlink -f "$0") )
sudo $SCRIPTPATH/mksdcard -p partitions.txt -i $PWD -o /dev/$OUTPUT -s $((`cat /sys/block/$OUTPUT/size`/2))
which is located in the OS partition, mounted on /mnt from the linaro-installer session.
How do I have to execute the script ? What are the argument I have to use for ?
Could you please provide any info on it ?
Thank you in advance.