Hello. I installed SITARS SDK v7 for development with a BBB. When I tried to make a SDCard, I noted that it failed in a trivial operation such as formatting the SDCard. I peek inside the script and saw this:
SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`
Bear in mind that any people using non-English LocaleS at their Linux Distro are not going to get "Disk" (in my case, with Spanish Locale I have "Disco" instead of "Disk")
So, I suggest (for next revision of these scripts) to force their execution in English/US Locale. Just adding:
export LANG=en-US.UTF-8
export LANGUAGE=en;
export LC_ALL=C.UTF-8
at the beginning of every script (or at the setup.sh script) would do the trick...
Thanks!